/* ════════════════════════════════════════════
   KARUÊ STUDIO — PREMIUM CINEMATIC CSS
   Ancestral Futurism × Dark Luxury × Tech
   ════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --amazon-dark: #0D1B14;
  --forest-deep: #1B3A2E;
  --forest-mid: #243d30;
  --gold-matte: #B88A4A;
  --gold-light: #D4A86A;
  --gold-dim: #8B6535;
  --off-white: #F3EFE6;
  --off-white-dim: #C8C4BB;
  --text-muted: #7A7A6E;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Raleway', sans-serif;
  --font-mono: 'Exo 2', monospace;

  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);

  --glow-gold: 0 0 30px rgba(184, 138, 74, 0.15);
  --glow-gold-strong: 0 0 60px rgba(184, 138, 74, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--amazon-dark);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  cursor: none;
  overflow-x: hidden;
}

::selection {
  background: rgba(184, 138, 74, 0.25);
  color: var(--off-white);
}

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

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--amazon-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-matte); }

/* ─── CURSOR ─── */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold-matte);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, opacity 0.2s, width 0.2s, height 0.2s;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(184, 138, 74, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s var(--transition-smooth);
}

.cursor.cursor--hover { width: 16px; height: 16px; background: var(--gold-light); }
.cursor-follower.cursor--hover { width: 56px; height: 56px; border-color: rgba(184, 138, 74, 0.8); }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s var(--transition-smooth);
}

.nav.scrolled {
  padding: 1rem 0;
  background: rgba(13, 27, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184, 138, 74, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.nav-symbol {
  width: 32px;
  height: 32px;
  animation: symbolRotateSlow 20s linear infinite;
}

.nav-logo-text {
  font-family: var(--font-mono);
  font-weight: 200;
  font-size: 1rem;
  letter-spacing: 0.4em;
  color: var(--off-white);
}

.nav-studio {
  color: var(--gold-matte);
  font-size: 0.65rem;
  letter-spacing: 0.5em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--off-white-dim);
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold-matte);
  transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover { color: var(--off-white); }
.nav-link:hover::after { width: 100%; }

.nav-link.nav-cta {
  border: 1px solid rgba(184, 138, 74, 0.4);
  padding: 0.5rem 1.25rem;
  color: var(--gold-matte);
  transition: all 0.3s;
}

.nav-link.nav-cta:hover {
  background: rgba(184, 138, 74, 0.1);
  border-color: var(--gold-matte);
  color: var(--gold-light);
}

.nav-link.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 1px;
  background: var(--gold-matte);
  transition: all 0.3s;
}

/* ─── SECTION COMMON ─── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  color: var(--gold-matte);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  color: var(--off-white);
  margin-bottom: 1.5rem;
}

.section-title em { font-style: italic; color: var(--gold-matte); }

.gold-line {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--gold-matte), transparent);
  margin-bottom: 2rem;
}

.gold-line.centered {
  margin: 0 auto 3rem;
  background: linear-gradient(90deg, transparent, var(--gold-matte), transparent);
  width: 120px;
}

.section-header { text-align: center; margin-bottom: 4rem; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: transparent;
  border: 1px solid var(--gold-matte);
  color: var(--gold-matte);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--transition-smooth);
  cursor: pointer;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-matte);
  transform: translateX(-100%);
  transition: transform 0.4s var(--transition-smooth);
  z-index: -1;
}

.btn-primary:hover { color: var(--amazon-dark); }
.btn-primary:hover::before { transform: translateX(0); }

.btn-arrow { width: 18px; height: 18px; transition: transform 0.3s; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--amazon-dark);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(27, 58, 46, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(184, 138, 74, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(184, 138, 74, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, rgba(13, 27, 20, 0.3) 0%, rgba(13, 27, 20, 0.8) 100%);
}

.hero-tribal-bg {
  position: absolute;
  width: 100%; height: 100%;
  max-width: 900px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: heroTribalPulse 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  max-width: 900px;
}

.hero-symbol {
  width: 100px;
  height: 100px;
  animation: symbolRotateSlow 15s linear infinite;
  filter: drop-shadow(0 0 20px rgba(184, 138, 74, 0.3));
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 200;
  letter-spacing: 0.5em;
  color: var(--gold-matte);
  text-transform: uppercase;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hero-title-main {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--off-white);
  line-height: 1;
  text-shadow: 0 0 80px rgba(184, 138, 74, 0.1);
}

.hero-title-sub {
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 2vw, 1.2rem);
  font-weight: 200;
  letter-spacing: 0.7em;
  color: var(--gold-matte);
  text-transform: uppercase;
}

.hero-divider { width: 200px; opacity: 0.7; margin: 0 auto; }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-matte);
  letter-spacing: 0.05em;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--off-white-dim);
  max-width: 480px;
  line-height: 1.8;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  color: var(--gold-matte);
  opacity: 0.6;
}

.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(180deg, var(--gold-matte), transparent);
  opacity: 0.5;
}

/* ─── SOBRE ─── */
.sobre {
  padding: 8rem 0 6rem;
  background: var(--amazon-dark);
  position: relative;
  overflow: hidden;
}

.sobre::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 138, 74, 0.3), transparent);
}

.sobre-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-bottom: 6rem;
}

.sobre-text {
  color: var(--off-white-dim);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.sobre-text strong { color: var(--gold-matte); font-weight: 500; }
.sobre-text em { font-style: italic; color: var(--off-white); }

.sobre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-matte);
  border: 1px solid rgba(184, 138, 74, 0.3);
  padding: 0.4rem 0.9rem;
}

.sobre-right { display: flex; justify-content: center; }

.sobre-visual {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.sobre-tribal {
  width: 100%;
  animation: symbolRotateSlow 25s linear infinite;
  opacity: 0.8;
}

.sobre-stats {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 27, 20, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(184, 138, 74, 0.15);
  padding: 1.5rem 2rem;
  text-align: center;
}

.stat { display: flex; flex-direction: column; align-items: center; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold-matte);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--off-white-dim);
  text-transform: uppercase;
}

.stat-divider {
  width: 1px; height: 20px;
  background: rgba(184, 138, 74, 0.3);
}

/* Pillars */
.pillars {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(184, 138, 74, 0.1);
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem 2rem;
  border-right: 1px solid rgba(184, 138, 74, 0.1);
  position: relative;
  transition: background 0.3s;
}

.pillar:last-child { border-right: none; }
.pillar:hover { background: rgba(27, 58, 46, 0.2); }

.pillar-icon {
  width: 48px; height: 48px;
  transition: transform 0.3s var(--transition-elastic), filter 0.3s;
}

.pillar:hover .pillar-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(184, 138, 74, 0.4));
}

.pillar span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--off-white-dim);
  text-transform: uppercase;
}

/* ─── SERVIÇOS ─── */
.servicos {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--amazon-dark) 0%, var(--forest-deep) 50%, var(--amazon-dark) 100%);
  position: relative;
  overflow: hidden;
}

.servicos::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 138, 74, 0.3), transparent);
}

.servicos-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(184, 138, 74, 0.08);
  border: 1px solid rgba(184, 138, 74, 0.08);
}

.service-card {
  background: rgba(13, 27, 20, 0.95);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--transition-smooth);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 58, 46, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover { background: rgba(27, 58, 46, 0.95); }
.service-card:hover::before { opacity: 1; }

.service-number {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 200;
  letter-spacing: 0.3em;
  color: var(--gold-dim);
  margin-bottom: 2rem;
  transition: color 0.3s;
}

.service-card:hover .service-number { color: var(--gold-matte); }

.service-icon {
  width: 60px; height: 60px;
  margin-bottom: 1.5rem;
  transition: transform 0.3s var(--transition-elastic), filter 0.3s;
}

.service-card:hover .service-icon {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(184, 138, 74, 0.3));
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--off-white);
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.service-card:hover .service-title { color: var(--gold-light); }

.service-desc {
  font-size: 0.875rem;
  color: var(--off-white-dim);
  line-height: 1.8;
  font-weight: 300;
}

.service-hover-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-matte), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--transition-smooth);
}

.service-card:hover .service-hover-line { transform: scaleX(1); }

/* ─── PORTFOLIO ─── */
.portfolio {
  padding: 8rem 0;
  background: var(--amazon-dark);
  position: relative;
  overflow: hidden;
}

.portfolio::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 138, 74, 0.3), transparent);
}

.portfolio-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item--large { grid-column: span 8; min-height: 520px; }
.portfolio-item:not(.portfolio-item--large):not(.portfolio-item--wide) { grid-column: span 4; min-height: 260px; }
.portfolio-item--wide { grid-column: span 4; min-height: 260px; }

.portfolio-image {
  width: 100%; height: 100%;
  min-height: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--transition-smooth);
  position: relative;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 30%, rgba(13, 27, 20, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0.7;
  transition: opacity 0.4s, background 0.4s;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  background: linear-gradient(160deg, rgba(13, 27, 20, 0.3) 0%, rgba(13, 27, 20, 0.95) 100%);
}

.portfolio-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transform: translateY(8px);
  transition: transform 0.4s var(--transition-smooth);
}

.portfolio-item:hover .portfolio-content { transform: translateY(0); }

.portfolio-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  color: var(--gold-matte);
  text-transform: uppercase;
}

.portfolio-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--off-white);
  line-height: 1.2;
}

.portfolio-sub {
  font-size: 0.75rem;
  color: var(--off-white-dim);
  letter-spacing: 0.05em;
}

.portfolio-arrow {
  display: inline-flex;
  width: 28px; height: 28px;
  border: 1px solid rgba(184, 138, 74, 0.5);
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  opacity: 0;
  transition: opacity 0.4s, background 0.3s;
}

.portfolio-item:hover .portfolio-arrow { opacity: 1; }
.portfolio-arrow svg { width: 14px; height: 14px; color: var(--gold-matte); }

.portfolio-coming-soon {
  background: linear-gradient(135deg, var(--forest-deep), var(--amazon-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-pattern {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.portfolio-pattern svg { width: 80%; max-width: 300px; }

.portfolio-cta-small {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold-matte);
  text-transform: uppercase;
  margin-top: 0.5rem;
  transition: color 0.3s;
}

.portfolio-cta-small:hover { color: var(--gold-light); }

/* ─── DIFERENCIAIS ─── */
.diferenciais {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--amazon-dark) 0%, rgba(27, 58, 46, 0.15) 50%, var(--amazon-dark) 100%);
  position: relative;
}

.diferenciais::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 138, 74, 0.3), transparent);
}

.diferenciais-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.diferenciais-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.diferencial-item {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(184, 138, 74, 0.08);
  position: relative;
  transition: background 0.3s;
  cursor: default;
}

.diferencial-item:first-child { border-top: 1px solid rgba(184, 138, 74, 0.08); }

.diferencial-item::before {
  content: '';
  position: absolute;
  left: -2rem; right: -2rem;
  top: 0; bottom: 0;
  background: rgba(27, 58, 46, 0.12);
  opacity: 0;
  transition: opacity 0.3s;
}

.diferencial-item:hover::before { opacity: 1; }

.diferencial-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 200;
  letter-spacing: 0.3em;
  color: var(--gold-dim);
  text-align: right;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.diferencial-item:hover .diferencial-num { color: var(--gold-matte); }

.diferencial-content { position: relative; z-index: 1; }

.diferencial-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--off-white);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.diferencial-item:hover .diferencial-title { color: var(--gold-light); }

.diferencial-text {
  font-size: 0.9rem;
  color: var(--off-white-dim);
  line-height: 1.8;
  max-width: 600px;
}

.diferencial-glyph {
  width: 80px; height: 80px;
  opacity: 0.3;
  transition: opacity 0.3s, transform 0.4s var(--transition-smooth);
}

.diferencial-item:hover .diferencial-glyph {
  opacity: 0.7;
  transform: rotate(15deg) scale(1.1);
}

/* ─── CTA FINAL ─── */
.cta-final {
  padding: 10rem 2rem;
  position: relative;
  text-align: center;
  overflow: hidden;
  background: var(--amazon-dark);
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 138, 74, 0.3), transparent);
}

.cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(27, 58, 46, 0.5) 0%, transparent 70%),
    radial-gradient(ellipse 30% 30% at 30% 70%, rgba(184, 138, 74, 0.05) 0%, transparent 50%);
}

.cta-tribal-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; max-width: 700px;
  pointer-events: none;
  animation: heroTribalPulse 10s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-symbol {
  width: 80px; height: 80px;
  animation: symbolRotateSlow 12s linear infinite;
  filter: drop-shadow(0 0 20px rgba(184, 138, 74, 0.25));
}

.cta-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 200;
  letter-spacing: 0.5em;
  color: var(--gold-matte);
  text-transform: uppercase;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  color: var(--off-white);
}

.cta-title em { font-style: italic; color: var(--gold-matte); }

.cta-divider { width: 300px; opacity: 0.6; }

.cta-sub {
  font-size: 0.95rem;
  color: var(--off-white-dim);
  line-height: 1.8;
  max-width: 520px;
}

.cta-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: #25D366;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #128C7E;
  transform: translateX(-100%);
  transition: transform 0.4s var(--transition-smooth);
  z-index: 0;
}

.btn-whatsapp:hover::before { transform: translateX(0); }
.btn-whatsapp span, .btn-whatsapp svg { position: relative; z-index: 1; }
.whatsapp-icon { width: 20px; height: 20px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: transparent;
  border: 1px solid rgba(184, 138, 74, 0.3);
  color: var(--off-white-dim);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-secondary:hover { border-color: var(--gold-matte); color: var(--gold-matte); }
.btn-secondary svg { width: 16px; height: 16px; transition: transform 0.3s; }
.btn-secondary:hover svg { transform: translateX(4px); }

/* ─── FOOTER ─── */
.footer {
  background: rgba(8, 16, 11, 0.98);
  border-top: 1px solid rgba(184, 138, 74, 0.1);
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-symbol { width: 32px; height: 32px; }

.footer-logo span {
  font-family: var(--font-mono);
  font-weight: 200;
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  color: var(--off-white);
}

.footer-studio-text {
  color: var(--gold-matte);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--gold-matte);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.3s;
  letter-spacing: 0.05em;
}

.footer-col a:hover { color: var(--off-white-dim); }

.footer-divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 138, 74, 0.2), transparent);
  margin-bottom: 1.5rem;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-crafted {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-style: italic;
}

.gold { color: var(--gold-matte); }

/* ─── ANIMATIONS ─── */
@keyframes symbolRotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes heroTribalPulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.03); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

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

/* ─── INTERSECTION OBSERVER ANIMATE ─── */
[data-animate] {
  opacity: 0;
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate].animated { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .sobre-container { grid-template-columns: 1fr; gap: 3rem; }
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: none; }
  .pillar:nth-child(3) { border-right: 1px solid rgba(184, 138, 74, 0.1); }

  .portfolio-grid { grid-template-columns: repeat(6, 1fr); }
  .portfolio-item--large { grid-column: span 6; min-height: 400px; }
  .portfolio-item:not(.portfolio-item--large):not(.portfolio-item--wide) { grid-column: span 3; min-height: 220px; }
  .portfolio-item--wide { grid-column: span 6; min-height: 220px; }

  .footer-top { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0; right: -100%; bottom: 0;
    width: 280px;
    background: rgba(13, 27, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.4s var(--transition-smooth);
    border-left: 1px solid rgba(184, 138, 74, 0.1);
  }

  .nav-menu.open { right: 0; }
  .nav-toggle { display: flex; }
  .nav-link { font-size: 0.9rem; }

  .hero-symbol { width: 70px; height: 70px; }
  .hero-content { gap: 1.5rem; }

  .sobre-container { grid-template-columns: 1fr; }
  .sobre-right { display: none; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: none; }
  .pillar:nth-child(3) { border-right: 1px solid rgba(184, 138, 74, 0.1); }
  .servicos-grid { grid-template-columns: 1fr; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item--large,
  .portfolio-item:not(.portfolio-item--large):not(.portfolio-item--wide),
  .portfolio-item--wide { grid-column: span 1; min-height: 280px; }

  .diferencial-item { grid-template-columns: 60px 1fr; }
  .diferencial-glyph { display: none; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-content { flex-direction: column; gap: 0.5rem; text-align: center; }

  .cta-actions { flex-direction: column; width: 100%; }
  .btn-whatsapp, .btn-secondary { width: 100%; justify-content: center; }

  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
}

@media (max-width: 480px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .nav-logo-text { font-size: 0.8rem; }
}
