/* ================================================================
   FISCUM — Classifica
   Estilos exclusivos da página do produto Classifica.
   ================================================================ */


/* ===== Product Hero ===== */
.prod-hero {
  padding-top: calc(var(--nav-h) + 36px);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

/* prod-hero dot pattern removed */

.ph-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
  position: relative;
  z-index: 1;
  max-width: var(--w);
  margin: 0 auto;
}

.ph-left {
  padding: 80px 56px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ph-right {
  background: var(--g1);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ph-right grid pattern removed */

/* Badge */
.ph-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green2);
  border: 1px solid rgba(0, 135, 90, .2);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
  width: fit-content;
}

.ph-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-g 2s infinite;
}

@keyframes pulse-g {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 135, 90, .4); }
  50% { box-shadow: 0 0 0 5px rgba(0, 135, 90, 0); }
}

/* Hero heading */
.ph-h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .95;
  margin-bottom: 24px;
}

.ph-h1 em {
  font-style: italic;
  font-family: var(--serif);
  color: var(--blue);
}

/* Hero paragraph */
.ph-p {
  font-size: 18px;
  font-weight: 300;
  color: var(--g5);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 40px;
}

.ph-p strong {
  font-weight: 600;
  color: var(--black);
}

/* Hero actions */
.ph-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.btn-ph {
  padding: 15px 32px;
  font-size: 16px;
  font-weight: 600;
  background: var(--blue);
  color: #fff;
  border-radius: var(--r);
  cursor: pointer;
  transition: all .2s;
}

.btn-ph:hover {
  background: var(--blue-d);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.btn-ph-out {
  padding: 15px 24px;
  font-size: 14px;
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--border-m);
  border-radius: var(--r);
  cursor: pointer;
  transition: all .2s;
}

.btn-ph-out:hover {
  border-color: var(--g5);
}

/* Stats */
.ph-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.phs {
  flex: 1;
  border-right: 1px solid var(--border);
  padding-right: 24px;
}

.phs:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 24px;
}

.phs-n {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--black);
  line-height: 1;
}

.phs-n em {
  color: var(--blue);
  font-style: normal;
}

.phs-l {
  font-size: 12px;
  color: var(--g4);
  margin-top: 5px;
  font-family: var(--mono);
  letter-spacing: .02em;
}


/* ===== JSON card (hero right) ===== */
.json-card {
  background: var(--black);
  color: #C8C8C6;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.json-topbar {
  padding: 10px 16px;
  background: rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  gap: 8px;
}

.jdot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.jlabel {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, .45);
  margin-left: 8px;
  letter-spacing: .04em;
}

.json-body {
  padding: 22px 24px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.95;
  color: #C8C8C6;
  max-height: 420px;
  overflow-y: auto;
}

.jk { color: #9DBBFF; }
.js { color: #A8CC88; }
.jn { color: #F0A870; }
.jg { color: #4FFFAA; }
.jd { color: #777774; font-style: italic; }

.cur {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--blue);
  vertical-align: middle;
  animation: blink .85s step-end infinite;
  margin-left: 2px;
}


/* ===== Section eyebrow (classifica variant) ===== */
.sec-ey {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sec-ey::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--blue);
}

.sec-h2 em {
  font-style: italic;
  font-family: var(--serif);
  color: var(--blue);
}


/* ===== Features Grid ===== */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 48px;
}

.feat-cell {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  transition: background .2s;
}

.feat-cell:hover {
  background: var(--blue5);
}

.feat-cell:nth-child(3n) {
  border-right: none;
}

.feat-cell:nth-last-child(-n+3) {
  border-bottom: none;
}

.feat-icon {
  width: 44px;
  height: 44px;
  background: var(--blue4);
  border: 1px solid var(--border-b);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-h {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.feat-p {
  font-size: 14px;
  color: var(--g5);
  line-height: 1.7;
  font-weight: 300;
}

.feat-code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  background: var(--blue4);
  padding: 5px 10px;
  border-radius: var(--r);
  margin-top: 4px;
  letter-spacing: .04em;
}


/* ===== Endpoints table ===== */
.tbl-scroll-wrap .endpoints-tbl {
  margin-top: 0;
}

.tbl-scroll-wrap {
  margin-top: 40px;
}

.endpoints-tbl {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  border: 1px solid var(--border);
  min-width: 560px;
}

.endpoints-tbl thead tr {
  background: var(--black);
}

.endpoints-tbl th {
  padding: 14px 20px;
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  border-right: 1px solid rgba(255, 255, 255, .07);
  font-weight: 400;
}

.endpoints-tbl th:last-child {
  border-right: none;
}

.endpoints-tbl td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 13px;
  color: var(--g5);
  vertical-align: middle;
}

.endpoints-tbl td:last-child {
  border-right: none;
}

.endpoints-tbl tr:last-child td {
  border-bottom: none;
}

.endpoints-tbl tr:hover td {
  background: var(--blue5);
}

.ep-path {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--black);
  font-weight: 500;
}

.ep-desc {
  font-size: 13px;
  color: var(--g5);
}

.method-delete {
  background: var(--red2, #FEE2E2);
  color: var(--red, #DC2626);
}


/* ===== Response fields grid ===== */
.fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 40px;
}

.field-group {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
}

.field-group:last-child {
  border-right: none;
}

.fg-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--g4);
  margin-bottom: 16px;
}

.field-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.field-row:last-child {
  border-bottom: none;
}

.fr-name {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
}

.fr-type {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  flex-shrink: 0;
}

.fr-desc {
  font-size: 12px;
  color: var(--g4);
  line-height: 1.4;
  margin-top: 3px;
}


/* ===== Dark features ===== */
.dark-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.df-left {
  padding: 0 56px 0 0;
  border-right: 1px solid rgba(255, 255, 255, .07);
}

.df-right {
  padding: 0 0 0 56px;
}

.sec.bg-dark .sec-ey {
  color: rgba(204, 224, 255, .6);
}

.sec.bg-dark .sec-ey::before {
  background: rgba(204, 224, 255, .4);
}

.sec.bg-dark .sec-h2 {
  color: #fff;
}

.sec.bg-dark .sec-h2 em {
  color: var(--blue3);
}

.sec.bg-dark .sec-p {
  color: rgba(255, 255, 255, .5);
}

.df-feat {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  gap: 16px;
}

.df-feat:last-child {
  border-bottom: none;
}

.df-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue2);
  width: 30px;
  flex-shrink: 0;
  padding-top: 2px;
}

.df-body h3,
.df-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
}

.df-body p {
  font-size: 14px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.65;
  font-weight: 300;
}

.df-body p strong {
  color: rgba(255, 255, 255, .7);
  font-weight: 500;
}

.df-body code {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(255, 255, 255, .08);
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--blue3);
}


/* ===== How It Works grid ===== */
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 40px;
}

.hiw-step {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
}

.hiw-step:last-child {
  border-right: none;
}

.hiw-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g4);
  margin-bottom: 12px;
}

.hiw-h {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hiw-p {
  font-size: 13px;
  color: var(--g5);
  line-height: 1.65;
  font-weight: 300;
}

.hiw-code {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--blue4);
  color: var(--blue);
  padding: 5px 10px;
  border-radius: var(--r);
  margin-top: 10px;
  letter-spacing: .03em;
}


/* ===== Product CTA ===== */
.prod-cta {
  padding: 80px 0;
}

.prod-cta-inner {
  background: var(--blue);
  border-radius: var(--r-md);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.prod-cta-inner::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, .08) 0%, transparent 60%);
  pointer-events: none;
}

.pci-h {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.04em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 10px;
}

.pci-h em {
  font-style: italic;
  font-family: var(--serif);
  color: var(--blue3);
}

.pci-p {
  font-size: 16px;
  color: rgba(255, 255, 255, .65);
  font-weight: 300;
  line-height: 1.7;
}

.pci-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.pci-checks {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.pci-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

.pci-check span {
  color: rgba(204, 224, 255, .9);
}


/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fields-grid,
  .dark-features {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .ph-inner {
    grid-template-columns: 1fr;
  }

  .ph-left {
    padding: 48px 24px;
    border-right: none;
  }

  .ph-right {
    display: none;
  }

  .ph-stats {
    flex-direction: column;
    gap: 12px;
  }

  .phs {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 12px;
  }

  .phs:last-child {
    border-bottom: none;
    padding-left: 0;
    padding-bottom: 0;
  }

  .feat-grid {
    grid-template-columns: 1fr;
  }

  .feat-cell {
    border-right: none;
  }

  .feat-cell:nth-child(3n) {
    border-right: none;
  }

  .hiw-grid {
    grid-template-columns: 1fr;
  }

  .hiw-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .hiw-step:last-child {
    border-bottom: none;
  }

  .dark-features {
    gap: 32px;
  }

  .df-left {
    padding: 0;
    border-right: none;
  }

  .df-right {
    padding: 0;
  }

  .prod-cta-inner {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .pci-btns {
    flex-direction: column;
  }

  .fields-grid {
    gap: 0;
  }

  .field-group {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .field-group:last-child {
    border-bottom: none;
  }
}
