*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--black:#000;--white:#fff;--gray-100:#f7f7f7;--gray-200:#eee;--gray-300:#ddd;--gray-400:#aaa;--gray-500:#777;--gray-600:#333;--gray-700:#1a1a1a;--border:2px solid var(--black);--border-thin:1px solid var(--gray-300)}html{font-size:16px}body{background:var(--white);color:var(--black);-webkit-font-smoothing:antialiased;font-family:Courier New,Courier,monospace;font-size:1rem;line-height:1.7}main{max-width:52.5rem;margin:0 auto;padding:3rem 1.5rem}header{text-align:center;border-bottom:var(--border);margin-bottom:2rem;padding-bottom:2rem}h1{letter-spacing:.6rem;font-size:2.5rem;font-weight:900}.subtitle{letter-spacing:.25rem;color:var(--gray-600);margin-top:.5rem;font-size:.875rem}.section-title{letter-spacing:.2rem;text-transform:uppercase;margin-bottom:1.25rem;font-size:1rem;font-weight:900}section{margin-bottom:2rem}.inputs-section,.resultado-section,.dicas-section,.comparativo-section{border:var(--border);padding:2rem}.slider-group{margin-bottom:2rem}.slider-group:last-child{margin-bottom:0}.slider-header{justify-content:space-between;align-items:baseline;margin-bottom:.75rem;display:flex}.slider-header label{letter-spacing:.15rem;text-transform:uppercase;color:var(--gray-600);font-size:.8125rem;font-weight:700}.slider-value{align-items:baseline;gap:.25rem;font-size:1.5rem;font-weight:900;display:flex}.slider-prefix{color:var(--gray-500);font-size:.9375rem;font-weight:700}.slider-input{color:var(--black);text-align:right;background:0 0;border:none;border-bottom:2px solid #0000;outline:none;padding:0;font-family:inherit;font-size:1.5rem;font-weight:900;transition:border-color .1s}.slider-input:hover{border-bottom-color:var(--gray-300)}.slider-input:focus{border-bottom-color:var(--black)}.slider-suffix{color:var(--gray-500);letter-spacing:.05rem;font-size:.8125rem;font-weight:400}.slider-range{color:var(--gray-600);justify-content:space-between;margin-top:.5rem;font-size:.8125rem;display:flex}input[type=range]{appearance:none;background:var(--gray-400);cursor:pointer;outline:none;width:100%;height:2px}input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--black);cursor:pointer;border:none;width:1.5rem;height:1.5rem}input[type=range]::-moz-range-thumb{background:var(--black);cursor:pointer;border:none;border-radius:0;width:1.5rem;height:1.5rem}input[type=range]:focus::-webkit-slider-thumb{outline:2px solid var(--black);outline-offset:3px}.taxa-extras{flex-wrap:wrap;align-items:center;gap:1rem;margin-top:1.5rem;margin-bottom:1.5rem;display:flex}.taxa-conversao{color:var(--gray-600);font-size:.875rem}.taxa-equiv{font-weight:700}.periodo-toggle{border:var(--border);display:inline-flex}.periodo-btn{background:var(--white);border:none;border-right:var(--border);letter-spacing:.05rem;cursor:pointer;padding:.625rem 1.25rem;font-family:inherit;font-size:.75rem;font-weight:700}.periodo-btn:last-child{border-right:none}.periodo-btn.active{background:var(--black);color:var(--white)}.periodo-btn:hover:not(.active){background:var(--gray-200)}.resumo{margin-bottom:1.75rem}.resumo h3{letter-spacing:.15rem;text-transform:uppercase;margin-bottom:1rem;font-size:1rem}.resumo-grid{border:var(--border);grid-template-columns:1fr 1fr;gap:0;display:grid}.resumo-item{border-bottom:var(--border-thin);border-right:var(--border-thin);flex-direction:column;gap:.375rem;padding:1.25rem;display:flex}.resumo-item:nth-child(2n){border-right:none}.resumo-item:nth-last-child(-n+2){border-bottom:none}.resumo-label{letter-spacing:.05rem;color:var(--gray-600);text-transform:uppercase;font-size:.75rem}.resumo-value{font-size:1.375rem;font-weight:900}.resumo-item.highlight{background:var(--black);color:var(--white)}.resumo-item.highlight .resumo-label{color:var(--gray-400)}.tabela-wrapper{position:relative;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.875rem}thead{background:var(--black);color:var(--white)}th{text-align:right;letter-spacing:.05rem;padding:.75rem .625rem;font-size:.75rem;font-weight:700}th:first-child{text-align:center;width:3rem}td{border-bottom:var(--border-thin);padding:.625rem}.cell-num{text-align:center;color:var(--gray-500);font-weight:700}.cell-money{text-align:right;font-weight:700}tbody tr:nth-child(2n){background:var(--gray-100)}tbody tr:hover{background:var(--gray-200)}.tabela-hidden{display:none}.tabela-expanded .tabela-hidden{display:table-row}.tabela-expand{background:var(--gray-100);border:var(--border-thin);letter-spacing:.15rem;cursor:pointer;text-transform:uppercase;width:100%;color:var(--gray-600);border-top:none;margin-top:-1px;padding:.875rem;font-family:inherit;font-size:.75rem;font-weight:700;transition:background-color .1s,color .1s;display:block}.tabela-expand:hover,.tabela-collapse:hover{background:var(--black);color:var(--white)}.tabela-collapse{background:var(--gray-100);border:var(--border-thin);letter-spacing:.15rem;cursor:pointer;text-transform:uppercase;width:100%;color:var(--gray-600);border-top:none;margin-top:-1px;padding:.875rem;font-family:inherit;font-size:.75rem;font-weight:700;transition:background-color .1s,color .1s;display:none}.tabela-expanded .tabela-collapse{display:block}.tabela-expanded .tabela-expand{display:none}.comp-savings{color:var(--gray-500);text-align:center;padding:.75rem 0;font-size:.75rem}.comp-savings strong{color:var(--black)}.comp-grid{border:var(--border);grid-template-columns:repeat(4,1fr);gap:0;display:grid}.comp-card{all:unset;box-sizing:border-box;border-right:var(--border-thin);cursor:pointer;text-align:left;padding:.375rem .5rem;font-family:inherit;transition:background-color .1s;display:block}.comp-card:last-child{border-right:none}.comp-card:hover:not(.comp-selected){background:var(--gray-100)}.comp-selected{box-shadow:inset 0 0 0 3px var(--black)}.comp-title{align-items:center;gap:.375rem;margin-bottom:.25rem;display:flex}.comp-card h3{letter-spacing:.1rem;text-transform:uppercase;font-size:.625rem}.comp-row{justify-content:space-between;font-size:.625rem;line-height:1.6;display:flex}.comp-row span:last-child{font-weight:700}.comp-row-juros{font-weight:900}.comp-badge{letter-spacing:.05rem;border:1px solid;padding:.0625rem .25rem;font-size:.4375rem;font-weight:700;display:inline-block}.share-section{gap:0;margin-top:2rem;display:flex}#share-btn{background:var(--white);border:var(--border);letter-spacing:.15rem;cursor:pointer;padding:.875rem 1.75rem;font-family:inherit;font-size:.8125rem;font-weight:700;transition:background-color .1s,color .1s}#share-btn:hover{background:var(--black);color:var(--white)}#share-url{border:var(--border);background:var(--gray-100);color:var(--gray-600);border-left:none;flex:1;padding:.875rem;font-family:inherit;font-size:.8125rem}footer{text-align:center;border-top:var(--border);max-width:52.5rem;color:var(--gray-500);letter-spacing:.05rem;margin:3rem auto 2rem;padding:1.5rem;font-size:.8125rem}footer a{color:var(--black);font-weight:700;text-decoration:none}footer a:hover{text-decoration:underline}.payment-cap{border-top:var(--border-thin);margin-top:2rem;padding-top:2rem}.cap-toggle{cursor:pointer;letter-spacing:.1rem;text-transform:uppercase;align-items:center;gap:.75rem;margin-bottom:1.5rem;font-size:.75rem;font-weight:700;display:flex}.cap-toggle input[type=checkbox]{opacity:0;width:0;height:0;position:absolute}.toggle-track{border:var(--border);background:var(--white);flex-shrink:0;width:2.5rem;height:1.25rem;transition:background-color .1s;display:inline-block;position:relative}.toggle-thumb{background:var(--gray-400);width:calc(1.25rem - 6px);height:calc(1.25rem - 6px);transition:left .1s,background-color .1s;position:absolute;top:2px;left:2px}.cap-toggle input[type=checkbox]:checked+.toggle-track{background:var(--black)}.cap-toggle input[type=checkbox]:checked+.toggle-track .toggle-thumb{background:var(--white);left:calc(1.25rem + 2px)}.cap-warning{border:2px dashed var(--black);text-transform:uppercase;letter-spacing:.05rem;margin-top:1rem;padding:.75rem;font-size:.75rem;font-weight:700}.sistema-desc{color:var(--gray-500);padding:1rem 0;font-size:.8125rem;line-height:1.6}.term-wrapper{display:inline;position:relative}.term{all:unset;font-family:inherit;font-size:inherit;text-underline-offset:.2rem;cursor:pointer;font-style:normal;font-weight:inherit;color:inherit;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.term:hover,.term.active{background:var(--black);color:var(--white)}.term-tooltip{z-index:100;background:var(--white);border:var(--border);width:16rem;max-width:24rem;color:var(--black);max-height:40vh;padding:.75rem;font-size:.8125rem;line-height:1.5;overflow-y:auto}.term-tooltip p{margin:0 0 .5rem}.term-tooltip details summary{cursor:pointer;text-transform:uppercase;letter-spacing:.05rem;font-size:.75rem;font-weight:700}.term-tooltip details p{margin-top:.5rem}.split-pane{flex-direction:column;gap:2rem;display:flex}.pane-inputs,.pane-results{min-width:0}@media (width>=64rem){main{max-width:80rem}.split-pane{flex-direction:row;gap:0;height:85vh;position:sticky;top:0}.pane-inputs{border-right:var(--border);flex-shrink:0;width:22rem;padding-right:2rem;overflow-y:auto}.pane-results{flex:1;padding-left:2rem;overflow-y:auto}.pane-inputs .inputs-section{border:none;padding:0}.pane-results section,.pane-results .share-section{border-left:none;border-right:none}.pane-results .comparativo-section{z-index:10;background:var(--white);padding-top:1rem;padding-bottom:1rem;position:sticky;top:0}}@media (width<=37.5rem){html{font-size:15px}main{padding:1.5rem .75rem}h1{letter-spacing:.375rem;font-size:1.75rem}.inputs-section,.resultado-section,.dicas-section,.comparativo-section{padding:1.25rem}.slider-value,.slider-input{font-size:1.25rem}.resumo-grid{grid-template-columns:1fr}.resumo-item{border-right:none}.resumo-item:nth-last-child(-n+2){border-bottom:var(--border-thin)}.resumo-item:last-child{border-bottom:none}.comp-grid{grid-template-columns:1fr 1fr}.comp-card{border-bottom:var(--border-thin)}.comp-card:nth-child(odd){border-right:var(--border-thin)}.comp-card:nth-last-child(-n+2){border-bottom:none}.taxa-extras{flex-direction:column;align-items:flex-start}.share-section{flex-direction:column}#share-url{border-left:var(--border);border-top:none}}
