/* ==========================================================================
   ELLEVE · MODA FEMININA E CALÇADOS · TREZE TÍLIAS, SC
   Identidade: Branco, Dourado Champanhe e Preto
   Tipografia: Plus Jakarta Sans (self-hosted woff2)
   Motion: GSAP 3 + ScrollTrigger + Lenis
   ========================================================================== */

/* --- 1. FONTS SELF-HOSTED --- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../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('../fonts/plus-jakarta-sans-700.woff2') format('woff2');
}

/* --- 2. CSS CUSTOM PROPERTIES --- */
:root {
  --color-white: #ffffff;
  --color-black: #080809;
  --color-black-deep: #050506;
  --color-black-surface: #0e0e11;
  --color-black-elevated: #141418;
  
  /* Champanhe Dourado */
  --gold-primary: #c5a25d;
  --gold-light: #dfbf76;
  --gold-champagne: #ecd89e;
  --gold-deep: #9d7d3e;
  --gold-border: rgba(197, 162, 93, 0.35);
  --gold-border-subtle: rgba(197, 162, 93, 0.18);
  --gold-glow: rgba(223, 191, 118, 0.32);
  --gold-surface: rgba(197, 162, 93, 0.08);

  /* Texto */
  --text-dark-primary: #121214;
  --text-dark-secondary: #57575b;
  --text-light-primary: #fcfcfd;
  --text-light-secondary: #a9a9b0;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(16px, 4vw, 32px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  /* Transições */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s var(--ease-out);
}

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

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--color-white);
  color: var(--text-dark-primary);
  scroll-behavior: initial;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* --- 4. NAVBAR (MINIMALISTA) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(197, 162, 93, 0.2);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.site-header.is-dark {
  background: rgba(8, 8, 9, 0.88);
  border-bottom: 1px solid rgba(197, 162, 93, 0.25);
}

.site-header.is-dark .nav-brand {
  color: var(--color-white);
}

.site-header.is-dark .nav-link-item {
  color: var(--text-light-secondary);
}

.site-header.is-dark .nav-link-item:hover {
  color: var(--gold-light);
}

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

.nav-brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-black);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-normal);
}

.nav-brand-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-primary);
  border-radius: 50%;
  display: inline-block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link-item {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark-secondary);
  transition: color var(--transition-normal);
}

.nav-link-item:hover {
  color: var(--gold-deep);
}

.btn-nav-whatsapp {
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--gold-primary);
  color: var(--color-black);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(197, 162, 93, 0.25);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.btn-nav-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(197, 162, 93, 0.38);
}

.icon-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
}

/* --- 5. BOTOES COM SHINY SWEEP GLOW --- */
.btn-primary-glow {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 32px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-deep) 100%);
  color: var(--color-black);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 28px rgba(197, 162, 93, 0.35);
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: rotate(25deg);
  animation: shinySweep 3.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes shinySweep {
  0% { left: -70%; }
  32%, 100% { left: 170%; }
}

.btn-primary-glow:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 14px 34px rgba(197, 162, 93, 0.45);
}

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

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-dark-primary);
  border: 1px solid var(--gold-primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-secondary-outline:hover {
  background: var(--gold-surface);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-secondary-outline.is-dark {
  color: var(--color-white);
  border-color: var(--gold-primary);
}

.btn-secondary-outline.is-dark:hover {
  background: rgba(197, 162, 93, 0.12);
  border-color: var(--gold-light);
}

/* --- 6. HERO SECTION (BRANCA) --- */
.hero-section {
  position: relative;
  background-color: var(--color-white);
  padding-top: clamp(84px, 11vw, 130px);
  padding-bottom: clamp(60px, 8vw, 100px);
  overflow: hidden;
}

.hero-ambient-glow {
  display: none;
}

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

.hero-logo-wrapper {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-img {
  width: 220px;
  height: auto;
  max-width: 80vw;
  filter: drop-shadow(0 6px 18px rgba(197, 162, 93, 0.12));
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-surface);
  border: 1px solid var(--gold-border);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--text-dark-primary);
  max-width: 780px;
  margin-bottom: 16px;
}

.hero-headline span.gold-accent {
  color: var(--gold-deep);
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 400;
  color: var(--text-dark-secondary);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

/* Foto da Modelo Integrada à Hero (sem caixa, sem borda e com fusão perfeita ao branco) */
.hero-featured-showcase {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 18px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.hero-model-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  /* Máscara de gradiente suave na base para fusão total ao fundo branco */
  mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
}

/* Transição suave contínua Branco -> Preto */
.transition-hero-to-dark {
  width: 100%;
  height: clamp(80px, 12vw, 150px);
  background: linear-gradient(180deg, var(--color-white) 0%, #201e18 45%, var(--color-black) 100%);
  margin-top: -1px;
  position: relative;
  z-index: 3;
}

/* --- 7. SEÇÃO DE PRODUTOS E GALERIA (PRETA) --- */
.portfolio-section {
  position: relative;
  background-color: var(--color-black);
  color: var(--color-white);
  padding-top: clamp(40px, 7vw, 70px);
  padding-bottom: clamp(70px, 10vw, 110px);
  overflow: hidden;
}

.portfolio-bg-glow {
  position: absolute;
  top: 30%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(197, 162, 93, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.section-header-centered {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(36px, 6vw, 54px);
}

.section-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.section-tagline::before,
.section-tagline::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold-primary);
  opacity: 0.6;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-description {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-light-secondary);
  line-height: 1.6;
}

/* Galeria Linear de Produtos */
.portfolio-linear-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  width: 100%;
}

.portfolio-item-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-black-surface);
  border: 1px solid var(--gold-border-subtle);
  aspect-ratio: 4 / 5;
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease, box-shadow 0.4s ease;
}

.portfolio-item-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-light);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(197, 162, 93, 0.22);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

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

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 9, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.overlay-action-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-champagne);
  letter-spacing: 0.03em;
  transform: translateY(0);
  transition: transform 0.3s var(--ease-out);
}

.portfolio-item-card:hover .overlay-action-label {
  transform: translateY(-2px);
  color: var(--color-white);
}

.portfolio-footer-cta {
  text-align: center;
  margin-top: 48px;
}

/* Transição suave contínua Preto -> Branco */
.transition-dark-to-white {
  width: 100%;
  height: clamp(80px, 12vw, 150px);
  background: linear-gradient(180deg, var(--color-black) 0%, #1e1b14 45%, var(--color-white) 100%);
  margin-top: -1px;
  position: relative;
  z-index: 3;
}

/* --- 8. SEÇÃO LOJA FÍSICA E HORÁRIO (BRANCA) --- */
.store-section {
  position: relative;
  background-color: var(--color-white);
  color: var(--text-dark-primary);
  padding-top: clamp(40px, 7vw, 70px);
  padding-bottom: clamp(70px, 10vw, 110px);
  overflow: hidden;
}

.store-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-bottom: 48px;
}

.store-info-card {
  background: var(--color-white);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 10px 30px rgba(197, 162, 93, 0.08), inset 0 1px 0 rgba(223, 191, 118, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.store-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(197, 162, 93, 0.16), inset 0 1px 0 rgba(223, 191, 118, 0.6);
}

.card-icon-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.card-icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-surface);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  flex-shrink: 0;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark-primary);
}

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

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(197, 162, 93, 0.25);
  font-size: 0.95rem;
}

.schedule-day {
  font-weight: 500;
  color: var(--text-dark-secondary);
}

.schedule-time {
  font-weight: 700;
  color: var(--text-dark-primary);
}

.schedule-closed {
  color: #a04040;
  font-weight: 600;
}

.address-text {
  font-size: 1rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.address-highlight {
  font-weight: 600;
  color: var(--text-dark-primary);
  display: block;
}

.shipping-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-surface);
  border: 1px solid var(--gold-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 20px;
}

.store-cta-bar {
  text-align: center;
}

/* Transição suave contínua Branco -> Preto Rodapé */
.transition-white-to-footer {
  width: 100%;
  height: clamp(80px, 12vw, 140px);
  background: linear-gradient(180deg, var(--color-white) 0%, #161512 45%, var(--color-black-deep) 100%);
  margin-top: -1px;
  position: relative;
  z-index: 3;
}

/* --- 9. RODAPÉ (PRETO) --- */
.site-footer {
  position: relative;
  background-color: var(--color-black-deep);
  color: var(--text-light-secondary);
  padding-top: 30px;
  padding-bottom: 50px;
  font-size: 0.875rem;
  border-top: 1px solid rgba(197, 162, 93, 0.2);
}

.footer-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  margin-bottom: 40px;
}

.footer-brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-light-secondary);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light-secondary);
  transition: color var(--transition-normal);
  word-break: break-word;
}

.footer-contact-link:hover {
  color: var(--gold-light);
}

.footer-bottom-bar {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.8125rem;
  color: #7a7a82;
}

/* --- 10. ESTADOS DE ANIMAÇÃO INICIAIS (CSS-GUARD CONTRA FLASH) --- */
.gsap-reveal-up {
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}

.gsap-reveal-fade {
  opacity: 0;
  will-change: opacity;
}

.gsap-reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  will-change: transform, opacity;
}

/* Fallback quando o JS não executa */
.no-js .gsap-reveal-up,
.no-js .gsap-reveal-fade,
.no-js .gsap-reveal-scale {
  opacity: 1 !important;
  transform: none !important;
}

/* --- 11. RESPONSIVIDADE RIGOROSA (320px A 1920px) --- */
@media (max-width: 1024px) {
  .portfolio-linear-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .store-cards-grid {
    grid-template-columns: 1fr;
  }
  .footer-content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 56px;
  }
  .nav-links {
    display: none;
  }
  .btn-nav-whatsapp {
    height: 36px;
    padding: 0 12px;
    font-size: 0.775rem;
  }
  .portfolio-linear-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-content-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .btn-primary-glow {
    height: 48px;
    padding: 0 24px;
    font-size: 0.875rem;
    width: 100%;
    max-width: 380px;
  }
  .btn-secondary-outline {
    width: 100%;
    max-width: 380px;
  }
}

@media (max-width: 430px) {
  .nav-brand {
    font-size: 1.1rem;
    letter-spacing: 0.12em;
  }
  .hero-logo-img {
    width: 180px;
  }
  .store-info-card {
    padding: 24px 18px;
  }
  .schedule-row {
    font-size: 0.875rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}

/* --- 12. 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;
    scroll-behavior: auto !important;
  }
  .btn-primary-glow::after {
    display: none !important;
  }
  .gsap-reveal-up,
  .gsap-reveal-fade,
  .gsap-reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    will-change: auto !important;
  }
}

