@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600&display=swap');

:root{--auth-blue:#74b9ff;--auth-night:#0b2d4a;--auth-title:#214866;--auth-label:#567184;--auth-value:#244761;--auth-muted:#6a8191;--auth-gold:#d4af37;--auth-ivory:#f7f3ea;--auth-field:#fcfaf6;--auth-line:#d8e4e9}
.access-locked{min-height:100dvh;padding:0;overflow:hidden}.access-locked #main,.access-locked header,.access-locked footer,.access-locked .demo-strip,.access-locked #cart-dock{display:none!important}.access-locked #floating-whatsapp{display:none!important}
#access-dialog{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:var(--auth-blue);color:var(--auth-title);font-family:Sora,Montserrat,Arial,sans-serif}#access-dialog::backdrop{background:var(--auth-blue)}#access-dialog button,#access-dialog input{font-family:inherit}
#access-content{width:100%;height:100%}
.access-shell{position:relative;width:100%;height:100%;overflow:hidden;background:var(--auth-blue)}
.access-campaign{position:absolute;inset:0 27% 0 0;background:#e8f3fb url('assets/auth-campaign-20261115.png') center center/cover no-repeat}
.access-blue{position:absolute;inset:0 0 0 73%;overflow:hidden;background:linear-gradient(118deg,transparent 58%,#fff5 58.15%,transparent 58.7%),linear-gradient(143deg,transparent 68%,#d4af37 68.1%,#d4af37 68.28%,transparent 68.4%),repeating-linear-gradient(90deg,#ffffff08 0 54px,#0b2d4a08 54px 108px),linear-gradient(135deg,#178de1 0%,#0879d3 44%,#086bc5 100%)}
.access-blue::before{content:"";position:absolute;inset:0;opacity:.24;background-image:linear-gradient(30deg,#ffffff18 12%,transparent 12.5%,transparent 87%,#ffffff18 87.5%),linear-gradient(150deg,#ffffff12 12%,transparent 12.5%,transparent 87%,#ffffff12 87.5%);background-size:72px 124px}
.access-blue::after{content:"";position:absolute;width:155px;height:350px;right:-54px;top:14%;border:3px solid #fff;border-top-width:14px;border-radius:46% 46% 22px 22px;opacity:.92;transform:rotate(1deg)}
.access-brand-plaque{position:absolute;z-index:2;left:-18px;top:60%;transform:translateY(-15%);width:clamp(230px,21.5vw,360px);aspect-ratio:12/10;display:grid;place-items:center;border-radius:0 24px 24px 0;color:#fff;box-shadow:0 18px 42px #0b2d4a32;background:linear-gradient(135deg,#ffffff12 25%,transparent 25%) 0 0/58px 58px,linear-gradient(45deg,#ffffff0d 25%,transparent 25%) 0 0/58px 58px,linear-gradient(135deg,#1c9be9,#087ed6 58%,#0870c8)}
.access-brand{display:flex;align-items:center;gap:16px;color:#fff}.access-brand svg{width:86px;height:86px;flex:none}.access-brand>span{font-size:clamp(1.45rem,2vw,2.15rem);line-height:.98;letter-spacing:.18em;font-weight:500}.access-brand small{display:block;margin-top:8px;font-size:.54em;letter-spacing:.29em;font-weight:400}.access-mobile-brand{display:none}
.access-card-wrap{position:absolute;z-index:4;top:50%;left:min(calc(73vw - 150px),calc(100vw - 454px));width:430px;transform:translateY(-50%)}
.access-card{position:relative;width:100%;min-height:250px;display:flex;flex-direction:column;justify-content:center;padding:48px 42px;border:1px solid #ffffffc7;border-radius:22px;background:var(--auth-ivory);box-shadow:0 26px 70px #0b2d4a35}.access-card-wrap[data-screen="register"] .access-card{min-height:474px;padding:34px 38px}.access-card-wrap[data-screen="code"] .access-card{min-height:330px;padding:40px 38px}.access-card-wrap[data-screen="confirm"] .access-card{min-height:510px;padding:32px 38px}
.access-back{position:absolute;z-index:5;left:16px;top:-62px;width:48px;height:48px;min-height:48px;display:grid;place-items:center;padding:0;border:1px solid #ffffffc9;border-radius:50%;color:#fff;background:var(--auth-night);box-shadow:0 8px 22px #0b2d4a38}.access-back svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.access-title-row{display:flex;align-items:center;gap:10px;margin-bottom:22px}.access-title-row .wa-auth{width:22px;height:22px;color:#188bd1;flex:none}.access-title-row h2,#access-dialog .access-heading{margin:0;color:var(--auth-title);font-size:1rem;line-height:1.3;letter-spacing:-.02em;font-weight:600}#access-dialog .access-heading{margin-bottom:20px}.access-subtitle{margin:-12px 0 20px;color:var(--auth-muted);font-size:.68rem;line-height:1.55}
.login-identity-field{display:flex;align-items:center;gap:0;height:50px;padding:4px;border:1px solid var(--auth-line);border-radius:11px;background:var(--auth-field)}.login-identity-field:focus-within{border-color:var(--auth-blue);box-shadow:0 0 0 3px #74b9ff32}.phone-prefix{flex:none;padding:0 14px;color:var(--auth-title);font-size:.81rem;font-weight:600;border-right:1px solid var(--auth-line)}
#access-dialog .login-identity-field input{flex:1;width:0;min-height:40px;margin:0;padding:8px 13px;border:0;outline:0;box-shadow:none;background:transparent;color:var(--auth-value);font-size:.86rem;font-weight:500}#access-dialog input::placeholder{color:#94a8b4;opacity:1}
.login-send,.access-next{flex:none;width:42px;height:42px;min-height:42px;display:grid;place-items:center;padding:0;border:0;border-radius:9px;color:#fff;background:var(--auth-night)}.login-send svg,.access-next svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.access-guide{min-height:38px;margin:14px 0 0 30px;color:#fff;font-size:.78rem;font-style:italic;line-height:1.35;letter-spacing:0;text-align:left;text-shadow:0 1px 3px #0b2d4a55;transition:opacity .35s}.access-caret{display:inline-block;margin-left:2px;animation:accessBlink .8s step-end infinite}@keyframes accessBlink{50%{opacity:0}}
.access-form{display:grid;gap:11px}.access-field{position:relative;display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:10px;min-height:58px;padding:8px 12px;border:1px solid var(--auth-line);border-radius:9px;background:var(--auth-field)}.access-field:focus-within{border-color:var(--auth-blue);box-shadow:0 0 0 3px #74b9ff28}.access-field>svg{width:20px;height:20px;fill:none;stroke:#22537b;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.access-field-copy{min-width:0}.access-field label{display:block;margin:0 0 3px;color:var(--auth-label);font-size:.57rem;line-height:1.2;font-weight:500;letter-spacing:.03em;text-transform:uppercase}
#access-dialog .access-field input{width:100%;min-height:20px;margin:0;padding:0;border:0;outline:0;box-shadow:none;border-radius:0;background:transparent;color:var(--auth-value);font-size:.78rem;font-weight:500;text-transform:uppercase}.age-indicator{width:29px;height:29px;display:grid;place-items:center;border:1px solid #c7d3d9;border-radius:50%;color:#a8b7bf;font-size:.62rem;font-weight:600;transition:.2s ease}.age-indicator.is-invalid{border-color:#c44;color:#c44;background:#fff4f2}.access-location{color:var(--auth-value);font-size:.75rem;font-weight:500;text-transform:uppercase}.access-actions{display:flex;justify-content:flex-end;margin-top:3px}.access-next:disabled{opacity:.35}.access-error{min-height:17px;margin:0;color:#a7393e;font-size:.65rem;line-height:1.4}
.code-phone{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:11px;margin-bottom:18px}.code-phone .wa-auth{width:25px;height:25px;color:#188bd1}.code-phone small{display:block;color:var(--auth-label);font-size:.57rem;line-height:1.25;text-transform:uppercase}.code-phone strong{display:block;margin-top:3px;color:var(--auth-value);font-size:.78rem;font-weight:500}.otp-row{display:grid;grid-template-columns:repeat(var(--otp-digits,4),1fr);gap:10px}
.auth-code-validity{display:block;margin:7px 0 2px;color:var(--auth-label);font-size:.52rem;letter-spacing:.06em;text-align:center}.auth-code-actions{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:4px;flex-wrap:wrap}.auth-code-actions button{min-height:30px;padding:5px 9px;border:0;background:transparent;color:#116da6;font-size:.56rem;font-weight:700;letter-spacing:.03em;text-decoration:underline;text-underline-offset:3px}.auth-code-actions button:disabled{opacity:.45}.auth-code-actions .access-recovery{color:#7e6a2c}
#access-dialog .otp-input{width:100%;height:58px;min-height:58px;margin:0;padding:0;border:1px solid var(--auth-line);border-radius:9px;outline:0;background:var(--auth-field);color:var(--auth-title);text-align:center;font-size:1rem;font-weight:600}#access-dialog .otp-input:focus{border-color:var(--auth-blue);box-shadow:0 0 0 3px #74b9ff30}
.access-summary{margin:19px 0 0;padding-top:10px;border-top:1px solid var(--auth-line)}.summary-row{display:grid;grid-template-columns:31px 1fr;align-items:center;gap:10px;min-height:48px;border-bottom:1px solid #e2e9ec;color:var(--auth-value);font-size:.74rem;font-weight:500;text-transform:uppercase}.summary-row:last-child{border-bottom:0}.summary-row svg{width:18px;height:18px;fill:none;stroke:#22537b;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.access-card-wrap[data-screen="pending"] .access-card{min-height:330px;padding:38px}.pending-status{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 18px;border-radius:50%;background:#e8f3fb;color:var(--auth-night)}.pending-status svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}.screen-pending .access-heading{text-align:center}.access-pending-copy{margin:0 auto 21px;max-width:290px;color:var(--auth-muted);font-size:.75rem;line-height:1.65;text-align:center}.pending-support{display:flex;align-items:center;justify-content:center;gap:8px;margin:auto;padding:7px 10px;border:0;background:transparent;color:var(--auth-title);font-size:.67rem;font-weight:600}.pending-support .wa-auth{width:18px;height:18px;flex:none;color:#19a85e}.pending-support:hover,.pending-support:focus-visible{background:#eaf4fa}
.access-support{position:absolute;z-index:6;right:25px;bottom:28px;width:50px;height:50px;min-height:50px;padding:0;border:0;border-radius:0;background:transparent;color:#16a95c;filter:drop-shadow(0 4px 8px #0b2d4a4a)}.access-support svg{width:100%;height:100%;fill:currentColor}
.access-shell.is-entering .access-mobile-brand{animation:brandRise .78s cubic-bezier(.2,.8,.2,1) both}.access-shell.is-entering .access-card-wrap{animation:cardArrive .5s .35s ease-out both}.access-shell.is-leaving{animation:accessLeave .55s ease both}@keyframes brandRise{0%{transform:translate(-50%,32vh) scale(1.18);opacity:0}35%{opacity:1}100%{transform:translate(-50%,0) scale(1);opacity:1}}@keyframes cardArrive{from{opacity:0;transform:translateY(calc(-50% + 18px))}to{opacity:1;transform:translateY(-50%)}}@keyframes accessLeave{to{opacity:0;transform:scale(1.015)}}
@media(max-width:900px){#access-dialog{background:var(--auth-blue)}.access-campaign,.access-brand-plaque{display:none}.access-blue{inset:0;background:linear-gradient(145deg,#1593e7,#0878d2 54%,#096bc2)}.access-blue::after{right:-80px;top:18%;width:135px;height:330px;opacity:.78}.access-mobile-brand{position:absolute;z-index:3;display:block;top:max(55px,8dvh);left:50%;transform:translateX(-50%);color:#fff}.access-mobile-brand .access-brand{display:block;text-align:center}.access-mobile-brand .access-brand svg{width:74px;height:74px}.access-mobile-brand .access-brand>span{display:block;margin-top:7px;font-size:1.28rem}.access-mobile-brand .access-brand small{font-size:.58rem;margin-top:5px}.access-card-wrap{top:min(47%,390px);left:50%;width:min(360px,calc(100vw - 34px));transform:translate(-50%,-50%)}.access-card{min-height:178px;padding:29px 24px;border-radius:17px}.access-card-wrap[data-screen="register"]{top:54%}.access-card-wrap[data-screen="register"] .access-card{min-height:400px;padding:24px 22px}.access-card-wrap[data-screen="code"] .access-card{min-height:280px;padding:28px 23px}.access-card-wrap[data-screen="confirm"]{top:54%}.access-card-wrap[data-screen="confirm"] .access-card{min-height:430px;padding:24px 22px}.access-back{left:7px;top:-55px;width:43px;height:43px;min-height:43px}.access-title-row{margin-bottom:16px}.access-title-row h2,#access-dialog .access-heading{font-size:.9rem}.access-guide{margin:11px 0 0 12px;font-size:.68rem}.access-support{right:15px;bottom:max(16px,env(safe-area-inset-bottom));width:44px;height:44px;min-height:44px}.access-field{min-height:54px}#access-dialog .otp-input{height:52px;min-height:52px}.access-shell.is-entering .access-card-wrap{animation-name:cardArriveMobile}@keyframes cardArriveMobile{from{opacity:0;transform:translate(-50%,calc(-50% + 18px))}to{opacity:1;transform:translate(-50%,-50%)}}}
@media(max-width:900px){.access-card-wrap[data-screen="pending"]{top:49%}.access-card-wrap[data-screen="pending"] .access-card{min-height:300px;padding:30px 22px}.access-pending-copy{font-size:.7rem}.pending-support{font-size:.64rem}}
@media(max-width:900px){.access-shell:not(.screen-login) .access-mobile-brand{top:12px}.access-shell:not(.screen-login) .access-mobile-brand .access-brand svg{width:45px;height:45px}.access-shell:not(.screen-login) .access-mobile-brand .access-brand>span{font-size:.82rem;margin-top:2px}.access-shell:not(.screen-login) .access-mobile-brand .access-brand small{font-size:.44rem;margin-top:2px}}
@media(max-width:380px){.access-mobile-brand{top:max(38px,6dvh)}.access-mobile-brand .access-brand svg{width:63px;height:63px}.access-card-wrap{top:47%;width:calc(100vw - 24px)}.access-card{padding:25px 19px}.access-card-wrap[data-screen="register"],.access-card-wrap[data-screen="confirm"]{top:55%}.access-card-wrap[data-screen="register"] .access-card,.access-card-wrap[data-screen="confirm"] .access-card{padding:20px 17px}.access-field{min-height:50px;padding:7px 9px;grid-template-columns:26px 1fr auto;gap:7px}.access-field>svg{width:17px;height:17px}.otp-row{gap:7px}}
@media(max-height:690px) and (max-width:900px){.access-mobile-brand{top:25px}.access-mobile-brand .access-brand svg{width:54px;height:54px}.access-mobile-brand .access-brand>span{font-size:1rem}.access-card-wrap{top:48%}.access-card-wrap[data-screen="register"],.access-card-wrap[data-screen="confirm"]{top:55%;transform:translate(-50%,-50%) scale(.92)}}
@media(prefers-reduced-motion:reduce){.access-shell.is-entering .access-mobile-brand,.access-shell.is-entering .access-card-wrap,.access-shell.is-leaving{animation:none}.access-caret{animation:none}}

.pin-hint-help{display:block;margin:2px 0 8px;color:var(--auth-muted);font-size:.66rem;line-height:1.4}
.access-field.pin-creation-field{grid-template-columns:minmax(0,1fr);min-height:64px;padding:10px 13px}
.pin-creation-field .access-field-copy{min-width:0;width:100%}
.pin-creation-field label{white-space:normal}
#access-dialog .pin-box-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:280px;width:100%;margin-top:8px}
#access-dialog .pin-box-row input.pin-digit,#access-dialog .access-field .pin-box-row input.pin-digit{display:block;width:100%;height:52px;min-height:52px;margin:0;padding:0;border:1px solid #b6cbd8;border-radius:10px;outline:0;background:#fff;color:var(--auth-value);text-align:center;font-size:1.25rem;font-weight:700;letter-spacing:0;text-transform:none;box-shadow:none;transition:border-color .15s,box-shadow .15s}
#access-dialog .pin-box-row input.pin-digit:focus,#access-dialog .access-field .pin-box-row input.pin-digit:focus{border-color:#188bd1;box-shadow:0 0 0 3px #188bd129}
.access-card-wrap[data-screen="pin-enroll"] .access-form{width:100%;gap:12px}
.access-card-wrap[data-screen="pin-enroll"] .access-next{width:100%;height:46px;min-height:46px;padding:0 16px;display:flex;align-items:center;justify-content:center;white-space:nowrap;font-size:.76rem;letter-spacing:.02em}
.pin-hint-overlay{position:absolute;z-index:20;inset:0;display:grid;place-items:center;padding:18px;background:#0b2d4a8a}
.pin-hint-dialog{width:min(100%,370px);padding:28px;border-radius:18px;background:var(--auth-ivory);box-shadow:0 18px 50px #0b2d4a55;text-align:center}
.pin-hint-dialog h3{margin:0 0 12px;font-size:1rem;color:var(--auth-title)}
.pin-hint-dialog p{margin:0 0 22px;font-size:.92rem;line-height:1.5;overflow-wrap:anywhere}
.pin-hint-dialog button{padding:12px 18px;border:0;border-radius:9px;background:var(--auth-night);color:#fff;font-weight:600;cursor:pointer}
#pin-error a{display:inline;color:#075f9b;text-decoration:underline}
.access-card-wrap[data-screen="pin-enroll"] .access-card{min-height:385px;padding:28px 38px}
.access-card-wrap[data-screen="register"] .access-card{max-height:calc(100dvh - 110px);overflow-y:auto;justify-content:flex-start}
@media(max-width:900px){
  .access-card-wrap[data-screen="register"],.access-card-wrap[data-screen="pin-enroll"]{top:50%;left:50%;width:min(344px,calc(100vw - 32px));transform:translate(-50%,-50%)}
  .access-card-wrap[data-screen="register"] .access-card,.access-card-wrap[data-screen="pin-enroll"] .access-card{min-height:0;max-height:calc(100dvh - 115px);overflow-y:auto;padding:22px}
  .access-card-wrap[data-screen="register"] .access-back,.access-card-wrap[data-screen="pin-enroll"] .access-back{top:0;left:0}
}

/* Mobile aprovado: proporções e composição dos quatro quadros de acesso. */
@media(max-width:900px){
  #access-dialog,.access-shell{background:#0787dc}
  .access-blue{inset:0;background:#0787dc url('assets/auth-mobile-bg.png') center/cover no-repeat}
  .access-blue::before,.access-blue::after{display:none}
  .access-mobile-brand{top:68px}
  .access-mobile-brand .access-brand svg{width:72px;height:72px}
  .access-mobile-brand .access-brand>span{margin-top:5px;font-size:1.22rem;letter-spacing:.18em}
  .access-mobile-brand .access-brand small{margin-top:4px;font-size:.56rem;letter-spacing:.29em}
  .access-card-wrap{top:383px;width:min(344px,calc(100vw - 32px))}
  .access-card{min-height:136px;padding:17px 18px;border-radius:16px;box-shadow:0 14px 34px #07336235}
  .access-title-row{margin-bottom:10px;gap:9px}
  .access-title-row .wa-auth{width:24px;height:24px}
  .access-title-row h2,#access-dialog .access-heading{font-size:.94rem;line-height:1.25}
  #access-dialog .access-heading{margin-bottom:13px}
  .login-identity-field{height:52px}
  .access-guide{width:265px;min-height:35px;margin:13px 0 0 14px;font-size:.72rem;line-height:1.45}
  .access-back{position:absolute;left:-6px;width:43px;height:43px;min-height:43px}
  .access-card-wrap[data-screen="code"] .access-back{top:-218px}
  .access-card-wrap[data-screen="register"] .access-back,.access-card-wrap[data-screen="confirm"] .access-back{top:-177px}
  .access-support{right:12px;bottom:max(13px,env(safe-area-inset-bottom));width:62px;height:62px;min-height:62px;background:transparent url('assets/whatsapp-floating.svg') center/contain no-repeat;filter:drop-shadow(0 5px 8px #06376355)}
  .access-support svg{opacity:0}
  .access-shell:not(.screen-login) .access-mobile-brand{top:66px}
  .access-shell:not(.screen-login) .access-mobile-brand .access-brand svg{width:54px;height:54px}
  .access-shell:not(.screen-login) .access-mobile-brand .access-brand>span{font-size:.94rem;margin-top:3px}
  .access-shell:not(.screen-login) .access-mobile-brand .access-brand small{font-size:.47rem;margin-top:3px}
  .access-card-wrap[data-screen="code"]{top:382px;width:min(338px,calc(100vw - 38px))}
  .access-card-wrap[data-screen="code"] .access-card{min-height:220px;padding:18px 22px}
  .screen-code .code-phone{min-height:61px;margin-bottom:13px;padding:8px 10px;border:1px solid var(--auth-line);border-radius:9px;background:var(--auth-field)}
  .screen-code .code-phone .wa-auth{width:31px;height:31px}
  .access-card-wrap[data-screen="register"]{top:445px;width:min(338px,calc(100vw - 38px))}
  .access-card-wrap[data-screen="register"] .access-card{min-height:402px;padding:15px 22px}
  .access-form{gap:9px}.access-field{min-height:56px;padding:7px 11px}
  .access-actions{margin-top:0}.access-next{width:43px;height:43px;min-height:43px}
  .access-card-wrap[data-screen="confirm"]{top:445px;width:min(338px,calc(100vw - 38px))}
  .access-card-wrap[data-screen="confirm"] .access-card{min-height:402px;padding:15px 22px}
  .screen-confirm .code-phone{margin-bottom:13px}
  .screen-confirm .code-phone .wa-auth{width:30px;height:30px}
  .otp-row{gap:10px}#access-dialog .otp-input{height:57px;min-height:57px}
  .access-summary{margin-top:17px;padding-top:7px}.summary-row{min-height:49px;grid-template-columns:38px 1fr;gap:9px}
  .screen-confirm .summary-row svg{box-sizing:border-box;width:36px;height:36px;padding:8px;border:1px solid var(--auth-line);border-radius:7px}
}
@media(max-width:380px){
  .access-card-wrap{width:calc(100vw - 28px)}
  .access-card-wrap[data-screen="code"],.access-card-wrap[data-screen="register"],.access-card-wrap[data-screen="confirm"]{width:calc(100vw - 32px)}
}
@media(max-height:690px) and (max-width:900px){
  .access-mobile-brand{top:38px}.access-shell:not(.screen-login) .access-mobile-brand{top:22px}
  .access-card-wrap{top:285px}.access-card-wrap[data-screen="code"]{top:330px}
  .access-card-wrap[data-screen="register"],.access-card-wrap[data-screen="confirm"]{top:365px;transform:translate(-50%,-50%) scale(.88)}
}
@media(max-width:900px){
  .access-card-wrap[data-screen="register"],.access-card-wrap[data-screen="pin-enroll"]{top:50%;left:50%;transform:translate(-50%,-50%)}
  .access-card-wrap[data-screen="register"] .access-card,.access-card-wrap[data-screen="pin-enroll"] .access-card{min-height:0;max-height:calc(100dvh - 115px);overflow-y:auto;padding:22px}
  .access-card-wrap[data-screen="register"] .access-back,.access-card-wrap[data-screen="pin-enroll"] .access-back{top:-48px;left:0}
}
