/* ============================================================
   VOJD Consultoria — site vitrine
   Fundo preto. Tipografia monoespaçada. Editorial / HUD.
   ============================================================ */

:root {
  --bg:         #0a0a0a;
  --bg-2:       #121110;
  --panel:      #151412;
  --ink:        #f4f2ec;
  --ink-2:      #c7c3b9;
  --ink-dim:    #8b877d;
  --line:       rgba(255, 255, 255, 0.15);
  --line-soft:  rgba(255, 255, 255, 0.08);
  --max:        1180px;
  --pad:        clamp(20px, 5vw, 64px);
  --font:       "IBM Plex Mono", "Liberation Mono", "DejaVu Sans Mono",
                ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

::selection { background: var(--ink); color: var(--bg); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--bg);
  padding: 12px 18px; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.1em;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- kickers / section titles ---------- */

.kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--ink);
  flex: none;
}

.section-title {
  font-size: clamp(2rem, 6.2vw, 4.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-top: 22px;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 16px var(--pad);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand-logo { height: 15px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta {
  border: 1px solid var(--ink);
  padding: 8px 14px;
  color: var(--ink);
}
.site-nav .nav-cta:hover { background: var(--ink); color: var(--bg); }

.nav-toggle {
  display: none;
  font-family: var(--font);
  font-size: 12px; letter-spacing: 0.14em;
  background: none; border: 1px solid var(--ink);
  color: var(--ink); padding: 8px 12px; cursor: pointer;
}

.mobile-nav {
  position: sticky; top: 48px; z-index: 99;
  display: flex; flex-direction: column;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--pad) 20px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  color: var(--ink);
  padding: 14px 0;
  font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ============================================================
   SECTION LAYOUT
   ============================================================ */

main > section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 12vw, 150px) var(--pad);
  border-bottom: 1px solid var(--line-soft);
}

/* ---------- HERO ---------- */

.hero { padding-top: clamp(60px, 10vw, 110px); }

/* figuras de fundo por seção (artes do doc de introdução) */
.hero, .manifesto, .steps { position: relative; isolation: isolate; }
.hero::before,
.manifesto::before,
.steps::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(50% - 50vw);
  width: min(52vw, 620px);
  z-index: -1;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.4;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 54%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 54%, #000 90%, transparent);
}
.hero::before      { background-image: url("assets/hero-figure.webp?v=3"); opacity: 0.42; }
.manifesto::before { background-image: url("assets/metodo-figure.webp?v=2"); opacity: 0.3; }
.steps::before {
  background-image: url("assets/steps-figure.webp?v=2");
  width: min(48vw, 540px);
  opacity: 0.24;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 56%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 56%, #000 92%, transparent);
}

.hero-title {
  font-size: clamp(2.7rem, 9vw, 6.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 26px 0 0;
}

.hero-sub {
  max-width: 46ch;
  margin-top: 30px;
  color: var(--ink-2);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 1px solid var(--ink);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ---------- MARQUEE ---------- */

.marquee {
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 26px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-x 34s linear infinite;
}
.marquee-track span {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500;
}
.marquee-track i { opacity: 0.45; font-style: normal; }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- MANIFESTO ---------- */

.manifesto-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 52px;
}
.manifesto-cols p {
  color: var(--ink-2);
  font-size: 0.94rem;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ---------- PLANS ---------- */

.plans-head { max-width: 44ch; }
.plans-note {
  margin-top: 26px;
  color: var(--ink-dim);
  font-size: 0.86rem;
  max-width: 52ch;
}

.plan-grid {
  display: grid;
  gap: 18px;
  margin-top: 54px;
}
.plan-grid-3 { grid-template-columns: repeat(3, 1fr); }
.plan-grid-2 { grid-template-columns: repeat(2, 1fr); }

.plan-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px 24px;
}
.plan-card-featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.plan-card-featured ::selection { background: var(--bg); color: var(--ink); }

.plan-flag {
  align-self: flex-start;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid currentColor;
  padding: 4px 8px;
  margin-bottom: 18px;
}

.plan-card-head { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.plan-card-featured .plan-card-head { border-color: rgba(0,0,0,0.18); }

.plan-name {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500;
}
.plan-price {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 16px;
}
.plan-price .cur { font-size: 0.9rem; vertical-align: super; margin-right: 4px; letter-spacing: 0; }
.plan-price .per { font-size: 0.9rem; color: var(--ink-dim); letter-spacing: 0; }
.plan-card-featured .plan-price .per { color: rgba(0,0,0,0.55); }
.plan-term {
  margin-top: 10px;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-dim);
}
.plan-card-featured .plan-term { color: rgba(0,0,0,0.6); }

.plan-feats {
  list-style: none;
  margin: 22px 0 26px;
  flex: 1;
}
.plan-feats li {
  position: relative;
  padding: 11px 0 11px 24px;
  font-size: 0.82rem;
  line-height: 1.45;
  border-bottom: 1px solid var(--line-soft);
}
.plan-card-featured .plan-feats li { border-color: rgba(0,0,0,0.12); }
.plan-feats li::before {
  content: "+";
  position: absolute; left: 0; top: 10px;
  font-weight: 600;
}
.plan-feats li.feat-off { color: var(--ink-dim); }
.plan-card-featured .plan-feats li.feat-off { color: rgba(0,0,0,0.4); }
.plan-feats li.feat-off::before { content: "\2013"; }

.plan-feats li.feat-key {
  font-weight: 600;
  color: var(--ink);
}
.plan-feats li.feat-key strong { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.plan-card-featured .plan-feats li.feat-key { color: var(--bg); }

.plan-btn { width: 100%; }
.plan-card-featured .plan-btn {
  background: var(--bg); color: var(--ink); border-color: var(--bg);
}
.plan-btn.is-locked {
  opacity: 0.38;
  cursor: not-allowed;
}
.plan-card-featured .plan-btn.is-locked { opacity: 0.5; }

/* ---------- PLAN CONSENT ---------- */

.plan-consent {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  max-width: 62ch;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.plan-consent .consent-check {
  margin-top: 2px;
  width: 17px;
  height: 17px;
  flex: none;
  accent-color: var(--ink);
  cursor: pointer;
}
.plan-consent label { cursor: pointer; flex: 1; min-width: 240px; }
.plan-consent a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.plan-consent .consent-hint {
  flex-basis: 100%;
  margin: 0;
  padding-left: 29px;
  font-size: 0.78rem;
  color: var(--ink);
}
.plan-consent.nudge { animation: consent-nudge 0.4s ease; }
@keyframes consent-nudge {
  25% { transform: translateX(-5px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .plan-consent.nudge { animation: none; }
}

/* ---------- STEPS ---------- */

.step-list {
  list-style: none;
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step-list li {
  background: var(--bg);
  padding: 30px 26px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--ink-dim);
}
.step-list h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 16px 0 10px;
}
.step-list p { color: var(--ink-2); font-size: 0.86rem; }

/* ---------- PAY ---------- */

.pay-logos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(22px, 4.5vw, 52px);
  margin-top: 52px;
}
.pay-logos li { display: flex; align-items: center; }
.pay-logos img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.82;
  transition: opacity 0.15s;
}
.pay-logos li:hover img { opacity: 1; }
.pay-logos img[alt="Mastercard"] { height: 34px; }
.pay-logos img[alt="Pix"]        { height: 23px; }
.pay-logos img[alt="Elo"]        { height: 23px; }
.pay-logos img[alt="Hiper"]      { height: 30px; }
.pay-logos img[alt="American Express"] { height: 25px; }
.pay-logos img[alt="Apple Pay"]  { height: 24px; }
.pay-logos img[alt="Google Pay"] { height: 24px; }
.pay-logos img[alt="Samsung Pay"]{ height: 19px; }
.pay-logos img[alt="Dinheiro"]   { height: 30px; }
.pay-note {
  margin-top: 28px;
  color: var(--ink-dim);
  font-size: 0.82rem;
  max-width: 58ch;
}

/* ---------- RESULTS ---------- */

.results-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 780px;
}
.result {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}
.result img {
  width: 100%;
  aspect-ratio: 10 / 9;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.result figcaption {
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 8px 10px;
  border-top: 1px solid var(--line);
}

/* ---------- CONTACT ---------- */

.contact-sub { margin-top: 22px; color: var(--ink-2); }
.contact-links {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact-links a {
  border: 1px solid var(--line);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.contact-links a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cl-label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim);
}
.contact-links a:hover .cl-label { color: rgba(0,0,0,0.6); }
.cl-value { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; word-break: break-word; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--bg-2);
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 9vw, 96px) var(--pad) 40px;
}
.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-logo { height: 12px; width: auto; align-self: flex-start; flex: none; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; max-width: 420px; }
.footer-nav a {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
}
.footer-nav a:hover { color: var(--ink); }

.footer-bottom {
  max-width: var(--max);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--ink); }

/* ============================================================
   REVEAL
   ============================================================ */

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .plan-grid-3 { grid-template-columns: 1fr; max-width: 440px; }
  .manifesto-cols { grid-template-columns: 1fr; gap: 0; }
  .manifesto-cols p { padding: 18px 0; border-top: 1px solid var(--line); }
  .step-list { grid-template-columns: 1fr; }
  .contact-links { grid-template-columns: 1fr; }
  .hero::before,
  .manifesto::before,
  .steps::before {
    width: 94vw;
    opacity: 0.14;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%);
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
  }
  .hero::before { opacity: 0.22; }
  .steps::before {
    opacity: 0.13;
    background-position: right top;
    -webkit-mask-image: linear-gradient(to bottom, #000, #000 30%, transparent 58%);
    mask-image: linear-gradient(to bottom, #000, #000 30%, transparent 58%);
  }
}

@media (max-width: 640px) {
  .plan-grid-2 { grid-template-columns: 1fr; max-width: 440px; }
  .plan-grid { gap: 14px; }
  .plan-card { padding: 24px 20px; }
  .plan-feats { margin: 18px 0 22px; }
}

@media (max-width: 820px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); max-width: 420px; }
}

@media (max-width: 680px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; }
}

@media (min-width: 681px) {
  .mobile-nav { display: none !important; }
}
