/* ================================================================
   FISCUM — Precos (CSS especifico da pagina)
   Componentes exclusivos: plan cards, tier cards, workspace calc,
   sticky toggle, filial table.
   ================================================================ */

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

/* page-hero dot pattern removed */

.page-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 56px;
}

.ph-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

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

.ph-eyebrow::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--blue);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
  margin-bottom: 18px;
}

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

.page-hero p {
  font-size: 17px;
  font-weight: 300;
  color: var(--g5);
  line-height: 1.75;
  margin-bottom: 0;
}


/* ===== Sticky Toggle ===== */
.sticky-toggle {
  position: sticky;
  top: 101px;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.sticky-toggle-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 56px;
}

.toggle-label {
  font-size: 14px;
  color: var(--g5);
}

.toggle-sw {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--g3);
  border-radius: 12px;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}

.toggle-sw.on {
  background: var(--blue);
}

.toggle-sw .toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}

.toggle-sw.on .toggle-knob {
  transform: translateX(20px);
}

.annual-save {
  background: var(--green2);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--mono);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(0, 135, 90, .2);
}


/* ===== Pricing Sections ===== */
.pricing-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.pricing-section.bg-g {
  background: var(--g1);
}

.sec-title {
  margin-bottom: 48px;
}

.sec-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--g5);
  line-height: 1.75;
  max-width: 600px;
  margin-top: 10px;
}


/* ===== Plan Cards ===== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.plan-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid var(--border);
  background: var(--white);
  position: relative;
  transition: background .2s;
}

.plan-card:last-child {
  border-right: none;
}

.plan-card:hover {
  background: var(--blue5);
}

.plan-card.featured {
  background: var(--blue);
  color: #fff;
}

.plan-card.featured:hover {
  background: var(--blue-d);
}

.plan-card.featured .plan-track {
  color: rgba(255, 255, 255, .6);
}

.plan-card.featured .plan-price-sub {
  color: rgba(255, 255, 255, .6);
}

.plan-card.featured .plan-item {
  color: rgba(255, 255, 255, .7);
}

.plan-card.featured .plan-item svg path {
  stroke: rgba(255, 255, 255, .9);
}

.plan-card.featured .plan-div {
  background: rgba(255, 255, 255, .15);
}

.plan-card.featured .plan-tag {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

.plan-card.featured .plan-note {
  color: rgba(255, 255, 255, .55);
}

.most-pop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
}

.featured .most-pop {
  background: rgba(255, 255, 255, .4);
}

.plan-track {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g4);
}

.plan-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.plan-price {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}

.plan-price sup {
  font-size: 16px;
  vertical-align: top;
  margin-top: 6px;
}

.plan-price-sub {
  font-size: 13px;
  color: var(--g4);
  font-weight: 300;
}

.plan-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  background: var(--blue4);
  color: var(--blue);
  padding: 5px 10px;
  border-radius: 4px;
  line-height: 1.5;
}

.plan-div {
  height: 1px;
  background: var(--border);
}

.plan-items {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.plan-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--g5);
  line-height: 1.45;
}

.plan-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-note {
  font-size: 11px;
  color: var(--g4);
  font-family: var(--mono);
  letter-spacing: .03em;
  line-height: 1.6;
}

.plan-btn {
  margin-top: auto;
  padding: 11px 16px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  background: transparent;
  border: 1.5px solid var(--border-m);
  color: var(--black);
  transition: all .2s;
  cursor: pointer;
}

.plan-btn:hover {
  border-color: var(--g4);
}

.featured .plan-btn {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}

.featured .plan-btn:hover {
  background: rgba(255, 255, 255, .25);
}


/* ===== Workspaces Explain ===== */
.ws-explain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 48px;
}

.ws-callout {
  background: var(--blue4);
  border: 1px solid var(--border-b);
  border-radius: var(--r-lg);
  padding: 28px 32px;
}

.ws-callout h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}

.ws-callout p {
  font-size: 15px;
  color: var(--g5);
  line-height: 1.75;
  font-weight: 300;
}

.ws-formula {
  background: var(--black);
  border-radius: var(--r-md);
  padding: 24px;
  font-family: var(--mono);
  font-size: 13px;
  color: #C8C8C6;
  line-height: 2;
  margin-top: 20px;
}

.f-blue {
  color: #9DBBFF;
}

.f-green {
  color: #4FFFAA;
}

.f-dim {
  color: #555552;
}


/* ===== Workspace Calculator ===== */
.ws-calc {
  background: var(--blue4);
  border: 1px solid var(--border-b);
  border-radius: var(--r-lg);
  padding: 32px 36px;
}

.ws-calc-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}

.ws-calc-slider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.ws-calc-slider label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g4);
  white-space: nowrap;
}

.ws-calc-slider input[type="range"] {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border);
  border-radius: 3px;
  outline: none;
  border: none;
  padding: 0;
}

.ws-calc-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}

.ws-calc-slider input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}

.ws-calc-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--blue);
  min-width: 56px;
  text-align: center;
}

.ws-calc-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.ws-calc-plan {
  font-size: 15px;
  color: var(--g5);
}

.ws-calc-plan strong {
  color: var(--blue);
  font-weight: 700;
}

.ws-calc-price {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--black);
}

.ws-calc-price span {
  font-size: 14px;
  font-weight: 300;
  color: var(--g4);
  letter-spacing: 0;
}

.ws-calc-savings {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  font-family: var(--mono);
  letter-spacing: .02em;
}

.ws-calc-per-ws {
  font-size: 14px;
  color: var(--g5);
  font-family: var(--mono);
  letter-spacing: .02em;
}


/* ===== Filial Pricing ===== */
.filial-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}

.filial-table th {
  padding: 12px 20px;
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g4);
  background: var(--g1);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.filial-table th:last-child {
  border-right: none;
}

.filial-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 14px;
  color: var(--g5);
}

.filial-table td:last-child {
  border-right: none;
}

.filial-table tr:last-child td {
  border-bottom: none;
}

.filial-table tr:hover td {
  background: var(--blue5);
}

.td-plan-name {
  font-weight: 700;
  color: var(--black);
}

.td-included-color {
  color: var(--blue);
  font-weight: 600;
}

.td-price-color {
  font-weight: 600;
  color: var(--black);
}

.discount-note {
  font-size: 12px;
  color: var(--g4);
  font-family: var(--mono);
}


/* ===== Developer Tier Cards ===== */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.tier-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--border);
  background: var(--white);
  position: relative;
  transition: background .2s;
}

.tier-card:last-child {
  border-right: none;
}

.tier-card:hover {
  background: var(--blue5);
}

.tier-card.hot {
  background: var(--blue);
  color: #fff;
}

.tier-card.hot:hover {
  background: var(--blue-d);
}

.tier-card.hot .tier-label {
  color: rgba(255, 255, 255, .6);
}

.tier-card.hot .tier-volume {
  color: #fff;
}

.tier-card.hot .tier-volume span {
  color: rgba(255, 255, 255, .6);
}

.tier-card.hot .tier-price-sub {
  color: rgba(255, 255, 255, .6);
}

.tier-card.hot .tier-rate {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

.tier-card.hot .tier-div {
  background: rgba(255, 255, 255, .15);
}

.tier-card.hot .tier-feat {
  color: rgba(255, 255, 255, .7);
}

.tier-card.hot .tier-feat::before {
  color: rgba(255, 255, 255, .5);
}

.tier-card.tier-enterprise {
  background: var(--g1);
}

.tier-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g4);
}

.tier-volume {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--black);
}

.tier-volume span {
  font-size: 13px;
  font-weight: 400;
  color: var(--g4);
  letter-spacing: 0;
}

.tier-price {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}

.tier-price sup {
  font-size: 14px;
  vertical-align: top;
  margin-top: 5px;
}

.tier-price-sub {
  font-size: 13px;
  color: var(--g4);
  font-weight: 300;
}

.tier-rate {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue4);
  padding: 5px 10px;
  border-radius: var(--r);
  display: inline-block;
  width: fit-content;
}

.tier-div {
  height: 1px;
  background: var(--border);
}

.tier-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-feat {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--g5);
  line-height: 1.45;
}

.tier-feat::before {
  content: '\2192';
  color: var(--blue);
  flex-shrink: 0;
  font-size: 11px;
  margin-top: 2px;
}

.tier-btn {
  margin-top: auto;
  padding: 11px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  background: transparent;
  border: 1.5px solid var(--border-m);
  color: var(--black);
  transition: all .2s;
  cursor: pointer;
}

.tier-btn:hover {
  border-color: var(--g4);
}

.tier-btn-hot {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}

.tier-btn-hot:hover {
  background: rgba(255, 255, 255, .25);
  border-color: rgba(255, 255, 255, .5);
}


/* ===== Partners ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: 48px;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.partner-tier {
  background: var(--white);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background .2s;
}

.partner-tier:hover {
  background: var(--blue5);
}


/* ===== FAQ Pricing ===== */
.faq-pricing {
  margin-top: 48px;
}


/* ===== CTA Final ===== */
.pricing-cta {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.pricing-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -.04em;
  margin-bottom: 14px;
}

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

.pricing-cta p {
  font-size: 16px;
  color: var(--g5);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.75;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ===== Check icon SVG ===== */
.chk {
  flex-shrink: 0;
  margin-top: 2px;
}


/* ===== Responsive — 1200px ===== */
@media (max-width: 1200px) {
  .tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

/* ===== Responsive — 768px ===== */
@media (max-width: 768px) {
  .page-hero-inner {
    padding: 0 24px;
  }

  .sticky-toggle-inner {
    padding: 0 24px;
  }

  .plans-grid,
  .tier-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .ws-explain {
    grid-template-columns: 1fr;
  }

  .ws-calc-result {
    grid-template-columns: 1fr;
  }

  .ws-calc-slider {
    flex-wrap: wrap;
  }

  /* Filial table: scroll horizontal em mobile */
  .filial-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .plan-card {
    padding: 28px 20px;
  }

  .tier-card {
    padding: 28px 20px;
  }
}
