*{box-sizing:border-box}body{margin:0;background:#f5f7fb;color:#243247;font:16px/1.5 system-ui,Segoe UI,Arial,sans-serif}button,select,input{font:inherit}button{cursor:pointer}.top{width:100%;background:#ffdab0!important;border-bottom:1px solid #eebf85}.top-inner{max-width:1100px;margin:auto;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none}.brand img{height:62px;width:62px;object-fit:contain}.brand span{display:grid}.brand small{display:block;font-size:12px;font-weight:400}.top select{border:1px solid #cbd5e1;background:white;border-radius:10px;padding:9px}main{max-width:1100px;margin:auto;padding:26px 20px 64px}.hero{background:#ffedd5;padding:24px 30px;border-radius:20px}.hero h1{font-size:clamp(27px,4vw,40px);margin:10px 0 0}.hero p{margin:5px 0}.hero a{color:#855017}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.tabs button{background:#e7e9f2;border:0;border-radius:12px;padding:12px 18px;font-weight:650;color:#243247}.tabs button.active{background:#ffdab0;box-shadow:inset 0 -3px #b87634}.panel{background:white;border:1px solid #e2e8f0;border-radius:18px;padding:26px}.hidden{display:none!important}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.card{padding:18px;border-radius:16px}.card:nth-child(4n+1){background:#bfd9fb}.card:nth-child(4n+2){background:#b9e9d0}.card:nth-child(4n+3){background:#dfc8f7}.card:nth-child(4n+4){background:#ffdab0}.card h3{margin:0 0 8px}.field{display:grid;gap:5px;margin:18px 0;max-width:280px}.field select,.controls input,.answer input{border:1px solid #b9c8d9;border-radius:9px;padding:9px;background:white}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:20px}.drawing{background:#f8fafc;border-radius:16px;display:grid;place-items:center}.drawing svg{width:100%;max-width:420px}.controls{padding:10px}.control-row{display:grid;grid-template-columns:1fr 110px;gap:12px;align-items:center;margin:0 0 14px}.results,.statgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:20px 0}.results>div,.statgrid>div{background:#e7f1ff;border-radius:12px;padding:14px}.results strong,.statgrid strong{display:block;font-size:25px}.exercise{background:#f4edff;padding:22px;border-radius:16px}.tag{display:inline-block;background:#dfc8f7;padding:5px 12px;border-radius:30px;font-weight:700}.answer{display:flex;gap:10px;flex-wrap:wrap}.answer input{width:140px}.answer button,#reset{border:0;background:#276bb2;color:white;padding:10px 15px;border-radius:10px;font-weight:700}.answer button#new{background:#6c4c9a}.outline{background:transparent;border:1px solid #6c4c9a;color:#543a7a;padding:8px 12px;border-radius:9px}.statgrid{grid-template-columns:repeat(3,1fr)}.gt-footer{background:#ffdab0!important}body>footer:not(.gt-footer){background:#ffdab0!important}#feedback{font-weight:700}@media(max-width:680px){.workspace,.cards{grid-template-columns:1fr}.top-inner{flex-wrap:wrap}.panel{padding:16px}.statgrid{grid-template-columns:1fr 1fr}}
/* GT Geometria 1.1 — cor de identidade fixa e fórmulas didáticas */
:root{--gt-active-color:#ffdab0}
body>header.top,body>footer.gt-footer,nav.tabs{background:#ffdab0!important}
.formula-guide{background:#fff5e8;border:1px solid #edc99d;border-radius:14px;padding:15px;margin-top:16px;color:#243247}
.formula-guide h3{font-size:1.05rem;margin:0 0 8px}.formula-guide p{margin:7px 0}
.formula-guide .math-line{font-size:1.08rem;font-weight:650;margin:9px 0;line-height:1.55}
.formula-guide .math-result{background:#ffe1b8;border-radius:9px;padding:10px;font-weight:750}
.formula-guide .formula-label{font-size:.85rem;color:#475569}
