/* TaxUp A01 V3 — escopo fechado às seis páginas pelo módulo PHP. */
.txp-premium-a01-v3 {
  --txp-v3-navy: #0d0b3e;
  --txp-v3-ink: #23213d;
  --txp-v3-muted: #696779;
  --txp-v3-gold: #a78a5c;
  --txp-v3-line: rgba(13, 11, 62, .14);
  --txp-v3-soft: rgba(13, 11, 62, .035);
}

.txp-premium-a01-v3 .txp-v3-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(560px, 68vh, 760px);
  display: grid;
  align-items: end;
  background: var(--txp-v3-navy);
}

.txp-premium-a01-v3 .txp-v3-hero-media,
.txp-premium-a01-v3 .txp-v3-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.txp-premium-a01-v3 .txp-v3-hero-media {
  z-index: -3;
}

.txp-premium-a01-v3 .txp-v3-hero-media img {
  object-fit: cover;
  object-position: center;
  filter: saturate(.66) contrast(.94) brightness(.74);
}

.txp-premium-a01-v3 .txp-v3-hero__lens,
.txp-premium-a01-v3 .pillar-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 7, 41, .92) 0%, rgba(8, 7, 41, .78) 43%, rgba(8, 7, 41, .34) 100%),
    linear-gradient(0deg, rgba(8, 7, 41, .74) 0%, rgba(8, 7, 41, .08) 68%);
}

.txp-premium-a01-v3 .txp-v3-hero .pillar-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(72px, 11vw, 150px);
  padding-bottom: clamp(42px, 7vw, 82px);
}

.txp-premium-a01-v3 .txp-v3-hero .pillar-h1,
.txp-premium-a01-v3 .txp-v3-hero .pillar-deck,
.txp-premium-a01-v3 .txp-v3-hero .pillar-meta-line,
.txp-premium-a01-v3 .txp-v3-hero .pillar-hero-meta {
  color: #fff !important;
  text-shadow: 0 1px 24px rgba(0, 0, 0, .18);
}

.txp-premium-a01-v3 .txp-v3-hero .pillar-h1 em {
  color: #d8c9ad !important;
}

.txp-premium-a01-v3 .txp-v3-hero .pillar-meta-line strong,
.txp-premium-a01-v3 .txp-v3-hero .pillar-hero-tag,
.txp-premium-a01-v3 .txp-v3-hero .pillar-hero-cat,
.txp-premium-a01-v3 .txp-v3-hero .pillar-hero-divider {
  color: rgba(255, 255, 255, .82) !important;
}

.txp-premium-a01-v3 .txp-v3-hero .pillar-deck {
  max-width: 820px;
  color: rgba(255, 255, 255, .88) !important;
}

.txp-premium-a01-v3 .txp-v3-hero-caption {
  display: block;
  max-width: 760px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .26);
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  line-height: 1.55;
}

.txp-premium-a01-v3 h2 + .txp-v3-visual {
  margin-top: 22px;
}

.txp-premium-a01-v3 .txp-v3-visual {
  box-sizing: border-box;
  width: auto !important;
  max-width: 100%;
  margin-right: 0;
  margin-bottom: 30px;
  padding: 21px 0 14px;
  border: 0;
  border-top: 1px solid var(--txp-v3-line);
  border-bottom: 1px solid var(--txp-v3-line);
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
}

.txp-premium-a01-v3 .txp-v3-visual__rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 0;
}

.txp-premium-a01-v3 .txp-v3-visual__item {
  min-width: 0;
  padding: 7px 18px 9px;
  border-left: 1px solid var(--txp-v3-line);
}

.txp-premium-a01-v3 .txp-v3-visual__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.txp-premium-a01-v3 .txp-v3-visual__index {
  display: block;
  margin-bottom: 7px;
  color: var(--txp-v3-gold);
  font: 700 10px/1.2 Inter, sans-serif;
  letter-spacing: .12em;
}

.txp-premium-a01-v3 .txp-v3-visual__item p {
  margin: 0;
  color: var(--txp-v3-ink);
  font-size: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}

.txp-premium-a01-v3 .txp-v3-visual--timeline .txp-v3-visual__rail,
.txp-premium-a01-v3 .txp-v3-visual--steps .txp-v3-visual__rail,
.txp-premium-a01-v3 .txp-v3-visual--flow .txp-v3-visual__rail {
  position: relative;
}

.txp-premium-a01-v3 .txp-v3-visual--risk .txp-v3-visual__index {
  color: #8b5c55;
}

.txp-premium-a01-v3 .txp-v3-visual figcaption,
.txp-premium-a01-v3 .txp-v3-media > figcaption {
  margin: 14px 0 0;
  padding: 0;
  color: var(--txp-v3-muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.55;
  text-align: left;
}

.txp-premium-a01-v3 .txp-v3-visual table,
.txp-premium-a01-v3 .txp-v3-visual .table-scroll,
.txp-premium-a01-v3 .txp-v3-visual .pillar-table-wrap,
.txp-premium-a01-v3 .txp-v3-visual .figure-scroll {
  margin: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.txp-premium-a01-v3 .txp-v3-visual table {
  border-collapse: collapse;
}

.txp-premium-a01-v3 .txp-v3-visual th,
.txp-premium-a01-v3 .txp-v3-visual td {
  background: transparent !important;
  border-color: var(--txp-v3-line);
}

.txp-premium-a01-v3 .txp-v3-visual svg,
.txp-premium-a01-v3 .txp-v3-media svg,
.txp-premium-a01-v3 .txp-v3-media img {
  display: block;
  max-width: 100%;
  height: auto;
}

.txp-premium-a01-v3 .txp-v3-hero-art-rehomed .setor-hero-art {
  box-sizing: border-box;
  position: static !important;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}

.txp-premium-a01-v3 .txp-v3-table-scroll {
  box-sizing: border-box;
  display: block;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.txp-premium-a01-v3 .txp-v3-table-scroll > table {
  width: max-content;
  min-width: 100%;
}

.txp-premium-a01-v3 .post-faq__item,
.txp-premium-a01-v3 .txp-v3-faq-item {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--txp-v3-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.txp-premium-a01-v3 .txp-v3-faq-item:last-of-type {
  border-bottom: 1px solid var(--txp-v3-line);
}

.txp-premium-a01-v3 .post-faq__q {
  position: relative;
  padding: 20px 46px 20px 0;
  color: var(--txp-v3-navy);
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.txp-premium-a01-v3 .post-faq__q::-webkit-details-marker {
  display: none;
}

.txp-premium-a01-v3 .post-faq__q::after {
  content: "+";
  position: absolute;
  top: 15px;
  right: 2px;
  color: var(--txp-v3-gold);
  font-size: 25px;
  font-weight: 400;
}

.txp-premium-a01-v3 details[open] > .post-faq__q::after {
  content: "−";
}

.txp-premium-a01-v3 .post-faq__a {
  padding: 0 34px 8px 0;
}

.txp-premium-a01-v3 .txp-v3-author-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 26px;
  margin-top: 58px;
  padding: 34px 0 0;
  border: 0;
  border-top: 1px solid var(--txp-v3-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.txp-premium-a01-v3 .txp-v3-author-card img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(.72) contrast(.96);
}

.txp-premium-a01-v3 .txp-v3-author-card .editorial-post-author-eyebrow {
  color: var(--txp-v3-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.txp-premium-a01-v3 .txp-v3-author-card .editorial-post-author-name {
  margin: 3px 0 2px;
  color: var(--txp-v3-navy);
}

.txp-premium-a01-v3 .txp-v3-author-card .editorial-post-author-credentials {
  color: var(--txp-v3-muted);
  font-size: 13px;
  font-weight: 700;
}

.txp-premium-a01-v3 .txp-v3-author-card .editorial-post-author-bio {
  margin: 10px 0 7px;
  color: var(--txp-v3-muted);
  font-size: 14px;
  line-height: 1.65;
}

.txp-premium-a01-v3 .pillar-cta-box,
.txp-premium-a01-v3 .editorial-post-cta {
  color: #fff;
}

.txp-premium-a01-v3 .pillar-cta-box h2,
.txp-premium-a01-v3 .pillar-cta-box h3,
.txp-premium-a01-v3 .pillar-cta-box p,
.txp-premium-a01-v3 .editorial-post-cta h2,
.txp-premium-a01-v3 .editorial-post-cta h3,
.txp-premium-a01-v3 .editorial-post-cta p {
  color: inherit;
}

@media (max-width: 720px) {
  .txp-premium-a01-v3 .txp-v3-hero {
    min-height: 620px;
  }

  .txp-premium-a01-v3 .txp-v3-hero-media img {
    object-position: 58% center;
    filter: saturate(.58) contrast(.94) brightness(.66);
  }

  .txp-premium-a01-v3 .txp-v3-hero__lens,
  .txp-premium-a01-v3 .pillar-hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 7, 41, .94), rgba(8, 7, 41, .68)),
      linear-gradient(0deg, rgba(8, 7, 41, .82), rgba(8, 7, 41, .12));
  }

  .txp-premium-a01-v3 .txp-v3-hero .pillar-h1 {
    font-size: clamp(36px, 10.2vw, 46px);
    line-height: 1.08;
    text-wrap: balance;
  }

  .txp-premium-a01-v3 .txp-v3-hero .pillar-deck {
    font-size: 16px;
    line-height: 1.62;
  }

  .txp-premium-a01-v3 .txp-v3-visual {
    padding-top: 14px;
    margin-bottom: 25px;
    overflow: hidden;
  }

  .txp-premium-a01-v3 .txp-v3-visual__rail {
    grid-template-columns: 1fr;
  }

  .txp-premium-a01-v3 .txp-v3-visual__item,
  .txp-premium-a01-v3 .txp-v3-visual__item:first-child {
    padding: 13px 0;
    border-left: 0;
    border-top: 1px solid rgba(13, 11, 62, .08);
  }

  .txp-premium-a01-v3 .txp-v3-visual__item:first-child {
    border-top: 0;
  }

  .txp-premium-a01-v3 .txp-v3-visual__item p {
    font-size: 15px;
    line-height: 1.58;
  }

  .txp-premium-a01-v3 .txp-v3-hero-art-rehomed .setor-hero-art > svg {
    width: 680px;
    max-width: none;
  }

  .txp-premium-a01-v3 .txp-v3-hero-art-rehomed .setor-hero-art {
    overflow-x: auto;
  }

  .txp-premium-a01-v3 .table-scroll,
  .txp-premium-a01-v3 .pillar-table-wrap,
  .txp-premium-a01-v3 .figure-scroll {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .txp-premium-a01-v3 .txp-v3-author-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 17px;
  }

  .txp-premium-a01-v3 .txp-v3-author-card img {
    width: 76px;
    height: 76px;
  }

  .txp-premium-a01-v3 .txp-v3-author-card .editorial-post-author-bio,
  .txp-premium-a01-v3 .txp-v3-author-card .editorial-post-author-link {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .txp-premium-a01-v3 * {
    scroll-behavior: auto !important;
  }
}

/* Compatibilidade da hero institucional em inglês. */
.txp-premium-a01-v3 .txp-v3-hero .institucional-h1,
.txp-premium-a01-v3 .txp-v3-hero .institucional-deck,
.txp-premium-a01-v3 .txp-v3-hero .institucional-hero-eyebrow { color:#fff !important; text-shadow:0 1px 24px rgba(0,0,0,.18); }
.txp-premium-a01-v3 .txp-v3-hero .institucional-hero-inner { position:relative; z-index:1; padding-top:clamp(72px,11vw,150px); padding-bottom:clamp(42px,7vw,82px); }
@media (max-width:720px){.txp-premium-a01-v3 .txp-v3-hero .institucional-h1{font-size:clamp(36px,10.2vw,46px);line-height:1.08;text-wrap:balance}.txp-premium-a01-v3 .txp-v3-hero .institucional-deck{font-size:16px;line-height:1.62}}
