/* LUMI / four interactive learning flows — independent landing prototype */
.flows-section{--flow-navy:#071237;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse 67% 45% at 50% 59%,#eef7ff 0,#fff 82%);padding:61px 0 42px;border-top:1px solid #eaf1f9;color:var(--flow-navy)}
.flows-atmosphere{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.flows-atmosphere i{display:block;position:absolute;background:linear-gradient(125deg,#ffdce9,#ff9fc1);border-radius:42px;opacity:.68;transform:rotate(-26deg)}
.flows-atmosphere i:first-child{width:470px;height:550px;top:33%;left:-250px}
.flows-atmosphere i:nth-child(2){width:500px;height:620px;top:24%;right:-250px;transform:rotate(29deg)}
.flows-atmosphere i:nth-child(3){width:330px;height:420px;top:33%;left:38%;opacity:.21;transform:rotate(-37deg)}
.flows-heading{position:relative;text-align:center;padding:0 20px;margin:0 auto 10px;max-width:1600px}
.flows-eyebrow{display:inline-flex;align-items:center;gap:13px;border:1.5px solid #d8e5f3;border-radius:100px;min-height:48px;padding:0 22px;background:#ffffffda;font-weight:850;font-size:17px;letter-spacing:-.04em}
.flows-eyebrow span{color:#fb2f60;font-size:29px;font-weight:900;line-height:1}
.flows-heading h2{font-size:clamp(48px,5.65vw,88px);font-weight:900;letter-spacing:-.085em;line-height:1.05;margin:15px 0 4px}
.flows-heading h2 em{font-style:normal;color:#f92c5c}
.flows-heading p{margin:0;font-size:clamp(18px,1.9vw,29px);letter-spacing:-.045em;color:#536f9a}
.flows-gallery{position:relative;z-index:1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;max-width:1740px;padding:33px 23px 25px;margin:0 auto;perspective:1300px}
.flow-card{--flow:#008f79;--wash:#dff8f2;--flow-rgb:0,143,121;min-width:0;min-height:562px;display:flex;flex-direction:column;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,#fff,#fbfdff);border:2px solid #102943;border-radius:26px;box-shadow:6px 8px 0 #183954,0 20px 35px #46668925;transform:rotate(-1.4deg) rotateY(2deg) translateY(7px);transition:transform .33s ease,box-shadow .33s ease}
.flow-card:nth-child(2){transform:rotate(.75deg) rotateY(1deg) translateY(15px)}
.flow-card:nth-child(3){transform:rotate(-.8deg) translateY(20px)}
.flow-card:nth-child(4){transform:rotate(.75deg) rotateY(-1deg) translateY(15px)}
.flow-card:hover,.flow-card:focus-within{transform:rotate(0) translateY(-7px);z-index:5;box-shadow:7px 10px 0 #183954,0 28px 49px #46668930}
.flow-entender{--flow:#00947b;--wash:#dff9f2;--flow-rgb:0,148,123}
.flow-resolver{--flow:#116df0;--wash:#e5f0ff;--flow-rgb:17,109,240}
.flow-programar{--flow:#813ae8;--wash:#eee4ff;--flow-rgb:129,58,232}
.flow-flashcards{--flow:#df8306;--wash:#fff1d5;--flow-rgb:223,131,6}
.flow-card-heading{display:flex;align-items:flex-start;gap:13px;padding:20px 14px 16px;min-height:121px}
.flow-symbol{flex:none;width:63px;height:73px;border-radius:19px;background:var(--wash);display:grid;place-items:center;color:var(--flow)}
.flow-symbol svg{width:39px;height:39px;stroke-width:2.1}
.flow-card-heading>div{min-width:0;padding-top:8px}
.flow-card-heading h3{font-size:clamp(23px,1.93vw,31px);font-weight:850;letter-spacing:-.075em;line-height:1.03;margin:0 0 8px}
.flow-card-heading p{font-size:clamp(11px,.96vw,15px);line-height:1.32;letter-spacing:-.035em;color:#536e99;margin:0}
.flow-preview{margin:0 12px 15px;min-width:0;flex:1;border:1.5px solid #233e58;box-shadow:3px 4px 0 rgba(var(--flow-rgb),.72),0 14px 20px #2d557a12;border-radius:16px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.flow-preview-bar{height:43px;min-height:43px;border-bottom:1px solid #e7edf3;display:flex;align-items:center;gap:7px;padding:0 11px}
.flow-preview-bar .flow-brand-mark{font-size:21px;color:#f82e62}
.flow-preview-bar strong{font-size:13px;font-weight:800;letter-spacing:-.045em;white-space:nowrap}
.flow-preview-bar small{margin-left:auto;text-align:right;font-size:8px;font-weight:850;letter-spacing:.01em;color:#7183a0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.preview-kicker{font-size:9px;letter-spacing:.04em;font-weight:850;color:var(--flow)}
.concept-preview{background:#fcfffe}
.concept-intro{margin:12px 11px 8px;padding:15px 11px 13px;background:linear-gradient(120deg,#edfcf8,#f0fffa);border-radius:10px;min-height:173px}
.concept-intro h4{font-size:17px;line-height:1.22;letter-spacing:-.05em;margin:13px 0 9px}
.concept-intro p{font-size:12.2px;line-height:1.46;color:#3b6880;margin:0}
.concept-graph{margin:0 11px 11px;border:1px solid #d8efe9;background:#fff;padding:10px 10px 5px;border-radius:10px}
.graph-title{display:flex;justify-content:space-between;gap:4px;align-items:center;font-size:9px;font-weight:850;color:#387569}
.graph-title span+span{font-weight:650;color:#ed6579;text-align:right}
.concept-graph svg{width:100%;height:97px;display:block;margin-top:7px}
.concept-parts{display:flex;gap:5px;justify-content:space-between;margin:0 11px 12px}
.concept-parts span{display:flex;align-items:center;gap:3px;background:#eaf8f3;padding:7px 4px;border-radius:6px;color:#2c7564;font-size:9px;font-weight:700;white-space:nowrap}
.concept-parts b{font-size:11px;font-weight:900;color:#008b70}
.solve-preview{background:linear-gradient(160deg,#fff,#fafdff)}
.solve-question{background:#f1f7ff;margin:11px 10px 6px;border-radius:9px;padding:12px 12px 9px}
.solve-question h4{font-size:13px;margin:8px 0 4px;font-weight:750;color:#294467}
.equation{font-family:Georgia,serif;display:flex;gap:11px;justify-content:center;align-items:center;font-size:23px;color:#0b2345;line-height:1.15}
.equation>span:first-child{display:flex;flex-direction:column;align-items:center}
.equation sub{display:block;font-size:10px;margin-top:1px}
.fraction{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.fraction span:first-child{border-bottom:1.8px solid #071c3b;padding:0 10px 3px}
.solve-steps{list-style:none;padding:0;margin:0 10px;display:flex;flex-direction:column;gap:6px;flex:1}
.solve-steps li{display:flex;align-items:flex-start;gap:9px;border:1px solid #d9e8ff;background:#fff;border-radius:9px;padding:10px 9px;min-height:68px}
.solve-steps li b{background:#207cf1;color:#fff;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;font-size:10px;box-shadow:0 3px 5px #1877eb22;flex:none}
.solve-steps li div{min-width:0}
.solve-steps strong{display:block;font-size:11px;letter-spacing:-.03em;line-height:1.3;color:#1f4e90}
.solve-steps p{font-family:Georgia,serif;font-size:13px;line-height:1.28;margin:7px 0 0;color:#0d2546;white-space:normal}
.eq-answer{color:#007f62;font-weight:900;font-family:Inter,Arial,sans-serif;font-size:18px}
.solve-result{margin:8px 10px 11px;border:1px solid #b7ebd7;border-radius:8px;background:#e8fff5;min-height:41px;padding:6px 11px;display:flex;justify-content:space-between;align-items:center}
.solve-result>span{font-size:10px;font-weight:850;color:#297c65}
.solve-result strong{display:flex;align-items:center;gap:5px;color:#008769;font-size:20px}
.solve-result svg{width:17px;height:17px;stroke-width:3}
.code-preview{background:#fbf9ff}
.code-window{background:#101829;margin:12px 10px 11px;border:1px solid #141e31;border-radius:10px;overflow:hidden;box-shadow:3px 4px 0 #0d1530}
.code-toolbar{display:flex;align-items:center;justify-content:space-between;gap:3px;padding:0 8px;height:34px;background:#202a3b;border-bottom:1px solid #3a4054;font:10px ui-monospace,Consolas,monospace;color:#b7c8e4}
.mac-dots{display:flex;gap:4px}.mac-dots i{height:7px;width:7px;border-radius:50%;background:#fc5b63}.mac-dots i:nth-child(2){background:#ffc145}.mac-dots i:nth-child(3){background:#2ad69d}
.code-lines{padding:11px 2px 11px 0}
.code-lines>div{display:grid;grid-template-columns:24px 1fr;align-items:center;gap:5px;min-height:29px;white-space:pre}
.code-lines i{font:9px ui-monospace,Consolas,monospace;color:#64738d;text-align:right}
.code-lines code{font:10.3px ui-monospace,Consolas,monospace;color:#f8f5ff;letter-spacing:-.055em}
.code-lines .kw{color:#d488ff;font-weight:800}.code-lines .fn{color:#7fd4ff}.code-lines .num{color:#ffc27d}.code-lines .comment{color:#667f98}
.code-lines>div.code-highlight{background:#34235f;border-left:3px solid #aa73fd}
.code-explanation{margin:1px 10px 0;padding:11px 10px 12px;background:#f0eaff;border-radius:9px}
.code-explanation>span{display:inline-flex;font-size:9px;font-weight:850;background:#803bed;color:#fff;border-radius:4px;padding:4px 6px;margin-right:5px}
.code-explanation strong{font-size:11px;letter-spacing:-.05em}
.code-explanation p{font-size:11px;line-height:1.42;color:#514878;margin:9px 0 0}
.code-tech{display:flex;gap:6px;margin:14px 10px 11px;flex-wrap:wrap}
.code-tech span{font-size:9px;color:#6a47a8;font-weight:800;background:#f0eaff;padding:6px 7px;border-radius:5px}
.flash-preview{background:linear-gradient(180deg,#fff,#fffdf9)}
.flash-deck{height:260px;position:relative;display:grid;place-items:center;margin:20px 10px 0}
.flash-under{position:absolute;width:87%;height:81%;border-radius:14px;box-shadow:0 9px 17px #3554701a}
.flash-under-a{background:#c9f6e7;transform:translate(12px,3px) rotate(6deg)}.flash-under-b{background:#ffcee0;transform:translate(-9px,-4px) rotate(-5deg)}
.flash-main{z-index:1;position:relative;width:88%;height:84%;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:10px;border-radius:14px;border:1px solid #eee9e0;background:#fff;box-shadow:0 8px 21px #28395333;padding:18px 14px;color:#122342;transition:transform .25s,background .25s}
.flash-main:hover{transform:translateY(-3px) rotate(-1deg)}
.flash-main.flipped{background:#fff9e7}
.flash-category{font:800 9px ui-monospace,Consolas,monospace;color:#807e78;letter-spacing:.04em;text-align:center}
.flash-question{font-size:15px;font-weight:770;line-height:1.43;letter-spacing:-.045em;text-align:center;margin:auto 0}
.flash-action{background:#fff3d5;color:#926321;padding:9px 13px;border-radius:18px;font-size:10px;font-weight:700;white-space:nowrap}
.flash-navigation{display:flex;justify-content:center;align-items:center;gap:19px;margin:4px 0 15px}
.flash-navigation button{border:1px solid #d8e6f2;border-radius:50%;background:#fff;color:#0b1b39;font-size:23px;width:34px;height:34px;line-height:1;box-shadow:0 3px 7px #24436322}
.flash-navigation span{font-size:12px;font-weight:800;color:#536b95;min-width:47px;text-align:center}
.flash-caption{margin:0 10px 12px;padding:11px 8px;border-radius:9px;background:#fff7e6;display:flex;align-items:center;gap:9px;color:#79613f;font-size:10px;line-height:1.35;flex:1}
.flash-caption>span:first-child{font-size:24px;color:#df8504}
.flows-navigation{position:relative;z-index:1;margin:0 auto;max-width:1250px;display:flex;justify-content:center;align-items:center;gap:12px;min-height:32px}
.flow-arrow{width:35px;height:35px;display:grid;place-items:center;border:1px solid #d5e5f3;border-radius:50%;background:#fff;color:#1a3252;font-size:17px;box-shadow:0 3px 9px #29445c18}
.flow-arrow:disabled{opacity:.4;cursor:default}
.flow-page{font-size:11px;font-weight:800;color:#60799b;letter-spacing:.12em;text-align:center}
.flows-benefits{display:flex;align-items:center;justify-content:center;gap:40px;max-width:1110px;margin:32px auto 0;padding:20px 25px 0;border-top:1px solid #deebf5}
.flow-benefit{flex:1;min-width:0;display:flex;align-items:center;gap:14px}
.flow-benefit+.flow-benefit{border-left:1px solid #d3e3ef;padding-left:33px}
.benefit-icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;flex:none}
.benefit-icon svg{width:30px;height:30px;stroke-width:2.4}
.benefit-pink{background:#ffeaf1;color:#ed2d60}.benefit-green{background:#e4f9f1;color:#009574}.benefit-blue{background:#e9f2ff;color:#3d7cda}
.flow-benefit strong{font-size:17px;letter-spacing:-.06em;font-weight:850}
.flow-benefit p{margin:5px 0 0;color:#637fa5;font-size:12px;white-space:nowrap}
@media(min-width:1460px){.flows-navigation{visibility:hidden}.flows-gallery{gap:15px}}
@media(max-width:1459px){.flows-gallery{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 3 * 17px)/4);grid-template-columns:none;gap:17px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth;padding:30px 25px 40px}.flows-gallery::-webkit-scrollbar{display:none}.flow-card{scroll-snap-align:start;min-height:570px}.flow-card-heading h3{font-size:27px}}
@media(max-width:1090px){.flows-gallery{grid-auto-columns:calc((100% - 2 * 16px)/3)}.flows-heading h2{font-size:clamp(49px,7vw,74px)}.flow-card-heading p{font-size:13px}.flows-benefits{gap:18px}.flow-benefit+.flow-benefit{padding-left:18px}}
@media(max-width:790px){.flows-section{padding:57px 0 39px}.flows-heading h2{font-size:clamp(42px,8.3vw,60px)}.flows-heading p{font-size:18px}.flows-gallery{grid-auto-columns:min(77vw,315px);gap:17px;padding:27px 25px 35px;scroll-padding-left:25px}.flow-card{min-height:565px}.flow-card-heading h3{font-size:28px}.flows-benefits{margin:30px auto 0;flex-wrap:wrap;padding:22px 26px 0;gap:18px}.flow-benefit{flex:1 1 190px}.flow-benefit+.flow-benefit{border:0;padding:0}.flow-benefit p{white-space:normal}}
@media(max-width:490px){.flows-section{padding-top:49px}.flows-heading h2{font-size:clamp(37px,10.4vw,50px);letter-spacing:-.079em}.flows-heading p{font-size:16px;line-height:1.45}.flows-eyebrow{font-size:13px;min-height:40px}.flows-gallery{grid-auto-columns:min(83vw,320px);padding:26px 19px 32px;gap:15px;scroll-padding-left:19px}.flow-card{min-height:562px}.flow-card-heading h3{font-size:28px}.flow-card-heading p{font-size:13px}.flows-benefits{display:grid;grid-template-columns:1fr;max-width:315px;gap:12px}.flow-benefit+.flow-benefit{border-top:1px solid #dce8f4;padding-top:13px}.flow-benefit p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.flows-gallery{scroll-behavior:auto}.flow-card,.flash-main{transition:none}.flow-card:hover,.flow-card:focus-within{transform:none}}

/* Cards mais largos, com quatro fluxos e prévias compactas. */
.flows-gallery{max-width:1560px;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px;padding:30px 27px 26px}
.flow-card{min-height:470px}
.flow-card-heading{align-items:center;gap:12px;padding:15px 15px 12px;min-height:87px}
.flow-card-heading>div{padding-top:0}
.flow-card-heading h3{font-size:clamp(25px,2vw,30px);margin-bottom:5px}
.flow-card-heading p{font-size:clamp(12px,.94vw,14px)}
.flow-symbol{width:54px;height:58px;border-radius:16px}
.flow-symbol svg{width:34px;height:34px}
.flow-preview{margin:0 12px 14px}
.flow-preview-bar{height:35px;min-height:35px}
.concept-intro{min-height:0;margin:9px 11px 7px;padding:11px}
.concept-intro h4{font-size:16px;margin:9px 0 7px}
.concept-intro p{font-size:11.8px;line-height:1.37}
.concept-graph{margin-bottom:7px;padding:8px 10px 3px}
.concept-graph svg{height:77px;margin-top:4px}
.concept-parts{margin-bottom:10px}
.concept-parts span{padding:6px 5px}
.solve-question{margin:9px 10px 7px;padding:9px 11px}
.solve-question h4{margin:5px 0 2px}
.equation{font-size:21px}
.solve-steps{gap:5px}
.solve-steps li{min-height:52px;padding:7px 9px}
.solve-steps li b{height:24px;width:24px}
.solve-steps p{margin-top:4px;font-size:12px}
.solve-result{min-height:35px;margin:7px 10px 10px}
.code-window{margin:10px 10px 9px}
.code-toolbar{height:28px}
.code-lines{padding:7px 2px 7px 0}
.code-lines>div{min-height:24px}
.code-explanation{padding:9px 10px 10px}
.code-explanation p{margin-top:5px}
.code-tech{margin:9px 10px 10px}
.code-tech span{padding:5px 7px}
.flash-deck{height:228px;margin-top:12px}
.flash-navigation{margin:3px 0 8px}
.flash-caption{flex:0 0 auto;margin-bottom:10px;padding:9px}
@media(min-width:1360px){.flows-gallery{grid-auto-flow:row;grid-auto-columns:auto;overflow:visible}.flows-navigation{display:none}}
@media(max-width:1359px){.flows-gallery{grid-template-columns:none;grid-auto-columns:min(36vw,380px);gap:19px}.flow-card{min-height:465px}}
@media(max-width:1090px){.flows-gallery{grid-auto-columns:min(43vw,365px)}}
@media(max-width:790px){.flows-gallery{grid-auto-columns:min(79vw,365px);gap:17px;padding:27px 25px 35px}.flow-card{min-height:460px}}
@media(max-width:490px){.flows-heading h2{font-size:clamp(33px,8.2vw,42px);line-height:1.1;text-wrap:balance;overflow-wrap:break-word}.flows-gallery{grid-auto-columns:min(85vw,345px);gap:15px;padding:24px 19px 31px}.flow-card{min-height:450px}.flow-card-heading h3{font-size:26px}.flow-card-heading p{font-size:12px}}
