/* ============================================================
   NETO ONÇA · Website de marca pessoal
   Identidade: Brandbook v1 · preto #0A0A0A · âmbar #E9A23B (acento)
   Space Grotesk (display) · Inter (texto) · JetBrains Mono (dados)
   ============================================================ */

:root {
  --preto: #0A0A0A;
  --preto-suave: #141311;
  --branco: #F7F7F5;
  --ambar: #E9A23B;
  --ambar-escuro: #C8822A;
  --cinza: #7A776E;
  --duotone: #2A1C0A;
  --vidro: rgba(20, 19, 17, 0.55);
  --vidro-borda: rgba(247, 247, 245, 0.10);
  --display: "Space Grotesk", sans-serif;
  --texto: "Inter", sans-serif;
  --mono: "JetBrains Mono", monospace;
}

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

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--preto);
  color: var(--branco);
  font-family: var(--texto);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }

::selection { background: var(--ambar); color: var(--preto); }

/* ---------- camadas de fundo ---------- */
#bgv {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.tint {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(10,10,10,0.28) 0%, rgba(10,10,10,0.62) 68%, rgba(10,10,10,0.86) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.18) 22%, rgba(10,10,10,0.18) 72%, rgba(10,10,10,0.66) 100%);
}
#particles {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  width: 100vw; height: 100vh;
}
.grain {
  position: fixed; inset: -50%; z-index: 2; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  animation: grain-shift 1.1s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

main { position: relative; z-index: 10; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 2.4rem;
  mix-blend-mode: normal;
}
.brand { display: flex; align-items: center; text-decoration: none; color: var(--branco); }
.brand-name { font-family: var(--display); font-weight: 700; letter-spacing: 0.2em; font-size: 1.05rem; }
.menu-btn {
  display: flex; align-items: center; gap: 0.8rem;
  background: rgba(20,19,17,0.5); border: 1px solid var(--vidro-borda);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--branco); padding: 0.65rem 1.1rem; border-radius: 999px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em;
  cursor: pointer; transition: border-color 0.35s, background 0.35s;
}
.menu-btn:hover { border-color: rgba(233,162,59,0.55); background: rgba(42,28,10,0.5); }
.menu-btn-lines { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.menu-btn-lines i { display: block; height: 1.5px; background: var(--branco); transition: transform 0.35s, width 0.35s; }
.menu-btn-lines i:last-child { width: 60%; align-self: flex-end; }
.menu-btn:hover .menu-btn-lines i:last-child { width: 100%; }

/* ---------- menu fullscreen ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center;
  visibility: hidden; pointer-events: none;
}
.menu.is-open { pointer-events: auto; }
.menu-bg {
  position: absolute; inset: 0;
  background: rgba(8,8,8,0.86);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
}
.menu-close {
  position: absolute; top: 1.4rem; right: 2.4rem; z-index: 3;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(20,19,17,0.6); border: 1px solid var(--vidro-borda);
  cursor: pointer; display: grid; place-items: center;
  transition: border-color 0.35s cubic-bezier(0.22,1,0.36,1), transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.menu-close-x { position: relative; width: 18px; height: 18px; display: block; }
.menu-close-x i {
  position: absolute; top: 50%; left: 0; width: 100%; height: 1.5px;
  background: var(--branco);
  transition: background 0.35s cubic-bezier(0.22,1,0.36,1), transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.menu-close-x i:first-child { transform: rotate(45deg); }
.menu-close-x i:last-child { transform: rotate(-45deg); }
.menu-close:hover { border-color: rgba(233,162,59,0.6); transform: rotate(90deg); }
.menu-close:hover .menu-close-x i { background: var(--ambar); }

.menu-nav {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 0.2rem;
  padding-left: clamp(2rem, 7vw, 7rem);
}
.menu-link {
  position: relative;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.18;
  color: var(--branco); text-decoration: none;
  display: flex; align-items: baseline; gap: 1.1rem;
  transition: color 0.4s, letter-spacing 0.5s cubic-bezier(0.22,1,0.36,1), transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.menu-link-idx { font-family: var(--mono); font-size: 0.75rem; color: var(--cinza); transition: color 0.4s; }
.menu-link::after {
  content: ""; position: absolute; left: 3.2rem; bottom: 0.12em;
  width: 0; height: 2px; background: var(--ambar);
  transition: width 0.5s cubic-bezier(0.22,1,0.36,1);
}
.menu.is-open .menu-nav:hover .menu-link { color: rgba(247,247,245,0.28); }
.menu.is-open .menu-nav .menu-link:hover {
  color: var(--branco); letter-spacing: 0.03em; transform: translateX(10px) scale(1.02);
}
.menu.is-open .menu-nav .menu-link:hover::after { width: calc(100% - 3.2rem); }
.menu.is-open .menu-nav .menu-link:hover .menu-link-idx { color: var(--ambar); }

.menu-preview {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
  padding-right: clamp(1rem, 5vw, 5rem);
}
.menu-preview-frame {
  position: relative;
  width: min(30vw, 380px); aspect-ratio: 2 / 3;
  border-radius: 18px;
  background: var(--vidro);
  border: 1px solid var(--vidro-borda);
  box-shadow: 0 40px 90px rgba(0,0,0,0.55), 0 0 60px rgba(233,162,59,0.07);
}
.menu-preview-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 18px; opacity: 0.9;
}
.menu-preview-visual {
  position: absolute; left: 50%; bottom: -6%;
  width: 116%; height: 112%;
  transform: translateX(-50%);
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.6));
}
.menu-preview-label { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.menu-preview-label .mono { font-size: 0.68rem; color: var(--cinza); }
.menu-preview-title { font-family: var(--display); font-weight: 600; letter-spacing: 0.2em; font-size: 1rem; }
.menu-foot {
  position: absolute; bottom: 1.6rem; left: 0; right: 0; z-index: 2;
  text-align: center; font-size: 0.66rem; color: var(--cinza);
}

/* ---------- base de seção ---------- */
.sec { position: relative; padding: clamp(5rem, 12vh, 9rem) clamp(1.4rem, 6vw, 6rem); }
.sec-label { font-size: 0.72rem; color: var(--ambar); margin-bottom: 1.6rem; }
.glass {
  background: var(--vidro);
  border: 1px solid var(--vidro-borda);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
}
em { font-style: normal; color: var(--ambar); }
.mono-num { font-family: var(--mono); color: var(--ambar); font-style: normal; }

.btn {
  display: inline-block; text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  padding: 0.9rem 1.8rem; border-radius: 999px;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s, background 0.35s, color 0.35s, border-color 0.35s;
}
.btn-solid { background: var(--ambar); color: var(--preto); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(233,162,59,0.28); background: #F0B056; }
.btn-ghost { border: 1px solid rgba(247,247,245,0.25); color: var(--branco); }
.btn-ghost:hover { border-color: var(--ambar); color: var(--ambar); transform: translateY(-2px); }
.btn-lg { font-size: 1.05rem; padding: 1.1rem 2.3rem; }

/* ---------- 1 · hero ---------- */
.sec-hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-inner { max-width: 1200px; }
.hero-tagline { color: var(--ambar); font-size: 0.78rem; margin-bottom: 1.2rem; }
.hero-title { margin-bottom: 2rem; line-height: 0; }
.hero-garra {
  width: clamp(190px, 24vw, 350px);
  height: auto;
  filter: drop-shadow(0 22px 55px rgba(0,0,0,0.55)) drop-shadow(0 0 44px rgba(233,162,59,0.14));
}
.hero-sub { display: flex; gap: 2.4rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero-msg { font-family: var(--display); font-weight: 500; font-size: clamp(1.05rem, 1.8vw, 1.5rem); }
.hero-msg-dim { color: var(--cinza); }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero-chips { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.chip {
  font-size: 0.66rem; padding: 0.5rem 0.95rem; border-radius: 999px;
  background: rgba(20,19,17,0.5); border: 1px solid var(--vidro-borda);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: rgba(247,247,245,0.75);
}
.scroll-hint {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.6rem; color: var(--cinza); letter-spacing: 0.3em;
}
.scroll-hint-line {
  width: 1px; height: 52px; overflow: hidden; position: relative;
  background: rgba(247,247,245,0.12);
}
.scroll-hint-line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--ambar);
  animation: hint-drop 1.8s cubic-bezier(0.65,0,0.35,1) infinite;
}
@keyframes hint-drop { to { top: 110%; } }

/* ---------- 2 · trajetória ---------- */
.sec-trajetoria { padding: 0; }
.traj-pin {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.4rem, 6vw, 6rem);
}
.traj-heading {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem); line-height: 1.12;
  max-width: 15ch; margin-bottom: 3rem;
}
.traj-word { color: var(--ambar); }
.traj-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 1.1rem; }
.traj-panel { padding: 1.5rem 1.8rem; font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 400; }
.traj-panel-wide { grid-column: 1 / -1; max-width: 100%; }

/* ---------- 3 · método ---------- */
.sec-metodo { min-height: 130vh; display: flex; align-items: center; overflow: hidden; }
.metodo-giant {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--display); font-weight: 700;
  font-size: clamp(5rem, 15vw, 15rem); line-height: 0.95; letter-spacing: -0.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(247,247,245,0.07);
  white-space: nowrap; text-align: center;
  pointer-events: none; user-select: none;
}
.metodo-inner {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.metodo-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.14;
  margin-bottom: 1.2rem;
}
.metodo-sub { color: var(--cinza); font-size: 1.05rem; }
.metodo-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.metodo-cards .mcard:nth-child(2) { transform: translateY(1.4rem); }
.metodo-cards .mcard:nth-child(4) { transform: translateY(1.4rem); }
.mcard {
  position: relative; padding: 1.7rem 1.6rem; overflow: hidden;
  transition: border-color 0.4s, transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s;
}
.mcard::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--sweep, 0deg), transparent 0 82%, rgba(233,162,59,0.85) 90%, transparent 98%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.45s;
  pointer-events: none;
}
.mcard:hover { box-shadow: 0 18px 60px rgba(0,0,0,0.5), 0 0 46px rgba(233,162,59,0.10); }
.mcard:hover::before { opacity: 1; animation: sweep 2.6s linear infinite; }
@keyframes sweep { to { --sweep: 360deg; } }
@property --sweep { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.mcard-idx { font-size: 0.68rem; color: var(--ambar); margin-bottom: 0.9rem; }
.mcard h3 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; margin-bottom: 0.55rem; }
.mcard-desc { font-size: 0.92rem; color: rgba(247,247,245,0.72); margin-bottom: 1.1rem; }
.mcard-tag { font-size: 0.62rem; color: var(--cinza); }

/* ---------- 4 · frentes (cards de vidro, iguais aos do Método) ---------- */
.sec-frentes { min-height: 100vh; }
.frentes-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.6rem); margin-bottom: 3rem;
}
.frentes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
  max-width: 1100px;
}

/* ---------- 5 · manifesto ---------- */
.sec-manifesto { min-height: 140vh; display: flex; flex-direction: column; justify-content: center; }
.manifesto-lines { display: flex; flex-direction: column; gap: clamp(1.6rem, 4vh, 3rem); margin-bottom: 4rem; }
.mline {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.7rem, 4.6vw, 4rem); line-height: 1.12;
  max-width: 20ch;
}
.mline:nth-child(even) { align-self: flex-end; text-align: right; }
.manifesto-close { align-self: center; text-align: center; padding: 2rem 3rem; }
.manifesto-close-tag { font-size: 0.66rem; color: var(--ambar); margin-bottom: 0.7rem; }
.manifesto-close-text { font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.8rem); }

/* ---------- 6 · cta ---------- */
.sec-cta { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 5rem; }
.cta-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
  max-width: 1250px; margin: 0 auto; width: 100%;
}
.cta-media {
  position: relative; aspect-ratio: 3 / 4; border-radius: 20px;
  background: var(--vidro); border: 1px solid var(--vidro-borda);
  box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 70px rgba(233,162,59,0.08);
}
.cta-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 20px; opacity: 0.92;
}
.cta-visual {
  position: absolute; left: 50%; bottom: -5%;
  width: 114%; height: 110%;
  transform: translateX(-50%);
  object-fit: contain;
  filter: drop-shadow(0 34px 44px rgba(0,0,0,0.62));
}
.cta-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.12; margin-bottom: 1.4rem;
}
.cta-text { font-size: 1.02rem; color: rgba(247,247,245,0.78); max-width: 52ch; margin-bottom: 2.2rem; }
.cta-alt { margin-top: 1.4rem; font-size: 0.85rem; color: var(--cinza); }
.cta-alt a { color: var(--branco); text-decoration-color: var(--ambar); }
.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  border-top: 1px solid rgba(247,247,245,0.08); padding-top: 2rem;
  font-size: 0.64rem; color: var(--cinza);
}
.footer-social { display: flex; gap: 1.6rem; }
.footer-social a { color: rgba(247,247,245,0.7); text-decoration: none; font-size: 0.64rem; transition: color 0.3s; }
.footer-social a:hover { color: var(--ambar); }

/* ---------- reveals (estado inicial via JS) ---------- */
[data-reveal] { will-change: transform, opacity; }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .frentes-grid { grid-template-columns: repeat(2, 1fr); }
  .metodo-inner { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-media { max-width: 420px; margin: 0 auto; }
  .menu { grid-template-columns: 1fr; }
  .menu-preview { display: none; }
}
@media (max-width: 768px) {
  .frentes-grid { grid-template-columns: 1fr; }
  .traj-panels { grid-template-columns: 1fr; }
  .metodo-cards { grid-template-columns: 1fr; }
  .metodo-cards .mcard:nth-child(2), .metodo-cards .mcard:nth-child(4) { transform: none; }
  .metodo-giant { font-size: 22vw; white-space: normal; }
  .mline:nth-child(even) { align-self: flex-start; text-align: left; }
  .hero-sub { gap: 0.6rem; flex-direction: column; }
  .sec { padding-left: 1.3rem; padding-right: 1.3rem; }
  .site-header { padding: 1rem 1.3rem; }
  .menu-close { right: 1.3rem; }
  .menu-nav { padding-left: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .scroll-hint-line::after { animation: none; }
}
