:root{--unimed-green: #00995d;--unimed-green-dark: #007a47;--unimed-green-deep: #006633;--unimed-green-light: #e8f5e9;--unimed-green-muted: #2e7d32;--text-primary: #1a1a1a;--text-secondary: #4a4a4a;--text-muted: #6b6b6b;--white: #ffffff;--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;-webkit-tap-highlight-color:transparent}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:var(--white);color:var(--text-primary);overflow:hidden}.app{width:100%;min-height:100dvh;max-width:100%;margin:0 auto;position:relative;background:var(--white)}@media(min-width:431px){.app{max-width:430px;box-shadow:0 0 0 1px #0000000a}}.screen{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;min-height:100dvh;padding-top:var(--safe-top);padding-bottom:var(--safe-bottom)}.hidden{visibility:hidden;opacity:0;pointer-events:none}.screen--fade-out{animation:fadeOut .45s ease forwards}.screen--fade-in{animation:fadeIn .5s ease forwards}@keyframes fadeOut{to{opacity:0;visibility:hidden}}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.screen--fade-out,.screen--fade-in,.splash__logo{animation:none}}.screen--splash{background:var(--unimed-green);justify-content:center;align-items:center;z-index:10;padding-left:max(1.25rem,env(safe-area-inset-left,0px));padding-right:max(1.25rem,env(safe-area-inset-right,0px))}.splash__content{display:flex;flex-direction:column;align-items:center;gap:1.75rem}.splash__logo{width:min(220px,62vw);height:auto;display:block;animation:splashFadeIn .5s ease-out}.splash__loader{width:min(160px,44vw)}.splash__loader-bar{height:3px;background:#ffffff59;border-radius:999px;overflow:hidden}.splash__loader-fill{height:100%;width:0%;background:var(--white);border-radius:999px;will-change:width}@keyframes splashFadeIn{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen--cpf{z-index:8;overflow-y:auto;-webkit-overflow-scrolling:touch}.cpf__inner{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;padding:2rem 1.5rem}.cpf__logo{width:min(160px,44vw);height:auto;margin-bottom:2rem}.cpf__title{font-size:1.35rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem;line-height:1.25}.cpf__hint{font-size:.9375rem;color:var(--text-muted);line-height:1.45;margin-bottom:1.75rem;max-width:20rem}.cpf__form{width:100%;max-width:20rem;display:flex;flex-direction:column;gap:.75rem}.cpf__input{width:100%;font-family:inherit;font-size:1.125rem;font-weight:500;letter-spacing:.02em;text-align:center;padding:.95rem 1rem;border:1.5px solid #d8d8d8;border-radius:12px;color:var(--text-primary);background:var(--white);transition:border-color .15s ease}.cpf__input:focus{outline:none;border-color:var(--unimed-green);box-shadow:0 0 0 3px #00995d26}.cpf__erro{font-size:.875rem;color:#c62828;text-align:center;line-height:1.35}.cpf__footer{margin-top:1.5rem;font-size:.8125rem;color:var(--text-muted);display:flex;align-items:flex-start;gap:.35rem;max-width:18rem;text-align:left}.screen--confirmacao{z-index:5;overflow-y:auto;-webkit-overflow-scrolling:touch}.confirmacao__inner{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;padding:2.5rem 1.5rem 2rem;max-width:100%}.success-icon{position:relative;width:88px;height:88px;margin-bottom:1.75rem;margin-top:.5rem}.success-icon__rays{position:absolute;top:-16px;right:-16px;bottom:-16px;left:-16px;width:calc(100% + 32px);height:calc(100% + 32px);stroke:var(--unimed-green);stroke-width:2;stroke-linecap:round;opacity:.35;animation:rayPulse 2s ease-in-out infinite}@keyframes rayPulse{0%,to{opacity:.25;transform:scale(1)}50%{opacity:.5;transform:scale(1.02)}}.success-icon__circle{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;border:2.5px solid var(--unimed-green);border-radius:50%;color:var(--unimed-green)}.success-icon__circle svg{width:36px;height:36px}.confirmacao__title{font-size:1.75rem;font-weight:700;letter-spacing:-.02em;margin-bottom:.75rem}.confirmacao__subtitle{font-size:1rem;font-weight:500;color:var(--text-primary);margin-bottom:1rem;line-height:1.4}.confirmacao__text{font-size:.9375rem;line-height:1.55;color:var(--text-secondary);max-width:320px;margin-bottom:2rem}.taxa-card{display:flex;align-items:center;gap:1rem;width:100%;max-width:340px;padding:1.125rem 1.25rem;background:var(--unimed-green-light);border-radius:14px;margin-bottom:2rem;text-align:left}.taxa-card__icon{flex-shrink:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:var(--unimed-green-muted)}.taxa-card__icon svg{width:32px;height:32px}.taxa-card__info{display:flex;flex-direction:column;gap:.25rem}.taxa-card__label{font-size:.875rem;color:var(--text-secondary);font-weight:500}.taxa-card__value{font-size:1.625rem;font-weight:700;color:var(--unimed-green-deep);letter-spacing:-.02em}.btn-primary{width:100%;max-width:340px;padding:1rem 1.5rem;font-family:inherit;font-size:1rem;font-weight:600;color:var(--white);background:var(--unimed-green-deep);border:none;border-radius:999px;cursor:pointer;transition:background .2s ease,transform .15s ease;margin-bottom:1.5rem}.btn-primary:active{transform:scale(.98);background:var(--unimed-green-dark)}.confirmacao__footer{display:flex;align-items:center;justify-content:center;gap:.5rem;font-size:.8125rem;color:var(--text-muted);line-height:1.4;max-width:280px}.confirmacao__info-icon{flex-shrink:0;width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;font-size:.6875rem;font-weight:700;font-style:normal;border:1.5px solid var(--text-muted);border-radius:50%;color:var(--text-muted)}.confirmacao__erro{width:100%;max-width:340px;margin:-.5rem 0 1rem;padding:.75rem 1rem;font-size:.8125rem;line-height:1.45;color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;text-align:left}.screen--pix{z-index:6;overflow-y:auto;-webkit-overflow-scrolling:touch}.pix__inner{padding:calc(var(--safe-top) + .5rem) 1.25rem calc(1.5rem + var(--safe-bottom))}.pix__back{margin-bottom:.75rem;padding:.25rem 0;font-family:inherit;font-size:.875rem;font-weight:600;color:var(--unimed-green);background:none;border:none;cursor:pointer}.pix__title{font-size:1.375rem;font-weight:700;margin-bottom:.35rem}.pix__subtitle{font-size:.9375rem;color:var(--text-secondary);margin-bottom:1.25rem;line-height:1.45}.pix-valor-card{padding:1rem;margin-bottom:1rem;text-align:center;background:var(--unimed-green-light);border-radius:14px}.pix-valor-card__label{display:block;font-size:.8125rem;color:var(--text-secondary);font-weight:500}.pix-valor-card__valor{margin:.25rem 0 0;font-size:1.625rem;font-weight:700;color:var(--unimed-green-deep)}.pix-qr-wrap{display:flex;align-items:center;justify-content:center;min-height:240px;margin-bottom:1rem;padding:1rem;background:var(--white);border:1px solid #e5e7eb;border-radius:14px}.pix-qr-img{display:block;width:min(240px,68vw);height:auto;border-radius:8px}.pix-qr-placeholder{margin:0;font-size:.9375rem;color:var(--text-muted)}.pix-copy-label{display:block;margin-bottom:.35rem;font-size:.8125rem;font-weight:600;color:var(--text-secondary)}.pix-copy-field{width:100%;margin-bottom:.75rem;padding:.75rem;font-family:ui-monospace,monospace;font-size:.6875rem;line-height:1.4;color:var(--text-primary);background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;resize:none}.btn-secondary{width:100%;padding:.875rem 1.25rem;font-family:inherit;font-size:.9375rem;font-weight:600;color:var(--unimed-green-deep);background:var(--white);border:2px solid var(--unimed-green);border-radius:999px;cursor:pointer}.btn-secondary:active{background:var(--unimed-green-light)}.pix-status{display:flex;align-items:flex-start;gap:.625rem;margin-top:1rem;padding:.75rem .875rem;font-size:.8125rem;line-height:1.45;color:#1e3a8a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px}.pix-status__dot{flex-shrink:0;width:8px;height:8px;margin-top:.35rem;background:#2563eb;border-radius:50%;animation:pixPulse 1.2s ease-in-out infinite}@keyframes pixPulse{0%,to{opacity:1}50%{opacity:.35}}.pix-status--ok{color:#166534;background:#ecfdf5;border-color:#86efac}.pix-status--ok .pix-status__dot{background:#16a34a;animation:none}.pix__verify{display:block;width:100%;margin-top:.625rem;padding:.5rem;font-family:inherit;font-size:.875rem;font-weight:600;color:var(--unimed-green);background:none;border:none;cursor:pointer}.screen--iframe{z-index:6;padding:0;overflow:hidden}.unimed-bh-frame{flex:1;width:100%;min-height:0;height:100%;border:none;display:block;background:var(--white)}.iframe-fallback{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:1.5rem;text-align:center;background:var(--white)}.iframe-fallback__text{font-size:.9375rem;color:var(--text-secondary);line-height:1.5;max-width:280px}.iframe-fallback__link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;max-width:320px}.loading-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;align-items:center;justify-content:center;background:#00000073;padding:1.5rem}.loading-overlay__box{width:min(300px,100%);padding:1.5rem;text-align:center;background:var(--white);border-radius:16px}.loading-overlay__spinner{width:40px;height:40px;margin:0 auto 1rem;border:3px solid #e5e7eb;border-top-color:var(--unimed-green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-overlay__title{font-size:1.0625rem;font-weight:700;margin-bottom:.35rem}.loading-overlay__text{font-size:.875rem;color:var(--text-secondary)}
