/* =========================================
   TOKENS
========================================= */
:root {
  --bg: #0a0a0a;
  --bg-raised: #121212;
  --bg-card: #141414;
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.14);
  --text: #f2efe9;
  --text-dim: #9a9691;
  --text-faint: #6b6864;
  --gold: #c9a876;
  --gold-bright: #dcbd8c;
  --font-body: 'Manrope', sans-serif;
  --font-display: 'Playfair Display', serif;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

#inicio, #sobre, #servicos, #processo, #resultados, #contato {
  scroll-margin-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

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

/* subtle grain overlay for texture */
.noise-overlay {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.cursor-glow {
  position: fixed;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,118,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  opacity: 0;
}

/* =========================================
   EYEBROW / SHARED
========================================= */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
  font-weight: 500;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow.center { text-align: center; }

em {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-weight: 500;
}

/* =========================================
   BUTTONS
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.25s var(--ease);
  cursor: pointer;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover {
  color: #0a0a0a;
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn__arrow {
  transition: transform 0.35s var(--ease);
}
.btn:hover .btn__arrow { transform: translate(2px, -2px); }

.btn--sm { padding: 11px 20px; font-size: 12px; }

/* =========================================
   HEADER
========================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  padding: 14px 0;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.28em;
  display: inline-flex;
  align-items: center;
}
.logo__img {
  height: 26px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}
.logo:hover .logo__img { opacity: 0.85; }
.nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
  margin-right: 34px;
}
.nav__link {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* =========================================
   HERO
========================================= */
.hero {
  padding: 168px 0 0;
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 30%;
  transform: scale(1.06);
  filter: saturate(0.9) contrast(1.02);
  animation: heroBgIn 1.6s var(--ease) both;
}
@keyframes heroBgIn {
  from { transform: scale(1.14); opacity: 0; }
  to { transform: scale(1.06); opacity: 1; }
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,0.96) 0%, rgba(10,10,10,0.82) 32%, rgba(10,10,10,0.4) 58%, rgba(10,10,10,0.25) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.15) 30%, rgba(10,10,10,0.75) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: block;
  padding-bottom: 90px;
  padding-top: 40px;
}
.hero__content { max-width: 620px; }
.hero__strip-wrap { position: relative; z-index: 1; }
.hero__title {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero__title .line { display: block; overflow: hidden; }

.hero__text {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 420px;
  margin-bottom: 34px;
  font-weight: 300;
}
.hero__actions { margin-bottom: 44px; }

.social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatars { display: flex; }
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a3a3a, #1a1a1a);
  border: 2px solid var(--bg);
  margin-left: -10px;
  position: relative;
  overflow: hidden;
  display: block;
  transition: transform 0.3s var(--ease), z-index 0s;
}
.avatar:hover { transform: translateY(-3px) scale(1.08); z-index: 5; }
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.avatar:first-child { margin-left: 0; }
.social-proof__text {
  font-size: 13px;
  color: var(--text-dim);
}

/* feature strip */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  overflow: hidden;
}
.feature-item {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.feature-item:last-child { border-right: none; }
.feature-item:hover {
  background: rgba(201,168,118,0.04);
  transform: translateY(-4px);
}
.feature-icon {
  display: inline-flex;
  color: var(--gold);
  margin-bottom: 18px;
}
.feature-item h3 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  line-height: 1.35;
}
.feature-item p {
  font-size: 13.5px;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.6;
}

/* =========================================
   ABOUT
========================================= */
.about {
  padding: 110px 0;
  border-top: 1px solid var(--border);
}
.about__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.about__title {
  font-size: clamp(26px, 2.9vw, 34px);
  font-weight: 300;
  line-height: 1.35;
}
.about__body p {
  color: var(--text-dim);
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 22px;
}
.about__body p:last-child { margin-bottom: 0; }
.about__highlight {
  color: var(--text) !important;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px !important;
  line-height: 1.6 !important;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
}

/* =========================================
   SERVICES
========================================= */
.services {
  padding: 110px 0;
  border-top: 1px solid var(--border);
}
.services__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.services__title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 300;
  line-height: 1.35;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: rgba(201,168,118,0.03);
}
.service-card__name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.service-card__list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  flex-grow: 1;
}
.service-card__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.5;
}
.service-card__list li:last-child { margin-bottom: 0; }
.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.service-card__cta {
  align-self: flex-start;
  width: 100%;
  justify-content: center;
}

.service-card--featured {
  position: relative;
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201,168,118,0.07), var(--bg-card) 40%);
  box-shadow: 0 0 0 1px rgba(201,168,118,0.25), 0 24px 60px -30px rgba(201,168,118,0.35);
}
.service-card--featured:hover {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201,168,118,0.1), rgba(201,168,118,0.03) 40%);
}
.service-card--featured .service-card__name { color: var(--gold-bright); }
.service-card__badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.service-card--featured .service-card__list li::before {
  background: var(--gold);
}
.service-card--featured .btn:not(:hover) {
  border-color: var(--gold);
}

/* =========================================
   PROCESS
========================================= */
.process {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}
.process__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: 40px;
  align-items: start;
}
.process__title {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.3;
}
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 24px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}
.process-card__number {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}
.process-card h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
  margin-bottom: 10px;
}
.process-card p {
  font-size: 13.5px;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.6;
}

/* =========================================
   RESULTS
========================================= */
.results {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.results__intro { max-width: 640px; margin: 0 auto 64px; }
.results__title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 300;
  line-height: 1.3;
}
.results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 13.5px;
  color: var(--text-dim);
}

/* =========================================
   CTA
========================================= */
.cta {
  position: relative;
  padding: 130px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  top: -20%; left: 50%;
  width: 700px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201,168,118,0.08), transparent 70%);
  pointer-events: none;
}
.cta__props-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.cta__props-bg img {
  width: min(100%, 1180px);
  height: 100%;
  max-height: 420px;
  object-fit: contain;
  opacity: 0.34;
  filter: saturate(0.95);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  transition: transform 1.2s var(--ease), opacity 0.6s ease;
}
.cta:hover .cta__props-bg img {
  transform: scale(1.03);
  opacity: 0.42;
}
.cta__inner {
  display: grid;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.cta__content { text-align: center; }
.cta__title {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 300;
  line-height: 1.4;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* =========================================
   FOOTER
========================================= */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer__copy {
  font-size: 12.5px;
  color: var(--text-faint);
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  transition: color 0.3s ease, transform 0.3s var(--ease);
}
.social-link svg { transition: transform 0.3s var(--ease); }
.social-link:hover {
  color: var(--gold);
  transform: translateY(-2px);
}
.social-link:hover svg { transform: rotate(-8deg); }

/* =========================================
   SCROLL REVEAL
========================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* hero load-in sequencing */
.hero__title .line {
  opacity: 0;
  transform: translateY(100%);
  animation: lineUp 0.9s var(--ease) forwards;
}
.hero__title .line:nth-child(1) { animation-delay: 0.15s; }
.hero__title .line:nth-child(2) { animation-delay: 0.28s; }
.hero__title .line:nth-child(3) { animation-delay: 0.41s; }
@keyframes lineUp {
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 980px) {
  .hero__bg-img { object-position: 75% 25%; }
  .hero__bg-overlay {
    background:
      linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.55) 40%, rgba(10,10,10,0.92) 78%, rgba(10,10,10,0.98) 100%);
  }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2) { border-right: none; }
  .feature-item { border-bottom: 1px solid var(--border); }
  .process__inner { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; gap: 28px; }
  .services__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .results__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cta__inner { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 720px) {
  .nav, .btn--sm { display: none; }
  .burger { display: flex; }
  .hero { padding-top: 130px; }
  .hero__bg-img { object-position: center 28%; }
  .hero__bg-overlay {
    background:
      linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.6) 45%, rgba(10,10,10,0.94) 80%, rgba(10,10,10,0.99) 100%);
  }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-item:nth-child(2) { border-right: none; border-bottom: 1px solid var(--border); }
  .process__grid { grid-template-columns: 1fr; }
  .results__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { flex-direction: column; text-align: center; gap: 14px; }
}

/* mobile nav drawer */
.nav.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(14px);
  padding: 30px 32px;
  border-bottom: 1px solid var(--border);
  gap: 22px;
  margin: 0;
}