/* ==========================================================================
   DVSTORE - ESTILO OFICIAL & DESIGN SYSTEM
   Cores: Preto Premium, Branco Premium, Dourado Ouro Brilhante
   Tipografia: Plus Jakarta Sans (Self-hosted woff2)
   ========================================================================== */

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

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

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

/* --- Root Design Tokens --- */
:root {
  --color-dark-base: #060608;
  --color-dark-surface: #0f0f13;
  --color-dark-card: #14141a;

  --color-light-base: #fafafc;
  --color-light-surface: #ffffff;
  --color-light-card: #ffffff;

  --color-gold: #ffc32d;
  --color-gold-hover: #ffd564;
  --color-gold-deep: #c99313;
  --color-gold-border: rgba(255, 195, 45, 0.45);
  --color-gold-glow: rgba(255, 195, 45, 0.25);

  --color-text-dark: #f5f5f7;
  --color-text-dark-muted: #b8b8c2;
  --color-text-light: #121216;
  --color-text-light-muted: #4e4e58;

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scrolling */
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  background-color: var(--color-dark-base);
  color: var(--color-text-dark);
  font-family: var(--font-family);
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-family);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- Parallax Ambient Backgrounds --- */
.ambient-layer {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.18;
  filter: blur(120px);
  will-change: transform;
}

.ambient-hero {
  top: -10vw;
  left: 20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
}

.ambient-mid {
  top: 90vh;
  right: 5%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  opacity: 0.12;
}

/* --- Layout Structure --- */
.page-container {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  position: relative;
  width: 100%;
  padding-top: 90px;
  padding-bottom: 90px;
}

/* --- Alternância de Seções: Preto & Branco --- */
.theme-dark {
  background-color: var(--color-dark-base);
  color: var(--color-text-dark);
}

.theme-light {
  background-color: var(--color-light-base);
  color: var(--color-text-light);
}

/* Transições Suaves Contínuas entre Seções */
.gradient-transition-to-light {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, transparent 0%, var(--color-light-base) 100%);
  pointer-events: none;
}

.gradient-transition-to-dark {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, transparent 0%, var(--color-dark-base) 100%);
  pointer-events: none;
}

/* --- 1. HERO SECTION --- */
.section-hero {
  padding-top: 60px;
  padding-bottom: 110px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* LOGO: Sem caixa, sem círculo, sem selo, proporção original */
.brand-wrapper {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  background: transparent;
  border: none;
  filter: drop-shadow(0 8px 24px rgba(255, 195, 45, 0.22));
}

.tagline {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.location-badge {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--color-gold-border);
  padding-bottom: 4px;
}

/* --- Shiny Sweep Glow Button --- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  min-height: 52px;
  border-radius: 9999px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--transition-smooth), box-shadow 0.25s var(--transition-smooth);
  touch-action: manipulation;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

/* Botão Ouro Sólido */
.btn-gold {
  background: linear-gradient(135deg, #ffc32d 0%, #ffaa00 100%);
  color: #060608;
  border: 1px solid #ffd564;
  box-shadow: 0 4px 20px rgba(255, 195, 45, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 195, 45, 0.5);
}

/* Shiny Sweep Glow Effect */
.btn-shiny::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: shinySweep 3.5s ease-in-out infinite;
}

@keyframes shinySweep {
  0% {
    left: -120%;
  }
  30%, 100% {
    left: 140%;
  }
}

/* Botão Escuro Outline com Borda Dourada */
.btn-dark-outline {
  background-color: var(--color-dark-base);
  color: #ffffff;
  border: 1px solid var(--color-gold);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.btn-dark-outline:hover {
  background-color: #121218;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 195, 45, 0.3);
}

/* --- 2. ESTEIRA DE PRODUTOS --- */
.section-carousel {
  padding-top: 90px;
  padding-bottom: 110px;
  overflow: hidden;
}

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

.section-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold-deep);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-light-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* Marquee / Esteira Infinita */
.marquee-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  cursor: grab;
}

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

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

.marquee-item {
  flex-shrink: 0;
}

.photo-card {
  position: relative;
  width: 280px;
  height: 360px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-dark-surface);
  border: 1px solid var(--color-gold-border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth);
}

.photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(255, 195, 45, 0.25);
}

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

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

/* Overlay no Hover / Toque */
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 6, 8, 0.88) 0%, rgba(6, 6, 8, 0.25) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.btn-card-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  min-height: 44px;
  width: 100%;
  background: linear-gradient(135deg, #ffc32d 0%, #ffaa00 100%);
  color: #060608;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid #ffd564;
  box-shadow: 0 4px 14px rgba(255, 195, 45, 0.4);
  transition: transform 0.2s ease;
}

.btn-card-gold:active {
  transform: scale(0.96);
}

.carousel-action {
  text-align: center;
  margin-top: 40px;
}

/* --- 3. BLOCO DE ESTILO --- */
.section-style {
  padding-top: 110px;
  padding-bottom: 120px;
  text-align: center;
}

.style-content {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gold-kicker {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.style-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 18px;
}

.style-text {
  font-size: 1.15rem;
  color: var(--color-text-dark-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

/* --- 4. CANAIS OFICIAIS --- */
.section-channels {
  padding-top: 90px;
  padding-bottom: 110px;
}

.channels-container {
  text-align: center;
  max-width: 640px;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.link-card {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  min-height: 72px;
  border-radius: 16px;
  background-color: #ffffff;
  border: 1px solid var(--color-gold-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s var(--transition-smooth), box-shadow 0.25s var(--transition-smooth), border-color 0.25s ease;
  text-align: left;
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-gold);
  box-shadow: 0 10px 26px rgba(255, 195, 45, 0.2);
}

.link-card-highlight {
  border: 2px solid var(--color-gold);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf7 100%);
}

.card-icon-box {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #060608;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px;
}

.card-content {
  flex: 1;
}

.card-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-light);
  line-height: 1.25;
}

.card-subtitle {
  display: block;
  font-size: 0.88rem;
  color: var(--color-text-light-muted);
  margin-top: 3px;
}

.card-arrow {
  flex-shrink: 0;
  color: var(--color-gold-deep);
  transition: transform 0.2s ease;
}

.link-card:hover .card-arrow {
  transform: translateX(4px);
}

/* --- 5. FOOTER --- */
.section-footer {
  padding-top: 70px;
  padding-bottom: 50px;
  text-align: center;
  border-top: 1px solid rgba(255, 195, 45, 0.2);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--color-text-dark-muted);
  margin-bottom: 4px;
}

.footer-city {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.footer-action {
  margin-bottom: 30px;
}

.footer-wa-link {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  border: 1px solid var(--color-gold-border);
  padding: 10px 24px;
  border-radius: 9999px;
  transition: all 0.25s ease;
}

.footer-wa-link:hover {
  color: #060608;
  background-color: var(--color-gold);
  border-color: var(--color-gold);
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Scroll Reveal Defaults (Progressive Enhancement) --- */
.reveal-item {
  opacity: 1;
  transform: none;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .section {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .section-hero {
    min-height: 70vh;
    padding-top: 45px;
    padding-bottom: 80px;
  }

  .hero-logo {
    max-width: 190px;
  }

  .tagline {
    font-size: 1.15rem;
  }

  .style-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .photo-card {
    width: 220px;
    height: 290px;
  }

  /* No mobile, o overlay com o botão WhatsApp fica sutilmente visível na base para toque fácil */
  .photo-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(6, 6, 8, 0.75) 0%, transparent 60%);
    pointer-events: auto;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 360px) {
  .hero-logo {
    max-width: 160px;
  }

  .photo-card {
    width: 190px;
    height: 250px;
  }
}

/* --- Prefers Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ambient-layer {
    display: none;
  }

  .btn-shiny::before {
    display: none;
  }
}
