/* ═══════════════════════════════════════════════
   Vuno Visual — Global (Preto & Dourado)
   Muda aqui → reflete em todas as páginas
   ═══════════════════════════════════════════════ */

:root {
  /* Paleta principal — Preto & Dourado */
  --ink: #0A0A0C;
  --ink2: #151518;
  --cream: #FAFAF6;
  --sand: #F4EFE4;
  --gold: #D4A017;
  --gold-bright: #F5C842;
  --gold-dark: #9A6F08;
  --gold-light: #FBF6E6;

  /* Aliases p/ compatibilidade com páginas existentes */
  --green: var(--gold);
  --green2: var(--gold-dark);
  --greenl: var(--gold-light);
  --orange: #E5A024;
  --orangel: #FDF4E0;
  --muted: #5C5952;
  --border: rgba(10,10,12,.1);

  --verde: var(--gold);
  --verde-dark: var(--gold-dark);
  --verde-light: var(--gold-light);
  --preto: var(--ink);
  --cinza: var(--muted);
  --cinza-light: #F5F2EA;
  --branco: var(--cream);
  --laranja: var(--orange);

  /* Tipografia moderna e arquitetônica */
  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: #08080A;
  color: #F4F2EC;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── SCROLL PROGRESS BAR (FUTURISTIC GOLD) ─── */
#vuno-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  z-index: 1000;
  background: linear-gradient(90deg, #B8860B, #F5C842, #FFF0A8);
  box-shadow: 0 0 14px rgba(245, 200, 66, 0.75);
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ─── CANVAS HERO & SPOTLIGHT FX ─── */
.hero-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.fx-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(4px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1),
              transform .7s cubic-bezier(.22, 1, .36, 1),
              filter .7s cubic-bezier(.22, 1, .36, 1);
}
.fx-reveal.fx-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Mouse-tracking Golden Spotlight Overlay */
.prob-card,
.pilar-card,
.produto,
.pstep,
.pos-quote,
.post-featured-link,
.post-card-link {
  position: relative;
  overflow: hidden;
}
.prob-card::before,
.pilar-card::before,
.produto::before,
.pstep::before,
.post-featured-link::before,
.post-card-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, -400px) var(--my, -400px),
    rgba(245, 200, 66, 0.14),
    transparent 62%
  );
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 2;
}
.prob-card:hover::before,
.pilar-card:hover::before,
.produto:hover::before,
.pstep:hover::before,
.post-featured-link:hover::before,
.post-card-link:hover::before {
  opacity: 1;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem 3.5rem;
  background: linear-gradient(135deg, rgba(10, 10, 12, 0.96), rgba(21, 21, 24, 0.94));
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1.5px solid rgba(212, 160, 23, 0.24);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
}
nav:hover {
  border-bottom-color: rgba(245, 200, 66, 0.42);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  color: #FFFFFF; text-decoration: none;
  letter-spacing: -.025em;
  transition: all .3s;
}
.nav-logo:hover {
  transform: scale(1.02);
  text-shadow: 0 4px 18px rgba(245, 200, 66, 0.35);
}
.nav-logo em {
  color: var(--gold-bright);
  font-style: normal;
  font-weight: 600;
  filter: drop-shadow(0 2px 8px rgba(245, 200, 66, 0.35));
}

.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: .85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: .75rem 1.4rem;
  border-radius: 8px;
  display: inline-block;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  transform: translateX(-50%);
  transition: width .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: var(--gold-bright);
  background: rgba(245, 200, 66, 0.08);
  transform: translateY(-1px);
}

.nav-links a:hover::before {
  width: 85%;
}

.nav-links a.active {
  color: var(--gold-bright);
  background: rgba(245, 200, 66, 0.12);
}

.nav-links a.active::before {
  width: 85%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold));
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  padding: .75rem 1.7rem;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 18px rgba(212, 160, 23, 0.32);
  position: relative;
  overflow: hidden;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #FFE074, var(--gold-bright));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 200, 66, 0.45);
}

/* ─── SEÇÃO BASE ─── */
section { padding: 7rem 3rem; }
.section-label {
  font-size: .74rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-bright); margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.12; margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 560px;
}

/* ─── FOOTER ─── */
footer {
  background: linear-gradient(180deg, #09090B, #131316);
  padding: 3rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1.5px solid rgba(212, 160, 23, 0.24);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.foot-logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: -.025em;
  transition: all .3s;
}

.foot-logo:hover {
  transform: scale(1.02);
}

.foot-logo em {
  color: var(--gold-bright);
  font-style: normal;
  font-weight: 600;
}

.foot-info {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}

.foot-contact {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}

.foot-contact a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: all .3s;
  position: relative;
  padding-bottom: 2px;
}

.foot-contact a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold-bright);
  transition: width .3s;
}

.foot-contact a:hover::after {
  width: 100%;
}

.foot-links {
  display: flex;
  gap: 1rem;
}

.foot-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: all .3s;
  padding: .75rem 1.4rem;
  border-radius: 8px;
  display: inline-block;
}

.foot-links a:hover {
  color: var(--gold-bright);
  background: rgba(245, 200, 66, 0.1);
}

/* ─── WHATSAPP FLOAT ─── */
.wpp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #27d467, #16a34a);
  color: white;
  z-index: 999;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(22,163,74,.38),
              0 0 36px rgba(39, 212, 103, 0.28);
  transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
  animation: wppPulse 2.4s ease-in-out infinite;
}

@keyframes wppPulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(22,163,74,.38), 0 0 32px rgba(39, 212, 103, 0.28);
  }
  50% {
    box-shadow: 0 8px 28px rgba(22,163,74,.48), 0 0 54px rgba(39, 212, 103, 0.48);
  }
}

.wpp-float:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 16px 42px rgba(22,163,74,.5);
  animation: none;
}

.wpp-float svg {
  fill: currentColor;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* ─── ANIMAÇÕES ─── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVO BASE ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.nav-hamburger span {
  width: 100%;
  height: 3px;
  background: #FFFFFF;
  border-radius: 3px;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-hamburger:hover span {
  background: var(--gold-bright);
}

.nav-hamburger.active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-20px); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }

  .nav-links {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: linear-gradient(135deg, rgba(10, 10, 12, 0.98), rgba(24, 20, 12, 0.98));
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
  }

  .nav-links.active { transform: translateX(0); }

  .nav-links a {
    font-size: 1.15rem;
    padding: 1.2rem 2.2rem;
    width: 100%;
    max-width: 300px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(245, 200, 66, 0.28);
    color: #FFFFFF;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(245, 200, 66, 0.14);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
  }

  section { padding: 5rem 1.5rem; }
  footer { flex-direction: column; text-align: center; }
  .foot-links { flex-direction: column; }
}

@media (max-width: 540px) {
  .wpp-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  nav { padding: 1rem; }
  .nav-logo { font-size: 1.3rem; }
}
