/* ============================================================
   AFD Digital® Framework v1.0
   style.css — Estilos Principais
   Mobile First | Glassmorphism | Premium Dark
============================================================ */

/* ─────────────────────────────────────────────────────────────
   CUSTOM PROPERTIES (DESIGN TOKENS)
───────────────────────────────────────────────────────────── */
:root {
  /* Cores principais */
  --color-black:       #030303;
  --color-black-piano: #0a0a0a;
  --color-dark:        #111111;
  --color-dark-2:      #161616;
  --color-dark-3:      #1c1c1c;
  --color-graphite:    #232323;
  --color-graphite-2:  #2d2d2d;
  --color-graphite-3:  #3a3a3a;

  /* Dourado metálico */
  --color-gold:        #c9a84c;
  --color-gold-light:  #e8c96d;
  --color-gold-bright: #f5d880;
  --color-gold-dark:   #8b6914;
  --color-gold-muted:  #a07830;

  /* Gradientes dourados */
  --grad-gold: linear-gradient(135deg, #8b6914 0%, #c9a84c 30%, #f5d880 50%, #c9a84c 70%, #8b6914 100%);
  --grad-gold-shine: linear-gradient(90deg, transparent 0%, rgba(245,216,128,0.4) 50%, transparent 100%);

  /* Glassmorphism */
  --glass-bg:     rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --glass-blur:   blur(20px);

  /* Textos */
  --color-white:      #ffffff;
  --color-white-90:   rgba(255,255,255,0.90);
  --color-white-70:   rgba(255,255,255,0.70);
  --color-white-50:   rgba(255,255,255,0.50);
  --color-white-30:   rgba(255,255,255,0.30);
  --color-white-10:   rgba(255,255,255,0.10);

  /* Tipografia */
  --font-primary:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display:   'Playfair Display', Georgia, serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;
  --fs-6xl:  3.75rem;
  --fs-7xl:  4.5rem;

  /* Espaçamento */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Border radius */
  --radius-sm:  0.5rem;
  --radius-md:  1rem;
  --radius-lg:  1.5rem;
  --radius-xl:  2rem;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-gold:   0 0 40px rgba(201,168,76,0.3);
  --shadow-gold-lg: 0 0 80px rgba(201,168,76,0.2);
  --shadow-dark:   0 20px 60px rgba(0,0,0,0.8);
  --shadow-glass:  0 8px 32px rgba(0,0,0,0.4);

  /* Transições */
  --transition-fast:   0.15s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.6s ease;
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Z-index scale */
  --z-base:     1;
  --z-float:    100;
  --z-header:   200;
  --z-modal:    300;
  --z-loader:   999;
  --z-cursor:   1000;
}

/* ─────────────────────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body.afd-body {
  font-family: var(--font-primary);
  background-color: var(--color-black-piano);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol { list-style: none; }

/* Seleção de texto */
::selection {
  background: rgba(201,168,76,0.3);
  color: var(--color-white);
}

/* Scrollbar premium */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-black-piano); }
::-webkit-scrollbar-thumb {
  background: var(--color-gold-dark);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }

/* ─────────────────────────────────────────────────────────────
   CURSOR GLOW (Desktop only)
───────────────────────────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  z-index: var(--z-cursor);
  display: none;
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: var(--z-cursor);
  display: none;
  box-shadow: 0 0 10px var(--color-gold);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow,
  .cursor-dot { display: block; }
  body { cursor: none; }
  a, button { cursor: none; }
  .cursor-dot.hovering {
    width: 16px;
    height: 16px;
    background: var(--color-gold-bright);
  }
}

/* ─────────────────────────────────────────────────────────────
   PARTÍCULAS
───────────────────────────────────────────────────────────── */
.afd-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ─────────────────────────────────────────────────────────────
   LOADER PREMIUM
───────────────────────────────────────────────────────────── */
.afd-loader {
  position: fixed;
  inset: 0;
  background: var(--color-black-piano);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-loader);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.afd-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.loader-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  animation: loaderPulse 2s ease-in-out infinite;
}

.loader-logo-text {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 900;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.1em;
}

.loader-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 15px var(--color-gold);
  animation: loaderDot 2s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--color-graphite);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: var(--grad-gold);
  border-radius: var(--radius-full);
  animation: loaderFill 1.8s ease-out forwards;
  box-shadow: 0 0 10px var(--color-gold);
}

.loader-label {
  font-size: var(--fs-xs);
  color: var(--color-white-30);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes loaderDot {
  0%, 100% { box-shadow: 0 0 15px var(--color-gold); }
  50% { box-shadow: 0 0 30px var(--color-gold), 0 0 60px rgba(201,168,76,0.3); }
}

@keyframes loaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ─────────────────────────────────────────────────────────────
   HEADER
───────────────────────────────────────────────────────────── */
.afd-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.afd-header.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 1px 0 var(--glass-border), 0 4px 30px rgba(0,0,0,0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.header-logo:hover { opacity: 0.8; }

.logo-img {
  height: 36px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 900;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

.header-nav {
  display: none;
  gap: var(--space-lg);
}

.nav-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-white-70);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.nav-link:hover { color: var(--color-gold); }
.nav-link:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white-70);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--color-gold);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--color-gold);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: calc(var(--z-header) - 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.mobile-nav-link {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--color-white-70);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition-base);
}

.mobile-nav-link:hover { color: var(--color-gold); }

.mobile-btn { margin-top: var(--space-md); }

/* ─────────────────────────────────────────────────────────────
   BOTÕES PREMIUM
───────────────────────────────────────────────────────────── */
.btn-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  background: var(--grad-gold);
  color: var(--color-black);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
  border: none;
  white-space: nowrap;
  text-decoration: none;
}

.btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(201,168,76,0.4), 0 0 0 1px rgba(245,216,128,0.3);
}

.btn-gold:active {
  transform: translateY(0) scale(0.99);
}

/* Efeito shine no hover */
.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn-gold:hover .btn-shine {
  left: 150%;
}

.btn-arrow {
  font-size: 1.1em;
  transition: transform var(--transition-base);
}

.btn-gold:hover .btn-arrow {
  transform: translateX(3px);
}

/* Tamanhos */
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--fs-sm);
}

.btn-xl {
  padding: 1.25rem 2.5rem;
  font-size: var(--fs-base);
}

/* ─────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────── */
.afd-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px var(--space-lg) var(--space-3xl);
  text-align: center;
}

/* Fundo */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-black-piano);
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at top, rgba(201,168,76,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(0,0,0,0.9) 0%, transparent 80%),
    linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.2) 50%, rgba(10,10,10,0.8) 100%);
}

/* Linhas decorativas */
.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-

