/* ═══════════════════════════════════════════════════════════════
   premium-visual.css — Sistema Visual Premium sobreposto
   Sobreposição pura de estilos e animações — sem alterar HTML
═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   1. TOKENS EXPANDIDOS
═══════════════════════════════════════════════════════════════ */
:root {
  --pv-void:         #0a0806;
  --pv-carbon:       #141210;
  --pv-obsidian:     #1c1814;
  --pv-graphite:     #2a2420;

  --pv-gold:         #c9a84c;
  --pv-gold-bright:  #d4a853;
  --pv-gold-glow:    #e8c96d;
  --pv-gold-pale:    rgba(212, 168, 83, 0.15);
  --pv-gold-border:  rgba(201, 168, 76, 0.45);

  --pv-glow-gold:        0 0 40px rgba(201,168,76,0.25), 0 0 80px rgba(201,168,76,0.10);
  --pv-glow-intense:     0 0 20px rgba(212,168,83,0.60), 0 0 60px rgba(212,168,83,0.30);
  --pv-shadow-luxury:    0 8px 32px rgba(10,8,6,0.40),   0 2px 8px rgba(10,8,6,0.20);
  --pv-shadow-card:      0 20px 60px rgba(10,8,6,0.35),  0 4px 16px rgba(10,8,6,0.15);
  --pv-shadow-hover:     0 30px 80px rgba(0,0,0,0.45);

  --pv-glass-dark:   rgba(20, 18, 16, 0.82);
  --pv-glass-gold:   rgba(201, 168, 76, 0.06);
}

/* ═══════════════════════════════════════════════════════════════
   2. PRELOADER — EXIT CINEMATOGRÁFICO + PROGRESS BAR
═══════════════════════════════════════════════════════════════ */

/* Fundo escuro quase-negro — sombra suave aquece só onde a lâmpada acende */
.preloader {
  background: radial-gradient(
    ellipse 50% 45% at 50% 50%,
    #0a0805 0%,
    #050403 60%,
    #000000 100%
  ) !important;
}

/* Exit: scale + blur + fade */
.preloader.is-done {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(1.08) !important;
  filter: blur(12px) !important;
  transition:
    opacity 0.75s var(--ease-out-expo),
    visibility 0.75s,
    transform 0.75s var(--ease-out-expo),
    filter 0.55s ease !important;
}

/* Barra de progresso — injetada via JS */
.pre-progress-bar {
  position: absolute;
  bottom: 14vh;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}

.pre-progress-fill {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cor-dourado) 0%, var(--cor-dourado-claro) 60%, var(--pv-gold-glow) 100%);
  border-radius: 999px;
  width: 0;
  box-shadow: 0 0 10px rgba(201,168,76,0.7);
  animation: preProgressFill 2.4s var(--ease-out-expo) 0.3s both;
}

@keyframes preProgressFill {
  from { width: 0; opacity: 0.4; }
  10%  { opacity: 1; }
  to   { width: 100%; opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   3. CURSOR PREMIUM
═══════════════════════════════════════════════════════════════ */
.custom-cursor__ring {
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(201, 168, 76, 0.55);
  border-radius: 999px;
  transition:
    width 0.35s var(--ease-out-expo),
    height 0.35s var(--ease-out-expo),
    border-color 0.3s ease,
    background 0.3s ease,
    border-radius 0.3s ease,
    transform 0.2s ease !important;
}

.custom-cursor__dot {
  width: 6px;
  height: 6px;
  background: var(--pv-gold);
  box-shadow: 0 0 8px rgba(201,168,76,0.6);
  transition: transform 0.1s ease, width 0.25s var(--ease-out-expo), height 0.25s var(--ease-out-expo) !important;
}

/* Hover em links/botões */
.cursor-grow .custom-cursor__ring {
  width: 48px !important;
  height: 48px !important;
  border-color: var(--pv-gold) !important;
  background: var(--pv-glass-gold) !important;
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

.cursor-grow .custom-cursor__dot {
  width: 4px !important;
  height: 4px !important;
}

/* Hover em imagens — VER label */
.cursor-image .custom-cursor__ring {
  width: 64px !important;
  height: 64px !important;
  background: rgba(201, 168, 76, 0.12) !important;
  border-color: var(--pv-gold-bright) !important;
  transform: translate(-50%, -50%) !important;
}

.cursor-image .cursor-text {
  opacity: 1 !important;
  font-size: 8px !important;
  letter-spacing: 0.18em !important;
  color: var(--pv-gold-bright) !important;
  font-weight: 700 !important;
}

/* Click: dot bounce */
.cursor-clicking .custom-cursor__dot {
  transform: translate(-50%, -50%) scale(0.45) !important;
}

/* ═══════════════════════════════════════════════════════════════
   4. HEADER GLASSMORPHISM
═══════════════════════════════════════════════════════════════ */

/* Header scrollado: dark glass */
.site-header.is-scrolled {
  background: var(--pv-glass-dark) !important;
  backdrop-filter: blur(22px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) !important;
  box-shadow: none !important;
  height: 68px !important;
}

/* Borda inferior dourada sutil */
.site-header.is-scrolled::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 168, 76, 0.55) 40%,
    rgba(201, 168, 76, 0.80) 50%,
    rgba(201, 168, 76, 0.55) 60%,
    transparent 100%
  );
  pointer-events: none;
}

/* Links no header scrollado ficam brancos suaves */
.site-header.is-scrolled .nav-primary__link {
  color: rgba(255, 255, 255, 0.65) !important;
}
.site-header.is-scrolled .nav-primary__link:hover,
.site-header.is-scrolled .nav-primary__link[aria-current="page"] {
  color: var(--pv-gold) !important;
}

/* Logo no header scrollado — dourado */
.site-header.is-scrolled .site-logo {
  color: rgba(201, 168, 76, 0.92) !important;
}

/* Logo hover glow */
.site-logo {
  transition: color var(--t) !important;
}
.site-logo:hover svg,
.site-logo:focus svg {
  filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.45));
  transition: filter 0.45s ease;
}

/* Nav underline da esquerda → direita */
.nav-primary__link::after {
  transition: width 0.35s var(--ease-out-expo) !important;
  background: var(--pv-gold) !important;
}

/* Hamburger linha cor no header claro via scroll */
.site-header.is-scrolled .hamburger__line {
  background: rgba(255, 255, 255, 0.75) !important;
}

/* ═══════════════════════════════════════════════════════════════
   5. BOTÕES — RIPPLE + HOVER PREMIUM
═══════════════════════════════════════════════════════════════ */

/* Ripple span injetado via JS */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
  animation: rippleExpand 0.65s var(--ease-out-expo) forwards;
}

@keyframes rippleExpand {
  from { transform: scale(0); opacity: 0.8; }
  to   { transform: scale(4.5); opacity: 0; }
}

/* Ghost light arrow offset */
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.08) !important;
}

/* ═══════════════════════════════════════════════════════════════
   6. HERO — SCROLL INDICATOR DOT
═══════════════════════════════════════════════════════════════ */

.hero__scroll-line {
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--cor-dourado);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(201,168,76,0.8), 0 0 16px rgba(201,168,76,0.4);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0%        { top: -6px;  opacity: 0; }
  15%       { opacity: 1; }
  80%       { opacity: 0.7; }
  100%      { top: calc(100% + 4px); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   7. MANIFESTO — NOISE + UNDERLINES DOURADOS
═══════════════════════════════════════════════════════════════ */

/* Light-streak: shimmer dourado passando pela palavra */
.light-streak {
  background: var(--grad-light-streak);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.light-streak.word-visible {
  animation: wordReveal 0.7s var(--ease-out-expo) forwards,
             lightStreak 3.5s linear 1.4s infinite;
}

/* Lead do manifesto em uma única linha (2026-05-26) */
.manifesto__lead--single {
  max-width: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .manifesto__lead--single {
    white-space: normal;
    text-overflow: clip;
  }
}

/* Underlines abaixo de palavras-chave do manifesto — REMOVIDOS a pedido (2026-05-26) */
.manifesto__title [data-word] {
  position: relative;
}

.manifesto__title [data-word]:nth-child(2).word-visible::after,
.manifesto__title [data-word]:last-child.word-visible::after,
.manifesto__title .light-streak.word-visible::after {
  content: none !important;
  display: none !important;
}

@keyframes underlineDraw {
  from { width: 0; opacity: 0; }
  5%   { opacity: 1; }
  to   { width: 100%; opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   8. STATS — GLASSMORPHISM CARDS
═══════════════════════════════════════════════════════════════ */

.stat-item {
  background: rgba(201, 168, 76, 0.04) !important;
  border: 1px solid rgba(201, 168, 76, 0.12) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 0.35s var(--ease-out-expo),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease !important;
}

.stat-item:hover {
  background: rgba(201, 168, 76, 0.09) !important;
  border-color: rgba(201, 168, 76, 0.50) !important;
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.12) !important;
  transform: translateY(-5px) !important;
}

/* Linha decorativa abaixo do label */
.stat-item__label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--pv-gold), transparent);
  margin: 8px auto 0;
  opacity: 0.5;
}

/* Sufixo (+/%) animado após contador */
.stat-item__suffix {
  color: var(--cor-dourado-claro) !important;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-bounce);
}

.stat-item.counter-done .stat-item__suffix {
  opacity: 1;
  transform: scale(1);
}

/* ═══════════════════════════════════════════════════════════════
   9. SHOWCASE CARDS — LUXURY HOVER
═══════════════════════════════════════════════════════════════ */

.showcase-card {
  border: 1px solid transparent;
  transition:
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    transform 0.45s var(--ease-luxury) !important;
}

.showcase-card:hover {
  border-color: rgba(201, 168, 76, 0.45) !important;
  box-shadow: var(--pv-shadow-hover), 0 0 0 1px rgba(201,168,76,0.2) !important;
}

/* Click feedback */
.showcase-card:active {
  transform: scale(0.975) !important;
}

/* ═══════════════════════════════════════════════════════════════
   10. SOBRE — IMAGE CURTAIN REVEAL
═══════════════════════════════════════════════════════════════ */

/* Classes injetadas via JS */
.curtain-wrap {
  position: relative;
  overflow: hidden;
}

.curtain-overlay {
  position: absolute;
  inset: 0;
  background: var(--cor-fundo);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.95s var(--ease-out-expo);
  z-index: 3;
  pointer-events: none;
}

.curtain-wrap.curtain-revealed .curtain-overlay {
  transform: scaleX(0);
  transform-origin: right;
}

/* ═══════════════════════════════════════════════════════════════
   11. DEPOIMENTOS — CARDS PREMIUM
═══════════════════════════════════════════════════════════════ */

.testimonial-card {
  border-left: 3px solid var(--pv-gold) !important;
  border-top: 1px solid rgba(201, 168, 76, 0.1) !important;
  border-right: 1px solid rgba(201, 168, 76, 0.08) !important;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08) !important;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.38s var(--ease-out-expo),
    box-shadow 0.38s var(--ease-out-expo),
    border-left-color 0.38s ease !important;
}

/* Aspas decorativas grandes */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-4);
  font-family: var(--ff-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--pv-gold);
  opacity: 0.10;
  pointer-events: none;
  user-select: none;
}

.testimonial-card:hover {
  transform: translateY(-8px) !important;
  box-shadow:
    0 24px 64px rgba(28, 23, 19, 0.15),
    0 4px 16px rgba(28, 23, 19, 0.08) !important;
  border-left-color: var(--pv-gold-bright) !important;
}

/* Stars stagger — span.star-anim injetado via JS */
.testimonial-card__stars {
  display: flex;
  gap: 3px;
}

.star-anim {
  display: inline-block;
  opacity: 0;
  transform: scale(0);
  animation: starPop 0.4s var(--ease-bounce) forwards;
}

@keyframes starPop {
  0%    { opacity: 0; transform: scale(0); }
  55%   { transform: scale(1.3); }
  100%  { opacity: 1; transform: scale(1); }
}

/* ═══════════════════════════════════════════════════════════════
   12. ASSINATURA DOS SÓCIOS
═══════════════════════════════════════════════════════════════ */

/* Imagem começa em grayscale, transiciona para cor ao revelar */
.assinatura__img {
  filter: grayscale(100%) sepia(8%) !important;
  transition: filter 1.4s var(--ease-luxury), transform 0.8s var(--ease-luxury) !important;
}

.assinatura__img-wrap.image-revealed .assinatura__img {
  filter: grayscale(0%) sepia(0%) !important;
}

.assinatura__img-wrap:hover .assinatura__img {
  filter: grayscale(0%) sepia(0%) saturate(1.15) !important;
  transform: scale(1.03) !important;
}

/* Quote underline que se desenha */
.assinatura__quote {
  position: relative;
}

.assinatura__quote::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  height: 1.5px;
  width: 0;
  background: linear-gradient(90deg, var(--cor-dourado) 0%, var(--pv-gold-bright) 50%, transparent 100%);
  border-radius: 999px;
  transition: width 1.6s var(--ease-out-expo);
}

.assinatura__quote-wrap.is-quote-visible .assinatura__quote::after {
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   13. CTA FINAL — RADIAL GOLD ACCENT + FORM FOCUS
═══════════════════════════════════════════════════════════════ */

/* Acento de luz radial dourado no canto superior direito */
.home-cta__overlay {
  background:
    radial-gradient(ellipse 45% 65% at 88% 12%, rgba(201, 168, 76, 0.14) 0%, transparent 68%),
    radial-gradient(ellipse 30% 50% at 92% 8%,  rgba(212, 168, 83, 0.08) 0%, transparent 55%),
    rgba(28, 23, 19, 0.80) !important;
}

/* Form: foco dourado intensificado */
.home-cta .form-input--light:focus,
.home-cta .form-select--light:focus,
.home-cta .form-textarea--light:focus {
  border-color: var(--pv-gold) !important;
  box-shadow:
    0 0 0 1px rgba(201, 168, 76, 0.2),
    0 4px 20px -6px rgba(201, 168, 76, 0.30) !important;
  background: rgba(255,255,255,0.10) !important;
}

/* Label muda de cor no focus/valor via JS classes */
.form-field.has-focus .form-label--light,
.form-field.has-value .form-label--light {
  color: var(--pv-gold) !important;
}

/* Floating labels — classe injetada via JS */
.form-field--floating {
  position: relative;
  padding-top: 20px;
}

.form-field--floating .form-label--light {
  position: absolute;
  top: 34px;
  left: 18px;
  font-size: var(--fs-3);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.38);
  pointer-events: none;
  transition:
    top 0.28s var(--ease-out-expo),
    font-size 0.28s var(--ease-out-expo),
    letter-spacing 0.28s ease,
    color 0.28s ease;
  z-index: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.form-field--floating.has-focus .form-label--light,
.form-field--floating.has-value .form-label--light {
  top: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pv-gold) !important;
}

/* ═══════════════════════════════════════════════════════════════
   14. FOOTER — GRADIENTE + BORDA DOURADA SUPERIOR
═══════════════════════════════════════════════════════════════ */

.site-footer {
  background: linear-gradient(175deg, #2a2420 0%, #1c1813 30%, #141210 100%) !important;
  position: relative;
}

/* Linha dourada no topo */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 168, 76, 0.40) 20%,
    rgba(201, 168, 76, 0.70) 50%,
    rgba(201, 168, 76, 0.40) 80%,
    transparent 100%
  );
  pointer-events: none;
}

/* Logo footer glow */
.footer-brand__logo {
  transition: filter 0.45s ease, color 0.45s ease !important;
}

.footer-brand:hover .footer-brand__logo {
  filter: drop-shadow(0 0 12px rgba(201, 168, 76, 0.45));
  color: rgba(201, 168, 76, 0.95) !important;
}

/* Links footer com underline crescendo */
.footer-col__link {
  position: relative;
  display: inline-block;
  transition: color var(--t-fast), padding-left 0.3s ease !important;
}

.footer-col__link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--cor-dourado-claro);
  transition: width 0.3s var(--ease-out-expo);
}

.footer-col__link:hover::before {
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   15. BOTÕES FLUTUANTES — WHATSAPP + BACK TO TOP
═══════════════════════════════════════════════════════════════ */

.whatsapp-fab {
  transition: transform var(--t), box-shadow var(--t) !important;
}

.whatsapp-fab:hover {
  transform: translateY(-5px) scale(1.08) !important;
  box-shadow: 0 16px 44px rgba(37,211,102,0.55), 0 0 0 6px rgba(37,211,102,0.1) !important;
}

/* Back to top — escala de entrada + glow dourado */
.back-to-top {
  background: var(--pv-obsidian) !important;
  border: 1px solid rgba(201, 168, 76, 0.2) !important;
  transition: opacity 0.4s ease, visibility 0.4s ease, background 0.3s ease, transform 0.35s var(--ease-bounce), box-shadow 0.35s ease !important;
}

.back-to-top.is-visible {
  animation: backTopReveal 0.45s var(--ease-bounce) both;
}

@keyframes backTopReveal {
  from { opacity: 0; transform: scale(0.4) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.back-to-top:hover {
  background: var(--pv-gold) !important;
  border-color: var(--pv-gold) !important;
  transform: translateY(-4px) !important;
  box-shadow: var(--pv-glow-gold) !important;
}

/* ═══════════════════════════════════════════════════════════════
   16. PROCESSO — CÍRCULOS COM GLOW PULSANTE
═══════════════════════════════════════════════════════════════ */

.process-track.is-animated .process-step__num {
  box-shadow: 0 0 0 rgba(201,168,76,0) !important;
  animation: processNumGlow 2.8s ease-in-out infinite;
}

@keyframes processNumGlow {
  0%, 100% {
    box-shadow:
      0 0 12px rgba(201, 168, 76, 0.25),
      0 0 24px rgba(201, 168, 76, 0.10);
  }
  50% {
    box-shadow:
      0 0 24px rgba(201, 168, 76, 0.55),
      0 0 48px rgba(201, 168, 76, 0.22),
      0 0 80px rgba(201, 168, 76, 0.08);
  }
}

/* ═══════════════════════════════════════════════════════════════
   17. SCROLL PROGRESS BAR ENHANCED
═══════════════════════════════════════════════════════════════ */

.scroll-progress {
  background: linear-gradient(
    90deg,
    var(--pv-gold) 0%,
    var(--pv-gold-bright) 50%,
    var(--pv-gold-glow) 100%
  ) !important;
  box-shadow: 0 0 14px rgba(201, 168, 76, 0.65) !important;
  height: 2px !important;
}

/* ═══════════════════════════════════════════════════════════════
   18. QUICK NAV — DOTS DOURADOS
═══════════════════════════════════════════════════════════════ */

.quick-nav__dot {
  border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.quick-nav__dot:hover,
.quick-nav__dot.is-active {
  background: var(--pv-gold) !important;
  border-color: var(--pv-gold) !important;
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.50) !important;
}

/* ═══════════════════════════════════════════════════════════════
   19. PROJETOS 3D — SLIDE INFO
═══════════════════════════════════════════════════════════════ */

.p3d-slide:hover {
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.32),
    0 0 0 1.5px rgba(201, 168, 76, 0.50) !important;
}

/* ═══════════════════════════════════════════════════════════════
   20. PORTFÓLIO HORIZONTAL — HOVER OVERLAY DOURADO
═══════════════════════════════════════════════════════════════ */

.projeto-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201, 168, 76, 0);
  transition: background 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.projeto-slide:hover::after {
  background: rgba(201, 168, 76, 0.07);
}

/* ═══════════════════════════════════════════════════════════════
   21. WAVE GLOWS — LINHA DO HORIZONTE MAIS INTENSA
═══════════════════════════════════════════════════════════════ */

.ambient-wave::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(217, 181, 129, 0.30) 12%,
    rgba(255, 228, 140, 0.90) 50%,
    rgba(217, 181, 129, 0.30) 88%,
    transparent 100%
  ) !important;
  box-shadow:
    0 0 14px rgba(217,181,129,0.65),
    0 0 36px rgba(217,181,129,0.28),
    0 0 70px rgba(184,137,74,0.14) !important;
}

/* ═══════════════════════════════════════════════════════════════
   22. MOBILE NAV — DARK GLASS
═══════════════════════════════════════════════════════════════ */

.nav-mobile-overlay {
  background: var(--pv-carbon) !important;
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}

/* ═══════════════════════════════════════════════════════════════
   23. KICKER LABEL — DOT DOURADO
═══════════════════════════════════════════════════════════════ */

.kicker {
  color: var(--cor-dourado) !important;
}

.kicker--light {
  color: var(--cor-dourado-claro) !important;
}

/* ═══════════════════════════════════════════════════════════════
   25. HERO TITLE — SPLIT TEXT WORD POR WORD
═══════════════════════════════════════════════════════════════ */

/* Cada .hero-word é injetado via JS */
.hero__title .hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(80px);
  animation: heroWordReveal 0.95s var(--ease-out-expo) calc(0.38s + var(--wi, 0) * 0.18s) forwards;
}

@keyframes heroWordReveal {
  from { opacity: 0; transform: translateY(80px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Shimmer dourado na primeira palavra ("Luz") depois de aparecer */
.hero__title .hero-word:first-child::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 35%,
    rgba(232, 201, 122, 0.40) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 300% 100%;
  pointer-events: none;
  animation: heroWordShimmer 4s ease-in-out 2.2s infinite;
}

.hero__title .hero-word:first-child {
  position: relative;
  color: var(--cor-dourado-claro);
}

@keyframes heroWordShimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -100% center; }
}

/* Enquanto JS não splitou, a animação original é mantida como fallback */
.hero__title:not([data-split]) {
  animation: heroTitleReveal 0.95s var(--ease-out-expo) 0.35s both;
}
.hero__title[data-split] {
  animation: none !important;
  clip-path: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   26. MANIFESTO — SEÇÃO ESCURA + BLUR WORD REVEAL
═══════════════════════════════════════════════════════════════ */

.manifesto {
  background: #17130f !important;
  position: relative;
}

/* Noise texture via SVG inline */
.manifesto::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

.manifesto .container { position: relative; z-index: 1; }

/* Texto branco no manifesto escuro */
.manifesto__title {
  color: rgba(255, 255, 255, 0.92) !important;
}

.manifesto__title [data-word] {
  color: rgba(255, 255, 255, 0.92);
}

.manifesto__title [data-italic] {
  color: var(--cor-dourado-claro) !important;
  font-style: italic;
}

.manifesto__lead {
  color: rgba(255, 255, 255, 0.58) !important;
}

/* Kicker no manifesto escuro */
.manifesto .kicker,
.manifesto .kicker--light {
  color: var(--pv-gold) !important;
}

/* Word reveal com blur (substitui a animação base) */
.manifesto__title [data-word].word-visible {
  animation: wordRevealBlur 0.78s var(--ease-out-expo) forwards !important;
}

@keyframes wordRevealBlur {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.85);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

/* Light-streak no manifesto escuro — usa branco como base */
.manifesto .light-streak {
  background: linear-gradient(
    110deg,
    rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.88) 32%,
    var(--pv-gold-glow) 50%,
    rgba(255,255,255,0.88) 68%, rgba(255,255,255,0.88) 100%
  ) !important;
  background-size: 250% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Underlines nos keywords — REMOVIDOS (mantido seletor por compatibilidade) */
.manifesto__title [data-word]:nth-child(2).word-visible::after,
.manifesto__title [data-word]:last-child.word-visible::after {
  display: none !important;
  content: none !important;
}

/* Linha separadora sob o título — expande 0→100% */
.manifesto__title {
  position: relative;
}
.manifesto__title::after {
  content: '';
  display: block;
  margin-top: 24px;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--pv-gold) 50%, transparent);
  border-radius: 999px;
  transition: width 1s var(--ease-out-expo) 0.5s;
  opacity: 0.45;
}
.manifesto__title.title-line-drawn::after {
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   27. LOADER — FAÍSCAS (spark divs injetados via JS)
═══════════════════════════════════════════════════════════════ */

.pre-spark {
  position: absolute;
  top: 42%;
  left: 50%;
  width: var(--size, 3px);
  height: var(--size, 3px);
  background: var(--pv-gold-glow);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(232, 201, 122, 0.9), 0 0 16px rgba(232, 201, 122, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  animation: sparkFly var(--dur, 0.65s) ease-out var(--delay, 1.8s) both;
}

@keyframes sparkFly {
  0%   { opacity: 1;   transform: translate(-50%, -50%) translate(0px, 0px) scale(1);   }
  20%  { opacity: 1; }
  100% { opacity: 0;   transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) scale(0.15); }
}

/* ═══════════════════════════════════════════════════════════════
   28. PORTFÓLIO HORIZONTAL — GRAB CURSOR
═══════════════════════════════════════════════════════════════ */

.projetos-swiper,
.home-projetos .swiper {
  cursor: grab;
}

.projetos-swiper:active,
.home-projetos .swiper:active {
  cursor: grabbing;
}

/* Desativa cursor customizado na área do swiper */
.projetos-swiper .swiper-slide,
.home-projetos .swiper-slide {
  cursor: inherit;
}

/* ─── Carrossel full-width: usa todo espaço lateral disponível ─── */
.projetos-swiper--full{
  padding-inline:0 !important;
  width:100%;
  max-width:100%;
}
.projetos-swiper--full .swiper-slide{
  height:auto;
}

/* ─── Navegação integrada: setas + bolinhas em uma linha ─── */
.projetos-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin-block-start:28px;
  padding-inline:24px;
}
.projetos-arrow{
  position:static !important;
  width:36px;height:36px;
  margin:0 !important;
  display:inline-flex;
  align-items:center;justify-content:center;
  background:transparent;
  color:rgba(20,18,14,.75);
  border:1px solid rgba(20,18,14,.18);
  border-radius:999px;
  cursor:pointer;
  transition:all .35s cubic-bezier(.16,1,.3,1);
}
.projetos-arrow::after{content:none !important;}
.projetos-arrow:hover{
  background:#141210;
  color:#fff;
  border-color:#141210;
  transform:translateY(-1px);
}
.projetos-arrow.swiper-button-disabled{
  opacity:.35;
  pointer-events:none;
}
.projetos-pagination{
  position:static !important;
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:auto !important;
}
.projetos-pagination .swiper-pagination-bullet{
  width:7px;height:7px;
  background:rgba(20,18,14,.25);
  opacity:1;
  margin:0 !important;
  transition:all .35s cubic-bezier(.16,1,.3,1);
}
.projetos-pagination .swiper-pagination-bullet-active{
  background:#c8a04a;
  width:24px;
  border-radius:4px;
}

/* ═══════════════════════════════════════════════════════════════
   29. PROCESSO — STAGGER ENTRY POR ETAPA
═══════════════════════════════════════════════════════════════ */

/* Steps entram com slide da direita + fade quando track anima */
.process-step {
  opacity: 0;
  transform: translateX(20px);
  transition:
    opacity 0.65s var(--ease-out-expo),
    transform 0.65s var(--ease-out-expo) !important;
}

.process-track.is-animated .process-step {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger por posição */
.process-track.is-animated .process-step:nth-child(2)  { transition-delay: 0ms !important; }
.process-track.is-animated .process-step:nth-child(3)  { transition-delay: 160ms !important; }
.process-track.is-animated .process-step:nth-child(4)  { transition-delay: 320ms !important; }
.process-track.is-animated .process-step:nth-child(5)  { transition-delay: 480ms !important; }
.process-track.is-animated .process-step:nth-child(6)  { transition-delay: 640ms !important; }

/* Números dos steps: scale 0 → 1 quando animados */
.process-step__num {
  transform: scale(0.6);
  transition:
    transform 0.5s var(--ease-bounce),
    background var(--t), border-color var(--t), color var(--t) !important;
}

.process-track.is-animated .process-step:nth-child(2) .process-step__num  { transition-delay: 0ms; }
.process-track.is-animated .process-step:nth-child(3) .process-step__num  { transition-delay: 160ms; }
.process-track.is-animated .process-step:nth-child(4) .process-step__num  { transition-delay: 320ms; }
.process-track.is-animated .process-step:nth-child(5) .process-step__num  { transition-delay: 480ms; }
.process-track.is-animated .process-step:nth-child(6) .process-step__num  { transition-delay: 640ms; }

.process-track.is-animated .process-step__num {
  background: var(--cor-dourado) !important;
  border-color: var(--cor-dourado) !important;
  color: var(--cor-branco) !important;
  transform: scale(1) !important;
}

/* ═══════════════════════════════════════════════════════════════
   30. NAV CTA — FILL HOVER
═══════════════════════════════════════════════════════════════ */

.nav-cta.btn--primary {
  background: transparent !important;
  color: var(--pv-gold) !important;
  border-color: var(--pv-gold) !important;
  box-shadow: none !important;
}

.nav-cta.btn--primary:hover {
  background: var(--pv-gold) !important;
  color: var(--pv-obsidian) !important;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35) !important;
}

/* No estado scrollado */
.site-header.is-scrolled .nav-cta.btn--primary {
  color: var(--pv-gold) !important;
  border-color: var(--pv-gold-border) !important;
}

/* ═══════════════════════════════════════════════════════════════
   31. SWIPER DEPOIMENTOS — PREV/NEXT BOUNCE
═══════════════════════════════════════════════════════════════ */

.depo-prev:active {
  animation: arrowBounceLeft 0.3s var(--ease-bounce);
}
.depo-next:active {
  animation: arrowBounceRight 0.3s var(--ease-bounce);
}
.projetos-prev:active {
  animation: arrowBounceLeft 0.3s var(--ease-bounce);
}
.projetos-next:active {
  animation: arrowBounceRight 0.3s var(--ease-bounce);
}

@keyframes arrowBounceLeft {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(-6px); }
}
@keyframes arrowBounceRight {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(6px); }
}

/* ═══════════════════════════════════════════════════════════════
   24. REDUCED MOTION — RESPECT ALL
═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .btn-ripple,
  .star-anim,
  .curtain-overlay,
  .pre-progress-fill,
  .pre-spark,
  .hero__scroll-line::after,
  .processNumGlow,
  .hero__title .hero-word { animation: none !important; }

  .preloader.is-done {
    transform: none !important;
    filter: none !important;
  }

  .assinatura__img {
    filter: grayscale(0%) !important;
  }

  .assinatura__quote::after,
  .manifesto__title [data-word]:nth-child(2).word-visible::after,
  .manifesto__title [data-word]:last-child.word-visible::after,
  .manifesto__title .light-streak.word-visible::after {
    width: 100% !important;
    animation: none !important;
  }

  .curtain-wrap .curtain-overlay {
    display: none !important;
  }

  .light-streak {
    -webkit-text-fill-color: var(--cor-madeira);
    animation: none !important;
  }

  /* Processo e hero sem animação */
  .process-step {
    opacity: 1 !important;
    transform: none !important;
  }

  .process-step__num {
    transform: scale(1) !important;
  }

  .hero__title .hero-word {
    opacity: 1 !important;
    transform: none !important;
  }

  .manifesto__title [data-word].word-visible {
    filter: blur(0) !important;
    transform: none !important;
  }
}
