/* CSS das páginas de serviço.
   No protótipo isso vinha em <style> dentro de cada página; aqui virou
   um arquivo só, carregado apenas nas páginas de serviço. */

.service-intro {
      padding: 100px 0;
      background: var(--dark-mid);
    }

.service-intro-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

.service-intro-text h2 {
      font-size: clamp(2rem, 3.5vw, 2.8rem);
      font-weight: 900;
      color: var(--white);
      letter-spacing: -.03em;
      margin-bottom: 24px;
      line-height: 1.1;
    }

.service-intro-text p {
      font-size: 1rem;
      color: rgba(255,255,255,.55);
      line-height: 1.8;
      margin-bottom: 20px;
    }

.service-intro-visual {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
    }

.service-stat-card {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.06);
      padding: 32px 28px;
      transition: background var(--t);
    }

.service-stat-card:hover { background: rgba(255,255,255,.07); }

.service-stat-card:first-child { border-top-left-radius: 4px; }

.service-stat-card:nth-child(2) { border-top-right-radius: 4px; }

.service-stat-card:nth-child(3) { border-bottom-left-radius: 4px; }

.service-stat-card:last-child { border-bottom-right-radius: 4px; }

.service-stat-num {
      font-family: var(--ff-head);
      font-size: 2.4rem;
      font-weight: 900;
      color: var(--white);
      letter-spacing: -.04em;
      line-height: 1;
      margin-bottom: 6px;
    }

.service-stat-num span { color: var(--red); }

.service-stat-label {
      font-size: .8rem;
      color: rgba(255,255,255,.4);
      font-family: var(--ff-head);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .08em;
    }

/* PRODUCTS */
    .service-products {
      padding: 100px 0;
      background: var(--white);
    }

.products-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 60px;
    }

.product-card {
      border: 1.5px solid var(--light);
      padding: 36px 32px;
      border-radius: 2px;
      transition: all var(--t);
      position: relative;
      overflow: hidden;
    }

.product-card::before {
      content: '';
      position: absolute;
      left: 0; top: 0; bottom: 0;
      width: 3px;
      background: var(--light);
      transition: background var(--t);
    }

.product-card:hover { border-color: rgba(172,23,45,.2); box-shadow: 0 8px 40px rgba(0,0,0,.06); }

.product-card:hover::before { background: var(--red); }

.product-icon {
      width: 52px;
      height: 52px;
      background: var(--off-white);
      border-radius: 2px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--red);
      margin-bottom: 20px;
    }

.product-name {
      font-family: var(--ff-head);
      font-size: 1rem;
      font-weight: 800;
      color: var(--dark);
      margin-bottom: 10px;
    }

.product-desc {
      font-size: .88rem;
      color: var(--gray);
      line-height: 1.7;
    }

/* PROCESS */
    .service-process {
      padding: 100px 0;
      background: var(--off-white);
    }

.process-steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      margin-top: 60px;
      position: relative;
    }

.process-steps::before {
      content: '';
      position: absolute;
      top: 32px;
      left: calc(12.5% + 24px);
      right: calc(12.5% + 24px);
      height: 1px;
      background: var(--light);
    }

.process-step {
      text-align: center;
      padding: 0 20px;
      position: relative;
    }

.process-step-num {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: var(--white);
      border: 2px solid var(--light);
      font-family: var(--ff-head);
      font-size: 1.1rem;
      font-weight: 900;
      color: var(--dark);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 24px;
      position: relative;
      z-index: 1;
      transition: all var(--t);
    }

.process-step:hover .process-step-num {
      background: var(--red);
      border-color: var(--red);
      color: var(--white);
    }

.process-step-title {
      font-family: var(--ff-head);
      font-size: .9rem;
      font-weight: 800;
      color: var(--dark);
      margin-bottom: 10px;
    }

.process-step-desc {
      font-size: .82rem;
      color: var(--gray);
      line-height: 1.65;
    }

/* SERVICE FAQ */
    .service-faq { padding: 80px 0; background: var(--white); }

.service-faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      margin-top: 60px;
    }

.faq-item { border-bottom: 1px solid var(--light); padding-bottom: 28px; margin-bottom: 28px; }

.faq-item:last-child { border: none; margin: 0; }

.faq-q {
      font-family: var(--ff-head);
      font-size: .95rem;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 12px;
    }

.faq-a { font-size: .88rem; color: var(--gray); line-height: 1.7; }

@media (max-width: 1024px) {
      .service-intro-grid { grid-template-columns: 1fr; gap: 48px; }
      .products-grid { grid-template-columns: 1fr 1fr; }
      .process-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
      .process-steps::before { display: none; }
      .service-faq-grid { grid-template-columns: 1fr; gap: 0; }
    }

@media (max-width: 600px) {
      .products-grid { grid-template-columns: 1fr; }
      .service-intro-visual { grid-template-columns: 1fr 1fr; }
    }

.service-intro-text h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--white); letter-spacing: -.03em; margin-bottom: 24px; line-height: 1.1; }

.protection-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

.prot-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); padding: 28px 24px; }

.prot-card:first-child { border-radius: 4px 0 0 0; }

.prot-card:nth-child(2) { border-radius: 0 4px 0 0; }

.prot-card:nth-child(3) { border-radius: 0 0 0 4px; }

.prot-card:last-child { border-radius: 0 0 4px 0; }

.prot-card-icon { color: var(--red); margin-bottom: 14px; }

.prot-card-title { font-family: var(--ff-head); font-size: .82rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }

.prot-card-desc { font-size: .78rem; color: rgba(255,255,255,.4); line-height: 1.6; }

.service-products { padding: 100px 0; background: var(--white); }

.product-name { font-family: var(--ff-head); font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }

.service-process { padding: 100px 0; background: var(--off-white); }

.process-step-num { width: 64px; height: 64px; border-radius: 50%; background: var(--white); border: 2px solid var(--light); font-family: var(--ff-head); font-size: 1.1rem; font-weight: 700; color: var(--dark); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; position: relative; z-index: 1; transition: all var(--t); }

.process-step-title { font-family: var(--ff-head); font-size: .9rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }

@media (max-width: 1024px) {
      .service-intro-grid { grid-template-columns: 1fr; gap: 48px; }
      .products-grid { grid-template-columns: 1fr 1fr; }
      .process-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
      .process-steps::before { display: none; }
    }

@media (max-width: 600px) { .products-grid { grid-template-columns: 1fr; } }

.goals-visual { display: flex; flex-direction: column; gap: 16px; }

.goal-item { display: flex; align-items: center; gap: 20px; padding: 20px 24px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 2px; transition: background var(--t); }

.goal-item:hover { background: rgba(255,255,255,.07); }

.goal-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(172,23,45,.15); border: 1px solid rgba(172,23,45,.3); display: flex; align-items: center; justify-content: center; color: var(--red); flex-shrink: 0; }

.goal-text {}

.goal-name { font-family: var(--ff-head); font-size: .88rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }

.goal-period { font-size: .78rem; color: rgba(255,255,255,.35); }

.goal-progress { margin-left: auto; flex-shrink: 0; text-align: right; }

.goal-pct { font-family: var(--ff-head); font-size: 1.2rem; font-weight: 900; color: var(--white); line-height: 1; }

.goal-pct-label { font-size: .68rem; color: rgba(255,255,255,.3); }

.prev-visual { display: flex; flex-direction: column; gap: 3px; }

.prev-bar-row { display: flex; align-items: center; gap: 16px; }

.prev-bar-label { font-family: var(--ff-head); font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.4); width: 56px; text-align: right; flex-shrink: 0; }

.prev-bar-track { flex: 1; height: 36px; background: rgba(255,255,255,.04); border-radius: 2px; overflow: hidden; position: relative; }

.prev-bar-fill { height: 100%; background: linear-gradient(90deg, var(--red-dim), var(--red)); border-radius: 2px; display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; transition: width 1s var(--ease); }

.prev-bar-value { font-family: var(--ff-head); font-size: .72rem; font-weight: 800; color: var(--white); }

/* COMPARISON */
    .plan-compare { padding: 100px 0; background: var(--white); }

.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 60px; }

.plan-card {
      border: 1.5px solid var(--light);
      border-radius: 4px;
      overflow: hidden;
    }

.plan-card-header {
      padding: 36px 36px 28px;
      background: var(--off-white);
      border-bottom: 1px solid var(--light);
    }

.plan-card.highlight-card .plan-card-header { background: var(--dark); }

.plan-card-label {
      font-family: var(--ff-head);
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--red);
      margin-bottom: 8px;
    }

.plan-name { font-family: var(--ff-head); font-size: 2rem; font-weight: 900; color: var(--dark); letter-spacing: -.04em; }

.plan-card.highlight-card .plan-name { color: var(--white); }

.plan-subtitle { font-size: .88rem; color: var(--gray); margin-top: 6px; }

.plan-card.highlight-card .plan-subtitle { color: rgba(255,255,255,.4); }

.plan-card-body { padding: 32px 36px; }

.plan-feature {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid var(--light);
    }

.plan-feature:last-child { border: none; }

.plan-feature-icon { color: var(--red); flex-shrink: 0; margin-top: 1px; }

.plan-feature-text { font-size: .88rem; color: var(--gray); line-height: 1.6; }

.plan-feature-text strong { color: var(--dark); display: block; font-size: .9rem; margin-bottom: 2px; }

/* TABELAS IR */
    .tax-tables { padding: 80px 0; background: var(--off-white); }

.tax-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }

.tax-table-block h4 { font-family: var(--ff-head); font-size: .88rem; font-weight: 800; color: var(--dark); margin-bottom: 16px; }

.tax-table { width: 100%; border-collapse: collapse; font-size: .85rem; }

.tax-table th { font-family: var(--ff-head); font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); background: var(--dark); padding: 12px 16px; text-align: left; }

.tax-table td { padding: 11px 16px; border-bottom: 1px solid var(--light); color: var(--gray); background: var(--white); }

.tax-table .highlight { color: var(--red); font-weight: 700; }

/* PROCESS */
    .service-process { padding: 100px 0; background: var(--white); }

.process-step-num { width: 64px; height: 64px; border-radius: 50%; background: var(--off-white); border: 2px solid var(--light); font-family: var(--ff-head); font-size: 1.1rem; font-weight: 900; color: var(--dark); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; position: relative; z-index: 1; transition: all var(--t); }

@media (max-width: 1024px) {
      .service-intro-grid { grid-template-columns: 1fr; gap: 48px; }
      .plan-cards { grid-template-columns: 1fr; }
      .tax-grid { grid-template-columns: 1fr; }
      .process-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
      .process-steps::before { display: none; }
    }

.prot-card-title { font-family: var(--ff-head); font-size: .82rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }

.yield-display {
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 4px;
      padding: 36px;
    }

.yield-title { font-family: var(--ff-head); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 24px; }

.yield-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 0;
      border-bottom: 1px solid rgba(255,255,255,.06);
    }

.yield-row:last-child { border: none; }

.yield-product { font-size: .88rem; color: rgba(255,255,255,.6); }

.yield-rate { font-family: var(--ff-head); font-size: 1.1rem; font-weight: 800; color: var(--white); }

.yield-badge {
      font-family: var(--ff-head);
      font-size: .6rem;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 100px;
    }

.yield-badge.isento { background: rgba(172,23,45,.2); color: var(--red); }

.yield-badge.normal { background: rgba(255,255,255,.08); color: rgba(255,255,255,.4); }

.product-category { margin-bottom: 64px; }

.product-category-title {
      font-family: var(--ff-head);
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--red);
      padding-bottom: 12px;
      border-bottom: 2px solid var(--red);
      margin-bottom: 28px;
      display: inline-block;
    }

.product-cards-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

.product-card {
      border: 1.5px solid var(--light);
      padding: 28px 24px;
      border-radius: 2px;
      transition: all var(--t);
      position: relative;
      overflow: hidden;
    }

.product-card:hover { border-color: var(--red); box-shadow: 0 8px 32px rgba(0,0,0,.06); transform: translateY(-2px); }

.product-name { font-family: var(--ff-head); font-size: .88rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }

.product-indexer { font-size: .8rem; color: var(--red); font-weight: 600; margin-bottom: 12px; }

.product-desc { font-size: .82rem; color: var(--gray); line-height: 1.6; }

.product-tag {
      display: inline-block;
      margin-top: 14px;
      font-family: var(--ff-head);
      font-size: .6rem;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 100px;
    }

.product-tag.isento { background: rgba(172,23,45,.1); color: var(--red); }

.product-tag.fgc { background: rgba(0,100,200,.1); color: #0064C8; }

.product-tag.credito { background: rgba(255,150,0,.1); color: #C07800; }

/* COMPARISON */
    .service-compare { padding: 80px 0; background: var(--off-white); }

.compare-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 48px;
      font-size: .88rem;
    }

.compare-table thead tr { background: var(--dark); }

.compare-table th {
      font-family: var(--ff-head);
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: rgba(255,255,255,.6);
      padding: 16px 20px;
      text-align: left;
    }

.compare-table th:first-child { color: var(--white); }

.compare-table td { padding: 15px 20px; border-bottom: 1px solid var(--light); color: var(--gray); }

.compare-table tbody tr:nth-child(even) { background: var(--white); }

.compare-table .highlight { color: var(--red); font-weight: 700; }

.compare-table .ok { color: #1a7f37; font-weight: 600; }

.compare-table .no { color: var(--gray-mid); }

@media (max-width: 1024px) {
      .service-intro-grid { grid-template-columns: 1fr; gap: 48px; }
      .product-cards-row { grid-template-columns: 1fr 1fr; }
      .process-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
      .process-steps::before { display: none; }
    }

@media (max-width: 600px) {
      .product-cards-row { grid-template-columns: 1fr; }
    }

.chart-visual {
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(255,255,255,.07);
      border-radius: 4px;
      padding: 28px;
    }

.chart-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }

.chart-label { font-family: var(--ff-head); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3); }

.chart-value { font-family: var(--ff-head); font-size: 1.8rem; font-weight: 900; color: var(--white); letter-spacing: -.04em; }

.chart-change { font-family: var(--ff-head); font-size: .8rem; font-weight: 700; color: #4CAF50; }

.chart-tabs { display: flex; gap: 2px; margin-bottom: 20px; }

.chart-tab { font-family: var(--ff-head); font-size: .65rem; font-weight: 700; letter-spacing: .08em; padding: 5px 12px; color: rgba(255,255,255,.35); cursor: pointer; border-radius: 2px; }

.chart-tab.active { background: rgba(255,255,255,.08); color: var(--white); }

.product-cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.product-card:hover { border-color: rgba(172,23,45,.2); box-shadow: 0 8px 32px rgba(0,0,0,.06); transform: translateY(-2px); }

.product-name { font-family: var(--ff-head); font-size: .88rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }

.product-indexer { font-size: .78rem; color: var(--red); font-weight: 600; margin-bottom: 10px; }

.disclaimer { padding: 32px 0; background: var(--off-white); border-top: 1px solid var(--light); }
