/* Login, recuperação e convites compartilham o cenário aprovado. */
.auth-page { background: var(--color-bg); }
.auth { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 72px clamp(28px, 8.5vw, 180px); position: relative; background: linear-gradient(90deg, #06090c70, #11151930), url("../img/auth-background.04c027640c48.png") center / cover; }
.auth-layout { width: 100%; max-width: 1600px; margin: auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: clamp(40px, 7vw, 160px); align-items: center; }
.auth-intro { max-width: 650px; }
.auth-intro .brand-mark { width: 125px; height: 86px; background-size: 970px 546px; background-position: -60px -79px; }
.auth-intro .brand-words { font-size: 2.5rem; }
.auth-tagline { margin: -4px 0 42px 132px; font-size: .75rem; color: #c7c8cb; letter-spacing: .27em; line-height: 1.9; }
.auth-line { width: 50px; height: 6px; background: var(--color-primary); border-radius: 5px; margin-bottom: 42px; }
.auth-intro h2 { font-size: clamp(2rem, 3vw, 3.3rem); font-weight: 600; line-height: 1.17; letter-spacing: -.025em; }
.auth-intro > p:not(.auth-tagline) { margin-top: 18px; font-size: 1.45rem; color: #b6b9bc; }
.auth-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 0; margin: 50px 0 0; list-style: none; }
.auth-benefits li { border-right: 1px solid #ffffff35; padding-right: 17px; font-size: .875rem; }
.auth-benefits li:last-child { border: 0; }
.auth-benefits .icon { display: block; color: var(--color-primary); width: 29px; height: 29px; margin-bottom: 12px; }
.auth-card { min-width: 0; background: linear-gradient(145deg, #2c2e31f0, #141718f2); border: 1px solid #797563; border-radius: 20px; box-shadow: 0 20px 65px #0008; padding: 42px 42px 32px; backdrop-filter: blur(16px); }
.auth-card > .brand { display: flex; justify-content: center; margin-bottom: 20px; }
.auth-card .brand-words { font-size: 1.5rem; }
.auth-card .brand-mark { width: 67px; height: 44px; background-size: 522px 294px; background-position: -32px -43px; }
.auth-heading { text-align: center; margin-bottom: 28px; }
.auth-heading h1 { font-size: 1.4rem; line-height: 1.35; letter-spacing: -.015em; overflow-wrap: anywhere; }
.auth-description { color: var(--color-muted); font-size: .9375rem; margin-top: 9px; }
.auth-description:empty { display: none; }
.auth-card > .messages:not(:empty) { margin-bottom: 20px; }
.auth-card .form-field :where(input:not([type=checkbox]), select) { background: #303236c4; min-height: 49px; }
.auth-card .button--primary { min-height: 49px; font-size: 1rem; }
.auth-options { display: flex; justify-content: flex-end; margin-top: -8px; }
.auth-back { display: flex; justify-content: center; margin-top: 16px; }
.auth-support { margin-top: 26px; padding-top: 20px; border-top: 1px solid #ffffff21; text-align: center; font-size: .8125rem; color: var(--color-muted); line-height: 1.7; }
.auth-footer { position: absolute; bottom: 24px; right: 40px; font-size: .6875rem; letter-spacing: .24em; color: #c0c4c7; }
.state-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; background: #ffcf2414; border: 1px solid #ffcf2440; color: var(--color-primary); }
.state-icon .icon { width: 27px; height: 27px; }
.invitation-info { display: grid; gap: 8px; margin: 0; }
.invitation-info div { display: grid; gap: 3px; }
.invitation-info dt { font-size: .75rem; color: var(--color-muted); }
.invitation-info dd { margin: 0; overflow-wrap: anywhere; }
.auth-account { display: grid; gap: 8px; margin-top: 22px; text-align: center; font-size: .875rem; }
.auth-account p { overflow-wrap: anywhere; }
.auth-account form { display: flex; justify-content: center; }
.auth-account button { border: 0; background: transparent; color: var(--color-primary); padding: 10px; }
@media (max-width: 1400px) {
  .auth { padding-inline: 6vw; }
  .auth-layout { gap: 6vw; }
  .auth-card { padding: 35px 30px 30px; }
  .auth-intro .brand-words { font-size: 2.15rem; }
}
@media (max-width: 1050px) {
  .auth-intro .brand-mark { width: 90px; height: 64px; background-size: 720px 405px; background-position: -45px -58px; }
  .auth-intro .brand-words { font-size: 1.75rem; }
  .auth-tagline { margin-left: 99px; font-size: .625rem; }
  .auth-intro > p:not(.auth-tagline) { font-size: 1.15rem; }
  .auth-benefits { gap: 12px; }
  .auth-benefits li { padding-right: 10px; font-size: .8125rem; }
}
@media (max-width: 800px) {
  .auth { padding: 32px 18px; background-position: 48% center; }
  .auth-layout { display: block; max-width: 470px; }
  .auth-intro, .auth-footer { display: none; }
  .auth-card { padding: 30px 24px 25px; border-radius: 13px; }
}
/* Telas baixas (notebook/1080p com barras do navegador): compacta só o espaço vertical. */
@media (min-width: 801px) and (max-height: 960px) {
  .auth { padding-block: 40px; }
  .auth-tagline { margin-bottom: 26px; }
  .auth-line { margin-bottom: 26px; }
  .auth-intro > p:not(.auth-tagline) { margin-top: 12px; }
  .auth-benefits { margin-top: 32px; }
  .auth-card { padding-block: 30px 24px; }
  .auth-card > .brand { margin-bottom: 12px; }
  .auth-heading { margin-bottom: 18px; }
  .auth-card .form-stack { gap: 16px; }
  .auth-support { margin-top: 18px; padding-top: 14px; }
  .auth-footer { bottom: 12px; }
}
@media (min-width: 801px) and (max-height: 760px) {
  .auth { padding-block: 24px; }
  .auth-intro .brand-words { font-size: 2rem; }
  .auth-intro h2 { font-size: clamp(1.8rem, 2.6vw, 2.6rem); }
  .auth-benefits { margin-top: 24px; }
  .auth-card .form-field :where(input:not([type=checkbox]), select), .auth-card .button--primary { min-height: 44px; }
}
@media (max-width: 380px) {
  .auth { padding-inline: 12px; }
  .auth-card { padding: 28px 20px; }
  .auth-card .brand-words { font-size: 1.3rem; }
}
/* Tela dividida meio a meio: apresentação à esquerda, quadro de acesso ocupando toda a metade direita. */
@media (min-width: 801px) {
  .auth { padding: 0; align-items: stretch; }
  .auth-layout { max-width: none; min-height: 100vh; min-height: 100svh; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
  .auth-intro { align-self: center; justify-self: center; width: 100%; max-width: 720px; padding: 72px clamp(32px, 5vw, 96px); }
  .auth-card { display: flex; flex-direction: column; justify-content: center; border: 0; border-radius: 0; padding: 72px clamp(32px, 6vw, 120px); box-shadow: -20px 0 60px #0004; }
  .auth-card > * { width: 100%; max-width: 440px; margin-inline: auto; }
  .auth-footer { right: 0; width: 50%; text-align: center; }
  /* A marca já aparece na metade esquerda; no quadro fica só o título. */
  .auth-card > .brand { display: none; }
  .auth-heading h1 { font-size: 1.75rem; }
}
