@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@500;600;700;800;900&display=swap');

:root{
  --blue-main:#149ff4;--blue-dark:#0759b8;--blue-deep:#064b9c;--blue-soft:#edf8ff;
  --orange:#ff7a00;--orange-light:#ff9d00;--yellow:#ffd52a;--yellow-light:#fff2a6;
  --green:#25bd68;--green-dark:#079449;--red:#f43f54;--red-soft:#fff0f2;
  --white:#fff;--text:#0d4c8d;--text-dark:#073b70;
  --shadow-card:0 12px 30px rgba(6,75,156,.16);--shadow-button:0 8px 18px rgba(255,122,0,.30);
  --radius-xl:34px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{min-height:100vh;font-family:'Nunito',sans-serif;color:var(--text-dark);background:linear-gradient(180deg,#69c5fb 0%,#37b0f6 32%,#139ff1 100%);overflow-x:hidden}
button{font:inherit;border:0;cursor:pointer}img{display:block;max-width:100%}
.app-shell{position:relative;width:100%;max-width:480px;min-height:100vh;margin:0 auto;background:linear-gradient(180deg,#2eaff7 0%,#139cf0 52%,#80d2ff 100%);overflow:hidden}
.screen{position:relative;width:100%;min-height:100vh;padding:calc(26px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));display:none;flex-direction:column;animation:screenIn .4s ease both}
.screen.active{display:flex}@keyframes screenIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.logo-box{display:flex;justify-content:center;align-items:center;margin-bottom:10px;z-index:5}.logo{width:98px}
.cloud{position:absolute;background:#fff;border-radius:100px;opacity:.95;filter:drop-shadow(0 8px 10px rgba(0,73,130,.08))}
.cloud:before,.cloud:after{content:"";position:absolute;background:inherit;border-radius:50%}.cloud:before{width:60%;height:135%;left:10%;bottom:0}.cloud:after{width:50%;height:110%;right:10%;bottom:0}
.cloud-top-left{width:90px;height:34px;top:-7px;left:-30px}.cloud-top-right{width:85px;height:30px;top:22px;right:-28px}
.home-screen{justify-content:space-between;text-align:center}.home-title{z-index:2;margin-top:0}.home-title .small{display:block;font-family:'Fredoka';font-size:20px;font-weight:700;color:#fff;letter-spacing:2px}
.home-title .main{display:block;font-family:'Fredoka';font-size:clamp(54px,15vw,74px);font-weight:700;line-height:.82;letter-spacing:-3px;color:#fff;text-shadow:0 4px 0 #0674ca,0 8px 18px rgba(0,73,140,.15);-webkit-text-stroke:2px #fff}
.home-title .main.orange{color:var(--orange);text-shadow:0 4px 0 #cf6500,0 8px 16px rgba(110,57,0,.15)}
.home-subtitle{margin:14px auto 0;font-size:20px;font-weight:900;color:#fff}
.hero-illustration{position:relative;height:280px;margin-top:6px;display:flex;justify-content:center;align-items:center}
.mascot-face{width:180px;height:180px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(180deg,#ffe5b7,#ffc77e);font-size:86px;border:10px solid #fff;box-shadow:0 18px 40px rgba(0,73,140,.23);animation:float 3.8s ease-in-out infinite}
.magnifier{position:absolute;font-size:88px;z-index:3;transform:translate(-62px,-42px) rotate(-18deg);filter:drop-shadow(0 10px 10px rgba(0,70,130,.18))}
.spark{position:absolute;color:var(--yellow);font-size:28px}.s1{top:20px;right:70px}.s2{left:55px;bottom:42px;color:var(--orange)}.s3{right:50px;bottom:65px}
@keyframes float{50%{transform:translateY(-7px)}}
.white-panel{position:relative;z-index:5;margin-left:-18px;margin-right:-18px;margin-bottom:-24px;padding:28px 22px calc(24px + env(safe-area-inset-bottom));background:#fff;border-radius:52px 52px 0 0;box-shadow:0 -10px 30px rgba(0,104,183,.08)}
.white-panel p{max-width:340px;margin:0 auto 18px;text-align:center;color:var(--text);font-weight:700;font-size:15px;line-height:1.35}
.challenge-info{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:15px 0 20px}.info-item{padding:9px 5px;border-radius:16px;background:var(--blue-soft);border:1px solid #d9f0ff;min-height:74px;display:flex;flex-direction:column;justify-content:center;align-items:center}
.info-icon{font-size:20px;margin-bottom:4px}.info-item strong{color:var(--blue-dark);font-size:11px;line-height:1.05}.info-item span{font-size:9px;color:#66849c;font-weight:700}
.disclaimer-home{font-size:10px!important;color:#8193a3!important;margin-top:10px!important;margin-bottom:0!important}
.btn{width:100%;min-height:58px;padding:14px 20px;border-radius:100px;font-size:16px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:10px;transition:.18s ease}.btn:active{transform:translateY(2px) scale(.985)}
.btn-primary{color:#fff;background:linear-gradient(135deg,var(--orange),#ff5f0a);box-shadow:var(--shadow-button)}.mt-20{margin-top:20px}
.app-header{height:48px;display:grid;grid-template-columns:46px 1fr 46px;align-items:center;z-index:5;margin-bottom:8px}.back-button{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.13);color:#fff;font-size:23px}.app-header-logo{height:36px;margin:auto}
.app-card{position:relative;z-index:4;width:100%;padding:24px;background:rgba(255,255,255,.98);border-radius:var(--radius-xl);box-shadow:var(--shadow-card)}
.intro-card{flex:1;display:flex;flex-direction:column}.intro-title{text-align:center;color:var(--blue-dark);font-family:'Fredoka';font-size:31px;margin-bottom:22px}
.step-box{display:grid;grid-template-columns:58px 1fr;align-items:center;gap:12px;background:var(--blue-soft);padding:13px;border-radius:20px;margin-bottom:12px}.step-icon{width:55px;height:55px;border-radius:17px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:24px}.step-icon.blue{background:var(--blue-main)}.step-icon.orange{background:var(--orange)}.step-icon.green{background:var(--green)}.step-box p{font-size:14px;font-weight:800;color:var(--text);line-height:1.25}
.intro-mascot{position:relative;display:flex;justify-content:center;align-items:flex-end;height:210px;margin-top:auto}.intro-character{font-size:120px;filter:drop-shadow(0 12px 12px rgba(0,73,140,.12))}.intro-bubble{position:absolute;right:0;top:20px;width:148px;padding:12px;border-radius:22px;background:linear-gradient(135deg,var(--blue-main),#0b82dc);color:#fff;font-weight:900;font-size:14px;transform:rotate(2deg)}
.progress-wrap{z-index:4;display:flex;align-items:center;gap:12px;margin:5px 4px 18px}.progress-track{flex:1;height:9px;border-radius:100px;background:rgba(255,255,255,.35);overflow:hidden}.progress-bar{height:100%;width:12.5%;border-radius:inherit;background:linear-gradient(90deg,var(--yellow),var(--orange));transition:width .4s ease}.progress-number{min-width:40px;color:#fff;font-size:16px;font-weight:900;text-align:right}
.question-screen{padding-bottom:14px}.question-card{padding:0;overflow:hidden}.question-top{padding:20px 20px 17px;text-align:center}.situation-tag{display:inline-flex;padding:7px 16px;margin-bottom:14px;border-radius:100px;color:#fff;background:linear-gradient(135deg,#ffad13,var(--orange));font-size:12px;font-weight:900}
.question-text{color:var(--text-dark);font-size:18px;font-weight:900;line-height:1.27}.question-scene{height:290px;background:linear-gradient(145deg,#c7ecff,#f8fdff);display:flex;align-items:center;justify-content:center;font-size:110px;position:relative;overflow:hidden}
.question-scene:before{content:"";position:absolute;width:230px;height:230px;border-radius:50%;background:rgba(255,255,255,.5)}.question-scene>span{position:relative;z-index:2;filter:drop-shadow(0 12px 16px rgba(0,73,140,.15))}
.question-actions{padding:18px 18px 22px}.question-title{text-align:center;font-size:17px;font-weight:900;margin-bottom:15px}
.answer{width:100%;min-height:59px;border-radius:18px;margin-bottom:10px;padding:13px 16px;font-size:15px;font-weight:900;transition:.2s ease;display:flex;align-items:center;justify-content:center;gap:9px}.answer-yes{color:#fff;background:linear-gradient(135deg,#40cc79,#16ac5f);box-shadow:0 7px 16px rgba(9,169,87,.2)}.answer-no{color:var(--blue-dark);background:#e2f3ff}.answer:hover{transform:translateY(-2px)}
.feedback-card{flex:1;display:flex;flex-direction:column;justify-content:center;text-align:center}.feedback-icon{width:78px;height:78px;margin:0 auto 18px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:37px;color:#fff;box-shadow:0 10px 25px rgba(0,0,0,.12);background:linear-gradient(135deg,#53d27e,#0fa153)}
.feedback-card.error .feedback-icon{background:linear-gradient(135deg,#ff5667,#dd2138)}.feedback-title{font-family:'Fredoka';font-size:29px;line-height:1.05;margin-bottom:15px;color:var(--green-dark)}.feedback-card.error .feedback-title{color:var(--red)}
.feedback-description{max-width:335px;margin:0 auto 18px;color:var(--text);font-size:15px;font-weight:700;line-height:1.4}.health-note{display:flex;gap:12px;padding:14px;margin-bottom:18px;border-radius:20px;text-align:left;background:var(--yellow-light);color:#725800}.health-note.error{background:var(--red-soft);color:#9e2636}.health-note-icon{flex:0 0 36px;width:36px;height:36px;border-radius:50%;display:flex;justify-content:center;align-items:center;background:rgba(255,255,255,.58);font-size:19px}.health-note p{font-size:12px;line-height:1.35;font-weight:800}
.feedback-mascot{position:relative;height:180px;display:flex;justify-content:center;align-items:flex-end;margin-bottom:8px}.feedback-character{font-size:105px;filter:drop-shadow(0 12px 12px rgba(0,73,140,.12))}.speech{position:absolute;right:2px;top:20px;width:138px;padding:12px 10px;border-radius:22px;color:#fff;background:linear-gradient(135deg,var(--blue-main),#0b82dc);font-size:12px;line-height:1.2;font-weight:900}
.result-screen{text-align:center;justify-content:center}.result-card{padding:26px 20px 22px;overflow:hidden;background:linear-gradient(180deg,#fff,#f8fcff)}.result-label{font-family:'Fredoka';color:var(--blue-dark);font-size:26px;font-weight:700}.result-score{font-family:'Fredoka';font-size:clamp(66px,18vw,92px);font-weight:700;color:var(--blue-main);line-height:1;margin:5px 0 10px;text-shadow:0 5px 0 #d3efff}.result-score span{font-size:.48em;color:var(--text-dark)}
.result-stars{display:flex;justify-content:center;gap:7px;margin:5px 0 10px}.star{font-size:34px}.result-ribbon{display:inline-block;padding:11px 22px;margin-bottom:17px;border-radius:15px;background:linear-gradient(180deg,#ffe76c,#ffc925);color:#c66100;font-family:'Fredoka';font-size:20px;font-weight:700;transform:rotate(-2deg);box-shadow:0 6px 0 #eaa900}
.result-description{max-width:325px;margin:5px auto 10px;color:var(--text);font-size:15px;line-height:1.35;font-weight:800}.result-mascots{height:205px;margin:10px 0;display:flex;justify-content:center;align-items:flex-end;gap:5px}.result-char{font-size:105px;filter:drop-shadow(0 12px 14px rgba(0,73,140,.12))}.result-char.two{font-size:98px}
.whatsapp-btn{width:100%;min-height:61px;padding:10px 18px;border-radius:100px;color:#fff;background:linear-gradient(135deg,#27d36f,#079f4f);box-shadow:0 10px 24px rgba(5,158,77,.27);font-size:14px;font-weight:900;display:flex;justify-content:center;align-items:center;gap:10px}.whatsapp-icon{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#10ab58;font-size:17px}.play-again{margin-top:17px;background:none;color:var(--blue-dark);font-size:13px;font-weight:900}
.confetti{pointer-events:none;position:absolute;inset:0;overflow:hidden}.confetti span{position:absolute;width:9px;height:18px;border-radius:4px;top:-20px;animation:confettiFall 4.5s linear infinite}.confetti span:nth-child(1){left:9%;background:var(--yellow);animation-delay:.3s}.confetti span:nth-child(2){left:24%;background:var(--orange);animation-delay:1.5s}.confetti span:nth-child(3){left:44%;background:var(--green);animation-delay:.7s}.confetti span:nth-child(4){left:68%;background:var(--blue-main);animation-delay:2s}.confetti span:nth-child(5){left:87%;background:var(--red);animation-delay:.9s}@keyframes confettiFall{to{transform:translateY(750px) rotate(520deg);opacity:0}}
.toast{position:fixed;left:50%;bottom:26px;z-index:200;width:calc(100% - 35px);max-width:380px;padding:14px 18px;border-radius:18px;color:#fff;background:rgba(5,57,105,.94);text-align:center;font-size:13px;font-weight:800;transform:translate(-50%,130px);opacity:0;transition:.32s ease}.toast.show{transform:translate(-50%,0);opacity:1}
button:focus-visible{outline:4px solid rgba(255,214,40,.85);outline-offset:3px}
@media(min-width:700px){body{padding:30px 0}.app-shell{min-height:calc(100vh - 60px);border-radius:38px;box-shadow:0 25px 70px rgba(0,71,138,.26)}.screen{min-height:calc(100vh - 60px)}}
@media(max-height:720px){.hero-illustration{height:220px}.question-scene{height:225px}.feedback-mascot{height:140px}.result-mascots{height:150px}.result-char{font-size:80px}.intro-mascot{height:160px}.intro-character{font-size:90px}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
