:root{
  --accent:#11852b;--accent-strong:#0b6d22;--accent-soft:#e6f8e9;--accent-pale:#f3fcf4;
  --green:var(--accent);--green-dark:var(--accent-strong);
  --ink:#173321;--muted:#52675a;--line:#e0eee3;--bg:#fff;--card:#fff;--soft:#f4faf5;
  font-family:Poppins,system-ui,-apple-system,sans-serif;
}
[data-theme="dark"]{
  --accent-soft:#173a20;--accent-pale:#15261a;--paper:#171d18;--ink:#e8f5eb;--muted:#b4c4b7;--line:#29382c;--bg:#111712;--card:#19211b;--soft:#202b22;
}
html{background:var(--bg)}
body{background:var(--bg);color:var(--ink)}
a:hover{color:var(--accent-strong)}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tc-button{background:var(--accent);color:#fff}
.tc-button:hover{background:var(--accent-strong);color:#fff}
.tc-card,.tc-simulator,.tc-invest-card{background:var(--card)}
.tc-page-hero,.tc-empty{background:var(--soft)}

/* Cabeçalho */
.tc-header{height:auto;background:transparent;border:0;padding:18px 0 8px}
.tc-nav{height:auto;gap:18px;flex-wrap:nowrap}
.tc-brand{font-size:22px;font-weight:600;letter-spacing:-.5px;gap:8px;color:var(--ink)}
.tc-brand-image{display:block;width:38px;height:27px;flex:0 0 auto;object-fit:contain}
.tc-live{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);border:1px solid var(--line);background:var(--card);border-radius:99px;padding:5px 12px;white-space:nowrap}
.tc-live i{width:8px;height:8px;border-radius:50%;background:#22a653;box-shadow:0 0 0 3px #22a65326}
.tc-live b{color:#22a653;font-weight:600}
.tc-primary{margin-left:auto}
.tc-primary ul{gap:26px;font-size:14px;font-weight:500;color:var(--muted)}
.tc-primary a:hover{color:var(--accent-strong)}
.tc-nav-actions{gap:6px}
.tc-icon-btn{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer}
.tc-icon-btn:hover{background:var(--soft);color:var(--ink)}

/* Home */
.tc-home{padding-bottom:70px}
.tc-category-strip{display:flex;gap:4px;align-items:center;overflow-x:auto;white-space:nowrap;margin:10px 0 28px;padding:6px;border-radius:99px;background:var(--soft);border:1px solid var(--line);scrollbar-width:none}
.tc-category-strip::-webkit-scrollbar{display:none}
.tc-category-strip a{display:inline-flex;min-height:44px;align-items:center;font-size:13px;font-weight:600;padding:8px 14px;border-radius:99px;color:var(--muted)}
.tc-category-strip a:hover{color:var(--ink)}
.tc-category-strip a.is-current{background:var(--accent);color:#fff;font-weight:600}

.tc-period{display:flex;justify-content:center;width:max-content;margin:0 auto 34px;padding:4px;border:1px solid var(--line);border-radius:99px;background:var(--card)}
.tc-period a{display:inline-flex;min-height:44px;align-items:center;gap:6px;padding:8px 20px;border-radius:99px;font-size:13px;font-weight:600;color:var(--accent-strong)}
.tc-period a.is-current{background:var(--accent);color:#fff}
.tc-period i{width:7px;height:7px;border-radius:50%;background:currentColor}

.tc-claim{text-align:center;margin-bottom:34px}
.tc-claim h1{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;font-size:clamp(30px,5vw,46px);font-weight:600;letter-spacing:-1.5px;line-height:1.15;margin:0 0 10px}
.tc-claim-stepper{display:inline-flex;align-items:center;gap:10px}
.tc-claim-stepper em{font-style:normal;color:var(--accent);font-weight:700}.tc-claim-stepper .tc-claim-money{font-size:.58em;color:var(--muted);font-weight:600}.tc-claim-stepper .tc-claim-amount{width:clamp(110px,18vw,180px);padding:2px 5px;border:0;border-bottom:2px solid var(--accent);border-radius:0;background:transparent;color:var(--accent);font:inherit;font-size:.78em;font-weight:700;text-align:center;letter-spacing:inherit}.tc-claim-stepper .tc-claim-amount:focus{outline:2px solid var(--accent);outline-offset:3px}.tc-claim-stepper .tc-claim-amount::-webkit-inner-spin-button,.tc-claim-stepper .tc-claim-amount::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.tc-claim-stepper .tc-claim-amount{-moz-appearance:textfield}
.tc-claim-stepper button{width:44px;height:44px;flex:0 0 44px;border:0;border-radius:50%;background:var(--accent-soft);color:var(--accent-strong);font-size:20px;line-height:1;cursor:pointer}
.tc-claim-stepper button:hover{background:var(--accent);color:#fff}
.tc-claim-note{max-width:620px;margin:0 auto 22px;font-size:12px;color:var(--muted)}
.tc-claim-note strong{color:var(--accent-strong)}
.tc-claim-form{display:flex;gap:12px;align-items:center}
.tc-claim-field{flex:1.4}
.tc-claim-select{flex:.6}
.tc-claim-form input[type=text],.tc-claim-form select{width:100%;height:46px;padding:0 20px;border:1px solid var(--line);border-radius:99px;background:var(--card);color:var(--ink);font-size:14px}
.tc-claim-form select{padding-right:34px}
.tc-claim-submit{min-height:48px;padding:10px 28px;border:0;border-radius:99px;background:var(--accent);color:#fff;font-weight:700;font-size:14px;cursor:pointer;white-space:nowrap;transition:background .2s,transform .18s}.tc-claim-submit:hover{transform:translateY(-1px)}
.tc-claim-submit:hover{background:var(--accent-strong)}

.tc-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:36px;align-items:start}

/* Linhas */
.tc-row{display:grid;grid-template-columns:48px 72px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 16px;border-bottom:1px solid var(--line);transition:background .18s}
.tc-row:hover{background:var(--accent-pale)}
.tc-row.is-top{border:0;border-radius:20px;background:var(--accent-soft);margin-bottom:12px}
.tc-row.is-top:nth-child(2){background:color-mix(in srgb,var(--accent-soft) 70%,var(--bg))}
.tc-row.is-top:nth-child(3){background:color-mix(in srgb,var(--accent-soft) 45%,var(--bg))}
.tc-row-rank{text-align:center;font-weight:500;font-size:16px;color:var(--muted)}
.tc-row.is-top .tc-row-rank{color:var(--accent);font-weight:600}
.tc-row-logo{display:grid;place-items:center;width:72px;height:72px;border-radius:16px;background:var(--soft);color:var(--accent);font-size:26px;font-weight:700;overflow:hidden}
.tc-row-logo img{width:100%;height:100%;object-fit:cover}
.tc-row-body{min-width:0}
.tc-row-head{display:flex;justify-content:space-between;align-items:baseline;gap:14px}
.tc-row-head h3{margin:0;font-size:16px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tc-row-price{justify-self:end;text-align:right;color:var(--accent);font-size:15px;font-weight:600;white-space:nowrap}
.tc-row-body p{margin:2px 0 4px;font-size:14px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tc-row-meta{display:flex;flex-wrap:wrap;align-items:center;gap:0;font-size:12px;color:var(--muted)}
.tc-row-meta>*+*:before{content:'·';margin:0 8px;color:#718278}
.tc-row-meta>a:hover{color:var(--accent-strong)}
.tc-chip{font-weight:600;color:var(--ink)}
.tc-row.is-demo .tc-row-price{color:var(--muted);font-size:12px}
.tc-demo-notice{margin-bottom:14px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:var(--accent-pale);font-size:12px;color:var(--muted)}
.tc-demo-notice strong{color:var(--accent-strong)}

/* Últimas atividades */
.tc-activity{margin:30px 0 22px}
.tc-activity h2,.tc-side-head h2{display:flex;align-items:center;gap:7px;margin:0;font-size:14px;font-weight:600}
.tc-activity h2 i,.tc-side-head h2 i{width:7px;height:7px;border-radius:50%;background:var(--accent)}
.tc-activity-list{display:flex;gap:10px;overflow-x:auto;margin-top:12px;padding-bottom:4px;scrollbar-width:none}
.tc-activity-chip{flex:0 0 auto;display:grid;gap:1px;min-width:136px;max-width:170px;padding:9px 12px;border-radius:12px;background:var(--soft);font-size:11px;color:var(--muted)}
.tc-activity-chip strong{color:var(--ink);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tc-activity-chip small{font-size:10px}

/* Lateral */
.tc-side{position:sticky;top:20px}
.tc-side-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.tc-side-head a{font-size:12px;color:var(--accent)}
.tc-side-list{list-style:none;margin:0;padding:0}
.tc-side-list li{display:grid;grid-template-columns:26px 30px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 0;font-size:13px}
.tc-side-rank{font-size:11px;color:var(--muted)}
.tc-side-logo{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--soft);color:var(--accent);font-size:12px;font-weight:700;overflow:hidden}
.tc-side-logo img{width:100%;height:100%;object-fit:cover}
.tc-side-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tc-side-list strong{color:var(--accent);font-size:12px;font-weight:600}
.tc-side-empty{font-size:12px;color:var(--muted)}

/* Rodapé */
.tc-footer{background:transparent;color:var(--muted);padding:30px 0;border-top:1px solid var(--line)}
.tc-footer-row{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:12px}
.tc-footer-row nav{display:flex;gap:18px}

/* Responsivo */
@media(max-width:960px){
  .tc-layout{grid-template-columns:1fr}
  .tc-side{position:static;order:-1}
}
@media(max-width:850px){
  .tc-live{display:none}
  .tc-menu-toggle{min-width:44px;min-height:44px}
  .tc-nav{gap:10px}
  .tc-primary{top:72px;background:var(--card)}
  .tc-menu-toggle{margin-left:auto;background:var(--card);color:var(--ink)}
}
@media(max-width:700px){
  .tc-claim h1{gap:8px;letter-spacing:-1px}
  .tc-claim-stepper{gap:6px}
  .tc-claim-stepper .tc-claim-amount{width:clamp(104px,30vw,150px)}
  .tc-claim-stepper button{width:44px;height:44px;flex-basis:44px}
  .tc-claim-form{flex-direction:column;align-items:stretch}
  .tc-row{grid-template-columns:30px 52px minmax(0,1fr) auto;gap:10px;padding:12px 8px}
  .tc-row-price{grid-column:4;grid-row:1;align-self:center;margin-top:0;font-size:13px}
  .tc-row-body{grid-column:3;grid-row:1}
  .tc-row-logo{width:52px;height:52px;font-size:20px}
  .tc-row-head h3{font-size:14px}
  .tc-row-body p{font-size:12px}
  .tc-row-meta{font-size:11px}
  .tc-row-meta>*+*:before{margin:0 5px}
}

/* Marca em barras e ajustes de contraste para o modo escuro */
.tc-brand-rank-mark{display:inline-flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:center!important;gap:3px;width:38px;height:30px;flex:0 0 38px;padding:3px 4px;white-space:nowrap}
.tc-brand-rank-mark>i{display:block!important;flex:0 0 5px;height:5px;min-height:5px;border-radius:2px;background:#111;box-shadow:0 1px 2px rgba(0,0,0,.18)}
.tc-brand-rank-mark>i:first-child{width:10px;background:var(--tc-primary,#19BF3D)}
.tc-brand-rank-mark>i:nth-child(2){width:17px}
.tc-brand-rank-mark>i:nth-child(3){width:24px}
.tc-auth-brand .tc-brand-rank-mark{width:42px;height:32px;flex-basis:42px}
[data-theme="dark"] .tc-brand-rank-mark>i:nth-child(2),[data-theme="dark"] .tc-brand-rank-mark>i:nth-child(3){background:#f1f5f1;box-shadow:0 1px 2px rgba(0,0,0,.5)}
[data-theme="dark"] .tc-home{color:var(--ink)}
[data-theme="dark"] .tc-home .tc-row{color:var(--ink);border-color:var(--line)}
[data-theme="dark"] .tc-home .tc-row.is-top{background:#1c2a20}
[data-theme="dark"] .tc-home .tc-row.is-top:nth-child(2){background:#1a261e}
[data-theme="dark"] .tc-home .tc-row.is-top:nth-child(3){background:#18231b}
[data-theme="dark"] .tc-home .tc-row:hover{background:#202d23}
[data-theme="dark"] .tc-home .tc-row-head h3,[data-theme="dark"] .tc-home .tc-chip,[data-theme="dark"] .tc-home .tc-side-name{color:var(--ink)}
[data-theme="dark"] .tc-home .tc-row-body p,[data-theme="dark"] .tc-home .tc-row-meta,[data-theme="dark"] .tc-home .tc-row-rank,[data-theme="dark"] .tc-home .tc-side-rank,[data-theme="dark"] .tc-home .tc-side-empty{color:var(--muted)}
[data-theme="dark"] .tc-home .tc-row-logo,[data-theme="dark"] .tc-home .tc-side-logo{background:#243329;color:#8ce69d}
[data-theme="dark"] .tc-home .tc-demo-notice{background:#18251b;border-color:#304434;color:#c2d5c6}
[data-theme="dark"] .tc-home .tc-demo-notice strong{color:#9ce9a9}
[data-theme="dark"] .tc-home .tc-activity-chip{background:var(--soft);color:var(--muted)}
[data-theme="dark"] .tc-home .tc-activity-chip strong{color:var(--ink)}
[data-theme="dark"] .tc-home .tc-side-list li{border-color:var(--line)}
[data-theme="dark"] .tc-home .tc-side-list strong,[data-theme="dark"] .tc-home .tc-row-price{color:#7fe292}
[data-theme="dark"] .tc-listing-hero{background:#141b16}
[data-theme="dark"] .tc-listing-breadcrumb,[data-theme="dark"] .tc-listing-breadcrumb a{color:#b3c2b6}
[data-theme="dark"] .tc-listing-hero-card,[data-theme="dark"] .tc-listing-ranks{background:var(--card);border-color:var(--line);color:var(--ink);box-shadow:0 12px 38px rgba(0,0,0,.24)}
[data-theme="dark"] .tc-listing-heading h1,[data-theme="dark"] .tc-listing-about h2,[data-theme="dark"] .tc-listing-section-head h2{color:var(--ink)}
[data-theme="dark"] .tc-listing-subline,[data-theme="dark"] .tc-listing-lead,[data-theme="dark"] .tc-listing-about .tc-prose,[data-theme="dark"] .tc-listing-value{color:var(--muted)}
[data-theme="dark"] .tc-listing-logo,[data-theme="dark"] .tc-listing-related-logo{background:#243329;border-color:var(--line);color:#8ce69d}
[data-theme="dark"] .tc-listing-rank-box{background:#172019;border-color:var(--line)}
[data-theme="dark"] .tc-listing-rank-box>span,[data-theme="dark"] .tc-listing-rank-box>small{color:var(--muted)}
[data-theme="dark"] .tc-listing-rank-box>strong{color:var(--ink)}
[data-theme="dark"] .tc-listing-related-list li{background:#19211b;border-color:var(--line);color:var(--ink)}
[data-theme="dark"] .tc-listing-related-rank{color:var(--muted)}
[data-theme="dark"] .tc-listing-related-name{color:var(--ink)}
[data-theme="dark"] .tc-listing-related-list li>strong,[data-theme="dark"] .tc-listing-related-list li>strong:hover{color:#7fe292}
[data-theme="dark"] .tc-listing-empty{background:var(--card);border-color:var(--line);color:var(--muted)}
[data-theme="dark"] .tc-listing-whatsapp{background:#193323;color:#91e4a2}
[data-theme="dark"] .tc-listing-whatsapp:hover{background:#21452d;color:#b0f0bb}
[data-theme="dark"] .tc-listing-instagram{background:#382331;color:#f0a9c9}
[data-theme="dark"] .tc-listing-instagram:hover{background:#4a2a3d;color:#ffc2dc}

@media (max-width: 700px) {
  .tc-side {
    order: 0;
  }
}