/* =========================================================
   Páginas internas — JNS Capital
   Complementa css/styles.css, extraído da prévia aprovada.
   ========================================================= */

.nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.4rem, 7vw, 5.8rem) 0 clamp(3.2rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(620px 380px at 14% 0%, rgb(228 193 122 / 12%), transparent 65%),
    radial-gradient(600px 420px at 88% 18%, rgb(37 99 160 / 18%), transparent 70%),
    linear-gradient(180deg, #081827 0%, var(--bg) 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgb(0 0 0 / 62%), transparent 86%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 280px;
  right: -100px;
  top: 20px;
  border: 1px solid rgb(228 193 122 / 12%);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgb(228 193 122 / 3%), 0 0 0 86px rgb(228 193 122 / 2%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: #7f92a6;
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .045em;
}

.breadcrumb a {
  color: #a8b8c9;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.breadcrumb a:hover {
  color: var(--gold);
  text-decoration-color: rgb(228 193 122 / 55%);
}

.breadcrumb [aria-current="page"] { color: #d9e3ed; }

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.page-hero h1 {
  max-width: 15ch;
  margin: 12px 0 20px;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
}

.page-hero .eyebrow { margin-bottom: 0; }

.page-hero .lead {
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(.94rem, 1.25vw, 1.06rem);
  line-height: 1.72;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.page-hero-actions .btn { min-height: 47px; }

.page-hero-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 54ch;
  margin-top: 22px;
  color: #879aac;
  font-size: .72rem;
  line-height: 1.6;
}

.page-hero-note svg { flex: 0 0 auto; margin-top: 2px; color: var(--gold); }

.summary-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 22px;
  background:
    radial-gradient(220px 150px at 100% 100%, rgb(228 193 122 / 12%), transparent 72%),
    linear-gradient(150deg, rgb(255 255 255 / 9%), rgb(255 255 255 / 2%));
  box-shadow: var(--shadow-soft);
}

.summary-card .card-label {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.summary-title {
  max-width: 22ch;
  margin-bottom: 15px;
  color: #f1f5fa;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  letter-spacing: -.045em;
  line-height: 1.12;
}

.summary-list {
  display: grid;
  gap: 11px;
  margin: 0;
}

.summary-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #c9d5e1;
  font-size: .79rem;
  line-height: 1.55;
}

.summary-list .mini-check {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--gold);
}

.summary-card .btn {
  width: 100%;
  margin-top: 20px;
  justify-content: center;
  font-size: .72rem;
}

.summary-foot {
  margin-top: 14px;
  color: #8a9caf;
  font-size: .66rem;
  line-height: 1.55;
  text-align: center;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: clamp(2.4rem, 6vw, 5rem);
  align-items: start;
}

.prose {
  min-width: 0;
  max-width: 760px;
}

.content-block {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.content-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.prose h2 {
  margin-bottom: 15px;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
}

.prose h2:not(:first-child) { margin-top: 8px; }

.prose h3 {
  margin: 24px 0 9px;
  color: #edf3f9;
  font-size: 1.08rem;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.76;
}

.prose p + p { margin-top: 13px; }
.prose p { margin-bottom: 0; }

.prose ul,
.prose ol {
  display: grid;
  gap: 10px;
  margin: 17px 0 0;
}

.prose ul li {
  position: relative;
  padding-left: 20px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgb(228 193 122 / 8%);
}

.prose ol {
  counter-reset: item;
}

.prose ol li {
  position: relative;
  padding-left: 30px;
  counter-increment: item;
}

.prose ol li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .14em;
  color: var(--gold);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.prose a:not(.btn) {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgb(228 193 122 / 42%);
  text-underline-offset: 3px;
}

.prose a:hover { text-decoration-color: var(--gold); }

.notice {
  margin: 22px 0;
  padding: 17px 19px;
  border-left: 2px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgb(228 193 122 / 10%), rgb(255 255 255 / 2%));
  color: #c5d1de;
  font-size: .81rem;
  line-height: 1.7;
}

.notice strong { color: var(--gold); }

.compare-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: .78rem;
  line-height: 1.6;
}

.compare-table th,
.compare-table td {
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.compare-table th {
  color: var(--gold);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  background: rgb(255 255 255 / 3%);
}

.compare-table td { color: var(--muted); }
.compare-table tr:last-child td { border-bottom: 0; }

.side-card {
  position: sticky;
  top: 106px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    radial-gradient(170px 130px at 100% 100%, rgb(228 193 122 / 9%), transparent 70%),
    linear-gradient(145deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 2%));
}

.side-card .card-label { margin-bottom: 10px; }

.side-card h2 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  letter-spacing: -.035em;
}

.side-card p {
  color: var(--muted);
  font-size: .77rem;
  line-height: 1.65;
}

.side-card .btn {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
  font-size: .7rem;
}

.side-card .side-list {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.side-card .side-list a,
.side-card .side-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b5c3d2;
  font-size: .72rem;
  line-height: 1.5;
}

.side-card .side-list a:hover { color: var(--gold); }
.side-card .side-list svg { flex: 0 0 auto; color: var(--gold); }

.audience-block {
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 1.5%));
}

.audience-block > strong {
  display: block;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 10px;
}

.audience-tags .tag {
  margin-top: 0;
  padding: 5px 9px;
  font-size: .58rem;
  letter-spacing: .04em;
  text-transform: none;
}

.audience-block p {
  max-width: 68ch;
  margin-top: 8px;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.65;
}

.audience-block p strong { color: var(--gold); }

.section-soft {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgb(255 255 255 / 2%), transparent);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 25px;
}

.related-card {
  display: flex;
  flex-direction: column;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(255 255 255 / 3%);
  transition: transform 180ms var(--ease), border-color 180ms ease, background 180ms ease;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: rgb(228 193 122 / 42%);
  background: rgb(255 255 255 / 5%);
}

.related-card h3 {
  margin-bottom: 7px;
  color: #edf3f9;
  font-size: .94rem;
}

.related-card p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.55;
}

.related-card span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 750;
}

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.8rem, 6vw, 4.8rem) 0;
  border-top: 1px solid rgb(228 193 122 / 18%);
  border-bottom: 1px solid rgb(228 193 122 / 18%);
  background:
    radial-gradient(500px 300px at 12% 20%, rgb(228 193 122 / 15%), transparent 70%),
    linear-gradient(120deg, #0a1c2e, #081827 55%, #0b1b2d);
}

.cta-band::after {
  content: "JNS";
  position: absolute;
  z-index: -1;
  right: 2%;
  bottom: -76px;
  color: rgb(255 255 255 / 3%);
  font-family: var(--font-display);
  font-size: clamp(10rem, 22vw, 20rem);
  font-weight: 900;
  letter-spacing: -.12em;
  line-height: 1;
  pointer-events: none;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-band h2 {
  max-width: 16ch;
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.cta-band p {
  max-width: 46ch;
  color: var(--muted);
  font-size: .88rem;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  flex: 0 0 auto;
}

.cta-band-actions .btn { min-height: 47px; }

.channel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.channel-card {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(255 255 255 / 3%);
}

.channel-card b {
  display: block;
  margin-bottom: 4px;
  color: #edf3f9;
  font-size: .78rem;
}

.channel-card span,
.channel-card a {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.55;
}

.channel-card a:hover { color: var(--gold); }

.about-page-hero .page-hero-grid { align-items: center; }

.about-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: #8ea2b5;
  font-size: .7rem;
  line-height: 1.5;
}

.about-signature .brand-mark { flex: 0 0 auto; }

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.about-fact {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(255 255 255 / 3%);
}

.about-fact strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-fact span {
  color: var(--muted);
  font-size: .77rem;
  line-height: 1.55;
}

.policy-content { max-width: 820px; }

.policy-content h2 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.policy-content h2:first-child { margin-top: 0; }

.policy-content p,
.policy-content li {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.75;
}

.policy-content ul {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.policy-content li {
  position: relative;
  padding-left: 19px;
}

.policy-content li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.pending-box {
  margin: 20px 0;
  padding: 18px;
  border: 1px dashed rgb(228 193 122 / 38%);
  border-radius: 12px;
  background: rgb(228 193 122 / 5%);
  color: #c7d3df;
  font-size: .82rem;
  line-height: 1.7;
}

.pending-box strong { color: var(--gold); }

.page-404 {
  display: grid;
  min-height: 62vh;
  place-items: center;
  padding: 4rem 0;
}

.page-404-inner { max-width: 560px; text-align: center; }

.page-404 .error-code {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 9rem);
  font-weight: 900;
  letter-spacing: -.1em;
  line-height: .9;
}

.page-404 h1 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3rem); }

.page-404 p {
  max-width: 44ch;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: .9rem;
}

.page-404-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
}

.whatsapp-float {
  transition: opacity 200ms ease, transform 200ms var(--ease), visibility 200ms ease;
}

.wa-fallback[hidden] { display: none; }

.whatsapp-float.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
}

.text-muted { color: var(--muted); }

@media (max-width: 980px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-hero .summary-card { max-width: 620px; }
  .content-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .cta-band-inner { align-items: flex-start; flex-direction: column; gap: 23px; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1 1 210px; justify-content: center; }
}

@media (max-width: 720px) {
  .page-hero { padding-top: 2.7rem; }
  .page-hero h1 { max-width: 14ch; }
  .page-hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .summary-card { padding: 22px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { min-height: 0; }
  .channel-list { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .breadcrumb { margin-bottom: 23px; }
  .prose p, .prose li { font-size: .86rem; }
  .cta-band-actions .btn { flex-basis: 100%; }
  .page-404-actions .btn { width: 100%; justify-content: center; }
}
