/* ===========================================================
   Fagner Mauer — Perito Judicial
   Funil: index (carta) -> kit
   =========================================================== */

:root {
  --bg: #0c0c0e;
  --bg-alt: #151517;
  --bg-card: #1a1a1d;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --gold: #c9a227;
  --gold-light: #e6c85c;
  --gold-dim: rgba(201, 162, 39, 0.14);

  --text: #f3efe6;
  --text-muted: #b9b3a4;
  --text-faint: #837f76;

  --serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1120px;
  --radius: 10px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Textura sutil de grão — tira a chapadez do preto sólido, quase imperceptível. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Glow ambiente alternado por seção — evita a parede preta plana entre blocos. */
section {
  position: relative;
  overflow: hidden;
}

section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(45% 60% at 90% 0%, rgba(201, 162, 39, 0.07), transparent 70%);
}

section:nth-of-type(even)::before {
  background: radial-gradient(45% 60% at 8% 100%, rgba(201, 162, 39, 0.06), transparent 70%);
}

section > .container {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--text);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p {
  margin: 0 0 1.1em;
  color: var(--text-muted);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Icons ---------- */
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-lg {
  width: 26px;
  height: 26px;
  stroke-width: 1.5;
}

.icon-circle {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #14120a;
  box-shadow: 0 10px 30px -12px rgba(201, 162, 39, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(201, 162, 39, 0.7);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  padding: 92px 0 70px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(201, 162, 39, 0.10), transparent 70%),
    var(--bg);
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
}

.hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 6px 0 26px;
  font-family: var(--serif);
}

.hero-price .amount {
  font-size: 2.4rem;
  color: var(--gold-light);
  font-weight: 700;
  white-space: nowrap;
}

.hero-price .label {
  font-size: 0.95rem;
  color: var(--text-faint);
  font-family: var(--sans);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.badge .icon {
  width: 16px;
  height: 16px;
}

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

/* ---------- Hero: layout em 2 colunas (texto + painel de destaque) ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 34px 60px -30px rgba(0, 0, 0, 0.75);
}

/* ---------- Hero: foto grande em tela cheia + card flutuante ---------- */
.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(8, 8, 9, 0.2) 58%, rgba(8, 8, 9, 0.92) 100%),
    linear-gradient(120deg, rgba(8, 8, 9, 0.3), transparent 45%);
}

.hero-float {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  background: rgba(20, 19, 17, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-id {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.panel-id strong {
  font-family: var(--serif);
  color: #fff;
  font-size: 1.02rem;
}

.panel-id span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}

.float-stats {
  display: flex;
  gap: 22px;
}

.float-stats .num {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold-light);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.float-stats .desc {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  max-width: 140px;
}

.hero-panel .panel-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
}

.hero-panel .stat {
  box-shadow: none;
  padding: 0;
  border: 0;
  background: none;
}

.hero-panel .stat + .stat {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.hero-panel .hero-price {
  margin: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.hero-panel .badge {
  margin-bottom: 0;
}

.hero-panel .panel-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
  border-left: 2px solid var(--gold);
  padding-left: 14px;
  margin: 0;
}

.hero-panel .btn {
  margin-top: 4px;
}

/* Faixa de credenciais/badges abaixo do lede do hero */
.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 6px;
}

.credential-row .badge {
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text-muted);
  font-weight: 500;
}

.credential-row .badge .icon {
  color: var(--gold-light);
}

/* ---------- Stat strip ---------- */
.stat-strip {
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 34px -28px rgba(0, 0, 0, 0.6);
}

.stat .num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}

.stat .desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 260px;
}

/* ---------- Sections ---------- */
section {
  padding: 84px 0;
}

section + section {
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  max-width: 780px;
  margin-bottom: 44px;
}

.section-head .sec-num {
  flex: none;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.85;
  color: rgba(230, 200, 92, 0.16);
}

.section-head-text {
  min-width: 0;
}

.section-head-text .eyebrow {
  margin-top: 6px;
}

/* Zebra: alterna o fundo das seções de conteúdo para quebrar a monotonia do preto */
section:nth-of-type(even):not(.cta-band) {
  background-color: var(--bg-alt);
}

.prose p {
  font-size: 1.04rem;
}

.prose-lg {
  max-width: 760px;
}

/* Chips — resume pontos-chave do texto acima em formato escaneável */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.chip .icon-circle {
  width: 30px;
  height: 30px;
}

.chip .icon {
  width: 15px;
  height: 15px;
}

/* Pull quote / philosophy */
.pull-quote {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--text);
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 26px;
  margin: 0 0 32px;
}

.pull-quote::before {
  content: "\201C";
  position: absolute;
  top: -14px;
  left: -4px;
  font-family: var(--serif);
  font-size: 4.5rem;
  color: var(--gold-dim);
  line-height: 1;
  pointer-events: none;
}

.quote-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 40px -28px rgba(0, 0, 0, 0.65);
}

.quote-block::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 24px;
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--gold-dim);
  line-height: 1;
}

.quote-block p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--text);
  margin: 0;
}

.quote-cite {
  display: block;
  margin-top: 20px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.88rem;
  color: var(--text-faint);
}

/* ---------- Cards / grid ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 40px -28px rgba(0, 0, 0, 0.65);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 28px 46px -24px rgba(0, 0, 0, 0.7);
}

.card .pillar-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.card .pillar-badge .icon-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: #14120a;
}

.card .pillar-num {
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 0;
  font-size: 0.97rem;
}

/* Offer cards (index -> products) */
.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 40px -28px rgba(0, 0, 0, 0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.offer-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.offer-card .offer-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.offer-card .offer-tag {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.offer-card .offer-price {
  font-family: var(--serif);
  color: var(--gold-light);
  font-size: 1.6rem;
  font-weight: 700;
}

.offer-card p {
  flex-grow: 1;
}

/* Checklist */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.check-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 16px 30px -26px rgba(0, 0, 0, 0.6);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.check-list li:hover {
  border-color: var(--border-strong);
  transform: translateX(3px);
}

.check-list .mark {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--serif);
}

.check-list strong {
  color: var(--text);
  display: block;
  margin-bottom: 3px;
}

.check-list span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Order bump */
.bump {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--gold-dim);
  border: 1px dashed rgba(201, 162, 39, 0.5);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 26px;
}

.bump .bump-tag {
  flex: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: #14120a;
  background: var(--gold-light);
  padding: 6px 12px;
  border-radius: 999px;
}

.bump p {
  margin: 6px 0 0;
  color: var(--text);
}

.fine-print {
  font-size: 0.85rem;
  color: var(--text-faint);
  font-style: italic;
  margin-top: 18px;
}

/* ---------- Proof / gallery ---------- */
.proof-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.proof-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 30px 50px -28px rgba(0, 0, 0, 0.7);
}

.proof-item:nth-child(2) {
  margin-top: 34px;
}

.proof-item .chrome-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.proof-item .chrome-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.proof-item img {
  width: 100%;
  height: auto;
}

.proof-item figcaption {
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 90px 0;
}

.cta-band h2 {
  max-width: 620px;
  margin: 0 auto 14px;
}

.cta-band p {
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

footer .foot-name {
  font-family: var(--serif);
  color: var(--text);
}

footer .foot-cred {
  font-size: 0.85rem;
  color: var(--text-faint);
  max-width: 520px;
}

/* ---------- Reveal on scroll ----------
   Estado inicial e animação ficam a cargo do GSAP/ScrollTrigger (main.js),
   que aplica autoAlpha/transform via inline style. Sem CSS aqui: se o
   script falhar ao carregar, o conteúdo já nasce visível — nunca fica
   preso em opacity:0. */

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .proof-gallery { grid-template-columns: 1fr; }
  .proof-item:nth-child(2) { margin-top: 0; }
  .stat-strip .container { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { min-height: 340px; }
}

@media (max-width: 640px) {
  .section-head { gap: 14px; }
  .section-head .sec-num { font-size: 2rem; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 24px 20px;
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 10px 0;
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  section {
    padding: 60px 0;
  }

  .quote-block {
    padding: 30px 26px;
  }
}
