:root{--th-bg:rgba(244,242,239,.97);--th-line:rgba(20,20,20,.09);--th-ink:#191b1e;--th-card:#fff;--th-muted:#6f7479;--th-orange:#ef7b30;--th-orange-dark:#c9611e}html[data-bs-theme="dark"]{--th-bg:rgba(18,18,19,.97);--th-line:rgba(255,255,255,.1);--th-ink:#f5f5f5;--th-card:#1b1b1c;--th-muted:#b8bcc0}.tor-preview-badge{position:fixed;z-index:2000000;left:50%;bottom:10px;transform:translateX(-50%);padding:7px 11px;border-radius:999px;background:#111;color:#fff;font:800 .58rem/1 'Montserrat',sans-serif;letter-spacing:.09em;opacity:.7;pointer-events:none}
/* HEADER DESKTOP */
.tor-header{position:fixed;z-index:1035;inset:0 0 auto;height:180px;background:var(--th-bg);border-bottom:1px solid var(--th-line);backdrop-filter:blur(18px);transition:height .32s cubic-bezier(.22,.61,.36,1),box-shadow .22s ease}.tor-header-row{height:96px;display:grid;grid-template-columns:205px minmax(0,1fr) auto;align-items:center;gap:24px;padding:0 clamp(34px,4vw,72px);transition:height .32s ease}.tor-logo{display:flex;align-items:center;width:205px;height:52px}.tor-logo img{display:block;max-width:100%;max-height:100%;object-fit:contain}.tor-nav{display:flex;justify-content:center;align-items:center;gap:clamp(24px,2.4vw,48px);min-width:0}.tor-nav a,.tor-blog{display:flex;align-items:center;gap:8px;color:var(--th-ink);font:700 clamp(.77rem,.88vw,.92rem)/1.2 'Montserrat',sans-serif;text-decoration:none;white-space:nowrap}.tor-nav a{padding:10px 0}.tor-nav svg{width:18px;height:18px;flex:0 0 18px}.tor-actions{display:flex;align-items:center;gap:16px}.tor-blog{padding:10px 2px}.tor-control-pill{display:flex;align-items:center;border:1px solid var(--th-line);border-radius:999px;background:rgba(255,255,255,.38);overflow:hidden;box-shadow:0 3px 14px rgba(0,0,0,.025)}html[data-bs-theme="dark"] .tor-control-pill{background:rgba(255,255,255,.04)}.tor-control-pill button{width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:var(--th-ink);font-size:1rem}.tor-control-pill button:hover{background:rgba(127,127,127,.08)}.tor-control-divider{width:1px;height:18px;background:var(--th-line)}.tor-control-pill .tor-menu-toggle{display:none!important}.tor-calc-row{position:absolute;top:132px;left:50%;transform:translate(-50%,-50%);width:min(760px,calc(100% - 32px));transition:top .32s ease,width .32s ease}.tor-calc-open{width:100%;height:58px;display:grid;grid-template-columns:1fr auto;align-items:center;padding:5px 6px 5px 22px;border:1px solid var(--th-line);border-radius:999px;background:rgba(255,255,255,.94);color:#202226;box-shadow:0 12px 34px rgba(0,0,0,.075);cursor:pointer}html[data-bs-theme="dark"] .tor-calc-open{background:#242425;color:#fff}.tor-calc-open strong{text-align:center;padding-left:44px;font:800 1rem/1 'Montserrat',sans-serif}.tor-calc-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:var(--th-orange);color:#fff}.tor-calc-icon svg{width:20px}.tor-header.is-compact{height:82px;box-shadow:0 9px 30px rgba(20,20,20,.09)}.tor-header.is-compact .tor-header-row{height:82px}.tor-header.is-compact .tor-logo{width:175px;height:46px}.tor-header.is-compact .tor-nav,.tor-header.is-compact .tor-blog{opacity:0;visibility:hidden;pointer-events:none}.tor-header.is-compact .tor-calc-row{top:41px;width:min(560px,42vw)}
/* MODAIS COMPARTILHADOS */
.tor-modal-backdrop{position:fixed;z-index:1000010;inset:0;display:none;place-items:center;padding:18px;background:rgba(6,7,8,.76);backdrop-filter:blur(10px)}.tor-modal-backdrop.is-open{display:grid}.tor-modal{width:min(820px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:hidden;border:1px solid color-mix(in srgb,var(--th-line) 75%,transparent);border-radius:28px;background:var(--th-card);color:var(--th-ink);box-shadow:0 34px 110px rgba(0,0,0,.38);font-family:'Montserrat',sans-serif}.tor-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 26px 20px;border-bottom:1px solid var(--th-line);background:linear-gradient(180deg,rgba(239,123,48,.055),transparent)}.tor-modal-head small{display:block;color:var(--th-orange);font-size:.62rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase}.tor-modal-head h2{margin:7px 0 0;font-size:clamp(1.45rem,2vw,1.9rem);line-height:1.08;letter-spacing:-.025em}.tor-modal-head p{margin:7px 0 0;color:var(--th-muted);font-size:.7rem;line-height:1.5}.tor-close{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border:1px solid var(--th-line);border-radius:50%;background:rgba(127,127,127,.045);color:inherit;font-size:1.28rem;cursor:pointer}.tor-close:hover{border-color:rgba(239,123,48,.45);color:var(--th-orange);background:rgba(239,123,48,.08)}.tor-modal-body{padding:22px 26px 26px;overflow:auto;max-height:calc(100dvh - 140px);scrollbar-width:thin;scrollbar-color:var(--th-orange) transparent}
/* IDIOMA */
.tor-language-modal{width:min(620px,calc(100vw - 28px))}.tor-lang-grid{display:grid;gap:9px}.tor-lang-grid a{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:13px;padding:14px 15px;border:1px solid var(--th-line);border-radius:16px;background:rgba(127,127,127,.035);color:inherit;text-decoration:none;transition:border-color .18s ease,background .18s ease,transform .18s ease}.tor-lang-grid a:hover{border-color:rgba(239,123,48,.4);background:rgba(239,123,48,.065);transform:translateY(-1px)}.tor-lang-grid span{font-size:1.25rem}.tor-lang-grid strong{display:block;font-size:.8rem}.tor-lang-grid small{display:block;margin-top:2px;color:var(--th-muted);font-size:.64rem}.tor-lang-grid b{color:var(--th-orange);font-size:1rem}
/* CALCULADORA */
.tor-calc-modal{width:min(860px,calc(100vw - 28px))}.tor-calc-body{padding-top:18px}.tor-product-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:5px;border:1px solid var(--th-line);border-radius:999px;background:rgba(127,127,127,.05);margin-bottom:22px}.tor-product-switch button,.tor-calc-modes button,.tor-choice-row button,.tor-unit-toggle button{font-family:'Montserrat',sans-serif;cursor:pointer}.tor-product-switch button{min-height:43px;border:0;border-radius:999px;background:transparent;color:var(--th-ink);font-weight:820;font-size:.72rem}.tor-product-switch button.is-active{background:var(--th-card);color:var(--th-orange);box-shadow:0 6px 18px rgba(0,0,0,.08)}.tor-calc-section-label{display:flex;align-items:center;gap:10px;margin:6px 0 12px}.tor-calc-section-label>span{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border-radius:50%;background:rgba(239,123,48,.1);color:var(--th-orange);font-size:.59rem;font-weight:850}.tor-calc-section-label strong,.tor-calc-section-label small{display:block}.tor-calc-section-label strong{font-size:.77rem}.tor-calc-section-label small{margin-top:2px;color:var(--th-muted);font-size:.6rem}.tor-calc-mode-label{margin-top:22px}.tor-result-label{margin-top:24px}.tor-calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tor-calc-grid-linear{grid-template-columns:1fr}.tor-field label,.tor-mini-label{display:block;margin-bottom:7px;color:var(--th-muted);font-size:.61rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.tor-field-full{grid-column:1/-1}.tor-input-shell{position:relative;display:flex;align-items:center;min-height:50px;border:1px solid var(--th-line);border-radius:15px;background:rgba(127,127,127,.045);overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease}.tor-input-shell:focus-within{border-color:rgba(239,123,48,.6);box-shadow:0 0 0 3px rgba(239,123,48,.08)}.tor-input-shell>input{width:100%;height:48px;padding:0 13px;border:0;background:transparent;color:var(--th-ink);outline:none;font:700 .8rem/1 'Montserrat',sans-serif}.tor-input-shell>span{padding:0 14px;color:var(--th-muted);font-size:.66rem;font-weight:800}.tor-input-with-toggle{padding-right:5px}.tor-unit-toggle{display:flex;gap:3px;padding:3px;border-radius:999px;background:rgba(127,127,127,.065)}.tor-unit-toggle button{min-width:40px;height:34px;padding:0 9px;border:0;border-radius:999px;background:transparent;color:var(--th-muted);font-size:.62rem;font-weight:850}.tor-unit-toggle button.is-active{background:var(--th-card);color:var(--th-orange);box-shadow:0 4px 12px rgba(0,0,0,.08)}.tor-choice-row{display:flex;gap:7px;margin-bottom:13px}.tor-choice-wrap{flex-wrap:wrap}.tor-choice-row button{min-height:39px;padding:0 13px;border:1px solid var(--th-line);border-radius:999px;background:rgba(127,127,127,.035);color:var(--th-ink);font-size:.65rem;font-weight:800}.tor-choice-row button.is-active{border-color:rgba(239,123,48,.58);background:rgba(239,123,48,.1);color:var(--th-orange)}.tor-calc-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:5px;border:1px solid var(--th-line);border-radius:18px;background:rgba(127,127,127,.05)}.tor-calc-modes button{min-height:44px;padding:0 10px;border:0;border-radius:13px;background:transparent;color:var(--th-ink);font-size:.68rem;font-weight:820}.tor-calc-modes button.is-active{background:var(--th-card);color:var(--th-orange);box-shadow:0 5px 14px rgba(0,0,0,.08)}.tor-calc-modes button[hidden]{display:none!important}.tor-calc-input-panel{margin-top:12px;padding:14px;border:1px solid var(--th-line);border-radius:18px;background:rgba(127,127,127,.025)}.tor-calc-action{display:flex;justify-content:flex-end;margin-top:15px}.tor-calc-action button{min-width:190px;min-height:48px;display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:999px;background:var(--th-orange);color:#fff;font:850 .72rem/1 'Montserrat',sans-serif;box-shadow:0 10px 24px rgba(239,123,48,.2);cursor:pointer}.tor-calc-action button:hover{background:var(--th-orange-dark);transform:translateY(-1px)}.tor-results{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.tor-result{padding:15px;border:1px solid var(--th-line);border-radius:15px;background:linear-gradient(145deg,rgba(127,127,127,.035),transparent)}.tor-result small{display:block;color:var(--th-muted);font-size:.59rem;font-weight:700}.tor-result strong{display:block;margin-top:6px;font-size:.86rem;line-height:1.3}.tor-calc-note{margin:13px 0 0;color:var(--th-muted);font-size:.63rem;line-height:1.55}.tor-mobile-panel{display:none}
@media(max-width:1180px) and (min-width:992px){.tor-header-row{grid-template-columns:175px minmax(0,1fr) auto;padding-inline:28px}.tor-logo{width:175px}.tor-nav{gap:18px}.tor-nav a,.tor-blog{font-size:.75rem}.tor-actions{gap:10px}.tor-calc-row{width:min(680px,calc(100% - 40px))}}
@media(max-width:991.98px){.tor-header,.tor-header.is-compact{height:124px}.tor-header-row,.tor-header.is-compact .tor-header-row{height:60px;grid-template-columns:auto 1fr;padding:0 14px;gap:8px}.tor-logo,.tor-header.is-compact .tor-logo{width:145px;height:40px}.tor-nav,.tor-blog{display:none!important}.tor-actions{justify-content:end;gap:6px}.tor-control-pill .tor-menu-toggle{display:grid!important}.tor-control-pill span.tor-menu-toggle{display:block!important}.tor-control-pill button{width:36px;height:36px}.tor-calc-row,.tor-header.is-compact .tor-calc-row{top:92px;width:calc(100% - 24px)}.tor-calc-open{height:52px;padding-left:16px}.tor-calc-open strong{font-size:.83rem;padding-left:40px}.tor-calc-icon{width:42px;height:42px}.tor-mobile-panel{position:fixed;z-index:1000009;top:0;right:0;bottom:0;width:min(360px,88vw);display:flex;flex-direction:column;padding:18px;background:var(--th-card);color:var(--th-ink);transform:translateX(105%);transition:transform .28s ease;box-shadow:-18px 0 50px rgba(0,0,0,.24)}.tor-mobile-panel.is-open{transform:none}.tor-mobile-panel-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:18px;border-bottom:1px solid var(--th-line)}.tor-mobile-links{display:grid;margin-top:14px}.tor-mobile-links a{padding:15px 4px;border-bottom:1px solid var(--th-line);color:inherit;text-decoration:none;font-size:.8rem;font-weight:750}.tor-calc-grid{grid-template-columns:1fr}.tor-results{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.tor-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:20px}.tor-modal-backdrop{padding:8px}.tor-modal-head,.tor-modal-body{padding-left:16px;padding-right:16px}.tor-product-switch{grid-template-columns:repeat(3,1fr)}.tor-calc-modes{grid-template-columns:1fr;border-radius:16px}.tor-calc-modes button{border-radius:12px}.tor-results{grid-template-columns:1fr}.tor-calc-action button{width:100%}}
@media(max-width:520px){.tor-logo,.tor-header.is-compact .tor-logo{width:132px;max-width:38vw}.tor-control-pill button{width:34px;height:34px}.tor-calc-open strong{font-size:.8rem}.tor-choice-row button{font-size:.61rem}}

.tor-modal-head .tor-modal-title{
  margin:0;
  font:850 clamp(1.35rem,2vw,1.8rem)/1.1 'Montserrat',sans-serif;
  letter-spacing:-.025em;
}
