/* V16: terceira cena, decisão fiscal como sequência visual de 12 meses. */
.product-details { padding-bottom: clamp(32px, 4vw, 58px); }
.tax-scene {
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: clamp(76px, 9vw, 130px) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 36%, #295e3f66, transparent 47%),
    linear-gradient(135deg, #051b14 4%, #0b2c1f 58%, #142a1e 100%);
}
.tax-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-radial-gradient(ellipse 85% 95% at 80% 130%, transparent 0 42px, #90d59a17 43px 44px, transparent 45px 86px);
}
.tax-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(42px, 5.8vw, 100px);
}
.tax-copy .eyebrow { color: #72ff9e; }
.tax-copy h2 {
  max-width: 610px;
  margin-bottom: 25px;
  color: #fbfffa;
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -.065em;
}
.tax-copy h2 em { color: #ffd876; font-style: normal; }
.tax-copy > p:not(.eyebrow):not(.tax-qualification) {
  max-width: 540px;
  margin-bottom: 28px;
  color: #e4f3e7;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.6;
}
.tax-steps { display: grid; gap: 0; max-width: 510px; margin-bottom: 23px; }
.tax-steps > div {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid #86ba9561;
}
.tax-steps b { flex: 0 0 28px; color: #ffd876; font-family: Consolas, monospace; font-size: 12px; }
.tax-steps span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.tax-steps strong { color: #f9fffa; font-size: 13px; }
.tax-steps small { color: #d3ecda; font-size: 11px; }
.tax-qualification { max-width: 520px; margin: 0; color: #c7dccb; font-size: 10px; line-height: 1.5; }

.tax-board {
  --tax-progress: 0;
  min-width: 0;
  padding: clamp(19px, 2.4vw, 34px);
  border: 1px solid #83e99f;
  border-top: 2px solid #ffd876;
  border-radius: 20px;
  background: linear-gradient(145deg, #041d16f4, #092d1ff0);
  box-shadow: 0 35px 90px #00130e9c, inset 0 1px #d8ffe326;
}
.tax-board-head,
.tax-year-pair,
.tax-board-foot { display: flex; align-items: center; justify-content: space-between; }
.tax-board-head {
  gap: 15px;
  padding-bottom: 18px;
  border-bottom: 1px solid #5e9b6a72;
  color: #b3e6bd;
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
}
.tax-board-head b { color: #75ff9f; }
.tax-board-head > span:last-child { color: #f6dc91; font-size: 8px; text-align: right; }
.tax-year-pair { gap: 12px; margin: 23px 0 28px; }
.tax-year-pair span { display: grid; gap: 4px; color: #c6e3cb; font-family: Consolas, monospace; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.tax-year-pair span:last-child { text-align: right; }
.tax-year-pair strong { color: #f9fffa; font-family: Sora, Manrope, sans-serif; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.06em; line-height: 1; }
.tax-year-pair span:last-child strong { color: #ffd876; }
.tax-year-pair > i { flex: 1; color: #79ff9f; font-size: 26px; font-style: normal; text-align: center; }
.tax-board-label { margin: 0 0 14px; color: #8eeaad; font-family: Consolas, monospace; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.tax-months {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 5px;
  margin: 0 0 25px;
  padding: 0;
  list-style: none;
}
.tax-months::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 2%;
  width: 96%;
  height: 1px;
  background: linear-gradient(90deg, #63f690, #f4d575);
  transform: scaleX(var(--tax-progress));
  transform-origin: left;
  transition: transform .16s linear;
}
.tax-months li {
  position: relative;
  padding-top: 23px;
  color: #b6d0bd;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  transition: color .22s;
}
.tax-months li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid #66ac7b;
  border-radius: 50%;
  background: #103d2a;
  transform: translateX(-50%);
  transition: background .25s, box-shadow .25s, border-color .25s;
}
.tax-months li.is-lit { color: #f7fff8; }
.tax-months li.is-lit::before { border-color: #9fffad; background: #62f48d; box-shadow: 0 0 13px #66f893; }
.tax-months li:last-child.is-lit::before { border-color: #ffe59c; background: #ffd876; box-shadow: 0 0 13px #ffd876; }
.tax-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tax-path { min-width: 0; padding: 18px 16px; border: 1px solid #56aa72; border-radius: 11px; background: #092c20b0; }
.tax-path--regular { border-color: #c0a762; background: #2b2c1aaa; }
.tax-path > span { display: flex; align-items: center; gap: 9px; }
.tax-path i { width: 9px; height: 9px; border-radius: 50%; background: #66f793; box-shadow: 0 0 12px #66f793; }
.tax-path--regular i { background: #ffd876; box-shadow: 0 0 12px #ffd876; }
.tax-path strong { color: #f9fffa; font-size: 13px; }
.tax-path small { display: block; margin: 10px 0 0 18px; color: #c9dfcf; font-size: 10px; }
.tax-board-foot { justify-content: center; gap: 9px; margin-top: 22px; color: #c8e6d0; font-family: Consolas, monospace; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-align: center; }
.tax-board-foot i { width: 17px; height: 1px; background: #d7c775; }
.tax-scene .scene-number { color: #bde5c4; }

@media (max-width: 1080px) {
  .tax-layout { grid-template-columns: 1fr; gap: 38px; }
  .tax-copy h2 { max-width: 760px; }
  .tax-board { width: min(100%, 760px); }
}
@media (max-width: 640px) {
  .tax-scene { padding: 72px 0 88px; }
  .tax-layout { gap: 30px; }
  .tax-copy h2 { font-size: clamp(34px, 9vw, 45px); }
  .tax-steps span { display: grid; }
  .tax-board { padding: 18px 14px; border-radius: 14px; }
  .tax-year-pair { margin: 20px 0; }
  .tax-year-pair strong { font-size: 27px; }
  .tax-months { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 14px; }
  .tax-months::before { display: none; }
  .tax-months li { font-size: 9px; }
  .tax-paths { grid-template-columns: 1fr; }
  .tax-board-foot { flex-wrap: wrap; line-height: 1.4; }
  .tax-scene .scene-number { bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .tax-months::before,
  .tax-months li,
  .tax-months li::before { transition: none; }
}
