/* =========================================================
   CST REFORMA TRIBUTÁRIA
   IBS • CBS • IVA DUAL
========================================================= */

.af-reforma {
  background: #f5f5f7;
  min-height: 100vh;
}

/* HERO */

.af-reforma-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 56px;
  background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.af-reforma-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(0,113,227,.08), transparent 60%);
  pointer-events: none;
}

.af-reforma-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #0071e3;
  background: rgba(0,113,227,.08);
  margin-bottom: 20px;
}

.af-reforma-hero h1 {
  position: relative;
  z-index: 2;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1d1d1f;
  margin-bottom: 18px;
}

.af-reforma-subtitle {
  position: relative;
  z-index: 2;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.65;
  color: #6e6e73;
}

/* CONTEÚDO */

.af-reforma-content {
  padding: 56px 0;
}

.af-reforma-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
}

/* ARTIGO */

.af-reforma-article {
  background: #fff;
  border-radius: 24px;
  padding: 38px;
  line-height: 1.7;
  box-shadow: 0 4px 30px rgba(0,0,0,.04);
}

.af-reforma-article h2 {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 750;
  color: #1d1d1f;
  margin-top: 34px;
  margin-bottom: 16px;
}

.af-reforma-article h2:first-child {
  margin-top: 0;
}

.af-reforma-article h3 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  color: #1d1d1f;
  margin-top: 28px;
  margin-bottom: 12px;
}

.af-reforma-article p {
  font-size: 16px;
  line-height: 1.75;
  color: #424245;
  margin-bottom: 18px;
}

.af-reforma-article ul,
.af-reforma-article ol {
  padding-left: 22px;
  margin-bottom: 22px;
}

.af-reforma-article li {
  font-size: 16px;
  line-height: 1.7;
  color: #424245;
  margin-bottom: 8px;
}

.af-reforma-article strong {
  color: #1d1d1f;
}

.af-reforma-article a {
  color: #0071e3;
  text-decoration: none;
}

.af-reforma-article a:hover {
  text-decoration: underline;
}

/* TABELAS */

.af-reforma-article table {
  width: 100%;
  font-size: 15px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 28px 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
}

.af-reforma-article th {
  background: #f5f7fb;
  color: #1d1d1f;
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.af-reforma-article td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.05);
  color: #424245;
}

.af-reforma-article tr:last-child td {
  border-bottom: 0;
}

/* SIDEBAR */

.af-reforma-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.af-sidebar-card {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 4px 30px rgba(0,0,0,.04);
}

.af-sidebar-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 14px;
}

.af-sidebar-card p,
.af-sidebar-card li {
  font-size: 15px;
  line-height: 1.65;
  color: #6e6e73;
}

.af-sidebar-card ul {
  padding-left: 18px;
}

.af-sidebar-card li {
  margin-bottom: 8px;
}

.af-sidebar-card a {
  color: #0071e3;
  text-decoration: none;
}

.af-sidebar-card a:hover {
  text-decoration: underline;
}

/* RESPONSIVO */

@media (max-width: 1100px) {
  .af-reforma-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .af-reforma-hero {
    padding: 88px 0 48px;
  }

  .af-reforma-hero h1 {
    font-size: 36px;
  }

  .af-reforma-subtitle {
    font-size: 16px;
  }

  .af-reforma-content {
    padding: 40px 0;
  }

  .af-reforma-article {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .af-reforma-article h2 {
    font-size: 23px;
  }

  .af-reforma-article h3 {
    font-size: 20px;
  }

  .af-reforma-article p,
  .af-reforma-article li {
    font-size: 15.5px;
  }

  .af-reforma-article table {
    font-size: 14px;
  }

  .af-reforma-article th,
  .af-reforma-article td {
    padding: 12px;
  }
}