/* V17: dashboard fixo; a rolagem troca o conteúdo dentro da tela. */
.product-details { padding-bottom: clamp(24px, 3vw, 45px); }
.tax-scene { display: block; min-height: 0; padding: 0; overflow: visible; background: #061c15; }
.tax-scene::before { display: none; }
.tax-story { position: relative; height: 400svh; }
.tax-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: radial-gradient(circle at 76% 36%, #164d336b, transparent 46%), #061b15;
}
.tax-stage::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 43%;
  background: linear-gradient(90deg, #031a13e3, #092a1eb5 55%, #092a1e35), url('/_home/20261027-home-pwa/assets/soy-harvest-poster.jpg') center / cover no-repeat;
}
.tax-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, #061b1599, transparent 23%, transparent 81%, #061b1550);
}
.tax-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .35fr) minmax(0, .65fr);
  align-items: center;
  gap: clamp(24px, 3vw, 52px);
  height: 100%;
}
.tax-scene-copy { min-width: 0; text-shadow: 0 2px 13px #02170fbd; }
.tax-scene-copy > img { display: block; width: clamp(180px, 16vw, 250px); max-width: 100%; height: auto; margin-bottom: clamp(28px, 5vh, 64px); }
.tax-scene-kicker { margin: 0 0 19px; color: #85ffad; font-family: Consolas, monospace; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.tax-scene-copy h2 { margin: 0 0 19px; color: #fbfffa; font-size: clamp(39px, 4.2vw, 66px); line-height: 1.02; }
.tax-scene-copy h2 em { color: #ffda76; font-style: normal; }
.tax-scene-lead { max-width: 440px; margin: 0 0 25px; color: #f1fff4; font-size: clamp(13px, 1vw, 16px); line-height: 1.55; }
.tax-scene-points { display: grid; gap: 10px; margin-bottom: 28px; }
.tax-scene-points span { display: flex; align-items: center; gap: 10px; color: #f8fff9; font-size: 12px; font-weight: 700; }
.tax-scene-points span::before { content: ""; width: 9px; height: 9px; border: 1px solid #ffd876; border-radius: 3px; box-shadow: 0 0 9px #ffdc785c; }
.tax-scene-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; min-width: 230px; padding: 14px 17px; border: 1px solid #fff0a5; border-radius: 6px; background: linear-gradient(110deg, #fff0a5, #efbd53); color: #082b1c; font-size: 12px; font-weight: 800; text-shadow: none; }
.tax-scene-link:hover { background: #fff4bb; }
.tax-scene-link:focus-visible { outline: 2px solid #ffffff; outline-offset: 4px; }
.tax-scene-copy > small { display: block; max-width: 280px; margin-top: 12px; color: #d5ebdb; font-size: 10px; line-height: 1.4; }

.tax-dashboard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: min(710px, calc(100svh - 42px));
  border: 1px solid #55bb7f;
  border-radius: 19px;
  background: linear-gradient(145deg, #031710f5, #07261cf7);
  box-shadow: 0 30px 90px #00110ac7, 0 0 0 1px #79ffab2e, inset 0 1px #bdffd040;
  overflow: hidden;
}
.tax-dashboard-top { display: flex; align-items: center; gap: 18px; min-height: 81px; padding: 14px clamp(17px, 2vw, 29px); border-bottom: 1px solid #4a93695e; }
.tax-dashboard-top img { width: clamp(105px, 10vw, 160px); max-height: 48px; object-fit: contain; object-position: left; }
.tax-dashboard-divider { align-self: stretch; width: 1px; background: #49dc876e; }
.tax-dashboard-top > div { display: grid; gap: 4px; min-width: 0; }
.tax-dashboard-top > div strong { color: #ffffff; font-family: Sora, Manrope, sans-serif; font-size: clamp(13px, 1.35vw, 20px); line-height: 1.2; white-space: nowrap; }
.tax-dashboard-top > div small { color: #c3e0ca; font-size: 10px; }
.tax-dashboard-tag { margin-left: auto; padding: 7px 9px; border: 1px solid #4bc77d6e; border-radius: 5px; color: #7cffaa; font-family: Consolas, monospace; font-size: 8px; font-weight: 700; letter-spacing: .04em; text-align: center; }
.tax-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px 12px 0; border-bottom: 1px solid #2d765357; }
.tax-tabs button { min-width: 0; padding: 11px 7px; border: 0; border-bottom: 2px solid transparent; background: none; color: #bfdac7; font-family: Sora, Manrope, sans-serif; font-size: clamp(8px, .8vw, 11px); font-weight: 700; cursor: pointer; }
.tax-tabs button.is-active { border-color: #ffda76; background: #133624; color: #ffe392; }
.tax-tabs button:hover { color: #ffffff; }
.tax-tabs button:focus-visible { outline: 2px solid #ffffff; outline-offset: -2px; }
.tax-panel-frame { position: relative; flex: 1; min-height: 0; margin: clamp(12px, 1.5vw, 22px); overflow: hidden; }
.tax-panel { position: absolute; inset: 0; display: flex; flex-direction: column; padding: clamp(15px, 1.5vw, 24px); border: 1px solid #387d585c; border-radius: 12px; background: linear-gradient(145deg, #071e16, #0b2c20); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .38s ease, transform .45s var(--ease), visibility .38s; pointer-events: none; overflow: hidden; }
.tax-panel.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.tax-panel-heading { display: grid; gap: 8px; margin-bottom: clamp(14px, 2vh, 22px); }
.tax-panel-heading > span { color: #80ffab; font-family: Consolas, monospace; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.tax-panel-heading > strong { color: #ffffff; font-family: Sora, Manrope, sans-serif; font-size: clamp(17px, 1.7vw, 25px); line-height: 1.18; }
.tax-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.tax-kpis > div { display: grid; align-content: start; gap: 9px; min-height: 122px; padding: 14px; border: 1px solid #55ac75; border-radius: 9px; background: #082a1c; }
.tax-kpis > div:nth-child(2) { border-color: #c5aa67; }
.tax-kpis > div span { color: #d6eee0; font-size: 10px; }
.tax-kpis > div strong { color: #78ffaa; font-family: Sora, Manrope, sans-serif; font-size: clamp(12px, 1.1vw, 17px); }
.tax-kpis > div:nth-child(2) strong { color: #ffda76; }
.tax-kpis > div small { color: #bdd8c7; font-size: 9px; line-height: 1.35; }
.tax-overview-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 17px; padding: 16px; border: 1px solid #407957; border-radius: 9px; color: #f9fff8; font-family: Sora, Manrope, sans-serif; font-size: 17px; font-weight: 800; }
.tax-overview-strip span { display: grid; gap: 3px; white-space: nowrap; }
.tax-overview-strip b { color: #7cffaa; font-family: Consolas, monospace; font-size: 8px; letter-spacing: .13em; }
.tax-overview-strip span:last-child b { color: #ffda76; }
.tax-overview-strip i { flex: 1; height: 1px; background: linear-gradient(90deg, #5bfd94, #ffda76); }
.tax-panel-note { margin: auto 0 0; padding-top: 12px; color: #cbe4d2; font-size: 10px; line-height: 1.45; }
.tax-regime-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; min-height: 0; }
.tax-regime { display: flex; flex-direction: column; padding: clamp(13px, 1.5vw, 22px); border: 1px solid #55b97c; border-radius: 11px; background: #0a3322; }
.tax-regime--gold { border-color: #e0c172; background: #292d1d; }
.tax-regime > span { margin-bottom: 20px; color: #7cffaa; font-family: Consolas, monospace; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.tax-regime--gold > span { color: #ffda76; }
.tax-regime strong { max-width: 220px; color: #ffffff; font-family: Sora, Manrope, sans-serif; font-size: clamp(16px, 1.5vw, 22px); line-height: 1.2; }
.tax-regime p { margin: 13px 0; color: #d2ead9; font-size: 11px; line-height: 1.5; }
.tax-regime b { margin-top: auto; padding-top: 12px; border-top: 1px solid #73af8366; color: #f3fff6; font-family: Consolas, monospace; font-size: 10px; }
.tax-month-focus { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding: 12px 16px; border: 1px solid #538b60; border-radius: 9px; }
.tax-month-focus span { display: grid; gap: 4px; color: #c6e3cb; font-family: Consolas, monospace; font-size: 9px; font-weight: 700; letter-spacing: .11em; }
.tax-month-focus span:last-child { text-align: right; }
.tax-month-focus b { color: #ffffff; font-family: Sora, Manrope, sans-serif; font-size: clamp(14px, 1.3vw, 19px); letter-spacing: -.04em; }
.tax-month-focus span:last-child b { color: #ffda76; }
.tax-month-focus i { color: #79ffa2; font-size: 22px; font-style: normal; }
.tax-panel .tax-months { margin-bottom: 14px; }
.tax-month-row { display: flex; justify-content: space-between; gap: 15px; padding: 11px 3px; border-top: 1px solid #46805c; color: #d4e9d9; font-size: 10px; }
.tax-month-row strong { color: #f9fff8; font-size: 10px; font-weight: 700; text-align: right; }
.tax-checklist { display: grid; gap: 7px; }
.tax-checklist > div { display: flex; align-items: center; gap: 13px; min-height: 44px; padding: 10px 12px; border: 1px solid #488967; border-radius: 8px; background: #0a2b1e; }
.tax-checklist i { color: #ffda76; font-family: Consolas, monospace; font-size: 10px; font-style: normal; }
.tax-checklist span { color: #f5fff7; font-size: 11px; }
.tax-checklist b { margin-left: auto; color: #a7e8b6; font-family: Consolas, monospace; font-size: 9px; }
.tax-dashboard-bottom { display: flex; align-items: center; gap: 14px; min-height: 38px; padding: 0 clamp(15px, 1.5vw, 23px) 14px; color: #c1e2c9; font-family: Consolas, monospace; font-size: 8px; font-weight: 700; letter-spacing: .07em; }
.tax-dashboard-progress { flex: 1; height: 2px; background: #37644b; }
.tax-dashboard-progress i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #71ff9e, #ffda76); transform: scaleX(0); transform-origin: left; }
.tax-dashboard-bottom > span:last-child { color: #ffda76; white-space: nowrap; }
.tax-scene .scene-number { z-index: 2; }

@media (max-width: 1150px) {
  .tax-showcase { grid-template-columns: minmax(0, .32fr) minmax(0, .68fr); gap: 22px; }
  .tax-scene-copy h2 { font-size: clamp(34px, 4vw, 54px); }
  .tax-dashboard-tag { display: none; }
}
@media (max-height: 720px) and (min-width: 641px) {
  .tax-scene-copy > img { width: 160px; margin-bottom: 20px; }
  .tax-scene-kicker { margin-bottom: 11px; }
  .tax-scene-copy h2 { margin-bottom: 12px; }
  .tax-scene-lead { margin-bottom: 13px; font-size: 12px; }
  .tax-scene-points { gap: 6px; margin-bottom: 14px; }
  .tax-dashboard-top { min-height: 64px; padding-block: 8px; }
  .tax-panel-frame { margin-block: 10px; }
  .tax-kpis > div { min-height: 98px; }
}
@media (max-width: 640px) {
  .tax-story { height: 365svh; }
  .tax-stage { height: 100svh; }
  .tax-stage::before { width: 100%; opacity: .35; }
  .tax-showcase { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; padding-block: 14px 35px; }
  .tax-scene-copy { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
  .tax-scene-copy > img { width: 97px; margin: 0; }
  .tax-scene-copy h2 { margin: 0; font-size: 21px; line-height: 1.04; }
  .tax-scene-kicker, .tax-scene-lead, .tax-scene-points, .tax-scene-link, .tax-scene-copy > small { display: none; }
  .tax-dashboard { flex: 1; width: 100%; height: auto; min-height: 0; border-radius: 12px; }
  .tax-dashboard-top { gap: 9px; min-height: 50px; padding: 9px 11px; }
  .tax-dashboard-top img { width: 74px; }
  .tax-dashboard-top > div strong { font-size: 11px; }
  .tax-dashboard-top > div small { font-size: 8px; }
  .tax-tabs { padding: 5px 5px 0; }
  .tax-tabs button { padding: 9px 2px; font-size: 8px; }
  .tax-panel-frame { margin: 8px; }
  .tax-panel { padding: 11px; }
  .tax-panel-heading { gap: 5px; margin-bottom: 10px; }
  .tax-panel-heading > strong { font-size: 15px; }
  .tax-kpis { gap: 5px; }
  .tax-kpis > div { min-height: 92px; padding: 8px; gap: 6px; }
  .tax-kpis > div span, .tax-kpis > div small { font-size: 8px; }
  .tax-kpis > div strong { font-size: 10px; }
  .tax-overview-strip { margin-top: 9px; padding: 10px; font-size: 13px; }
  .tax-regime-grid { gap: 6px; }
  .tax-regime { padding: 9px; }
  .tax-regime > span { margin-bottom: 10px; font-size: 8px; }
  .tax-regime strong { font-size: 13px; }
  .tax-regime p { font-size: 9px; }
  .tax-regime b { font-size: 8px; }
  .tax-month-focus { margin-bottom: 10px; padding: 8px; }
  .tax-month-focus b { font-size: 11px; }
  .tax-panel .tax-months { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 7px; margin-bottom: 9px; }
  .tax-panel .tax-months li { padding-top: 16px; font-size: 8px; }
  .tax-panel .tax-months li::before { width: 8px; height: 8px; }
  .tax-month-row { padding: 7px 0; font-size: 9px; }
  .tax-month-row strong { font-size: 9px; }
  .tax-checklist { gap: 5px; }
  .tax-checklist > div { min-height: 36px; padding: 7px; }
  .tax-checklist span { font-size: 9px; }
  .tax-checklist b { font-size: 7px; }
  .tax-dashboard-bottom { min-height: 28px; padding: 0 10px 8px; font-size: 7px; }
  .tax-dashboard-bottom > span:first-child { max-width: 125px; }
  .tax-scene .scene-number { bottom: 8px; right: 15px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .tax-panel { transition: none; }
}
