:root {
  --gold: #C9A84C;
  --gold-light: #E8C870;
  --gold-dim: rgba(201, 168, 76, 0.12);
  --gold-glow: rgba(201, 168, 76, 0.18);
  --black: #080808;
  --dark: #0f0f0f;
  --mid: #161616;
  --white: #F5F2EC;
  --white-70: rgba(245, 242, 236, 0.7);
  --white-40: rgba(245, 242, 236, 0.4);
  --grey: #777;
  --gold-border: rgba(201, 168, 76, 0.18);
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --section-pad: 140px 60px;
  --radius: 0px;
}

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ══════════════════════════════════
   GRAIN OVERLAY
══════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
  animation: grainShift 0.4s steps(1) infinite;
}

/* ══════════════════════════════════
   CURSOR
══════════════════════════════════ */
.cursor {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.25s, height 0.25s, background 0.25s;
  mix-blend-mode: screen;
}

.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              height 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.4s;
}

body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 52px; height: 52px;
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

/* ══════════════════════════════════
   NAV
══════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 60px;
  transition: background 0.5s, padding 0.4s, border-color 0.5s;
  border-bottom: 1px solid transparent;
  animation: navDrop 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

nav.scrolled {
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(16px);
  padding: 18px 60px;
  border-bottom-color: var(--gold-border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: 4px;
  color: var(--white); text-decoration: none;
  transition: letter-spacing 0.4s;
}
.nav-logo:hover { letter-spacing: 6px; }
.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: 44px; list-style: none; }

.nav-links a {
  text-decoration: none; font-size: 12px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--grey);
  transition: color 0.25s; position: relative;
}

.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 10px 26px; font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; font-weight: 500; text-decoration: none;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative; overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -1;
}

.nav-cta:hover { color: var(--black); border-color: var(--gold); }
.nav-cta:hover::before { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px; cursor: pointer;
  z-index: 200; padding: 8px 4px;
}
.hamburger span {
  width: 28px; height: 2px;
  background: var(--white);
  transition: 0.35s cubic-bezier(0.23, 1, 0.32, 1); display: block;
}

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

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
#hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; overflow: hidden;
  padding-top: 80px;
}

/* Animated hero background grid */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 65% 45%, rgba(201, 168, 76, 0.06) 0%, transparent 65%);
}

.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPan 30s linear infinite;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 40% 40% at 70% 30%, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
  animation: orb1 12s ease-in-out infinite alternate;
}

/* Floating particles */
.hero-particles {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}

.hero-particles span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: floatParticle var(--dur, 8s) var(--delay, 0s) ease-in-out infinite;
}

.hero-particles span:nth-child(1)  { width:3px;height:3px;left:12%;top:20%;--dur:9s;--delay:0s; }
.hero-particles span:nth-child(2)  { width:2px;height:2px;left:28%;top:60%;--dur:7s;--delay:1.2s; }
.hero-particles span:nth-child(3)  { width:4px;height:4px;left:72%;top:15%;--dur:11s;--delay:0.5s; }
.hero-particles span:nth-child(4)  { width:2px;height:2px;left:88%;top:72%;--dur:8s;--delay:2s; }
.hero-particles span:nth-child(5)  { width:3px;height:3px;left:55%;top:85%;--dur:10s;--delay:0.8s; }
.hero-particles span:nth-child(6)  { width:2px;height:2px;left:42%;top:35%;--dur:6s;--delay:1.8s; }
.hero-particles span:nth-child(7)  { width:3px;height:3px;left:18%;top:80%;--dur:12s;--delay:0.3s; }
.hero-particles span:nth-child(8)  { width:2px;height:2px;left:65%;top:50%;--dur:9s;--delay:2.5s; }

.hero-content {
  position: relative; z-index: 2;
  padding: 0 60px; max-width: 860px;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 32px;
  opacity: 0; animation: fadeUp 0.8s 0.3s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hero-tag::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(68px, 9.5vw, 130px);
  line-height: 0.93; letter-spacing: 2px; color: var(--white);
  opacity: 0; animation: fadeUp 0.9s 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hero-title .gold { color: var(--gold); }

/* Gold shimmer on hero title gold text */
.hero-title .gold {
  color: var(--gold);
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 40%, #fff8d6 50%, var(--gold-light) 60%, var(--gold) 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s linear infinite 2s;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 300; font-style: italic;
  color: var(--white-70);
  margin: 24px 0 48px; max-width: 480px; line-height: 1.6;
  opacity: 0; animation: fadeUp 0.9s 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.9s 0.9s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hero-scroll {
  position: absolute; bottom: 48px; left: 60px;
  display: flex; align-items: center; gap: 16px;
  opacity: 0; animation: fadeUp 1s 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.scroll-line {
  width: 52px; height: 1px;
  background: rgba(201, 168, 76, 0.35);
  position: relative; overflow: hidden;
}

.scroll-line::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%; background: var(--gold);
  animation: scrollLine 2.2s 1.5s infinite;
}

.scroll-text {
  font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--grey);
}

/* ══════════════════════════════════
   BUTTONS
══════════════════════════════════ */
.btn-primary {
  background: var(--gold); color: var(--black);
  padding: 15px 36px; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 500; text-decoration: none;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--gold);
  position: relative; overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before { left: 100%; }

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.3), 0 0 0 1px rgba(201, 168, 76, 0.1);
}

.btn-outline {
  border: 1px solid rgba(245, 242, 236, 0.22);
  color: var(--white-70);
  padding: 15px 36px; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative; overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(201, 168, 76, 0.06);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline:hover::before { transform: scaleX(1); }

/* ══════════════════════════════════
   SECTION COMMONS
══════════════════════════════════ */
.section-header { margin-bottom: 64px; }

.section-label {
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}

.section-label::before { content: ''; width: 28px; height: 1px; background: var(--gold); animation: expandLine 0.6s ease forwards; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 4.8vw, 68px); line-height: 0.95;
}

/* Divider line between sections */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
  margin: 0 60px;
}

/* ══════════════════════════════════
   SOBRE
══════════════════════════════════ */
#sobre {
  padding: var(--section-pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; position: relative;
}

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

.sobre-label {
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.sobre-label::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

.sobre-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 4.8vw, 68px); line-height: 0.95; margin-bottom: 28px;
}

.sobre-text {
  font-size: 16px; line-height: 1.9;
  color: var(--white-70); margin-bottom: 32px;
}

.sobre-bullets {
  list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px;
}

.sobre-bullets li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px; line-height: 1.6; color: var(--white-70);
  transition: color 0.3s, transform 0.3s;
}

.sobre-bullets li:hover {
  color: var(--white);
  transform: translateX(4px);
}

.bullet-icon {
  width: 22px; height: 22px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

.bullet-icon svg {
  width: 16px; height: 16px;
  stroke: var(--gold); fill: none;
}

.sobre-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--gold-border);
  padding-top: 36px;
}

.stat { text-align: left; padding-right: 24px; }
.stat + .stat { border-left: 1px solid var(--gold-border); padding-left: 24px; }

.stat-num {
  font-family: var(--font-display); font-size: 48px; color: var(--gold); line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--grey); margin-top: 6px; }

.sobre-visual { position: relative; height: 500px; }

.sobre-card { position: absolute; background: var(--mid); border: 1px solid var(--gold-border); }
.sobre-card-main {
  inset: 0; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
}
.sobre-card-main video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Glowing border on hover for main card */
.sobre-card-main {
  position: absolute;
  transition: box-shadow 0.5s;
}
.sobre-card-main:hover {
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.12), 0 0 80px rgba(201, 168, 76, 0.05);
}

.sobre-card-accent {
  width: 180px; height: 110px; bottom: -18px; right: -18px;
  background: var(--gold-dim); border-color: rgba(201, 168, 76, 0.2);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 6px;
  animation: floatCard 6s ease-in-out infinite;
}
.sobre-card-accent-num {
  font-family: var(--font-display); font-size: 36px; color: var(--gold); line-height: 1;
}
.sobre-card-accent-text {
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--grey);
}

.sobre-card-tag {
  width: 150px; height: 52px; top: -18px; left: -18px;
  background: var(--black); border-color: var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
  animation: floatCard 6s 1s ease-in-out infinite;
}

/* ══════════════════════════════════
   SERVIÇOS
══════════════════════════════════ */
#servicos { padding: var(--section-pad); background: var(--dark); position: relative; }

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

.servicos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--gold-border);
}

.servico-item {
  background: var(--dark); padding: 48px 36px;
  position: relative; overflow: hidden;
  transition: background 0.4s, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1); cursor: default;
}

/* Hover glow background sweep */
.servico-item::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 100%, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}

.servico-item::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.servico-item:hover { background: rgba(201, 168, 76, 0.025); }
.servico-item:hover::before { opacity: 1; }
.servico-item:hover::after { width: 100%; }

.servico-item:hover .servico-icon {
  border-color: rgba(201, 168, 76, 0.6);
  background: rgba(201, 168, 76, 0.08);
  transform: rotate(5deg) scale(1.05);
}

/* Featured service */
.servico-featured {
  background: rgba(201, 168, 76, 0.04);
}
.servico-featured::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 2px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  animation: borderPulse 3s ease-in-out infinite;
}

.servico-num {
  font-family: var(--font-display); font-size: 60px;
  color: rgba(201, 168, 76, 0.07); line-height: 1; margin-bottom: 20px;
  transition: color 0.4s;
}
.servico-item:hover .servico-num { color: rgba(201, 168, 76, 0.13); }

.servico-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.servico-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; }

.servico-title {
  font-family: var(--font-display); font-size: 26px; letter-spacing: 1px; margin-bottom: 14px;
  transition: color 0.3s;
}
.servico-item:hover .servico-title { color: var(--gold-light); }

.servico-desc {
  font-size: 14px; line-height: 1.8; color: rgba(245, 242, 236, 0.5);
  transition: color 0.3s;
}
.servico-item:hover .servico-desc { color: rgba(245, 242, 236, 0.7); }

/* ══════════════════════════════════
   PORTFOLIO
══════════════════════════════════ */
#portfolio { padding: var(--section-pad); position: relative; }

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

.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 60px;
}

.pf-card {
  position: relative; background: var(--mid);
  border: 1px solid var(--gold-border); overflow: hidden; cursor: pointer;
  transition: border-color 0.4s, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s;
}

.pf-card:hover {
  border-color: rgba(201, 168, 76, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 168, 76, 0.1);
}

.pf-thumb {
  position: relative; width: 100%; padding-top: 56.25%; overflow: hidden;
}

.pf-thumb video.pf-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  background: #111;
}

.pf-card:hover .pf-video { transform: scale(1.06); }

.pf-thumb-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(8,8,8,0.1) 0%, rgba(8,8,8,0.65) 100%);
  transition: background 0.4s;
}

.pf-card:hover .pf-thumb-overlay {
  background: linear-gradient(180deg, rgba(8,8,8,0.05) 0%, rgba(8,8,8,0.45) 100%);
}

/* Shine sweep on hover */
.pf-thumb::after {
  content: '';
  position: absolute; inset: 0; z-index: 5;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.pf-card:hover .pf-thumb::after { transform: translateX(100%); }

.pf-play-btn {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.3s;
}

.pf-play-ring-outer {
  width: 66px; height: 66px; border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.4);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.3s;
}

.pf-card:hover .pf-play-ring-outer {
  transform: scale(1.1);
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.2);
}

.pf-play-ring-inner {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(8, 8, 8, 0.5); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, transform 0.3s;
}

.pf-card:hover .pf-play-ring-inner {
  background: var(--gold);
  transform: scale(1.05);
}

.pf-play-ring-inner svg {
  width: 16px; height: 16px;
  fill: var(--gold); margin-left: 2px; transition: fill 0.3s;
}
.pf-card:hover .pf-play-ring-inner svg { fill: var(--black); }

.pf-volume-icon {
  position: absolute; bottom: 10px; right: 10px; z-index: 4;
  width: 28px; height: 28px;
  background: rgba(8, 8, 8, 0.6);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.pf-volume-icon svg { width: 12px; height: 12px; stroke: var(--gold); fill: none; stroke-width: 2; }
.pf-card.playing .pf-volume-icon { opacity: 1; }

.pf-info {
  padding: 18px 22px 16px;
  border-top: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  transition: background 0.3s;
}

.pf-card:hover .pf-info {
  background: rgba(201, 168, 76, 0.03);
}

.pf-info-left {}

.pf-category {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
}

.pf-title {
  font-family: var(--font-display); font-size: 20px;
  letter-spacing: 0.5px; color: var(--white);
  transition: color 0.3s;
}
.pf-card:hover .pf-title { color: var(--gold-light); }

.pf-cta-link {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.3s, color 0.3s, letter-spacing 0.3s; flex-shrink: 0;
}
.pf-cta-link:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
  letter-spacing: 2.5px;
}

.pf-tag {
  position: absolute; top: 12px; right: 12px;
  background: var(--gold); color: var(--black);
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 10px; z-index: 4; font-weight: 500;
  animation: pulseBadge 3s ease-in-out infinite;
}

.portfolio-cta { text-align: center; margin-top: 48px; }

/* ══════════════════════════════════
   DEPOIMENTOS
══════════════════════════════════ */
#depoimentos { padding: var(--section-pad); background: var(--dark); position: relative; }

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

.depoimentos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 64px;
}

.depoimento {
  background: var(--black); border: 1px solid var(--gold-border);
  padding: 36px 32px; position: relative;
  transition: border-color 0.4s, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s;
  overflow: hidden;
}

/* Subtle top gold line that expands on hover */
.depoimento::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  width: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-50%);
  transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.depoimento:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 0 1px rgba(201, 168, 76, 0.08);
}

.depoimento:hover::before { width: 80%; }

.depo-stars { display: flex; gap: 3px; margin-bottom: 20px; }
.star {
  width: 13px; height: 13px; fill: var(--gold);
  animation: starPop var(--d,0.4s) var(--sd,0s) cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.star:nth-child(1) { --d:0.4s; --sd:0s; }
.star:nth-child(2) { --d:0.4s; --sd:0.06s; }
.star:nth-child(3) { --d:0.4s; --sd:0.12s; }
.star:nth-child(4) { --d:0.4s; --sd:0.18s; }
.star:nth-child(5) { --d:0.4s; --sd:0.24s; }

.depo-text {
  font-size: 15px; line-height: 1.75;
  color: rgba(245, 242, 236, 0.85);
  margin-bottom: 28px;
  transition: color 0.3s;
}
.depoimento:hover .depo-text { color: var(--white); }

.depo-author { display: flex; align-items: center; gap: 14px; }

.depo-avatar {
  width: 44px; height: 44px; background: var(--gold-dim);
  border: 1px solid rgba(201, 168, 76, 0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 18px; color: var(--gold); flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.depoimento:hover .depo-avatar {
  background: rgba(201, 168, 76, 0.18);
  border-color: rgba(201, 168, 76, 0.5);
  transform: scale(1.05);
}

.depo-name { font-size: 14px; font-weight: 500; color: var(--white); margin-bottom: 2px; }
.depo-role { font-size: 11px; letter-spacing: 1px; color: var(--grey); }

/* ══════════════════════════════════
   CONTATO
══════════════════════════════════ */
#contato {
  padding: var(--section-pad); position: relative;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start;
}

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

.contato-desc {
  font-size: 16px; line-height: 1.8;
  color: var(--white-70); margin-top: 24px; max-width: 400px;
}

.contato-links { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }

.contato-link {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  padding: 18px 22px; border: 1px solid var(--gold-border);
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1); color: var(--white);
  position: relative; overflow: hidden;
}

.contato-link::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.08), transparent);
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.contato-link:hover {
  border-color: rgba(201, 168, 76, 0.35);
  background: var(--gold-dim);
  transform: translateX(4px);
}
.contato-link:hover::before { width: 100%; }

.contato-link-icon {
  width: 40px; height: 40px; background: var(--gold-dim);
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all 0.3s;
}
.contato-link:hover .contato-link-icon {
  background: rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.4);
  transform: rotate(5deg);
}
.contato-link-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; }

.contato-link-label {
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--grey); margin-bottom: 3px;
}
.contato-link-val { font-size: 14px; color: var(--white); }

/* Form */
.contato-form {
  background: var(--dark);
  border: 1px solid var(--gold-border);
  padding: 40px;
  position: relative; overflow: hidden;
}

/* Animated corner accent */
.contato-form::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 60px; height: 60px;
  border-top: 1px solid rgba(201, 168, 76, 0.3);
  border-right: 1px solid rgba(201, 168, 76, 0.3);
  transition: width 0.4s, height 0.4s;
}
.contato-form:hover::before { width: 80px; height: 80px; }

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block; font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--grey); margin-bottom: 10px;
  transition: color 0.3s;
}
.form-group:focus-within label { color: var(--gold); }

.form-group input,
.form-group textarea {
  width: 100%; background: var(--black);
  border: 1px solid rgba(201, 168, 76, 0.12);
  color: var(--white); padding: 14px 18px;
  font-family: var(--font-body); font-size: 15px;
  font-weight: 300; outline: none;
  transition: border-color 0.35s, box-shadow 0.35s, background 0.35s; resize: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.05), inset 0 0 20px rgba(201, 168, 76, 0.02);
  background: rgba(201, 168, 76, 0.02);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(245, 242, 236, 0.18); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.btn-form {
  width: 100%; background: var(--gold); color: var(--black);
  padding: 17px 32px; font-size: 13px; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 500;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1); font-family: var(--font-body);
  position: relative; overflow: hidden;
}

.btn-form::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s;
}

.btn-form:hover::before { left: 100%; }

.btn-form:hover {
  background: var(--gold-light);
  box-shadow: 0 12px 36px rgba(201, 168, 76, 0.28), 0 0 0 1px rgba(201, 168, 76, 0.2);
  transform: translateY(-1px);
}

.btn-form:disabled {
  opacity: 0.6; cursor: not-allowed;
}

.form-note {
  text-align: center; font-size: 12px; color: var(--grey);
  margin-top: 14px; letter-spacing: 0.5px;
}

.form-success {
  display: flex; align-items: center; gap: 10px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: 14px 18px; margin-top: 16px;
  font-size: 14px; color: var(--gold);
  animation: fadeUp 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.form-success svg { flex-shrink: 0; stroke: var(--gold); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer {
  background: var(--dark); border-top: 1px solid var(--gold-border);
  padding: 44px 60px;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 24px;
}

.footer-logo {
  font-family: var(--font-display); font-size: 22px;
  letter-spacing: 4px; color: var(--white); text-decoration: none;
  transition: letter-spacing 0.4s, color 0.3s;
}
.footer-logo:hover { letter-spacing: 6px; }
.footer-logo span { color: var(--gold); }
.footer-copy { font-size: 12px; color: var(--grey); line-height: 1.7; }
.footer-links { display: flex; gap: 32px; }
.footer-links a {
  font-size: 12px; letter-spacing: 1px;
  color: var(--grey); text-decoration: none; transition: color 0.3s, letter-spacing 0.3s;
  position: relative;
}
.footer-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-links a:hover::after { width: 100%; }

/* ══════════════════════════════════
   MOBILE MENU
══════════════════════════════════ */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 150;
  background: rgba(8, 8, 8, 0.99);
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  backdrop-filter: blur(20px);
}

.mobile-menu.open {
  display: flex;
  animation: menuReveal 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.mobile-menu a {
  font-family: var(--font-display); font-size: 40px;
  letter-spacing: 2px; color: var(--white);
  text-decoration: none; transition: color 0.3s, letter-spacing 0.3s;
}
.mobile-menu a:hover { color: var(--gold); letter-spacing: 4px; }

.mobile-cta {
  font-family: var(--font-body) !important;
  font-size: 13px !important; letter-spacing: 2.5px !important;
  text-transform: uppercase; background: var(--gold) !important;
  color: var(--black) !important; padding: 14px 36px;
  margin-top: 8px;
}

.menu-close {
  position: absolute; top: 28px; right: 32px;
  font-size: 28px; color: var(--grey);
  cursor: pointer; background: none; border: none;
  transition: color 0.3s, transform 0.3s;
}
.menu-close:hover { color: var(--white); transform: rotate(90deg); }

/* ══════════════════════════════════
   ANIMATIONS — KEYFRAMES
══════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scrollLine {
  0%   { left: -100%; }
  100% { left: 100%; }
}

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

@keyframes floatParticle {
  0%   { opacity: 0; transform: translateY(0) scale(0.8); }
  15%  { opacity: 0.6; }
  85%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-80px) scale(1.2); }
}

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

@keyframes orb1 {
  0%   { opacity: 0.4; transform: translate(0, 0) scale(1); }
  100% { opacity: 0.7; transform: translate(40px, -20px) scale(1.15); }
}

@keyframes gridPan {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

@keyframes grainShift {
  0%  { background-position: 0 0; }
  25% { background-position: 50px 20px; }
  50% { background-position: 20px 40px; }
  75% { background-position: 70px 10px; }
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes menuReveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes borderPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; box-shadow: 2px 0 12px rgba(201, 168, 76, 0.4); }
}

@keyframes pulseBadge {
  0%, 100% { box-shadow: none; }
  50%       { box-shadow: 0 0 12px rgba(201, 168, 76, 0.5); }
}

@keyframes starPop {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes expandLine {
  from { width: 0; }
  to   { width: 28px; }
}

/* ══════════════════════════════════
   REVEAL CLASSES (scroll-triggered)
══════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Directional reveals */
.reveal-left {
  opacity: 0; transform: translateX(-36px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(36px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0; transform: scale(0.94);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* ══════════════════════════════════
   GOLD GLOW UTILITY
══════════════════════════════════ */
.gold-glow {
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.15), 0 0 60px rgba(201, 168, 76, 0.05);
  transition: box-shadow 0.5s;
}
.gold-glow:hover {
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.25), 0 0 80px rgba(201, 168, 76, 0.1);
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1100px) {
  :root { --section-pad: 100px 40px; }
  nav { padding: 20px 40px; }
  nav.scrolled { padding: 16px 40px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  #sobre { grid-template-columns: 1fr; gap: 56px; }
  .sobre-visual { height: 340px; }
  #contato { grid-template-columns: 1fr; gap: 52px; }
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .depoimentos-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 0 40px; }
  .hero-scroll { left: 40px; }
  footer { padding: 36px 40px; flex-direction: column; text-align: center; }
  .section-divider { margin: 0 40px; }
}

@media (max-width: 640px) {
  :root { --section-pad: 80px 24px; }
  nav { padding: 18px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .hero-content { padding: 0 24px; }
  .hero-scroll { left: 24px; }
  .hero-title { font-size: clamp(56px, 16vw, 80px); }
  .hero-btns { flex-direction: column; gap: 12px; }
  .btn-primary, .btn-outline { text-align: center; justify-content: center; width: 100%; }
  .sobre-stats { grid-template-columns: repeat(3, 1fr); }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 12px; }
  .servicos-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contato-form { padding: 28px 22px; }
  footer { padding: 28px 24px; }
  .section-divider { margin: 0 24px; }

  /* Reduce motion on small screens */
  .hero-particles { display: none; }
  .hero-bg::before { display: none; }
}

/* Cursor hidden on touch */
@media (hover: none) and (pointer: coarse) {
  .cursor, .cursor-ring { display: none !important; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.1ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}
