/* ==========================================================================
   Tax Gold — sistema visual "precisão dourada" (v1, nov/2026)
   Base azul-marinho com dourado da marca (preferência do responsável, nov/2026).
   Contraste conferido (WCAG AA): dourado #C99A3E sobre #0A172A ≈ 8,8:1;
   dourado de texto #E8C46E sobre os cartões #102541 ≈ 9,7:1; texto escuro
   #0A172A sobre o botão dourado ≈ 8,8:1. A tela simulada do sistema é clara
   porque reproduz a interface real.
   ========================================================================== */

:root {
  --tg-bg: #0A172A;
  --tg-bg-alt: #0D1D35;
  --tg-surface: #102541;
  --tg-surface-2: #1A3A64;
  --tg-paper: #FAF9F6;
  --tg-text: #EEF2F7;
  --tg-muted: #9FB0C6;
  --tg-border: rgba(255, 255, 255, .09);
  --tg-border-strong: rgba(255, 255, 255, .2);
  --tg-gold: #C99A3E;
  --tg-gold-2: #B8862B;
  --tg-gold-ink: #E8C46E;
  --tg-gold-light: #F0D38F;
  --tg-gold-soft: rgba(201, 154, 62, .14);
  --tg-ink: #071224;
  --tg-ink-2: #102541;
  --tg-ink-line: rgba(255, 255, 255, .08);
  --tg-on-ink: #F5F7FB;
  --tg-on-ink-muted: #A8BDD4;
  --tg-success: #4ADE80;
  --tg-success-soft: rgba(74, 222, 128, .12);
  --tg-warning-soft: rgba(201, 154, 62, .08);
  --tg-danger: #F97066;

  --tg-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tg-heading: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tg-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --tg-mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --tg-radius-sm: 10px;
  --tg-radius: 16px;
  --tg-radius-lg: 24px;
  --tg-shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --tg-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .25);
  --tg-shadow-lg: 0 40px 80px -32px rgba(0, 0, 0, .75), 0 12px 24px -12px rgba(0, 0, 0, .4);
  --tg-ease: cubic-bezier(.2, .7, .2, 1);
  --tg-header-h: 72px;
}

/* ----- Base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--tg-header-h) + 16px); }
body {
  margin: 0; background: var(--tg-bg); background-image: radial-gradient(ellipse 80% 40% at 50% 0%, #1A3A64 0%, transparent 70%); background-repeat: no-repeat; color: var(--tg-text);
  font-family: var(--tg-font); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--tg-heading); color: inherit; margin: 0; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--tg-gold); color: var(--tg-ink); }
:focus-visible { outline: 3px solid var(--tg-gold-ink); outline-offset: 3px; border-radius: 6px; }
.tg-section--ink :focus-visible, .tg-hero :focus-visible, .tg-footer :focus-visible { outline-color: var(--tg-gold); }
.tg-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tg-skip { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--tg-gold); color: var(--tg-ink); padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: top .2s; }
.tg-skip:focus { top: 12px; }

.tg-container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 600px) { .tg-container { padding-inline: 16px; } }

/* ----- Tipografia utilitária ----- */
.tg-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tg-gold-ink); }
.tg-eyebrow::before { content: ''; width: 24px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--tg-gold), var(--tg-gold-2)); }
.tg-section--ink .tg-eyebrow, .tg-hero .tg-eyebrow { color: var(--tg-gold); }
.tg-h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 800; letter-spacing: -.035em; margin-top: 14px; }
.tg-h2 em, .tg-h1 em { font-family: var(--tg-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--tg-gold-ink); }
.tg-section--ink .tg-h2 em { color: var(--tg-gold); }
.tg-lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--tg-muted); max-width: 62ch; margin-top: 16px; }
.tg-section--ink .tg-lead { color: var(--tg-on-ink-muted); }
.tg-head { max-width: 760px; margin-bottom: 48px; }
.tg-head--center { margin-inline: auto; text-align: center; }
.tg-head--center .tg-lead { margin-inline: auto; }
.tg-note { font-size: .85rem; color: var(--tg-muted); }
.tg-code { font-family: var(--tg-mono); font-size: .86em; padding: .1em .45em; border-radius: 6px; background: var(--tg-gold-soft); color: var(--tg-gold-ink); white-space: nowrap; }

/* ----- Botões e microinterações ----- */
.tg-btn {
  --btn-bg: var(--tg-surface); --btn-fg: var(--tg-text); --btn-bd: var(--tg-border);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--tg-ease), box-shadow .2s var(--tg-ease), background-color .2s, border-color .2s;
}
.tg-btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s var(--tg-ease); }
.tg-btn:hover { transform: translateY(-1px); box-shadow: var(--tg-shadow); }
.tg-btn:hover svg.tg-arrow { transform: translateX(3px); }
.tg-btn:active { transform: translateY(0) scale(.98); }
.tg-btn--gold { --btn-bg: var(--tg-gold); --btn-fg: #0A172A; --btn-bd: transparent; background-image: linear-gradient(135deg, #F0D38F 0%, var(--tg-gold) 45%, var(--tg-gold-2) 100%); box-shadow: 0 10px 28px -10px rgba(201, 154, 62, .55); }
.tg-btn--gold::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--tg-ease); }
.tg-btn--gold:hover::after { transform: translateX(120%); }
.tg-btn--dark { --btn-bg: var(--tg-surface-2); --btn-fg: var(--tg-on-ink); --btn-bd: rgba(255, 255, 255, .14); }
.tg-btn--dark:hover { --btn-bd: var(--tg-gold); }
.tg-btn--ghost { --btn-bg: transparent; --btn-bd: var(--tg-border-strong); }
.tg-btn--ghost:hover { --btn-bd: var(--tg-gold-2); }
.tg-btn--on-ink { --btn-bg: rgba(255, 255, 255, .04); --btn-fg: var(--tg-on-ink); --btn-bd: rgba(255, 255, 255, .22); }
.tg-btn--on-ink:hover { --btn-bd: var(--tg-gold); }
.tg-btn--sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.tg-btn--block { width: 100%; }
.tg-link { color: var(--tg-gold-ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tg-link:hover { text-decoration-thickness: 2px; }

/* ----- Cabeçalho ----- */
.tg-header { position: sticky; top: 0; z-index: 100; height: var(--tg-header-h); background: rgba(10, 23, 42, .82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.tg-header.is-scrolled { border-bottom-color: rgba(201, 154, 62, .16); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
.tg-header__inner { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }
.tg-brand { display: inline-flex; flex-shrink: 0; }
.tg-brand img { width: 146px; height: auto; }
.tg-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tg-nav__link, .tg-nav__toggle { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font-size: .93rem; font-weight: 600; color: var(--tg-text); text-decoration: none; background: none; border: 0; cursor: pointer; transition: background-color .2s, color .2s; }
.tg-nav__link:hover, .tg-nav__toggle:hover, .tg-nav__toggle[aria-expanded="true"] { background: rgba(201, 154, 62, .12); color: var(--tg-gold-ink); }
.tg-nav__toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.tg-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.tg-nav__item { position: relative; }
.tg-menu { position: absolute; top: calc(100% + 10px); left: 50%; width: min(640px, 92vw); transform: translate(-50%, 6px); padding: 14px; border-radius: var(--tg-radius); background: var(--tg-surface); border: 1px solid var(--tg-border); box-shadow: var(--tg-shadow-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--tg-ease), visibility .18s; }
.tg-menu--narrow { width: 320px; grid-template-columns: 1fr; }
.tg-nav__item.is-open .tg-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.tg-menu--narrow a { display: block; padding: 10px 12px; border-radius: var(--tg-radius-sm); text-decoration: none; transition: background-color .15s; }
.tg-menu--narrow a:hover, .tg-menu--narrow a:focus-visible { background: rgba(255, 255, 255, .05); }
.tg-menu--narrow strong { display: flex; align-items: center; gap: 8px; font-size: .92rem; }
.tg-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--tg-gold-soft); color: var(--tg-gold-ink); }
.tg-header__actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.tg-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--tg-border); background: var(--tg-surface); cursor: pointer; align-items: center; justify-content: center; }
.tg-burger span, .tg-burger span::before, .tg-burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--tg-text); position: relative; transition: transform .25s var(--tg-ease), background-color .2s; }
.tg-burger span::before, .tg-burger span::after { content: ''; position: absolute; left: 0; }
.tg-burger span::before { top: -6px; } .tg-burger span::after { top: 6px; }
.tg-burger[aria-expanded="true"] span { background: transparent; }
.tg-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.tg-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .tg-header__actions .tg-btn--ghost { display: none; }
}
@media (max-width: 900px) {
  .tg-burger { display: inline-flex; margin-left: auto; }
  .tg-header__actions { display: none; }
  .tg-nav { position: fixed; inset: var(--tg-header-h) 0 auto 0; max-height: calc(100dvh - var(--tg-header-h)); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 12px 16px 24px; background: var(--tg-surface); border-bottom: 1px solid var(--tg-border); box-shadow: var(--tg-shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--tg-ease), visibility .2s; }
  .tg-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .tg-nav__link, .tg-nav__toggle { width: 100%; justify-content: space-between; padding: 14px 12px; border-radius: 12px; font-size: 1rem; }
  .tg-menu { position: static; width: auto; transform: none; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 8px 8px; display: none; opacity: 1; visibility: visible; }
  .tg-nav__item.is-open .tg-menu { display: grid; transform: none; }
  .tg-nav__mobile-cta { display: grid !important; gap: 10px; margin-top: 12px; }
}
.tg-nav__mobile-cta { display: none !important; }

/* ----- Seções ----- */
.tg-section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.tg-section--white { background: var(--tg-bg-alt); }
.tg-section--ink { background: var(--tg-ink); color: var(--tg-on-ink); overflow: hidden; }
.tg-section--ink::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 85% 0%, rgba(201, 154, 62, .16), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(184, 134, 43, .10), transparent 70%); }
.tg-section--ink > * { position: relative; }
.tg-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--tg-border) 20%, var(--tg-border) 80%, transparent); }

/* ----- Hero cinematográfico ----- */
.tg-hero { --mx: 70%; --my: 20%; position: relative; overflow: hidden; background: var(--tg-ink); color: var(--tg-on-ink); padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.tg-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background:
    radial-gradient(42% 52% at var(--mx) var(--my), rgba(201, 154, 62, .26), transparent 70%),
    radial-gradient(40% 50% at 8% 100%, rgba(184, 134, 43, .14), transparent 70%); }
.tg-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 60% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 70% at 60% 30%, #000 30%, transparent 80%); }
.tg-hero > .tg-container { position: relative; z-index: 1; }
.tg-hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.tg-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--tg-on-ink-muted); margin-bottom: 22px; }
.tg-crumbs a { color: var(--tg-on-ink-muted); text-decoration: none; }
.tg-crumbs a:hover { color: var(--tg-gold); }
.tg-h1 { font-size: clamp(2.1rem, 3.7vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; margin-top: 16px; text-wrap: balance; }
.tg-hero .tg-h1 em { color: transparent; background: linear-gradient(100deg, #B8862B 0%, #F0D38F 30%, #C99A3E 50%, #F7E4A0 62%, #B8862B 100%); background-size: 220% 100%; background-position: 0% 0; -webkit-background-clip: text; background-clip: text; }
.tg-hero__lead { font-size: clamp(1.02rem, 1.4vw, 1.14rem); color: var(--tg-on-ink-muted); margin-top: 20px; max-width: 58ch; }
.tg-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tg-hero__notes { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; font-size: .86rem; color: var(--tg-on-ink-muted); }
.tg-hero__notes li { display: inline-flex; align-items: center; gap: 8px; }
.tg-hero__notes svg { width: 16px; height: 16px; color: var(--tg-gold); }
@media (max-width: 960px) { .tg-hero__grid { grid-template-columns: minmax(0, 1fr); } .tg-hero figure { max-width: 620px; } }

/* ----- Representação da interface (dados fictícios) ----- */
.tg-app { position: relative; border-radius: 18px; background: #0F1626; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(201, 154, 62, .08), 0 30px 80px -50px rgba(201, 154, 62, .5); overflow: hidden; transform-origin: 50% 100%; }
.tg-app__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #0B1120; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.tg-app__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2A3347; }
.tg-app__url { margin-left: 10px; flex: 1; max-width: 260px; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: #8C97AE; font-size: .7rem; font-family: var(--tg-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-app__body { display: grid; grid-template-columns: 64px 1fr; min-height: 340px; }
.tg-app__side { background: #121B2E; padding: 14px 10px; display: grid; align-content: start; gap: 8px; border-right: 1px solid rgba(255, 255, 255, .05); }
.tg-app__side b { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.tg-app__side b.is-on { background: linear-gradient(90deg, var(--tg-gold), rgba(201, 154, 62, .3)); }
.tg-app__side b:nth-child(3n) { width: 70%; }
.tg-app__main { background: #F6F7F9; color: #1F2433; padding: 16px 16px 14px; font-size: .74rem; min-width: 0; }
.tg-app__eyebrow { font-size: .6rem; font-weight: 800; letter-spacing: .12em; color: #8B6B14; }
.tg-app__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 10px; }
.tg-app__title strong { font-family: var(--tg-heading); font-size: 1.05rem; }
.tg-app__env { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: #fff; border: 1px solid #E3E5EA; font-size: .62rem; color: #3D4457; white-space: nowrap; }
.tg-app__env::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #1E9E5A; box-shadow: 0 0 0 3px rgba(30, 158, 90, .18); }
.tg-app__steps { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #fff; border: 1px solid #E3E5EA; border-radius: 10px; margin-bottom: 10px; font-size: .64rem; color: #525A6E; overflow: hidden; }
.tg-app__steps span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.tg-app__steps span::before { content: attr(data-n); display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; border: 1px solid #C9CDD6; font-size: .55rem; font-weight: 700; }
.tg-app__steps span.is-done::before { content: '✓'; border-color: #9BD3B5; background: #E3F3EA; color: #1E7A4C; }
.tg-app__steps span.is-now { color: #1F2433; font-weight: 700; }
.tg-app__steps span.is-now::before { background: #1F2433; border-color: #1F2433; color: #fff; }
.tg-app__steps em { flex: 1; min-width: 4px; height: 1px; background: #D6D9E0; }
.tg-app__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.tg-app__kpi { background: #fff; border: 1px solid #E3E5EA; border-radius: 9px; padding: 7px 8px; }
.tg-app__kpi strong { display: block; font-family: var(--tg-heading); font-size: .95rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tg-app__kpi small { font-size: .52rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6B7286; }
.tg-app__kpi.is-ok strong { color: #1E7A4C; }
.tg-app__table { background: #fff; border: 1px solid #E3E5EA; border-radius: 10px; overflow: hidden; }
.tg-app__row { display: grid; grid-template-columns: 50px 52px minmax(0, 1fr) 76px; align-items: center; gap: 8px; padding: 7px 10px; border-top: 1px solid #EEF0F3; font-size: .66rem; white-space: nowrap; }
.tg-app__row:first-child { border-top: 0; background: #FAFAFB; font-size: .55rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #6B7286; }
.tg-app__row b { font-weight: 800; }
.tg-app__row code { font-family: var(--tg-mono); font-size: .6rem; color: #525A6E; overflow: hidden; text-overflow: ellipsis; }
.tg-pill { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: .58rem; font-weight: 700; border: 1px solid #DADDE4; color: #525A6E; background: #F6F7F9; transition: background-color .3s, color .3s, border-color .3s; }
.tg-pill[data-state="alterado"] { background: #FFF6DB; border-color: #F0D98A; color: #6E5410; }
.tg-pill[data-state="pronto"] { background: #E8EEFF; border-color: #BCCBF5; color: #2A4AA8; }
.tg-pill[data-state="aceito"] { background: #E3F3EA; border-color: #9BD3B5; color: #1E7A4C; }
.tg-app__caption { margin-top: 12px; font-size: .78rem; color: var(--tg-on-ink-muted); display: flex; align-items: center; gap: 8px; }
.tg-app__caption::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--tg-gold); }
@media (max-width: 520px) {
  .tg-app__body { grid-template-columns: 1fr; }
  .tg-app__side { display: none; }
  .tg-app__kpis { grid-template-columns: repeat(2, 1fr); }
  .tg-app__row { grid-template-columns: 52px minmax(0, 1fr) 72px; }
  .tg-app__row > :nth-child(3) { display: none; }
  .tg-app__title strong { font-size: .95rem; }
}

/* ----- Cadeia de responsabilidades (retificação ≠ crédito) ----- */
.tg-chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: chain; }
.tg-chain__item { position: relative; padding: 24px 22px 22px; border-radius: var(--tg-radius); background: var(--tg-surface); border: 1px solid var(--tg-border); box-shadow: var(--tg-shadow-sm); }
.tg-chain__item::before { counter-increment: chain; content: counter(chain, decimal-leading-zero); font-family: var(--tg-heading); font-weight: 700; font-size: .9rem; color: var(--tg-gold-ink); }
.tg-chain__item:not(:last-child)::after { content: ''; position: absolute; top: 34px; right: -17px; width: 18px; height: 2px; background: var(--tg-gold); z-index: 1; }
.tg-chain__item h3 { font-size: 1.15rem; margin: 10px 0 8px; }
.tg-chain__item p { font-size: .92rem; color: var(--tg-muted); }
.tg-chain__who { display: inline-flex; margin-top: 14px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--tg-bg); border: 1px solid var(--tg-border); color: var(--tg-muted); }
.tg-chain__item.is-us { background: linear-gradient(160deg, rgba(201, 154, 62, .2), rgba(201, 154, 62, .05)); color: var(--tg-on-ink); border-color: rgba(201, 154, 62, .6); box-shadow: 0 20px 50px -24px rgba(201, 154, 62, .45); }
.tg-chain__item.is-us p { color: var(--tg-on-ink-muted); }
.tg-chain__item.is-us::before { color: var(--tg-gold); }
.tg-chain__item.is-us .tg-chain__who { background: var(--tg-gold); border-color: var(--tg-gold); color: #1E1E2C; }
.tg-callout { display: flex; gap: 14px; margin-top: 28px; padding: 18px 20px; border-radius: var(--tg-radius); background: var(--tg-warning-soft); border: 1px solid rgba(201, 154, 62, .35); font-size: .93rem; color: var(--tg-text); }
.tg-callout svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--tg-gold); margin-top: 2px; }
@media (max-width: 960px) { .tg-chain { grid-template-columns: 1fr 1fr; } .tg-chain__item:nth-child(2)::after { display: none; } }
@media (max-width: 560px) { .tg-chain { grid-template-columns: 1fr; } .tg-chain__item::after { display: none; } }

/* ----- Problema + ordem de envio ----- */
.tg-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .tg-split { grid-template-columns: minmax(0, 1fr); } }
.tg-pains { display: grid; gap: 14px; }
.tg-pain { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px; border-radius: var(--tg-radius); background: var(--tg-surface); border: 1px solid var(--tg-border); }
.tg-pain__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tg-gold-soft); color: var(--tg-gold-ink); }
.tg-pain__icon svg { width: 22px; height: 22px; }
.tg-pain h3 { font-size: 1.02rem; margin-bottom: 4px; }
.tg-pain p { font-size: .92rem; color: var(--tg-muted); }
.tg-order { margin-top: 56px; padding: 28px; border-radius: var(--tg-radius-lg); background: var(--tg-surface); border: 1px solid var(--tg-border); box-shadow: var(--tg-shadow); }
.tg-order__title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.tg-order__title h3 { font-size: 1.2rem; }
.tg-order__track { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tg-order__line { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 22px; height: 2px; background: var(--tg-border); }
.tg-order__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--tg-gold-2), var(--tg-gold)); transform-origin: 0 50%; }
.tg-order__step { position: relative; text-align: center; }
.tg-order__dot { width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--tg-surface); border: 2px solid var(--tg-gold); font-family: var(--tg-heading); font-weight: 700; font-size: .85rem; color: var(--tg-gold-ink); box-shadow: 0 0 0 6px var(--tg-surface); }
.tg-order__step strong { display: block; font-family: var(--tg-mono); font-size: .82rem; }
.tg-order__step div span { display: block; font-size: .78rem; color: var(--tg-muted); line-height: 1.4; margin-top: 2px; }
@media (max-width: 760px) {
  .tg-order__track { grid-template-columns: 1fr; gap: 0; }
  .tg-order__line { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .tg-order__line i { transform-origin: 50% 0; }
  .tg-order__step { display: grid; grid-template-columns: 46px 1fr; gap: 14px; text-align: left; align-items: center; padding: 6px 0; }
  .tg-order__dot { margin: 0; }
}

/* ----- Como funciona (passos com indicador fixo) ----- */
.tg-steps { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.tg-steps__rail { position: sticky; top: calc(var(--tg-header-h) + 40px); align-self: start; }
.tg-steps__nav { margin-top: 28px; display: grid; gap: 4px; }
.tg-steps__nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--tg-on-ink-muted); font-weight: 600; transition: background-color .25s, color .25s; }
.tg-steps__nav a span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--tg-ink-line); font-size: .8rem; font-family: var(--tg-heading); transition: all .25s; }
.tg-steps__nav a.is-active { background: rgba(255, 255, 255, .05); color: var(--tg-on-ink); }
.tg-steps__nav a.is-active span { background: var(--tg-gold); border-color: var(--tg-gold); color: #1E1E2C; }
.tg-steps__list { display: grid; gap: 20px; counter-reset: step; }
.tg-step { padding: clamp(24px, 3vw, 36px); border-radius: var(--tg-radius-lg); background: var(--tg-ink-2); border: 1px solid var(--tg-ink-line); transition: border-color .3s, background-color .3s; }
.tg-step.is-active { border-color: rgba(201, 154, 62, .45); background: #163057; }
.tg-step__num { font-family: var(--tg-heading); font-weight: 700; font-size: .85rem; color: var(--tg-gold); letter-spacing: .1em; }
.tg-step h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 6px 0 10px; color: var(--tg-on-ink); }
.tg-step p { color: var(--tg-on-ink-muted); }
.tg-step__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tg-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: rgba(255, 255, 255, .05); border: 1px solid var(--tg-ink-line); color: var(--tg-on-ink); }
.tg-chip svg { width: 14px; height: 14px; color: var(--tg-gold); }
.tg-chip--light { background: var(--tg-bg); border-color: var(--tg-border); color: var(--tg-text); }
.tg-chip--light svg { color: var(--tg-gold-ink); }
@media (max-width: 900px) { .tg-steps { grid-template-columns: minmax(0, 1fr); } .tg-steps__rail { position: static; } .tg-steps__nav { display: none; } }

/* ----- Bento de operações em massa ----- */
.tg-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tg-card { position: relative; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--tg-radius-lg); background: var(--tg-surface); border: 1px solid var(--tg-border); box-shadow: var(--tg-shadow-sm); overflow: hidden; transition: box-shadow .35s var(--tg-ease), border-color .35s; }
.tg-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(240px circle at var(--cx, 50%) var(--cy, 0%), rgba(201, 154, 62, .16), transparent 60%); opacity: 0; transition: opacity .3s; }
.tg-card:hover { border-color: rgba(184, 134, 43, .55); box-shadow: var(--tg-shadow); }
.tg-card:hover::after { opacity: 1; }
.tg-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.tg-card p { color: var(--tg-muted); font-size: .95rem; }
.tg-card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: var(--tg-gold-soft); color: var(--tg-gold-ink); }
.tg-card__icon svg { width: 22px; height: 22px; }
.tg-span-2 { grid-column: span 2; } .tg-span-3 { grid-column: span 3; } .tg-span-4 { grid-column: span 4; } .tg-span-6 { grid-column: span 6; }
.tg-card--feature { background: linear-gradient(160deg, #163057 0%, #102541 55%, #0F2443 100%); border-color: rgba(201, 154, 62, .28); }
.tg-ops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tg-flow3 { display: flex; align-items: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.tg-flow3 span { padding: 6px 12px; border-radius: 999px; background: var(--tg-ink); color: var(--tg-on-ink); font-size: .8rem; font-weight: 700; }
.tg-flow3 i { font-style: normal; color: var(--tg-gold-ink); font-weight: 800; }
@media (max-width: 960px) { .tg-bento { grid-template-columns: repeat(2, 1fr); } .tg-span-2, .tg-span-3 { grid-column: span 1; } .tg-span-4, .tg-span-6 { grid-column: span 2; } }
@media (max-width: 600px) { .tg-bento { grid-template-columns: 1fr; } .tg-span-2, .tg-span-3, .tg-span-4, .tg-span-6 { grid-column: span 1; } }

/* ----- Antes × depois ----- */
.tg-split > .tg-impact { position: sticky; top: calc(var(--tg-header-h) + 32px); }
@media (max-width: 900px) { .tg-split > .tg-impact { position: static; } }
.tg-impact { margin: 0; padding: clamp(22px, 3vw, 32px); border-radius: var(--tg-radius-lg); background: var(--tg-surface); border: 1px solid var(--tg-border); box-shadow: var(--tg-shadow); }
.tg-impact__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.tg-impact__head strong { font-family: var(--tg-heading); font-size: 1.05rem; }
.tg-impact__legend { display: flex; gap: 16px; font-size: .78rem; color: var(--tg-muted); }
.tg-impact__legend span { display: inline-flex; align-items: center; gap: 6px; }
.tg-impact__legend span::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: #2E4F7C; }
.tg-impact__legend span + span::before { background: var(--tg-gold); }
.tg-bars { display: grid; gap: 14px; }
.tg-bars__row { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; font-size: .8rem; color: var(--tg-muted); }
.tg-bars__pair { display: grid; gap: 4px; }
.tg-bar { height: 10px; border-radius: 6px; background: #2E4F7C; transform-origin: 0 50%; }
.tg-bar--after { background: linear-gradient(90deg, var(--tg-gold-2), var(--tg-gold)); }
.tg-impact__foot { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--tg-border); font-size: .8rem; color: var(--tg-muted); }
.tg-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.tg-metric { padding: 16px; border-radius: var(--tg-radius); background: var(--tg-surface); border: 1px solid var(--tg-border); }
.tg-metric strong { display: block; font-size: .95rem; }
.tg-metric span { font-size: .82rem; color: var(--tg-muted); }

/* ----- Grades de recursos ----- */
.tg-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .tg-grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tg-grid3 { grid-template-columns: 1fr; } }
.tg-section--ink .tg-card { background: var(--tg-ink-2); border-color: var(--tg-ink-line); box-shadow: none; }
.tg-section--ink .tg-card h3 { color: var(--tg-on-ink); }
.tg-section--ink .tg-card p { color: var(--tg-on-ink-muted); }
.tg-section--ink .tg-card__icon { background: rgba(201, 154, 62, .12); color: var(--tg-gold); }

/* ----- Eventos suportados ----- */
.tg-events { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .tg-events { grid-template-columns: 1fr; } }
.tg-events__group h3 { font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.tg-events__group h3 small { font-family: var(--tg-font); font-size: .75rem; font-weight: 600; color: var(--tg-muted); }
.tg-events__list { display: flex; flex-wrap: wrap; gap: 8px; }
.tg-ev { display: inline-flex; flex-direction: column; padding: 8px 12px; border-radius: 12px; background: var(--tg-bg); border: 1px solid var(--tg-border); min-width: 0; }
.tg-ev b { font-family: var(--tg-mono); font-size: .82rem; }
.tg-ev span { font-size: .72rem; color: var(--tg-muted); line-height: 1.35; }

/* ----- Fontes oficiais ----- */
.tg-sources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .tg-sources { grid-template-columns: 1fr; } }
.tg-source { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--tg-radius); background: var(--tg-surface); border: 1px solid var(--tg-border); text-decoration: none; transition: border-color .25s, translate .25s var(--tg-ease); }
.tg-source:hover { border-color: var(--tg-gold-2); translate: 0 -2px; }
.tg-source blockquote { margin: 0; font-size: .97rem; }
.tg-source cite { font-style: normal; font-size: .8rem; color: var(--tg-gold-ink); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.tg-source cite svg { width: 14px; height: 14px; }

/* ----- FAQ ----- */
.tg-faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.tg-faq details { border-radius: var(--tg-radius); background: var(--tg-surface); border: 1px solid var(--tg-border); transition: border-color .25s, box-shadow .25s; }
.tg-faq details[open] { border-color: rgba(184, 134, 43, .5); box-shadow: var(--tg-shadow-sm); }
.tg-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 1rem; }
.tg-faq summary::-webkit-details-marker { display: none; }
.tg-faq summary::after { content: ''; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--tg-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8C46E' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--tg-ease); }
.tg-faq details[open] summary::after { transform: rotate(45deg); }
.tg-faq details > div { padding: 0 22px 20px; color: var(--tg-muted); }

/* ----- Contato e formulário ----- */
.tg-contact { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .tg-contact { grid-template-columns: minmax(0, 1fr); } }
.tg-next { display: grid; gap: 14px; margin-top: 28px; counter-reset: next; }
.tg-next li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; color: var(--tg-on-ink-muted); }
.tg-next li::before { counter-increment: next; content: counter(next); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(201, 154, 62, .5); color: var(--tg-gold); font-family: var(--tg-heading); font-weight: 700; }
.tg-next strong { color: var(--tg-on-ink); display: block; }
.tg-wa { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 18px; border-radius: var(--tg-radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--tg-ink-line); text-decoration: none; transition: border-color .25s; }
.tg-wa:hover { border-color: var(--tg-gold); }
.tg-wa svg { width: 34px; height: 34px; color: #25D366; flex-shrink: 0; }
.tg-wa strong { display: block; color: var(--tg-on-ink); }
.tg-wa span { font-size: .86rem; color: var(--tg-on-ink-muted); }
.tg-form { padding: clamp(22px, 3vw, 34px); border-radius: var(--tg-radius-lg); background: var(--tg-surface); color: var(--tg-text); border: 1px solid rgba(201, 154, 62, .2); box-shadow: var(--tg-shadow-lg); }
.tg-field input::placeholder, .tg-field textarea::placeholder { color: #7F93AE; }
.tg-field select option { background: #102541; color: var(--tg-text); }
.tg-form h3 { font-size: 1.35rem; }
.tg-form > p { color: var(--tg-muted); font-size: .92rem; margin-top: 6px; }
.tg-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 22px; }
.tg-form__grid .is-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .tg-form__grid { grid-template-columns: 1fr; } }
.tg-field label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 6px; }
.tg-field label small { font-weight: 500; color: var(--tg-muted); }
.tg-field input, .tg-field select, .tg-field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid #2B4A73; background: #0A172A; color: var(--tg-text); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.tg-field textarea { min-height: 96px; resize: vertical; }
.tg-field input:focus, .tg-field select:focus, .tg-field textarea:focus { outline: none; border-color: var(--tg-gold); background: #0C1E38; box-shadow: 0 0 0 4px rgba(201, 154, 62, .2); }
.tg-field input:user-invalid, .tg-field select:user-invalid { border-color: var(--tg-danger); }
.tg-consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .84rem; color: var(--tg-muted); }
.tg-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--tg-gold-ink); }
.tg-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.tg-form__status { margin-top: 14px; font-size: .9rem; min-height: 1.4em; }
.tg-form__status.is-error { color: var(--tg-danger); }
.tg-form__status a { color: inherit; font-weight: 700; }
.tg-form.is-sending .tg-btn { opacity: .75; pointer-events: none; }
.tg-form__done { text-align: center; padding: 24px 8px; }
.tg-form__done svg { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--tg-success); }
.tg-form__done h3 { margin-bottom: 8px; }

/* ----- CTA final de páginas sem formulário ----- */
.tg-cta { text-align: center; }
.tg-cta .tg-hero__ctas { justify-content: center; }

/* ----- Rodapé ----- */
.tg-footer { background: #06101F; border-top: 1px solid rgba(201, 154, 62, .12); color: var(--tg-on-ink-muted); padding: 64px 0 28px; font-size: .92rem; }
.tg-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.tg-footer__brand img { width: 150px; margin-bottom: 16px; }
.tg-footer h2 { font-family: var(--tg-font); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tg-on-ink); margin-bottom: 14px; }
.tg-footer li + li { margin-top: 8px; }
.tg-footer a { color: var(--tg-on-ink-muted); text-decoration: none; transition: color .2s; }
.tg-footer a:hover { color: var(--tg-gold); }
.tg-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--tg-ink-line); font-size: .82rem; }
@media (max-width: 900px) { .tg-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tg-footer__grid { grid-template-columns: 1fr; } }

/* ----- Barra de ação fixa no celular ----- */
.tg-mobilebar { display: none; }
@media (max-width: 760px) {
  body.has-mobilebar { padding-bottom: 76px; }
  .tg-mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(10, 23, 42, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--tg-border); transition: transform .3s var(--tg-ease); }
  .tg-mobilebar.is-hidden { transform: translateY(110%); }
  .tg-mobilebar .tg-btn { min-height: 48px; }
  .tg-mobilebar .tg-btn--wa { --btn-bg: #1F8F4E; --btn-fg: #fff; --btn-bd: #1F8F4E; padding-inline: 16px; }
}

/* ----- Página de erro ----- */
.tg-error { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.tg-error__code { font-family: var(--tg-heading); font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; line-height: 1; color: transparent; background: linear-gradient(120deg, var(--tg-gold-2), #F0D38F, var(--tg-gold)); -webkit-background-clip: text; background-clip: text; }
.tg-error__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

/* ----- Estados de animação (somente quando o JS confirma que pode animar) ----- */
.tg-motion [data-hero] { opacity: 0; }
.tg-motion [data-reveal] { opacity: 0; transform: translateY(24px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .tg-motion [data-hero], .tg-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Home e páginas de produto (etapa 3)
   ========================================================================== */

/* Painel de produtos do hero (composição em perspectiva, sem dados simulados) */
.tg-hub { position: relative; perspective: 1400px; }
.tg-hub__board { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 18px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .9), 0 30px 80px -60px rgba(201, 154, 62, .6); transform: rotateX(10deg) rotateY(-14deg) rotateZ(1deg); transform-style: preserve-3d; }
.tg-hub__tile { position: relative; display: grid; gap: 4px; padding: 16px; border-radius: 14px; text-decoration: none; background: rgba(7, 18, 36, .78); border: 1px solid rgba(255, 255, 255, .08); color: var(--tg-on-ink); transition: border-color .25s, background-color .25s; }
.tg-hub__tile:hover { border-color: rgba(201, 154, 62, .6); background: rgba(22, 48, 87, .92); }
.tg-hub__tile svg { width: 22px; height: 22px; color: var(--tg-gold); margin-bottom: 6px; }
.tg-hub__tile strong { font-family: var(--tg-heading); font-size: 1rem; font-weight: 600; }
.tg-hub__tile span { font-family: var(--tg-mono); font-size: .72rem; color: var(--tg-on-ink-muted); }
.tg-hub__tile.is-feature { grid-column: 1 / -1; background: linear-gradient(135deg, #E8C46E 0%, #C99A3E 45%, #B8862B 100%); color: #1E1E2C; border-color: transparent; }
.tg-hub__tile.is-feature svg, .tg-hub__tile.is-feature span { color: #3A2E08; }
.tg-hub__tile .tg-badge { position: absolute; top: 14px; right: 14px; background: #1E1E2C; color: var(--tg-gold); }
.tg-hub__glow { position: absolute; inset: 10% 5% -10% 5%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(201, 154, 62, .35), transparent 70%); filter: blur(30px); }
@media (max-width: 960px) { .tg-hub__board { transform: none; } }
@media (max-width: 420px) { .tg-hub__board { padding: 12px; gap: 8px; } .tg-hub__tile { padding: 12px; } }

/* Faixa de provas */
.tg-proof { background: var(--tg-surface); border-bottom: 1px solid var(--tg-border); }
.tg-proof ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.tg-proof li { display: flex; align-items: center; gap: 14px; padding: 26px 20px; border-left: 1px solid var(--tg-border); }
.tg-proof li:first-child { border-left: 0; padding-left: 0; }
.tg-proof strong { display: block; font-family: var(--tg-heading); font-size: 1.35rem; line-height: 1.1; }
.tg-proof span { font-size: .85rem; color: var(--tg-muted); }
.tg-proof svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--tg-gold-ink); }
@media (max-width: 900px) { .tg-proof ul { grid-template-columns: 1fr 1fr; } .tg-proof li:nth-child(3) { border-left: 0; padding-left: 0; } .tg-proof li { border-top: 1px solid var(--tg-border); } .tg-proof li:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 480px) { .tg-proof ul { grid-template-columns: 1fr; } .tg-proof li { border-left: 0; padding-left: 0; } .tg-proof li:nth-child(2) { border-top: 1px solid var(--tg-border); } }

/* Destaque do módulo de retificação */
.tg-spotlight { border: 1px solid rgba(201, 154, 62, .22); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: var(--tg-radius-lg); background: var(--tg-ink); color: var(--tg-on-ink); position: relative; overflow: hidden; box-shadow: var(--tg-shadow-lg); }
.tg-spotlight::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 70% at 100% 0%, rgba(201, 154, 62, .22), transparent 70%); }
.tg-spotlight > * { position: relative; }
.tg-spotlight .tg-lead { color: var(--tg-on-ink-muted); }
.tg-spotlight .tg-h2 em { color: var(--tg-gold); }
.tg-spotlight .tg-eyebrow { color: var(--tg-gold); }
.tg-spotlight__list { display: grid; gap: 10px; margin-top: 22px; }
.tg-spotlight__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--tg-on-ink); font-size: .95rem; }
.tg-spotlight__list svg { width: 18px; height: 18px; color: var(--tg-gold); margin-top: 4px; flex-shrink: 0; }
.tg-mini-order { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: mini; }
.tg-mini-order li { padding: 14px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--tg-ink-line); text-align: center; }
.tg-mini-order li::before { counter-increment: mini; content: counter(mini); display: grid; place-items: center; width: 26px; height: 26px; margin: 0 auto 8px; border-radius: 50%; background: var(--tg-gold); color: #1E1E2C; font-family: var(--tg-heading); font-weight: 700; font-size: .8rem; }
.tg-mini-order b { display: block; font-family: var(--tg-mono); font-size: .9rem; }
.tg-mini-order span { font-size: .75rem; color: var(--tg-on-ink-muted); }
@media (max-width: 900px) { .tg-spotlight { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .tg-mini-order { grid-template-columns: repeat(2, 1fr); } }

/* Cartões de produto */
.tg-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .tg-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tg-products { grid-template-columns: minmax(0, 1fr); } }
.tg-product { display: flex; flex-direction: column; }
.tg-product__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.tg-product__top .tg-card__icon { margin: 0; }
.tg-product__tag { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tg-muted); }
.tg-product ul { display: grid; gap: 6px; margin: 16px 0 22px; }
.tg-product li { display: flex; gap: 8px; font-size: .9rem; color: var(--tg-text); }
.tg-product li svg { width: 16px; height: 16px; color: var(--tg-gold-ink); margin-top: 5px; flex-shrink: 0; }
.tg-product__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* Sobre */
.tg-about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.tg-about__mark { aspect-ratio: 1; max-width: 360px; border-radius: 32px; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 40%, rgba(201, 154, 62, .25), transparent 70%), var(--tg-ink); box-shadow: var(--tg-shadow-lg); }
.tg-about__mark img { width: 46%; height: auto; filter: drop-shadow(0 20px 40px rgba(201, 154, 62, .35)); }
.tg-about p + p { margin-top: 14px; }
@media (max-width: 900px) { .tg-about { grid-template-columns: minmax(0, 1fr); } .tg-about__mark { max-width: 220px; } }
.tg-hub__tile .tg-badge { font-style: normal; }
.tg-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .tg-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tg-grid4 { grid-template-columns: minmax(0, 1fr); } }
.tg-card__num { font-family: var(--tg-heading); font-weight: 700; font-size: .85rem; color: var(--tg-gold-ink); letter-spacing: .08em; display: block; margin-bottom: 10px; }
/* Moldura de navegador para capturas reais do sistema */
.tg-shot { margin: 0; border-radius: 16px; overflow: hidden; background: #0B1120; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 30px 80px -50px rgba(201, 154, 62, .5); }
.tg-shot img { width: 100%; height: auto; }
.tg-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px, 3vw, 36px); border-radius: var(--tg-radius-lg); background: var(--tg-surface); border: 1px solid var(--tg-border); box-shadow: var(--tg-shadow-sm); }
.tg-band h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.tg-band p { color: var(--tg-muted); margin-top: 6px; max-width: 60ch; }
@media (max-width: 520px) {
  .tg-app__row.tg-val__row { grid-template-columns: 50px minmax(0, 1fr) 54px; }
  .tg-app__row.tg-val__row > :nth-child(2) { display: none; }
  .tg-app__row.tg-val__row > :nth-child(3) { display: block; }
}
body.tg-re .tg-header { background: rgba(10, 23, 42, .9); }

/* ----- Artigos (guias) ----- */
.tg-article { max-width: 780px; margin-inline: auto; }
.tg-article__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: .85rem; color: var(--tg-on-ink-muted); }
.tg-prose { font-size: 1.04rem; line-height: 1.8; }
.tg-prose > * + * { margin-top: 1.1em; }
.tg-prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-top: 2.1em; scroll-margin-top: calc(var(--tg-header-h) + 20px); }
.tg-prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.tg-prose a { color: var(--tg-gold-ink); font-weight: 600; text-underline-offset: 3px; }
.tg-prose ul, .tg-prose ol { padding-left: 1.4em; }
.tg-prose ul { list-style: disc; } .tg-prose ol { list-style: decimal; }
.tg-prose li + li { margin-top: .5em; }
.tg-prose li::marker { color: var(--tg-gold-2); font-weight: 700; }
.tg-prose code { font-family: var(--tg-mono); font-size: .88em; padding: .1em .4em; border-radius: 6px; background: var(--tg-gold-soft); color: var(--tg-gold-ink); }
.tg-toc { padding: 20px 22px; border-radius: var(--tg-radius); background: var(--tg-surface); border: 1px solid var(--tg-border); }
.tg-toc strong { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tg-muted); margin-bottom: 8px; }
.tg-toc ol { list-style: decimal; padding-left: 1.2em; margin: 0; }
.tg-toc a { color: var(--tg-text); font-weight: 600; text-decoration: none; }
.tg-toc a:hover { color: var(--tg-gold-ink); }
.tg-sequence { counter-reset: seq; list-style: none !important; padding: 0 !important; display: grid; gap: 10px; }
.tg-sequence li { position: relative; padding: 14px 16px 14px 60px; border-radius: 14px; background: var(--tg-surface); border: 1px solid var(--tg-border); margin: 0 !important; }
.tg-sequence li::before { counter-increment: seq; content: counter(seq); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tg-gold); color: #1E1E2C; font-family: var(--tg-heading); font-weight: 700; font-size: .85rem; }
.tg-sequence b { font-family: var(--tg-mono); }
@media (min-width: 1001px) { .tg-products > .is-wide { grid-column: span 2; } }

/* ----- Menu "Sistemas" agrupado (mega menu) ----- */
.tg-nav__item--mega { position: static; }
.tg-menu.tg-mega { width: min(1060px, calc(100vw - 32px)); padding: 0; gap: 0; overflow: hidden; grid-template-columns: minmax(0, 1fr) 270px; grid-template-areas: "groups feature" "foot foot"; border-color: rgba(201, 154, 62, .18); }
.tg-mega__groups { grid-area: groups; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 18px; padding: 22px 20px 16px; }
.tg-mega__title { margin: 0 0 8px 10px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tg-muted); }
.tg-mega__group ul { display: grid; gap: 2px; }
.tg-mega__link { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; transition: background-color .18s; }
.tg-mega__link:hover, .tg-mega__link:focus-visible { background: rgba(255, 255, 255, .05); }
.tg-mega__icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--tg-gold-soft); color: var(--tg-gold); transition: background-color .18s, color .18s; }
.tg-mega__icon svg { width: 20px; height: 20px; }
.tg-mega__link:hover .tg-mega__icon, .tg-mega__link:focus-visible .tg-mega__icon { background: var(--tg-gold); color: #0A172A; }
.tg-mega__text strong { display: block; font-size: .93rem; font-weight: 700; color: var(--tg-text); line-height: 1.3; }
.tg-mega__text small { display: block; margin-top: 2px; font-size: .78rem; line-height: 1.4; color: var(--tg-muted); }
.tg-mega__sub { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; margin: 2px 0 8px 62px; padding: 6px 12px; border-radius: 999px; text-decoration: none; font-size: .82rem; font-weight: 700; color: var(--tg-gold-ink); background: rgba(201, 154, 62, .07); border: 1px solid rgba(201, 154, 62, .3); transition: background-color .18s, border-color .18s; }
.tg-mega__sub:hover, .tg-mega__sub:focus-visible { background: rgba(201, 154, 62, .16); border-color: var(--tg-gold); }
.tg-mega__sub svg { width: 15px; height: 15px; }
.tg-mega__sub .tg-badge { font-style: normal; padding: 1px 7px; font-size: .6rem; background: var(--tg-gold); color: #0A172A; }
.tg-mega__feature { grid-area: feature; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; background: radial-gradient(90% 70% at 100% 0%, rgba(201, 154, 62, .22), transparent 70%), linear-gradient(180deg, rgba(201, 154, 62, .08), rgba(201, 154, 62, .02)); border-left: 1px solid rgba(201, 154, 62, .18); }
.tg-mega__feature strong { font-family: var(--tg-heading); font-size: 1.12rem; line-height: 1.25; color: var(--tg-on-ink); }
.tg-mega__feature p { font-size: .83rem; color: var(--tg-muted); }
.tg-mega__feature .tg-btn { margin-top: auto; align-self: flex-start; }
.tg-mega__foot { grid-area: foot; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 14px 30px; border-top: 1px solid var(--tg-border); background: rgba(0, 0, 0, .18); }
.tg-mega__foot a { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--tg-text); text-decoration: none; }
.tg-mega__foot a:hover { color: var(--tg-gold-ink); }
.tg-mega__foot svg { width: 16px; height: 16px; color: var(--tg-gold); }
@media (max-width: 1100px) and (min-width: 901px) { .tg-menu.tg-mega { grid-template-columns: minmax(0, 1fr); grid-template-areas: "groups" "foot"; } .tg-mega__feature { display: none; } }
@media (max-width: 900px) {
  .tg-menu.tg-mega { width: auto; padding: 0 0 6px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "groups" "foot"; border: 0; background: transparent; }
  .tg-mega__groups { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 6px 0 4px; }
  .tg-mega__title { margin-left: 4px; }
  .tg-mega__link { padding: 8px 6px; }
  .tg-mega__sub { margin-left: 58px; }
  .tg-mega__feature { display: none; }
  .tg-mega__foot { flex-direction: column; padding: 12px 6px 6px; background: none; }
}

/* ==========================================================================
   HOME v3 — futurista (nov/2026). Paleta e tipografia do esocial.taxgold.com.br.
   Tudo que é movimento respeita prefers-reduced-motion (regra global acima).
   ========================================================================== */

/* Grão fílmico sutil em toda a página */
.tg-grain::after { content: ''; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ----- Hero cinematográfico ----- */
.tg-xhero { position: relative; isolation: isolate; overflow: hidden; color: var(--tg-on-ink); min-height: min(100svh, 940px); display: flex; flex-direction: column; justify-content: center; padding: clamp(64px, 9vw, 120px) 0 clamp(120px, 12vw, 150px);
  background: radial-gradient(60% 55% at 78% 8%, rgba(26, 58, 100, .95) 0%, transparent 62%), radial-gradient(45% 50% at 10% 90%, rgba(16, 37, 65, .9) 0%, transparent 70%), linear-gradient(180deg, #0A172A 0%, #0B1A31 55%, #0A172A 100%); }
.tg-xhero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tg-aurora { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.tg-aurora--a { width: 44vw; height: 44vw; right: -6vw; top: -20vw; background: radial-gradient(circle, rgba(201, 154, 62, .42), transparent 64%); animation: tg-float-a 18s ease-in-out infinite alternate; }
.tg-aurora--b { width: 38vw; height: 38vw; left: -14vw; bottom: -18vw; background: radial-gradient(circle, rgba(46, 90, 150, .55), transparent 64%); animation: tg-float-b 22s ease-in-out infinite alternate; }
@keyframes tg-float-a { to { transform: translate3d(-7vw, 5vw, 0) scale(1.12); } }
@keyframes tg-float-b { to { transform: translate3d(9vw, -5vw, 0) scale(1.15); } }
.tg-orbits { position: absolute; width: 1200px; height: 1200px; right: -430px; top: 50%; margin-top: -600px; opacity: .7; }
.tg-orbits circle { fill: none; stroke-width: 1; }
.tg-orbits .o1 { stroke: rgba(201, 154, 62, .28); stroke-dasharray: 420 1300; animation: tg-spin 70s linear infinite; transform-origin: 600px 600px; }
.tg-orbits .o2 { stroke: rgba(232, 196, 110, .18); stroke-dasharray: 260 900; animation: tg-spin 95s linear infinite reverse; transform-origin: 600px 600px; }
.tg-orbits .o3 { stroke: rgba(159, 176, 198, .12); }
@keyframes tg-spin { to { transform: rotate(360deg); } }
.tg-xhero__floor { position: absolute; left: -20%; right: -20%; bottom: -6%; height: 48%; opacity: .5;
  background-image: linear-gradient(rgba(201, 154, 62, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 154, 62, .12) 1px, transparent 1px); background-size: 72px 72px;
  transform: perspective(620px) rotateX(64deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 78%); mask-image: linear-gradient(to top, #000 0%, transparent 78%); animation: tg-floor 6s linear infinite; }
@keyframes tg-floor { to { background-position: 0 72px, 0 0; } }
.tg-brasil { position: absolute; top: 2%; right: -2%; width: 62%; height: 92%; }
.tg-xhero__inner { position: relative; z-index: 1; }
.tg-xhero__copy { max-width: 660px; }
.tg-xpill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(201, 154, 62, .38); font-size: .78rem; font-weight: 600; color: var(--tg-gold-ink); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: tg-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.tg-live { width: 8px; height: 8px; border-radius: 50%; background: var(--tg-gold); animation: tg-ping 2.4s ease-out infinite; }
@keyframes tg-ping { 0% { box-shadow: 0 0 0 0 rgba(201, 154, 62, .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(201, 154, 62, 0); } }
.tg-xh1 { margin-top: 24px; font-size: clamp(2.7rem, 6vw, 5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.tg-xh1__kicker { display: block; margin-bottom: 20px; font-size: clamp(.86rem, 1.1vw, 1rem); font-weight: 600; letter-spacing: 0; line-height: 1.5; color: var(--tg-on-ink-muted); animation: tg-rise .9s cubic-bezier(.2, .7, .2, 1) .05s both; }
.tg-xh1 .l { display: block; animation: tg-rise .95s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
.tg-xh1 em { font-family: var(--tg-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; padding-right: .08em; color: transparent;
  background: linear-gradient(100deg, #B8862B 0%, #F0D38F 30%, #C99A3E 52%, #F6E2AE 68%, #B8862B 100%); background-size: 230% 100%; -webkit-background-clip: text; background-clip: text;
  animation: tg-rise .95s cubic-bezier(.2, .7, .2, 1) .34s both, tg-shine 7s ease-in-out 1.6s infinite; }
@keyframes tg-rise { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes tg-shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.tg-xhero__lead { margin-top: 26px; max-width: 54ch; font-size: clamp(1.02rem, 1.3vw, 1.16rem); color: var(--tg-on-ink-muted); animation: tg-rise .9s cubic-bezier(.2, .7, .2, 1) .5s both; }
.tg-xhero .tg-hero__ctas { margin-top: 34px; animation: tg-rise .9s cubic-bezier(.2, .7, .2, 1) .62s both; }
.tg-xhero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: .86rem; color: var(--tg-on-ink-muted); animation: tg-rise .9s cubic-bezier(.2, .7, .2, 1) .74s both; }
.tg-xhero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.tg-xhero__trust svg { width: 16px; height: 16px; color: var(--tg-gold); }
.tg-xhero__credit { position: absolute; right: 24px; bottom: 76px; z-index: 1; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(159, 176, 198, .55); }
@media (max-width: 960px) {
  .tg-brasil { top: auto; bottom: 48px; right: -18%; width: 130%; height: 38%; opacity: .32; }
  .tg-orbits { right: -700px; opacity: .45; }
  .tg-xhero__credit { display: none; }
}

/* Faixa de obrigações em movimento */
.tg-marquee { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .07); background: rgba(7, 18, 36, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tg-marquee__track { display: flex; width: max-content; animation: tg-marquee 46s linear infinite; }
.tg-marquee:hover .tg-marquee__track { animation-play-state: paused; }
.tg-marquee__track span { display: inline-flex; align-items: center; gap: 30px; padding: 17px 0 17px 30px; white-space: nowrap; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(238, 242, 247, .62); }
.tg-marquee__track span::after { content: '\2726'; color: var(--tg-gold); font-size: .62rem; }
@keyframes tg-marquee { to { transform: translateX(-50%); } }

/* Botão dourado igual ao do sistema (brilho + leve efeito magnético) */
.tg-btn--gold { background-image: linear-gradient(135deg, #F0D38F 0%, #C99A3E 48%, #B8862B 100%); }
.tg-btn[data-magnetic] { translate: var(--mx, 0) var(--my, 0); transition: transform .2s var(--tg-ease), box-shadow .2s var(--tg-ease), translate .35s var(--tg-ease); }
.tg-btn--glass { --btn-bg: rgba(255, 255, 255, .06); --btn-fg: var(--tg-on-ink); --btn-bd: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tg-btn--glass:hover { --btn-bd: var(--tg-gold); }

/* ----- Cartões de vidro com borda dourada giratória ----- */
@property --tg-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.tg-glass { background: linear-gradient(160deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .015)); border: 1px solid rgba(255, 255, 255, .09); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: translate .45s var(--tg-ease), box-shadow .45s var(--tg-ease), border-color .45s; }
.tg-glass::before { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: conic-gradient(from var(--tg-angle), transparent 0deg 210deg, rgba(240, 211, 143, .95) 280deg, transparent 330deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.tg-glass:hover { translate: 0 -4px; border-color: rgba(201, 154, 62, .25); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85), 0 0 50px -24px rgba(201, 154, 62, .55); }
.tg-glass:hover::before { opacity: 1; animation: tg-angle 3.2s linear infinite; }
@keyframes tg-angle { to { --tg-angle: 360deg; } }
.tg-glass .tg-card__icon { background: linear-gradient(135deg, rgba(240, 211, 143, .22), rgba(201, 154, 62, .08)); color: var(--tg-gold-ink); border: 1px solid rgba(201, 154, 62, .3); }

/* ----- Vitrine com telas reais em moldura 3D ----- */
.tg-showcase { perspective: 1800px; }
.tg-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; width: fit-content; margin: 0 auto; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.tg-tab { padding: 10px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--tg-muted); font-weight: 700; font-size: .92rem; cursor: pointer; transition: background-color .25s, color .25s; }
.tg-tab:hover { color: var(--tg-text); }
.tg-tab[aria-selected="true"] { background: linear-gradient(135deg, #F0D38F, #C99A3E 50%, #B8862B); color: #0A172A; }
.tg-device { position: relative; max-width: 1080px; margin: 34px auto 0; border-radius: 18px; overflow: hidden; background: #06101F; border: 1px solid rgba(255, 255, 255, .1); transform-origin: 50% 0;
  box-shadow: 0 90px 140px -70px rgba(0, 0, 0, .95), 0 0 0 1px rgba(201, 154, 62, .12), 0 40px 130px -70px rgba(201, 154, 62, .55); }
.tg-device::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .07) 0%, transparent 32%); }
.tg-device__screen { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(80% 80% at 50% 0%, #13294B, #0A172A); }
.tg-device__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.025); transition: opacity .55s var(--tg-ease), transform .7s var(--tg-ease); }
.tg-device__screen img.is-active { opacity: 1; transform: none; }
.tg-device__caption { margin-top: 18px; text-align: center; font-size: .85rem; color: var(--tg-muted); }

/* ----- Seções com foto em duotom (azul e dourado) ----- */
.tg-photo { position: relative; isolation: isolate; overflow: hidden; }
.tg-photo__media { position: absolute; inset: -12% 0; z-index: -2; }
.tg-photo__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) contrast(1.1) brightness(1.05); }
.tg-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 23, 42, .94) 0%, rgba(10, 23, 42, .5) 42%, rgba(10, 23, 42, .88) 100%), linear-gradient(90deg, rgba(16, 37, 65, .78), rgba(16, 37, 65, .1)); }
.tg-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; mix-blend-mode: screen; background: radial-gradient(50% 60% at 80% 30%, rgba(201, 154, 62, .28), transparent 70%); }
.tg-duo { position: relative; isolation: isolate; overflow: hidden; border-radius: 26px; }
.tg-duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(1.08); }
.tg-duo::before { content: ''; position: absolute; inset: 0; z-index: 1; mix-blend-mode: color; background: linear-gradient(140deg, #3A6BB0 0%, #1A3A64 55%, #102541 100%); }
.tg-duo::after { content: ''; position: absolute; inset: 0; z-index: 1; mix-blend-mode: screen; background: radial-gradient(55% 55% at 72% 35%, rgba(232, 196, 110, .55), transparent 70%); }
.tg-duo__frame { position: absolute; inset: 14px; z-index: 2; border-radius: 18px; border: 1px solid rgba(232, 196, 110, .35); pointer-events: none; }

/* ----- Arte de metal líquido no destaque do módulo ----- */
.tg-spotlight--art::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5; mix-blend-mode: screen;
  background: url("/assets/images/premium/metal-azul-dourado-960.webp") right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 75%); mask-image: linear-gradient(90deg, transparent 25%, #000 75%); }
@media (min-width: 1001px) { .tg-spotlight--art::after { background-image: url("/assets/images/premium/metal-azul-dourado-1920.webp"); } }
.tg-spotlight--art > * { z-index: 1; }

/* ----- Números ----- */
.tg-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tg-stat { position: relative; padding: 28px 24px; border-radius: 22px; overflow: hidden; }
.tg-stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: transparent; background: linear-gradient(120deg, #F6E2AE, #C99A3E 60%, #B8862B); -webkit-background-clip: text; background-clip: text; }
.tg-stat span { display: block; margin-top: 10px; color: var(--tg-muted); font-size: .92rem; }
@media (max-width: 900px) { .tg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ----- Fundo de aurora para o contato ----- */
.tg-aurora-section { position: relative; isolation: isolate; overflow: hidden; }
.tg-aurora-section > .tg-aurora { z-index: -1; opacity: .7; }
.tg-photo__media { display: block; }
.tg-duo picture { position: absolute; inset: 0; display: block; }
.tg-photo .tg-glass { background: linear-gradient(160deg, rgba(16, 37, 65, .72), rgba(10, 23, 42, .55)); }
.tg-stat strong.is-text { font-size: clamp(1.45rem, 2.3vw, 1.9rem); letter-spacing: -.03em; line-height: 1.15; }

/* ==========================================================================
   VITRINE ANIMADA — mesma linguagem da tela de entrada do esocial.taxgold.com.br
   (cenas por sistema: entrada → fluxo → eventos que mudam de situação → selo).
   Abas trocam sozinhas a cada 7,5 s; pausam com o mouse, o foco, o botão ou fora da tela.
   Com "reduzir movimento", não há troca automática e as cenas aparecem no estado final.
   ========================================================================== */
.tg-vt-wrap { position: relative; isolation: isolate; }
.tg-vt-arcs { position: absolute; right: -14%; top: 50%; z-index: -1; width: min(1100px, 120%); height: auto; transform: translateY(-50%); pointer-events: none;
  -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .12) 40%, #000 85%); mask-image: linear-gradient(100deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .12) 40%, #000 85%); }
.tg-vt-arcs circle { fill: none; stroke: url(#tgVtOuro); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 18; }
.tg-vt-arcs .a1 { stroke-width: 1.6; opacity: .55; } .tg-vt-arcs .a2 { stroke-width: 1.2; opacity: .3; } .tg-vt-arcs .a3 { stroke-width: 1; opacity: .16; }
.tg-vt { position: relative; max-width: 1000px; margin: 0 auto; padding: 16px 18px 20px; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tg-vt__abas { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tg-vt__abas::-webkit-scrollbar { display: none; }
.tg-vt__aba { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 12px; border: 0; border-radius: 12px; background: transparent; color: #9FB0C6; font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer; transition: background-color .15s, color .15s; }
.tg-vt__aba svg { width: 17px; height: 17px; }
.tg-vt__aba:hover { color: #E6ECF3; background: rgba(255, 255, 255, .05); }
.tg-vt__aba[aria-selected="true"] { background: rgba(232, 196, 110, .12); color: #F3DFAE; box-shadow: inset 0 0 0 1px rgba(232, 196, 110, .25); }
.tg-vt__aba::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #EED39A, #C99A3E, #8B5E12); transform: scaleX(0); transform-origin: left; }
.tg-vt.is-viva .tg-vt__aba[aria-selected="true"]::after { animation: tg-vt-progresso 7.5s linear forwards; }
.tg-vt:is(:hover, .is-pausada, .is-fora) .tg-vt__aba[aria-selected]::after, .tg-vt:has(:focus-visible) .tg-vt__aba[aria-selected]::after { animation-play-state: paused; }
.tg-vt__pausa { flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin-left: auto; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; background: transparent; color: #C9D3E0; cursor: pointer; }
.tg-vt__pausa:hover { color: #fff; border-color: rgba(232, 196, 110, .5); }
.tg-vt__pausa svg { width: 15px; height: 15px; }
.tg-vt__pausa .i-play { display: none; }
.tg-vt.is-pausada .tg-vt__pausa .i-pause { display: none; } .tg-vt.is-pausada .tg-vt__pausa .i-play { display: block; }
.tg-vt__cenas { display: grid; }
.tg-vt__cena { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .45s var(--tg-ease), visibility 0s linear .45s; }
.tg-vt__cena.is-ativa { opacity: 1; visibility: visible; transition: opacity .45s var(--tg-ease); }
.tg-vt__rodape { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.tg-vt__legenda { flex: 1 1 360px; color: #AEBBCD; font-size: .95rem; line-height: 1.55; }
.tg-vt__legenda a { color: #F0D38F; text-decoration: underline; text-decoration-color: rgba(232, 196, 110, .45); text-underline-offset: 3px; }
.tg-vt__acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.tg-vt-demo { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .04); color: #E6ECF3; font: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.tg-vt-demo:hover { border-color: rgba(232, 196, 110, .45); background: rgba(232, 196, 110, .08); }
.tg-vt-demo .play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #EED39A, #C99A3E 55%, #8B5E12); color: #1D1404; }
.tg-vt-demo .play svg { width: 15px; height: 15px; margin-left: 2px; }
.tg-vt-demo small { color: #9FB0C6; font-weight: 500; }

/* Palco da cena */
.vt-palco { position: relative; display: grid; grid-template-columns: minmax(0, 300px) 64px minmax(0, 1fr); align-items: center; gap: 0 8px; padding: 8px 4px 74px; }
.vt-planilha, .vt-diag { position: relative; overflow: hidden; border-radius: 16px; background: rgba(10, 23, 42, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.vt-topo { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #DFE6EF; font-size: .8rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-topo svg { width: 16px; height: 16px; flex: none; color: #5FD29A; }
.vt-diag .vt-topo svg { color: #E8C46E; }
.vt-grade { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 9px 7px; padding: 12px 12px 14px; }
.vt-grade .h { color: #8FA1B8; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.vt-grade i { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .18); transform-origin: left; }
.vt-grade i:nth-child(3n + 3) { background: rgba(232, 196, 110, .45); }
.vt-varredura { position: absolute; left: 0; right: 0; top: 40px; height: 24px; background: linear-gradient(180deg, rgba(232, 196, 110, 0), rgba(232, 196, 110, .28), rgba(232, 196, 110, 0)); opacity: 0; pointer-events: none; }
.vt-fluxo { position: relative; height: 2px; margin: 0 6px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(232, 196, 110, .75) 0 7px, transparent 7px 13px); }
.vt-fluxo span { position: absolute; right: -3px; top: -5px; border-left: 9px solid rgba(232, 196, 110, .85); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.vt-eventos { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.vt-eventos li { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 11px 13px; border-radius: 13px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); color: #C9D3E0; font-size: .86rem; }
.vt-eventos b { color: #fff; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vt-eventos span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-troca { display: inline-grid; overflow: visible !important; }
.vt-troca > * { grid-area: 1 / 1; justify-self: end; }
.vt-troca .ini { opacity: 0; }
.vt-chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 650; white-space: nowrap; }
.vt-chip.ok { background: rgba(52, 199, 140, .14); color: #8FE3C0; box-shadow: inset 0 0 0 1px rgba(52, 199, 140, .26); }
.vt-chip.info { background: rgba(120, 165, 230, .14); color: #B9D0F4; box-shadow: inset 0 0 0 1px rgba(120, 165, 230, .26); }
.vt-chip.ouro { background: rgba(232, 196, 110, .16); color: #F0D38F; box-shadow: inset 0 0 0 1px rgba(232, 196, 110, .3); }
.vt-selo { position: absolute; right: 10px; bottom: 6px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: #FAF9F6; color: #1C2738; box-shadow: 0 22px 40px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(16, 37, 65, .06); font-size: .8rem; transform: rotate(-2deg); }
.vt-selo .s { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #EED39A, #C99A3E 55%, #8B5E12); color: #1D1404; }
.vt-selo .s svg { width: 17px; height: 17px; }
.vt-selo b { display: block; color: #102541; font-size: .86rem; }
.vt-selo code { color: #45536A; font-family: var(--tg-mono); font-size: .74rem; }
.vt-barras { position: relative; display: flex; align-items: flex-end; gap: 12px; height: 104px; padding: 12px 16px 6px; }
.vt-barras span { flex: 1; border-radius: 5px 5px 1px 1px; background: linear-gradient(180deg, #EED39A, #C99A3E 70%, #8B5E12); transform-origin: bottom; }
.vt-barras .b1 { height: 38%; } .vt-barras .b2 { height: 62%; } .vt-barras .b3 { height: 92%; }
.vt-barras svg { position: absolute; inset: 12px 12px 6px; width: calc(100% - 24px); height: calc(100% - 18px); overflow: visible; }
.vt-barras path { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
.vt-rotulo { padding: 8px 14px 14px; color: #F0D38F; font-size: .78rem; font-weight: 650; }
/* Sequência da cena ativa (tempos iguais aos da tela do eSocial) */
.is-ativa .vt-planilha, .is-ativa .vt-diag { animation: vt-sobe .5s var(--tg-ease) both; }
.is-ativa .vt-grade .l1 { animation: vt-cresce .45s var(--tg-ease) both .35s; }
.is-ativa .vt-grade .l2 { animation: vt-cresce .45s var(--tg-ease) both .55s; }
.is-ativa .vt-grade .l3 { animation: vt-cresce .45s var(--tg-ease) both .75s; }
.is-ativa .vt-grade .l4 { animation: vt-cresce .45s var(--tg-ease) both .95s; }
.is-ativa .vt-varredura { animation: vt-varre 1.3s ease-in-out both .4s; }
.is-ativa .vt-fluxo { animation: vt-fluxo .6s linear 3 1.3s, vt-aparece .3s ease both 1.2s; }
.is-ativa .vt-eventos .e1 { animation: vt-entra .45s var(--tg-ease) both 1.7s; }
.is-ativa .vt-eventos .e2 { animation: vt-entra .45s var(--tg-ease) both 2.1s; }
.is-ativa .vt-eventos .e3 { animation: vt-entra .45s var(--tg-ease) both 2.5s; }
.is-ativa .e1 .ini { animation: vt-some .3s ease both 2.6s; } .is-ativa .e1 .fim { animation: vt-aparece .3s ease both 2.6s; }
.is-ativa .e2 .ini { animation: vt-some .3s ease both 3s; }   .is-ativa .e2 .fim { animation: vt-aparece .3s ease both 3s; }
.is-ativa .e3 .ini { animation: vt-some .3s ease both 3.4s; } .is-ativa .e3 .fim { animation: vt-aparece .3s ease both 3.4s; }
.is-ativa .vt-selo { animation: vt-selo .55s var(--tg-ease) both 3.9s; }
.is-ativa .vt-barras .b1 { animation: vt-ergue .55s var(--tg-ease) both .35s; }
.is-ativa .vt-barras .b2 { animation: vt-ergue .55s var(--tg-ease) both .55s; }
.is-ativa .vt-barras .b3 { animation: vt-ergue .55s var(--tg-ease) both .75s; }
.is-ativa .vt-barras svg { animation: vt-revela .8s var(--tg-ease) both 1.05s; }
.is-ativa .vt-rotulo { animation: vt-aparece .4s ease both 1.5s; }
.tg-vt-arcs circle { animation: vt-traco 1.9s var(--tg-ease) both; }
.tg-vt-arcs .a2 { animation-delay: .15s; } .tg-vt-arcs .a3 { animation-delay: .3s; }
@keyframes vt-cresce { from { transform: scaleX(0); } }
@keyframes vt-ergue { from { transform: scaleY(0); } }
@keyframes vt-varre { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(110px); } }
@keyframes vt-fluxo { from { background-position: 0 0; } to { background-position: 13px 0; } }
@keyframes vt-entra { from { opacity: 0; transform: translateX(-12px); } }
@keyframes vt-aparece { from { opacity: 0; } }
@keyframes vt-some { from { opacity: 1; } to { opacity: 0; } }
@keyframes vt-selo { from { opacity: 0; transform: translateY(12px) rotate(-6deg) scale(.96); } }
@keyframes tg-vt-progresso { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes vt-traco { from { stroke-dashoffset: 100; } }
@keyframes vt-revela { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% -10% -20% 0); } }
@keyframes vt-sobe { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 720px) {
  .tg-vt { padding: 12px 12px 16px; border-radius: 20px; }
  .vt-palco { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 70px; }
  .vt-fluxo { width: 2px; height: 26px; margin: 0 auto; background: repeating-linear-gradient(180deg, rgba(232, 196, 110, .75) 0 7px, transparent 7px 13px); }
  .vt-fluxo span { right: -5px; top: auto; bottom: -4px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid rgba(232, 196, 110, .85); border-bottom: 0; }
  .vt-eventos li { grid-template-columns: 78px minmax(0, 1fr) auto; font-size: .8rem; padding: 9px 11px; }
}

/* Janela do vídeo */
.tg-vmodal { width: min(1040px, calc(100vw - 32px)); max-width: none; padding: 0; border: 1px solid rgba(232, 196, 110, .25); border-radius: 20px; background: #06101F; color: var(--tg-on-ink); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9); }
.tg-vmodal::backdrop { background: rgba(4, 10, 20, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tg-vmodal__topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px 12px 20px; font-weight: 650; font-size: .95rem; }
.tg-vmodal__fechar { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; font-size: 1.2rem; line-height: 1; }
.tg-vmodal__fechar:hover { border-color: var(--tg-gold); }
.tg-vmodal__player { aspect-ratio: 16 / 9; background: #000; }
.tg-vmodal__player iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Conteúdo de busca: qual sistema para cada obrigação */
.tg-seo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .tg-seo-grid { grid-template-columns: minmax(0, 1fr); } }
.tg-seo-item { position: relative; padding: 26px; border-radius: 20px; overflow: hidden; }
.tg-seo-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.tg-seo-item p { color: var(--tg-muted); font-size: .95rem; }
.tg-seo-item .tg-seo-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .88rem; }
.tg-seo-item .tg-seo-links a { color: var(--tg-gold-ink); font-weight: 600; text-decoration: none; }
.tg-seo-item .tg-seo-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tg-vt-wrap { overflow: hidden; }
.tg-seo-grid > .tg-seo-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (prefers-reduced-motion: reduce) {
  .tg-vt *, .tg-vt *::before, .tg-vt *::after, .tg-vt-arcs circle { animation-delay: 0s !important; }
}

/* ==========================================================================
   PÁGINAS DE PRODUTO NO PADRÃO DA HOME v3 (primeira: /sistema-reinf)
   Hero de duas colunas com painel animado, faixa de números, eventos por série,
   passo a passo, nuvem × desktop e galeria de vídeos.
   ========================================================================== */
.tg-xhero--produto { min-height: min(100svh, 880px); padding-top: clamp(40px, 6vw, 84px); }
.tg-xhero--produto .tg-crumbs { margin-bottom: 18px; }
.tg-xhero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.tg-xhero--produto .tg-xh1 { font-size: clamp(2.3rem, 4.1vw, 3.7rem); }
.tg-xhero--produto .tg-xhero__copy { max-width: none; }
.tg-xhero--produto .tg-orbits { right: -620px; }
@media (max-width: 1000px) {
  .tg-xhero__grid { grid-template-columns: minmax(0, 1fr); }
  .tg-xhero--produto { min-height: 0; }
}

/* Painel animado (ilustração: arquivos entram, eventos são aceitos, período é fechado) */
.tg-rf { position: relative; perspective: 1400px; }
.tg-rf__glow { position: absolute; inset: 8% 4% -6% 6%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(201, 154, 62, .38), transparent 70%); filter: blur(34px); }
.tg-rf__board { position: relative; padding: 18px; border-radius: 24px; overflow: hidden; transform: rotateY(-9deg) rotateX(5deg); transform-style: preserve-3d; transition: transform .8s var(--tg-ease);
  background: linear-gradient(160deg, rgba(26, 58, 100, .78), rgba(10, 23, 42, .9)); border: 1px solid rgba(201, 154, 62, .28);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 40px 120px -60px rgba(201, 154, 62, .6); }
.tg-rf:hover .tg-rf__board { transform: rotateY(-3deg) rotateX(2deg); }
.tg-rf__board::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .08) 0%, transparent 30%); }
.rf-topo { display: flex; align-items: center; gap: 10px; padding: 4px 4px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: .78rem; color: var(--tg-on-ink-muted); }
.rf-topo b { color: var(--tg-on-ink); font-weight: 700; }
.rf-topo .rf-amb { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(46, 160, 100, .12); border: 1px solid rgba(46, 160, 100, .35); color: #8EE0B5; font-size: .7rem; font-weight: 700; }
.rf-topo .rf-amb::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #3BD08A; box-shadow: 0 0 0 3px rgba(59, 208, 138, .2); }
.rf-arquivos { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 12px; }
.rf-arq { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 10px; background: rgba(7, 18, 36, .7); border: 1px solid rgba(255, 255, 255, .08); font-family: var(--tg-mono); font-size: .72rem; color: var(--tg-on-ink); animation: rf-arq 10s var(--tg-ease) infinite both; animation-delay: calc(var(--d, 0) * 220ms); }
.rf-arq i { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font-style: normal; font-size: .55rem; font-weight: 800; font-family: var(--tg-font); }
.rf-arq.x i { background: rgba(232, 196, 110, .18); color: #F0D38F; }
.rf-arq.s i { background: rgba(46, 160, 100, .18); color: #8EE0B5; }
.rf-feixe { position: relative; height: 2px; margin: 4px 0 14px; border-radius: 2px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.rf-feixe::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, #F0D38F, transparent); animation: rf-feixe 2.2s linear infinite; }
.rf-eventos { display: grid; gap: 8px; }
.rf-eventos li { position: relative; display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .07); font-size: .84rem; animation: rf-ev 10s var(--tg-ease) infinite both; animation-delay: calc(.9s + var(--d, 0) * 380ms); }
.rf-eventos b { font-family: var(--tg-mono); font-size: .84rem; color: var(--tg-on-ink); }
.rf-eventos span { color: var(--tg-on-ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rf-st { position: relative; display: grid; justify-items: end; }
.rf-st em { grid-area: 1 / 1; font-style: normal; padding: 3px 9px; border-radius: 999px; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.rf-st .ini { background: rgba(232, 196, 110, .14); color: #F0D38F; border: 1px solid rgba(232, 196, 110, .3); animation: rf-ini 10s linear infinite both; animation-delay: calc(.9s + var(--d, 0) * 380ms); }
.rf-st .fim { background: rgba(46, 160, 100, .14); color: #8EE0B5; border: 1px solid rgba(46, 160, 100, .35); animation: rf-fim 10s linear infinite both; animation-delay: calc(.9s + var(--d, 0) * 380ms); }
.rf-rodape { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(240, 211, 143, .16), rgba(201, 154, 62, .05)); border: 1px solid rgba(201, 154, 62, .35); animation: rf-ev 10s var(--tg-ease) infinite both; animation-delay: 3.4s; }
.rf-rodape .s { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #F0D38F, #C99A3E 55%, #B8862B); color: #0A172A; }
.rf-rodape .s svg { width: 17px; height: 17px; }
.rf-rodape b { display: block; font-size: .86rem; color: var(--tg-on-ink); }
.rf-rodape code { font-family: var(--tg-mono); font-size: .7rem; color: var(--tg-on-ink-muted); }
.rf-flutua { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: var(--tg-on-ink);
  background: rgba(10, 23, 42, .78); border: 1px solid rgba(201, 154, 62, .4); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: rf-flutua 6s ease-in-out infinite alternate; }
.rf-flutua svg { width: 15px; height: 15px; color: var(--tg-gold); }
.rf-flutua.f1 { top: -16px; right: 8%; }
.rf-flutua.f2 { bottom: -16px; left: 7%; animation-delay: -2s; }
.rf-flutua.f3 { bottom: -16px; right: 9%; animation-delay: -4s; }
@keyframes rf-arq { 0% { opacity: 0; transform: translateY(-10px); } 6%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(6px); } }
@keyframes rf-ev { 0% { opacity: 0; transform: translateX(14px); } 5%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes rf-ini { 0%, 14% { opacity: 1; } 18%, 100% { opacity: 0; } }
@keyframes rf-fim { 0%, 14% { opacity: 0; transform: scale(.85); } 19% { opacity: 1; transform: scale(1.08); } 22%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes rf-feixe { from { left: -40%; } to { left: 100%; } }
@keyframes rf-flutua { to { transform: translateY(-10px); } }
.tg-rf:hover .rf-arq, .tg-rf:hover .rf-eventos li, .tg-rf:hover .rf-st em, .tg-rf:hover .rf-rodape { animation-play-state: paused; }
@media (max-width: 1000px) {
  .tg-rf { max-width: 560px; margin: 8px auto 0; width: 100%; }
  .tg-rf__board { transform: none; }
}
@media (max-width: 520px) {
  .rf-eventos li { grid-template-columns: 62px minmax(0, 1fr) auto; font-size: .78rem; padding: 9px 10px; }
  .rf-flutua { font-size: .68rem; padding: 6px 10px; }
  .rf-flutua.f2 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tg-rf .rf-arq, .tg-rf .rf-eventos li, .tg-rf .rf-rodape, .tg-rf .rf-flutua, .tg-rf .rf-feixe::after { animation: none !important; opacity: 1; transform: none; }
  .tg-rf .rf-st .ini { animation: none !important; opacity: 0; }
  .tg-rf .rf-st .fim { animation: none !important; opacity: 1; }
}

/* Faixa de números do produto */
.tg-section--stats { padding: clamp(40px, 5vw, 64px) 0 0; }
.tg-stats--produto .tg-stat { background: linear-gradient(160deg, rgba(26, 58, 100, .6), rgba(10, 23, 42, .85)); }

/* Eventos por série */
.tg-series { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tg-serie { position: relative; padding: clamp(22px, 2.6vw, 30px); border-radius: 22px; overflow: hidden; }
.tg-serie__topo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.tg-serie h3 { font-size: 1.15rem; }
.tg-serie__tag { flex-shrink: 0; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tg-gold-ink); }
.tg-serie > p { color: var(--tg-muted); font-size: .93rem; margin-bottom: 16px; }
.tg-serie dl { display: grid; gap: 8px; }
.tg-serie dd { margin: 0; }
.tg-serie dl > div { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 12px; border-radius: 12px; background: rgba(7, 18, 36, .5); border: 1px solid rgba(255, 255, 255, .06); }
.tg-serie dt { font-family: var(--tg-mono); font-size: .84rem; font-weight: 700; color: var(--tg-gold-light); }
.tg-serie dd { font-size: .88rem; color: var(--tg-text); }
.tg-serie.is-wide { grid-column: 1 / -1; }
.tg-serie.is-wide dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { .tg-series, .tg-serie.is-wide dl { grid-template-columns: minmax(0, 1fr); } }

/* Passo a passo de envio */
.tg-howto { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: howto; }
.tg-howto::before { content: ''; position: absolute; top: 46px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 154, 62, .55), transparent); }
.tg-howto li { position: relative; padding: 26px 22px; border-radius: 22px; }
.tg-howto li::after { counter-increment: howto; content: counter(howto); position: absolute; top: 24px; right: 22px; font-family: var(--tg-serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: rgba(232, 196, 110, .35); }
.tg-howto h3 { font-size: 1.08rem; margin: 16px 0 8px; }
.tg-howto p { color: var(--tg-muted); font-size: .92rem; }
.tg-howto .tg-flow3 { margin-top: 14px; }
.tg-howto .tg-flow3 span { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); font-family: var(--tg-mono); font-size: .72rem; }
@media (max-width: 1000px) { .tg-howto { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tg-howto::before { display: none; } }
@media (max-width: 560px) { .tg-howto { grid-template-columns: minmax(0, 1fr); } }

/* Nuvem × desktop */
.tg-versoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tg-versao { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 34px); border-radius: 24px; overflow: hidden; }
.tg-versao.is-destaque { border-color: rgba(201, 154, 62, .45); background: linear-gradient(160deg, rgba(240, 211, 143, .12), rgba(255, 255, 255, .02)); }
.tg-versao__topo { display: flex; align-items: center; gap: 14px; }
.tg-versao__topo .tg-card__icon { margin: 0; }
.tg-versao h3 { font-size: 1.3rem; }
.tg-versao__sub { font-size: .85rem; color: var(--tg-muted); }
.tg-versao ul { display: grid; gap: 10px; margin: 22px 0 26px; }
.tg-versao li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.tg-versao li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--tg-gold); }
.tg-versao .tg-hero__ctas { margin-top: auto; }
@media (max-width: 820px) { .tg-versoes { grid-template-columns: minmax(0, 1fr); } }

/* Galeria de vídeos (o YouTube só carrega no clique) */
.tg-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tg-video { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--tg-text); }
.tg-video__capa { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 90% at 80% 0%, rgba(201, 154, 62, .35), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(46, 90, 150, .55), transparent 70%), linear-gradient(160deg, #13294B, #0A172A); }
.tg-video__capa::before { content: ''; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(201, 154, 62, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 154, 62, .1) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); }
.tg-video__capa strong { position: absolute; left: 18px; bottom: 14px; right: 80px; font-family: var(--tg-serif); font-style: italic; font-weight: 400; font-size: 1.35rem; line-height: 1.1; color: #F0D38F; text-align: left; }
.tg-video__play { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #F0D38F, #C99A3E 55%, #B8862B); color: #0A172A; box-shadow: 0 0 0 10px rgba(201, 154, 62, .14), 0 20px 40px -12px rgba(0, 0, 0, .8); transition: transform .35s var(--tg-ease), box-shadow .35s; }
.tg-video__play svg { width: 24px; height: 24px; margin-left: 3px; }
.tg-video:hover .tg-video__play, .tg-video:focus-visible .tg-video__play { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(201, 154, 62, .16), 0 20px 40px -12px rgba(0, 0, 0, .8); }
.tg-video__dur { position: absolute; right: 14px; bottom: 14px; padding: 3px 9px; border-radius: 8px; background: rgba(7, 18, 36, .82); font-family: var(--tg-mono); font-size: .74rem; color: var(--tg-on-ink); }
.tg-video__info { padding: 18px 20px 20px; }
.tg-video__info h3 { font-size: 1rem; line-height: 1.35; }
.tg-video__info p { margin-top: 6px; font-size: .88rem; color: var(--tg-muted); }
@media (max-width: 960px) { .tg-videos { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } }

/* Texto explicativo em duas colunas (conteúdo para busca) */
.tg-explica { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.tg-explica h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.tg-explica h3:first-child { margin-top: 0; }
.tg-explica p { color: var(--tg-muted); }
.tg-explica p + p { margin-top: 12px; }
.tg-explica strong { color: var(--tg-text); }
@media (max-width: 820px) { .tg-explica { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .rf-emp { display: none; }
  .tg-stats--produto .tg-stat { padding: 22px 18px; }
  .tg-stats--produto .tg-stat strong.is-text { font-size: clamp(1.15rem, 5.4vw, 1.5rem); }
  .tg-stats--produto .tg-stat span { font-size: .84rem; }
}

/* ----- Emissor de notas: caminhos, cidades atendidas e plataformas ----- */
.tg-versoes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tg-versoes--3 .tg-versao ul { margin-bottom: 0; }
@media (max-width: 1000px) { .tg-versoes--3 { grid-template-columns: minmax(0, 1fr); } }
.tg-cidades { position: relative; margin-top: 16px; padding: clamp(22px, 3vw, 34px); border-radius: 24px; overflow: hidden; }
.tg-cidades__topo { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 20px; }
.tg-cidades__topo h3 { font-size: 1.15rem; }
.tg-cidades__topo p { color: var(--tg-muted); font-size: .9rem; max-width: 60ch; }
.tg-cidades__grade { columns: 4 200px; column-gap: 18px; }
.tg-uf { break-inside: avoid; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(7, 18, 36, .5); border: 1px solid rgba(255, 255, 255, .06); }
.tg-uf b { display: grid; place-items: center; height: 26px; border-radius: 8px; font-family: var(--tg-mono); font-size: .76rem; color: #0A172A; background: linear-gradient(135deg, #F0D38F, #C99A3E 55%, #B8862B); }
.tg-uf ul { display: grid; gap: 3px; font-size: .9rem; color: var(--tg-text); }
.tg-cidades__padroes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 8px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .07); }
.tg-cidades__padroes > span { font-size: .85rem; color: var(--tg-muted); }
.tg-cidades__padroes .tg-ops { margin: 0; }
.tg-cidades__nota { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: .92rem; color: var(--tg-muted); }
.tg-cidades__nota svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--tg-gold); }
.tg-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tg-logos li { display: grid; gap: 4px; padding: 16px 14px; border-radius: 14px; background: rgba(7, 18, 36, .72); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .3s, background-color .3s; }
.tg-logos li:hover { border-color: rgba(201, 154, 62, .55); background: rgba(22, 48, 87, .9); }
.tg-logos b { font-size: .98rem; color: var(--tg-on-ink); }
.tg-logos span { font-size: .74rem; color: var(--tg-gold-ink); font-weight: 600; }

@media (max-width: 560px) { .tg-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tg-logos li:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .tg-cidades__grade { columns: 2 130px; column-gap: 10px; }
  .tg-uf { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 10px 12px; }
  .tg-uf b { width: 34px; }
  .tg-uf ul { font-size: .86rem; }
}

/* ----- Planos e preços (emissor de notas) ----- */
.tg-precos__controles { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.tg-precos__abas { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.tg-precos__abas button { display: grid; gap: 2px; text-align: left; padding: 10px 18px; border: 0; border-radius: 13px; background: transparent; color: var(--tg-muted); font: inherit; font-weight: 750; font-size: .95rem; cursor: pointer; transition: background-color .25s, color .25s; }
.tg-precos__abas button small { font-weight: 500; font-size: .74rem; opacity: .85; }
.tg-precos__abas button:hover { color: var(--tg-text); }
.tg-precos__abas button[aria-selected="true"] { background: linear-gradient(135deg, #F0D38F, #C99A3E 50%, #B8862B); color: #0A172A; }
.tg-precos__ciclo { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.tg-precos__ciclo button { padding: 9px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--tg-muted); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.tg-precos__ciclo button[aria-pressed="true"] { background: rgba(201, 154, 62, .18); color: var(--tg-gold-light); box-shadow: inset 0 0 0 1px rgba(201, 154, 62, .45); }
.tg-precos__ciclo button span { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(46, 160, 100, .18); color: #8EE0B5; font-size: .72rem; }
.tg-precos:not(.is-anual) .pr-a, .tg-precos.is-anual .pr-m { display: none; }
.tg-ptab-wrap { border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .09); background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012)); }
.tg-ptab { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tg-ptab th { text-align: left; padding: 14px 18px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tg-muted); background: rgba(7, 18, 36, .55); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.tg-ptab td { padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .06); vertical-align: middle; font-variant-numeric: tabular-nums; }
.tg-ptab tbody tr:last-child td { border-bottom: 0; }
.tg-ptab tbody tr { transition: background-color .2s; }
.tg-ptab tbody tr:hover { background: rgba(255, 255, 255, .03); }
.tg-ptab tr.is-destaque { background: linear-gradient(90deg, rgba(240, 211, 143, .13), rgba(201, 154, 62, .03)); box-shadow: inset 3px 0 0 var(--tg-gold); }
.tg-ptab .pr-nome { font-weight: 800; color: var(--tg-text); white-space: nowrap; }
.tg-ptab .pr-nome .tg-badge { margin-left: 6px; vertical-align: 2px; }
.tg-ptab .pr-preco b { font-size: 1.08rem; color: var(--tg-gold-light); }
.tg-ptab .pr-preco small { display: block; margin-top: 2px; font-size: .75rem; color: var(--tg-muted); }
.tg-ptab td:last-child { text-align: right; width: 1%; white-space: nowrap; }
.tg-precos__nota { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .88rem; color: var(--tg-muted); }
.tg-precos__nota svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--tg-gold); }
.tg-precos__nota strong { color: var(--tg-text); }
.tg-precos__inclui { margin-top: 36px; }
.tg-precos__inclui h3 { font-size: 1.15rem; margin-bottom: 16px; }
.tg-precos__inclui ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tg-precos__inclui li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: rgba(7, 18, 36, .45); border: 1px solid rgba(255, 255, 255, .07); }
.tg-precos__inclui .tg-card__icon { width: 38px; height: 38px; flex-shrink: 0; margin: 0; }
.tg-precos__inclui .tg-card__icon svg { width: 18px; height: 18px; }
.tg-precos__inclui strong { display: block; font-size: .92rem; }
.tg-precos__inclui li div > span { display: block; margin-top: 3px; font-size: .82rem; color: var(--tg-muted); }
.tg-sim { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); margin-top: 28px; padding: clamp(22px, 3vw, 34px); border-radius: 24px; overflow: hidden; border-color: rgba(201, 154, 62, .3); }
.tg-sim h3 { font-size: 1.3rem; margin: 10px 0 6px; }
.tg-sim > div > p { color: var(--tg-muted); font-size: .93rem; }
.tg-sim__mod { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; padding: 0; border: 0; }
.tg-sim__mod label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; border: 1px solid #2B4A73; background: #0A172A; font-size: .9rem; font-weight: 650; cursor: pointer; }
.tg-sim__mod label:has(input:checked) { border-color: var(--tg-gold); box-shadow: 0 0 0 3px rgba(201, 154, 62, .18); }
.tg-sim__mod input { accent-color: #C99A3E; }
.tg-sim__campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tg-sim__resultado { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(18px, 2.4vw, 26px); border-radius: 18px; background: rgba(7, 18, 36, .6); border: 1px solid rgba(255, 255, 255, .07); }
.tg-sim__resultado .sim-plano { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tg-gold-ink); }
.tg-sim__resultado .sim-nome { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.tg-sim__resultado .sim-preco { font-size: 1.05rem; margin-top: 6px; color: var(--tg-muted); }
.tg-sim__resultado .sim-preco b { font-size: 1.7rem; color: var(--tg-gold-light); }
.tg-sim__resultado .sim-det { margin-top: 8px; font-size: .88rem; color: var(--tg-muted); }
.tg-sim__resultado .tg-btn { align-self: flex-start; }
.tg-sim__aviso { font-size: .76rem; color: var(--tg-muted); }
.tg-precos__regras { margin-top: 18px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.tg-precos__regras summary { cursor: pointer; padding: 16px 20px; font-weight: 700; }
.tg-precos__regras ul { display: grid; gap: 8px; padding: 0 20px 18px 38px; list-style: disc; color: var(--tg-muted); font-size: .9rem; }
@media (max-width: 1000px) { .tg-precos__inclui ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tg-sim { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .tg-ptab thead { display: none; }
  .tg-ptab, .tg-ptab tbody, .tg-ptab tr, .tg-ptab td { display: block; width: 100%; }
  .tg-ptab tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; padding: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .tg-ptab tbody tr:last-child { border-bottom: 0; }
  .tg-ptab td { padding: 0; border: 0; }
  .tg-ptab td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tg-muted); }
  .tg-ptab td.pr-nome, .tg-ptab td:last-child { grid-column: 1 / -1; }
  .tg-ptab td.pr-nome::before, .tg-ptab td:last-child::before { display: none; }
  .tg-ptab td:last-child { text-align: left; width: auto; }
  .tg-ptab td:last-child .tg-btn { width: 100%; justify-content: center; }
  .tg-precos__abas { width: 100%; }
  .tg-precos__abas button { flex: 1 1 140px; }
}
@media (max-width: 560px) { .tg-precos__inclui ul, .tg-sim__campos { grid-template-columns: minmax(0, 1fr); } }
