*{box-sizing:border-box}body{margin:0;background:#f3f7fb;color:#15344b;font-family:system-ui,Segoe UI,sans-serif}header,footer{background:#143c58;color:white}header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:15px;padding-bottom:15px}header a{color:white;text-decoration:none}header strong{font-size:23px}select{padding:9px;border-radius:9px;border:1px solid #c4d4df;background:white}.wrap{max-width:1160px;margin:auto;padding:0 22px}.hero{background:linear-gradient(115deg,#133f5f,#237e91);color:white;padding:40px 32px;border-radius:20px;margin:26px 0}.hero h1{margin:0 0 12px;font-size:clamp(28px,5vw,42px)}.hero p{margin:0;line-height:1.6}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{--c:#287fae;--t:#e6f5ff;background:linear-gradient(150deg,var(--t),white 72%);border:1px solid #d6e3ee;border-top:6px solid var(--c);border-radius:18px;padding:24px;min-height:245px;text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-4px);box-shadow:0 12px 28px #16364a20}.card .icon{font-size:37px;background:var(--t);display:inline-grid;place-items:center;width:70px;height:70px;border-radius:17px}.card h2{font-size:20px;margin:14px 0 8px}.card p{line-height:1.5;color:#526c7d;min-height:48px}.card b{display:inline-block;background:var(--c);color:white;padding:9px 13px;border-radius:9px;font-size:13px}.card:nth-child(2){--c:#7356ad;--t:#eee9fc}.card:nth-child(3){--c:#a5682e;--t:#fff0dd}.card:nth-child(4){--c:#168299;--t:#e4f7fa}.card:nth-child(5){--c:#27865a;--t:#e5f6eb}.card:nth-child(6){--c:#bc5d76;--t:#ffebf0}.tabs{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}.tabs button{border:1px solid #b9d0df;background:#e7f1f8;padding:12px 17px;border-radius:9px;font-weight:700;cursor:pointer}.tabs button.active{background:#17618a;color:white}.panel{background:white;border:1px solid #d8e6ef;border-radius:17px;padding:26px;min-height:180px;margin-bottom:28px}.panel p{line-height:1.8}.hidden{display:none}footer{margin-top:45px;padding:25px 0}@media(max-width:830px){.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:550px){.cards{grid-template-columns:1fr}.card{min-height:0}}
.lesson-grid,.lab-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;align-items:start}.lesson-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.visual,.stage{background:linear-gradient(135deg,#eef8fc,#f7f9ff);border:1px solid #d5e6f0;border-radius:16px;padding:12px;min-height:240px;display:grid;place-items:center}.visual svg,.stage svg{display:block;width:100%;max-width:460px;height:auto}.lesson-text h2,.lesson-text h3{margin:0 0 9px;color:#175b7d}.lesson-text h3{margin-top:18px}.lesson-text p{margin:0 0 12px;line-height:1.75}.controls{display:grid;gap:16px;align-content:start}.control{display:grid;gap:8px;font-weight:650}.control input[type=range]{width:100%;accent-color:#1977a5}.control input[type=number],.control select{padding:11px;border-radius:9px;border:1px solid #bad0dc;width:100%;max-width:320px}.control strong{color:#17618a}.result{margin-top:18px;padding:14px 17px;border-radius:12px;background:#e7f4f8;color:#154b66;font-weight:700}.note{color:#697e8a;font-size:13px}.answers{display:grid;gap:10px;margin:20px 0}.answer{text-align:left;background:#f2f7fb;border:2px solid #d5e3ed;border-radius:11px;padding:14px;cursor:pointer;font:inherit}.answer.selected{border-color:#2582ad;background:#e1f4ff}.answer.right{border-color:#26855c}.primary{background:#17618a;color:#fff;border:0;border-radius:10px;padding:13px 19px;font-weight:700;cursor:pointer}.feedback{font-weight:650;line-height:1.6}.panel h2{font-size:22px}.panel h3{font-size:18px}@media(max-width:760px){.lesson-grid,.lab-grid{grid-template-columns:1fr}.panel{padding:18px}.visual,.stage{min-height:0}}

.quiz-progress{font-weight:700;color:#386982;margin-bottom:15px}.quiz-question{line-height:1.45}.quiz-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.quiz-actions button{min-height:42px}.secondary{background:#eaf2f8;border:1px solid #b6cfdf;border-radius:10px;color:#17516f;padding:11px 16px;font-weight:700;cursor:pointer}.quiz-actions button:disabled{opacity:.45;cursor:not-allowed}.quiz-feedback{margin:18px 0;padding:14px 16px;border-radius:12px;background:#f0f6fb;min-height:20px}.quiz-feedback:empty{display:none}.quiz-feedback p{margin:8px 0}.quiz-feedback .success{color:#16784e}.quiz-feedback .error{color:#b34d34}.answer.wrong{border-color:#c45e4b;background:#fff0ed}.answer:disabled{cursor:default;opacity:1}.finished{font-weight:700;color:#17618a}.lesson-text p{max-width:72ch}

/* GT Geografia 3.2: imagens completas e responsivas dos biomas */
.stage .biome-picture{display:block;width:100%;max-width:800px;height:auto;object-fit:contain;border-radius:12px}

/* GT Geografia 3.3 — explicação contextual dos biomas */
.biome-explanation{margin-top:1rem;padding:1rem 1.25rem;border:1px solid #b9dfcf;border-left:5px solid #27845e;border-radius:14px;background:#f1fbf6;color:#214938}.biome-explanation h3{margin:0 0 .45rem;font-size:1.1rem;color:#176143}.biome-explanation p{margin:0;line-height:1.65}

/* GT Geografia 3.5: atlas demográfico */
.population-atlas{margin:0 0 24px;border:1px solid #cddfea;border-radius:18px;background:#f8fcff;padding:20px}.population-atlas h2{margin:0 0 8px}.atlas-sub{color:#557184;font-size:14px;margin:0 0 15px}.atlas-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:15px}.atlas-controls label{display:grid;gap:5px;font-weight:650;flex:1;min-width:180px}.atlas-controls input,.atlas-controls select{padding:10px;border:1px solid #c1d6e3;border-radius:9px;width:100%}.atlas-map-shell{overflow:auto;background:#d9f0fa;border-radius:14px;border:1px solid #b8d7e6}.atlas-map{display:block;width:100%;min-width:500px;height:auto}.atlas-country{fill:#a3cdb0;stroke:#fff;stroke-width:.5;cursor:pointer;transition:fill .15s}.atlas-country:hover,.atlas-country:focus{fill:#edb65a;outline:none}.atlas-country.active{fill:#247d9c;stroke:#153e58;stroke-width:1.5}.atlas-info{margin-top:16px;background:white;border:1px solid #d5e6ed;border-radius:12px;padding:16px}.atlas-info h3{margin:0 0 12px}.atlas-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.atlas-metric{background:#eff6fa;padding:11px;border-radius:10px}.atlas-metric small{display:block;color:#547083;margin-bottom:5px}.atlas-metric strong{font-size:17px;color:#174e6e}.atlas-foot{font-size:12px;color:#627987;line-height:1.5}.atlas-status{color:#386982;font-size:13px}.atlas-tip{background:#eaf6f4;border-left:4px solid #318a77;padding:12px;margin-top:14px;border-radius:8px;line-height:1.6}@media(max-width:600px){.atlas-metrics{grid-template-columns:1fr}.population-atlas{padding:12px}}
