/* Modal de login/cadastro injetado no site institucional */
.ftm-backdrop { position: fixed; inset: 0; z-index: 999999; background: rgba(0,0,0,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .3s; font-family: "Plus Jakarta Sans", Helvetica, Arial, sans-serif; }
.ftm-backdrop.show { opacity: 1; }
.ftm { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; background: radial-gradient(circle at 50% -10%, rgba(255,184,0,.28), transparent 55%), #0B0B0B; border: 1px solid rgba(255,184,0,.35); border-radius: 22px; padding: 34px 30px 28px; color: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.7); transform: translateY(20px) scale(.97); transition: transform .35s cubic-bezier(.2,.8,.2,1); box-sizing: border-box; }
.ftm * { box-sizing: border-box; }
.ftm-backdrop.show .ftm { transform: none; }
.ftm-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.06); color: #aaa; font-size: 22px; line-height: 1; cursor: pointer; }
.ftm-x:hover { background: rgba(255,255,255,.14); color: #fff; }
.ftm-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.ftm-logo img { height: 34px; width: auto; }
.ftm h3 { margin: 0 0 6px; font-size: 24px; font-weight: 700; text-align: center; color: #fff; }
.ftm p.ftm-sub { margin: 0 0 22px; font-size: 14px; text-align: center; color: #a5a5a5; }
.ftm-tabs { display: flex; background: #151515; border-radius: 30px; padding: 4px; margin-bottom: 22px; }
.ftm-tabs button { flex: 1; height: 40px; border: 0; border-radius: 30px; background: none; color: #aaa; font-weight: 600; font-size: 14px; cursor: pointer; font-family: inherit; transition: .2s; }
.ftm-tabs button.on { background: linear-gradient(90deg, #FFB800, #FFCB45); color: #000; }
.ftm label { display: block; font-size: 13px; color: #cfcfcf; margin: 0 0 6px; font-weight: 600; }
.ftm input { width: 100%; height: 48px; border-radius: 12px; border: 1px solid #2b2b2b; background: #141414; color: #fff; padding: 0 16px; font-size: 15px; outline: none; margin: 0 0 14px; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.ftm input:focus { border-color: #FFB800; box-shadow: 0 0 0 3px rgba(255,184,0,.2); }
.ftm-help { margin: -8px 0 14px; font-size: 12px; line-height: 1.45; color: #8f8f8f; }
.ftm-pass { position: relative; }
.ftm-pass button { position: absolute; right: 8px; top: 7px; height: 34px; border: 0; background: none; color: #999; cursor: pointer; font-size: 12px; font-family: inherit; }
.ftm-btn { width: 100%; height: 50px; border: 0; border-radius: 30px; background: linear-gradient(90deg, #FFB800, #FFCB45); color: #000; font-weight: 700; font-size: 15px; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .2s; box-shadow: 0 10px 30px rgba(255,184,0,.3); }
.ftm-btn:hover { box-shadow: 0 12px 40px rgba(255,184,0,.5); }
.ftm-btn:active { transform: scale(.98); }
.ftm-btn[disabled] { opacity: .6; pointer-events: none; }
.ftm-link { display: block; margin: 16px auto 0; border: 0; background: none; color: #FFB800; font-size: 13px; cursor: pointer; font-family: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ftm-err { min-height: 18px; color: #ff6b6b; font-size: 13px; margin: -4px 0 10px; }
.ftm-ok { color: #6be39c; font-size: 14px; text-align: center; margin: 8px 0 0; line-height: 1.5; }
.ftm-perks { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid #1f1f1f; font-size: 12px; color: #9a9a9a; }
.ftm-perks span::before { content: '✓ '; color: #FFB800; }
.ftm-member { display: inline-flex !important; align-items: center; gap: 8px; }
.ftm-member img, .ftm-member .ftm-av { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.ftm-member .ftm-av { display: inline-grid; place-items: center; background: #000; color: #FFCB45; font-size: 10px; font-weight: 700; }
@media (max-width: 480px) { .ftm { padding: 28px 20px 22px; border-radius: 18px; } .ftm h3 { font-size: 21px; } }
