/* ============================================================
   GALEGUINHO TINTAS — VIRADA DIGITAL
   CSS Premium UX v2.0
   ============================================================ */

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

:root {
  --azul:      #19407A;
  --azul-deep: #0f2a52;
  --azul-mid:  #1e4f96;
  --dourado:   #DFBD5E;
  --dourado-dk:#c9a840;
  --fundo:     #F8F6F2;
  --branco:    #ffffff;
  --cinza:     #6b7280;
  --cinza-lt:  #e5e7eb;
  --preto:     #0a0a0a;

  --font-title: 'Anton', sans-serif;
  --font-sub:   'League Spartan', sans-serif;
  --font-body:  'Poppins', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow-sm:     0 2px 12px rgba(25,64,122,.08);
  --shadow-md:     0 8px 40px rgba(25,64,122,.16);
  --shadow-lg:     0 20px 80px rgba(25,64,122,.24);
  --shadow-gold:   0 8px 40px rgba(223,189,94,.30);
  --shadow-gold-lg:0 20px 80px rgba(223,189,94,.40);

  --transition:      .35s cubic-bezier(.4,0,.2,1);
  --transition-slow: .6s cubic-bezier(.4,0,.2,1);
  --transition-spring: .5s cubic-bezier(.34,1.56,.64,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--fundo);
  color: var(--preto);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ---------- UTILITÁRIOS ---------- */
.gold  { color: var(--dourado); }
.white { color: var(--branco); }
.desktop-br { display: block; }

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Eyebrow ---- */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
}
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 2px;
  background: var(--dourado);
}
.section-eyebrow.gold { color: var(--dourado); }
.section-eyebrow.gold::before { background: var(--dourado); }

/* ---- Titles ---- */
.section-title {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--azul);
  margin-bottom: 28px;
}
.section-title.white { color: var(--branco); }

.section-desc {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  color: var(--cinza);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* ============================================================
   PROGRESS BAR
============================================================ */
#readProgress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 2000;
  background: rgba(25,64,122,.08);
}
#readProgressBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--azul) 0%, var(--dourado) 100%);
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ============================================================
   BOTÕES
============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: var(--azul);
  color: var(--branco);
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .08em;
  border-radius: var(--radius-xl);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--dourado) 0%, var(--dourado-dk) 100%);
  opacity: 0;
  transition: var(--transition);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  color: var(--preto);
  box-shadow: var(--shadow-gold-lg);
  transform: translateY(-3px);
}
.btn-primary span, .btn-primary i { position: relative; z-index: 1; }
.btn-primary.btn-large { padding: 22px 52px; font-size: 1.05rem; }

/* Pulse ring */
.btn-pulse {
  animation: btnPulseRing 3s ease-in-out infinite;
}
@keyframes btnPulseRing {
  0%,100% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(25,64,122,.3); }
  50%      { box-shadow: var(--shadow-md), 0 0 0 12px rgba(25,64,122,0); }
}
.btn-pulse:hover { animation: none; }

/* ============================================================
   REVEAL ANIMATIONS
============================================================ */
.reveal, .reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal-right { transform: translateX(50px); }
.reveal.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* stagger lojas */
.loja-card:nth-child(1) { transition-delay: .05s; }
.loja-card:nth-child(2) { transition-delay: .12s; }
.loja-card:nth-child(3) { transition-delay: .19s; }
.loja-card:nth-child(4) { transition-delay: .26s; }
.loja-card:nth-child(5) { transition-delay: .33s; }
.loja-card:nth-child(6) { transition-delay: .40s; }
.loja-card:nth-child(7) { transition-delay: .47s; }
.loja-card:nth-child(8) { transition-delay: .54s; }

/* Float animation */
@keyframes floatAnim {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.float-anim { animation: floatAnim 4s ease-in-out infinite; }

/* ============================================================
   NAVBAR
============================================================ */
#navbar {
  position: fixed;
  top: 3px; left: 0; right: 0;
  z-index: 1000;
  padding: 0 32px;
  transition: background .4s, box-shadow .4s, padding .4s;
}
#navbar.scrolled {
  background: rgba(248,246,242,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 78px;
  gap: 40px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(25,64,122,.15));
  transition: var(--transition);
}
.nav-logo:hover img { transform: scale(1.04); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-sub);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--azul);
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--dourado);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--dourado); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--dourado); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 26px;
  background: var(--azul);
  color: var(--branco);
  font-family: var(--font-sub);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover {
  background: var(--dourado);
  color: var(--preto);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--azul);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 81px; left: 0; right: 0;
  background: var(--fundo);
  z-index: 999;
  padding: 24px 32px 32px;
  transform: translateY(-120%);
  opacity: 0;
  transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .4s;
  box-shadow: var(--shadow-md);
  border-top: 1px solid var(--cinza-lt);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 16px; }
.mobile-menu a {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--azul);
  padding: 12px 0;
  display: block;
  border-bottom: 1px solid var(--cinza-lt);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--dourado); padding-left: 8px; }

/* ============================================================
   TOAST NOTIFICATIONS
============================================================ */
#toastContainer {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--azul);
  color: var(--branco);
  font-family: var(--font-sub);
  font-size: .88rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  border-left: 4px solid var(--dourado);
  pointer-events: all;
  animation: toastIn .4s var(--transition-spring) forwards;
}
.toast.hide { animation: toastOut .35s ease forwards; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateY(10px) scale(.95); }
}

/* ============================================================
   HERO
============================================================ */
#hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #f0eee8 0%, #e8e4dc 40%, #dde4f0 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 32px 60px;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: calc((100vw - 1280px) / 2);
  padding-left: 32px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sub);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 20px;
  padding: 8px 20px;
  background: rgba(25,64,122,.08);
  border-radius: 100px;
  border: 1px solid rgba(25,64,122,.15);
}
.eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--dourado);
  border-radius: 50%;
  animation: dotBlink 2s ease-in-out infinite;
}
@keyframes dotBlink {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.7); }
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(3.2rem, 6.5vw, 5.8rem);
  line-height: 1.0;
  color: var(--azul);
  margin-bottom: 28px;
  letter-spacing: -.02em;
}
.hero-typed-wrap { display: inline-block; min-width: 10px; }
.typed-cursor {
  display: inline-block;
  color: var(--dourado);
  font-weight: 300;
  animation: cursorBlink .75s step-end infinite;
}
@keyframes cursorBlink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

.hero-subtitle {
  font-family: var(--font-sub);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 400;
  color: var(--cinza);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Métricas hero */
.hero-metrics {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.metric-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(25,64,122,.07);
  border: 1px solid rgba(25,64,122,.12);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.metric-chip:hover {
  background: rgba(25,64,122,.13);
  border-color: var(--dourado);
  transform: translateY(-2px);
}
.metric-num {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--dourado);
  line-height: 1;
}
.metric-label {
  font-family: var(--font-sub);
  font-size: .75rem;
  font-weight: 600;
  color: var(--azul);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 60px;
  border: 2px solid rgba(25,64,122,.3);
  border-radius: 100px;
}
.scroll-dot {
  width: 6px; height: 6px;
  background: var(--azul);
  border-radius: 50%;
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(-8px); opacity: 0; }
  50%      { transform: translateY(8px); opacity: 1; }
}

/* Hero Visual */
.hero-visual {
  position: absolute;
  right: calc((100vw - 1280px) / 2);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  padding-right: 32px;
}
.hero-video-wrapper {
  position: relative;
  width: clamp(240px, 26vw, 360px);
}
.hero-video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 3px var(--dourado), 0 0 80px rgba(223,189,94,.35);
  transition: var(--transition-slow);
  background: #000;
}
.hero-video-wrapper:hover .hero-video-frame {
  box-shadow: var(--shadow-lg), 0 0 0 3px var(--dourado), 0 0 140px rgba(223,189,94,.6);
  transform: scale(1.02) rotate(.4deg);
}
.hero-video-mp4 {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(223,189,94,.25) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.hero-img-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--azul);
  color: var(--branco);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-gold);
  border: 2px solid var(--dourado);
}
.badge-number {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--dourado);
  line-height: 1;
}
.badge-text {
  font-family: var(--font-sub);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero-fade-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--fundo));
  pointer-events: none;
  z-index: 3;
}

/* ============================================================
   LOJAS
============================================================ */
#lojas {
  padding: 120px 0;
  background: #f0ede6;
}
.section-header { text-align: center; }
.section-header .section-eyebrow { display: block; }
.section-header .section-desc { margin: 0 auto 40px; }

/* Filtros */
.lojas-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--cinza-lt);
  border-radius: var(--radius-xl);
  background: var(--branco);
  font-family: var(--font-sub);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cinza);
  cursor: pointer;
  transition: var(--transition-spring);
}
.filter-btn:hover {
  border-color: var(--azul);
  color: var(--azul);
  transform: translateY(-2px);
}
.filter-btn.active {
  background: var(--azul);
  color: var(--branco);
  border-color: var(--azul);
  box-shadow: var(--shadow-md);
}

/* Grid */
.lojas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.loja-card {
  background: var(--branco);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition-spring), box-shadow var(--transition), opacity .4s;
  will-change: transform;
}
.loja-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-gold);
}
.loja-card.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(.9);
}

.loja-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}
.loja-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.loja-card:hover .loja-img-wrap img { transform: scale(1.1); }

.loja-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25,64,122,.95) 0%, rgba(25,64,122,.55) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}
.loja-card:hover .loja-overlay { opacity: 1; }

.loja-overlay-name {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--branco);
  line-height: 1;
  margin-bottom: 4px;
}
.loja-overlay-tag {
  font-family: var(--font-sub);
  font-size: .72rem;
  font-weight: 600;
  color: var(--dourado);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.loja-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px;
  font-family: var(--font-sub);
  font-size: .75rem;
  font-weight: 700;
  color: var(--branco);
  backdrop-filter: blur(8px);
  transition: var(--transition);
  align-self: flex-start;
  cursor: pointer;
}
.loja-view-btn:hover { background: var(--dourado); color: var(--preto); border-color: var(--dourado); }

.loja-info {
  padding: 16px 20px;
}
.loja-info h3 {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 800;
  color: var(--azul);
  margin-bottom: 4px;
}
.loja-info span {
  font-family: var(--font-body);
  font-size: .78rem;
  color: var(--cinza);
  display: flex;
  align-items: center;
  gap: 6px;
}
.loja-info i { color: var(--dourado); font-size: .7rem; }

/* ============================================================
   LIGHTBOX
============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  background: var(--branco);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 420px;
  width: 90vw;
  box-shadow: var(--shadow-lg);
  transform: scale(.85) translateY(30px);
  transition: transform .4s var(--transition-spring);
}
.lightbox.open .lightbox-panel {
  transform: scale(1) translateY(0);
}

.lightbox-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  background: rgba(0,0,0,.5);
  color: var(--branco);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--dourado); color: var(--preto); transform: rotate(90deg); }

.lightbox-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.lightbox-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.lightbox.open .lightbox-img-wrap img { transform: scale(1.03); }

.lightbox-info {
  padding: 20px 24px 24px;
}
.lightbox-tag {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 8px;
}
.lightbox-info h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--azul);
  margin-bottom: 6px;
}
.lightbox-info p {
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--cinza);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lightbox-info i { color: var(--dourado); }

/* ============================================================
   CHATWOOT
============================================================ */
#chatwoot { background: var(--azul-deep); }
.chatwoot-bg {
  background:
    radial-gradient(ellipse at top right, rgba(223,189,94,.1) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(30,79,150,.6) 0%, transparent 70%),
    var(--azul-deep);
  padding: 120px 32px;
}
.chatwoot-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.chatwoot-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 480px;
}

/* Tabs */
.cw-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.cw-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
  background: transparent;
  color: rgba(255,255,255,.6);
  font-family: var(--font-sub);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: var(--transition-spring);
}
.cw-tab:hover {
  border-color: var(--dourado);
  color: var(--dourado);
  transform: translateY(-2px);
}
.cw-tab.active {
  background: var(--dourado);
  border-color: var(--dourado);
  color: var(--preto);
  box-shadow: var(--shadow-gold);
}

.cw-tab-content { margin-bottom: 40px; }
.cw-panel {
  display: none;
  animation: panelFade .4s ease;
}
.cw-panel.active { display: block; }
@keyframes panelFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chatwoot-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chatwoot-bullets li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sub);
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
}
.chatwoot-bullets i { color: var(--dourado); font-size: 1rem; flex-shrink: 0; }

/* Playlist */
.playlist-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  cursor: pointer;
}
.playlist-block:hover { background: rgba(255,255,255,.10); border-color: var(--dourado); }
.playlist-icon {
  width: 48px; height: 48px;
  background: #FF0000;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--branco);
  flex-shrink: 0;
}
.playlist-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.playlist-info strong {
  font-family: var(--font-sub);
  font-size: .88rem;
  font-weight: 800;
  color: var(--branco);
  letter-spacing: .04em;
}
.playlist-info span {
  font-family: var(--font-body);
  font-size: .78rem;
  color: rgba(255,255,255,.55);
}
.playlist-btn {
  width: 44px; height: 44px;
  background: var(--dourado);
  color: var(--preto);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.playlist-btn:hover { background: var(--branco); transform: scale(1.1); }

/* Mockup */
.chatwoot-visual { position: relative; display: flex; flex-direction: column; gap: 32px; }
.chatwoot-mockup { position: relative; }
.mockup-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(ellipse at center, rgba(223,189,94,.15) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.mockup-screen {
  position: relative;
  background: #1a1a2e;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.06);
}
.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mockup-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }
.mockup-url {
  flex: 1;
  font-family: var(--font-body);
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  text-align: center;
}
.mockup-img { width: 100%; display: block; }

.mockup-badge {
  position: absolute;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--branco);
  font-family: var(--font-sub);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.3;
}
.mockup-badge i { font-size: 1.2rem; color: var(--dourado); }
.badge-left  { top: -16px; left: -20px; }
.badge-right { bottom: -16px; right: -20px; }

/* Stats chatwoot */
.cw-stats-row {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.cw-stat {
  flex: 1;
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.cw-stat:last-child { border-right: none; }
.cw-stat-num {
  display: block;
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--dourado);
  line-height: 1;
}
.cw-stat-suffix {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--dourado);
}
.cw-stat-label {
  display: block;
  font-family: var(--font-sub);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: 6px;
}

/* ============================================================
   SAVE THE DATE
============================================================ */
#savethedate {
  background: linear-gradient(170deg, #f0ede6 0%, var(--fundo) 100%);
  padding: 120px 0 80px;
}
.savethedate-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.std-content { text-align: center; margin-bottom: 80px; }
.std-headline {
  font-family: var(--font-title);
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: var(--azul);
  line-height: 1;
  margin-bottom: 40px;
  letter-spacing: -.02em;
}

/* Countdown */
.countdown-wrap {
  margin-bottom: 48px;
}
.countdown-label {
  font-family: var(--font-sub);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cinza);
  margin-bottom: 16px;
}
.countdown-grid {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--azul);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cd-item {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border-right: 1px solid rgba(255,255,255,.1);
  min-width: 90px;
}
.cd-item:last-child { border-right: none; }
.cd-num {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dourado);
  line-height: 1;
  transition: transform .2s ease;
}
.cd-num.flip { transform: scale(1.2); }
.cd-label {
  font-family: var(--font-sub);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.cd-sep {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--dourado);
  padding: 0 4px;
  opacity: .6;
  animation: sepBlink 1s ease-in-out infinite;
}
@keyframes sepBlink {
  0%,100% { opacity: .6; }
  50%      { opacity: .15; }
}

/* STD Date box */
.std-date {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
  border: 2px solid var(--dourado);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.std-date-item {
  flex: 1;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.std-date-label {
  font-family: var(--font-sub);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cinza);
}
.std-date-value {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--azul);
  line-height: 1;
}
.std-date-value.gold { color: var(--dourado); }
.std-date-value.std-date-sm { font-size: clamp(1.4rem, 3vw, 2.2rem); }
.std-date-sep {
  width: 1px; height: 80px;
  background: var(--dourado);
  opacity: .4;
}

.std-desc {
  font-family: var(--font-sub);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cinza);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Final Card */
.std-final { display: flex; justify-content: center; }
.std-final-card {
  position: relative;
  background: var(--azul);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  max-width: 720px;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(223,189,94,.2);
  transition: var(--transition-slow);
}
.std-final-card:hover {
  box-shadow: var(--shadow-gold-lg);
  transform: translateY(-4px);
}
.std-final-glow {
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(223,189,94,.15) 0%, transparent 70%);
  pointer-events: none;
}
.std-final-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.tag-pill {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px;
  font-family: var(--font-sub);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
}
.gold-pill {
  background: var(--dourado);
  border-color: var(--dourado);
  color: var(--preto);
}
.tag-plus {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--dourado);
}
.std-final-text {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255,255,255,.75);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Confetti button */
.confetti-trigger {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: var(--dourado);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-spring);
}
.confetti-trigger:hover {
  background: var(--dourado);
  color: var(--preto);
  transform: rotate(20deg) scale(1.1);
}

/* ============================================================
   FOOTER
============================================================ */
#footer {
  background: var(--preto);
  padding: 60px 32px 40px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.footer-logo img { height: 56px; width: auto; filter: brightness(10) opacity(.85); }
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-family: var(--font-sub);
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--dourado); }
.footer-social { display: flex; gap: 20px; }
.footer-social a {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 1.1rem;
  transition: var(--transition);
}
.footer-social a:hover {
  border-color: var(--dourado);
  color: var(--dourado);
  transform: translateY(-3px);
}
.footer-copy {
  font-family: var(--font-body);
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  text-align: center;
}

/* ============================================================
   BACK TO TOP
============================================================ */
.back-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--azul);
  color: var(--branco);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover {
  background: var(--dourado);
  color: var(--preto);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

/* ============================================================
   CONFETTI CANVAS
============================================================ */
#confettiCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

/* ============================================================
   RESPONSIVO
============================================================ */
@media (max-width: 1100px) {
  .lojas-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  #hero {
    flex-direction: column;
    padding: 110px 24px 60px;
    text-align: center;
    justify-content: center;
  }
  .hero-content {
    margin-left: 0;
    padding-left: 0;
    max-width: 100%;
  }
  .hero-actions, .hero-metrics { justify-content: center; }
  .scroll-indicator { margin: 40px auto 0; }

  .hero-visual {
    position: relative;
    right: auto; top: auto;
    transform: none;
    padding: 40px 0 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .hero-video-wrapper { width: min(300px, 80vw); }
  .hero-fade-bottom { display: none; }

  .chatwoot-inner { grid-template-columns: 1fr; }
  .lojas-grid { grid-template-columns: repeat(2, 1fr); padding: 0 24px; }

  .std-final-card { padding: 40px 24px; }
  .desktop-br { display: none; }
  #navbar { padding: 0 24px; }

  .countdown-grid { flex-wrap: wrap; border-radius: var(--radius-md); }
  .cd-item { min-width: 70px; padding: 16px 20px; }
}

@media (max-width: 600px) {
  .lojas-grid { grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 16px; }
  .section-inner { padding: 0 20px; }

  .std-date { flex-direction: column; max-width: 280px; border-radius: var(--radius-md); }
  .std-date-sep { width: 60px; height: 1px; }
  .std-date-item { padding: 20px 16px; }

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

  .chatwoot-bg { padding: 80px 20px; }
  .badge-left, .badge-right { display: none; }
  .std-final-tag { flex-wrap: wrap; gap: 8px; }

  .cw-stats-row { flex-direction: column; }
  .cw-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .cw-stat:last-child { border-bottom: none; }
}

@media (max-width: 400px) {
  .lojas-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .countdown-grid { gap: 0; }
  .cd-sep { display: none; }
}
