/*
 * Paginas de autenticacao (auth/signin.php). Duas colunas: formulario a esquerda, painel da marca a direita
 * (verde Sincro, com uma pequena composicao do produto feita em HTML/CSS -- sem imagens do tema antigo).
 * No telemovel fica so o formulario.
 */
.au {
    --au-verde: #12454B;
    --au-verde-esc: #0b2f33;
    --au-verde-claro: #d8f3dc;
    --au-menta: #eef3ef;
    --au-tinta: #0f1f22;
    --au-texto: #4b5675;
    --au-mudo: #8a94a6;
    --au-linha: #e4e8ea;
    --au-fundo: #ffffff;
    font-family: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    min-height: 100vh; min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    background: var(--au-fundo);
    color: var(--au-tinta);
}

/* ---------- Coluna do formulario ---------- */
.au-form-col {
    display: flex; flex-direction: column;
    padding: 2rem clamp(1.25rem, 5vw, 4.5rem);
    min-width: 0;
}
.au-topo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sc-marca { display: inline-flex; align-items: center; font-weight: 600; letter-spacing: -.015em; line-height: 1; }
.sc-marca img { height: 1.55em; width: auto; margin-right: .08em; display: block; }
.au-logo { text-decoration: none; }
.au-logo .sc-marca { font-size: 1.75rem; color: var(--au-verde); }
.au-topo-link { font-size: .85rem; color: var(--au-mudo); text-decoration: none; }
.au-topo-link:hover { color: var(--au-verde); }

.au-centro { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; padding: 2.5rem 0; }
.au-caixa { width: 100%; max-width: 400px; }

.au-titulo-form {
    font-family: "Fraunces", Georgia, serif; font-weight: 600;
    font-size: clamp(1.75rem, 3vw, 2.1rem); line-height: 1.15; letter-spacing: -.015em;
    color: var(--au-tinta); margin: 0 0 .5rem;
}
.au-sub { font-size: .98rem; line-height: 1.55; color: var(--au-texto); margin: 0 0 2rem; }

.au-campo { margin-bottom: 1.15rem; }
.au-rotulo-linha { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .45rem; }
.au-rotulo { font-size: .85rem; font-weight: 600; color: var(--au-tinta); }
.au-esqueceu { font-size: .82rem; font-weight: 500; color: var(--au-verde); text-decoration: none; }
.au-esqueceu:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--au-verde-esc); }

.au .au-input {
    display: block; width: 100%; height: 48px; padding: 0 1rem;
    font: 500 .98rem/1 inherit; color: var(--au-tinta);
    background: #fff; border: 1px solid var(--au-linha); border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 31, 34, .04);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.au .au-input::placeholder { color: #b3bac6; font-weight: 400; }
.au .au-input:hover { border-color: #cfd6d9; }
.au .au-input:focus { outline: 0; border-color: var(--au-verde); box-shadow: 0 0 0 4px rgba(18, 69, 75, .12); }
.au-pass { position: relative; }
.au-pass .au-input { padding-right: 3rem; }
.au-olho {
    position: absolute; top: 50%; right: .5rem; transform: translateY(-50%);
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 9px; color: var(--au-mudo); cursor: pointer;
}
.au-olho:hover { background: var(--au-menta); color: var(--au-verde); }
.au-olho i { font-size: 1.35rem; color: inherit; }
.au .invalid-feedback { font-size: .82rem; margin-top: .45rem; }

.au .au-botao {
    width: 100%; height: 50px; margin-top: .6rem; border: 0; border-radius: 12px;
    background: var(--au-verde); color: #fff; font: 600 1rem/1 inherit; letter-spacing: .01em;
    box-shadow: 0 10px 24px -12px rgba(18, 69, 75, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.au .au-botao:hover { background: var(--au-verde-esc); box-shadow: 0 14px 28px -14px rgba(18, 69, 75, .8); }
.au .au-botao:active { transform: translateY(1px); }
.au .au-botao:focus-visible { outline: 3px solid rgba(18, 69, 75, .35); outline-offset: 2px; }
.au .au-botao .indicator-progress { color: #fff; }

.au-registo { margin-top: 1.75rem; text-align: center; font-size: .92rem; color: var(--au-texto); }
.au-registo a { color: var(--au-verde); font-weight: 600; text-decoration: none; }
.au-registo a:hover { text-decoration: underline; text-underline-offset: 3px; }

.au-rodape { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--au-mudo); }
.au-rodape .btn-link { font-size: .85rem !important; color: var(--au-texto) !important; padding: 0 !important; }

/* ---------- Painel da marca ---------- */
.au-marca {
    position: relative; overflow: hidden; isolation: isolate;
    margin: .75rem .75rem .75rem 0; border-radius: 26px;
    background:
        radial-gradient(80% 60% at 85% 0%, rgba(216, 243, 220, .16) 0%, transparent 60%),
        radial-gradient(70% 55% at 0% 100%, rgba(0, 0, 0, .25) 0%, transparent 60%),
        linear-gradient(160deg, #165157 0%, var(--au-verde) 45%, var(--au-verde-esc) 100%);
    color: #fff;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: clamp(2rem, 4vw, 3.5rem);
}
.au-marca-corpo { margin: auto; padding: 1rem 0 2rem; width: 100%; max-width: 520px; }   /* bloco centrado no painel (texto alinhado a esquerda) */
/* grelha de pontos muito subtil */
.au-marca::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
            mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.au-marca-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start;
    font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--au-verde-claro); background: rgba(216, 243, 220, .08); border: 1px solid rgba(216, 243, 220, .18);
    padding: .4rem .75rem; border-radius: 999px;
}
.au-marca-eyebrow .au-ponto { width: 6px; height: 6px; border-radius: 50%; background: #7fd99a; box-shadow: 0 0 0 4px rgba(127, 217, 154, .18); }
.au .au-marca-titulo {
    color: #fff;
    font-family: "Fraunces", Georgia, serif; font-weight: 500;
    font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -.02em;
    margin: 0 0 1rem; max-width: none; white-space: nowrap;
}
.au-marca-titulo em { font-style: italic; color: var(--au-verde-claro); }
.au .au-marca-texto { font-size: 1.02rem; line-height: 1.6; color: rgba(255, 255, 255, .78); max-width: 44ch; margin: 0; }

/* Composicao do produto */
.au-cena { position: relative; margin: 3.25rem 0 2.5rem; max-width: 500px; }
.au-cartao {
    position: relative; z-index: 2;
    background: #fff; color: var(--au-tinta); border-radius: 18px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06);
    padding: 1.1rem 1.15rem 1rem;
}
.au-cartao-topo { display: flex; align-items: center; gap: .75rem; padding-bottom: .9rem; border-bottom: 1px solid #eef1f2; }
.au-casa { width: 40px; height: 40px; border-radius: 11px; flex: none; display: block; object-fit: cover; background: #e9edee; }
.au-cartao-nome { font-weight: 600; font-size: .95rem; line-height: 1.2; }
.au-cartao-meta { font-size: .78rem; color: var(--au-mudo); margin-top: .1rem; }
.au-estado { margin-left: auto; font-size: .72rem; font-weight: 600; color: var(--au-verde); background: var(--au-menta); padding: .3rem .55rem; border-radius: 7px; white-space: nowrap; }

.au-hospede { display: flex; align-items: center; gap: .7rem; padding: .7rem 0; border-bottom: 1px dashed #eef1f2; }
.au-hospede:last-of-type { border-bottom: 0; }
.au-avatar { width: 30px; height: 30px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; color: var(--au-verde); background: var(--au-menta); }
.au-hospede-nome { font-size: .86rem; font-weight: 600; line-height: 1.2; }
.au-hospede-doc { font-size: .74rem; color: var(--au-mudo); }
.au-ok { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--au-verde); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.au-ok svg { width: 12px; height: 12px; }
.au-ok-suave { background: var(--au-menta); color: var(--au-verde); }

.au-cartao-rodape {
    margin-top: .8rem; display: flex; align-items: center; gap: .6rem;
    padding: .7rem .8rem; border-radius: 12px; background: var(--au-menta);
    font-size: .8rem; font-weight: 600; color: var(--au-verde);
}
.au-cartao-rodape .au-siba { margin-left: auto; font-weight: 500; color: var(--au-mudo); font-variant-numeric: tabular-nums; }
.au-cartao-rodape svg { width: 16px; height: 16px; flex: none; }

.au-chip {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: .55rem;
    background: rgba(255, 255, 255, .96); color: var(--au-tinta);
    border-radius: 14px; padding: .6rem .8rem; font-size: .78rem; font-weight: 600;
    box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .5);
    white-space: nowrap;
}
.au-chip small { display: block; font-weight: 500; color: var(--au-mudo); font-size: .7rem; margin-top: .05rem; }
.au-chip-ic { width: 28px; height: 28px; border-radius: 9px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--au-menta); color: var(--au-verde); }
.au-chip-ic svg { width: 15px; height: 15px; }
.au-chip-gb { top: -3.1rem; right: -1.5rem; }
.au-chip-taxa { bottom: -3.4rem; left: -1.5rem; }

/* cartao de tras, para dar profundidade */
.au-cartao-tras {
    position: absolute; z-index: 1; inset: 1.1rem -1rem -1rem 1.1rem;
    border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1);
}

.au-marca-rodape { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; font-size: .82rem; color: rgba(255, 255, 255, .62); }
.au-marca-rodape span { display: inline-flex; align-items: center; gap: .45rem; }
.au-marca-rodape svg { width: 15px; height: 15px; color: var(--au-verde-claro); }

/* Entrada */
@keyframes auSobe { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes auFlutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.au-caixa > * { animation: auSobe .55s cubic-bezier(.22, 1, .36, 1) both; }
.au-caixa > *:nth-child(2) { animation-delay: .05s; }
.au-caixa > *:nth-child(3) { animation-delay: .1s; }
.au-caixa > *:nth-child(4) { animation-delay: .15s; }
.au-caixa > *:nth-child(5) { animation-delay: .2s; }
.au-cena { animation: auSobe .8s cubic-bezier(.22, 1, .36, 1) .15s both; }
.au-chip-gb { animation: auFlutua 6s ease-in-out 1s infinite; }
.au-chip-taxa { animation: auFlutua 7s ease-in-out 1.6s infinite; }
@media (prefers-reduced-motion: reduce) {
    .au-caixa > *, .au-cena, .au-chip-gb, .au-chip-taxa { animation: none; }
}

/* ---------- Ecras mais estreitos ---------- */
@media (max-width: 1199.98px) {
    .au-chip-gb { right: -.5rem; }
    .au-chip-taxa { left: -.5rem; }
}
@media (max-width: 991.98px) {
    .au { grid-template-columns: 1fr; }
    .au-marca { display: none; }
    .au-form-col { padding: 1.5rem 1.25rem; }
    .au-centro { padding: 2rem 0; }
}

/* ======================= Registo (auth/signup.php) ======================= */
/* Formulario: estados por campo (erro so depois de sair do campo ou de tentar criar a conta). */
.su-duas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .85rem; }
.su-campo { margin-bottom: 1.1rem; }
.su-campo .au-rotulo { display: block; margin-bottom: .45rem; }
.su-input-caixa { position: relative; }
.su-campo.is-ok .au-input { padding-right: 2.6rem; }
.su-visto { position: absolute; right: .85rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border-radius: 50%;
    background: var(--au-menta); color: var(--au-verde); display: none; align-items: center; justify-content: center; pointer-events: none; }
.su-visto svg { width: 11px; height: 11px; }
.su-campo.is-ok .su-visto { display: flex; }
.su-campo.is-erro .au-input { border-color: #d92d4f; background: #fffafb; }
.su-campo.is-erro .au-input:focus { box-shadow: 0 0 0 4px rgba(217, 45, 79, .14); }
.su-erro { position: relative; display: block; padding-left: 1.3rem; margin-top: .45rem; font-size: .82rem; line-height: 1.4; color: #b4233f; }
.su-erro[hidden] { display: none; }
.su-erro::before { content: ""; position: absolute; left: 0; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #d92d4f;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1 5h2v7h-2zm0 9h2v2h-2z'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1 5h2v7h-2zm0 9h2v2h-2z'/%3E%3C/svg%3E") center/contain no-repeat; }
.su-erro a { color: #b4233f; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.au .au-input[readonly] { background: #f7f9f9; color: var(--au-mudo); }

/* mostrar / ocultar password (botao a serio: teclado e leitores de ecra) */
.su-olho { position: absolute; top: 50%; right: .4rem; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: transparent;
    border-radius: 9px; color: var(--au-mudo); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.su-olho:hover { background: var(--au-menta); color: var(--au-verde); }
.su-olho:focus-visible { outline: 2px solid var(--au-verde); outline-offset: 1px; }
.su-olho svg { width: 18px; height: 18px; }

/* medidor de forca: 4 segmentos + etiqueta; uma linha diz o que falta */
.su-medidor-linha { display: flex; align-items: center; gap: .75rem; margin-top: .65rem; }
.su-medidor { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.su-medidor span { height: 4px; border-radius: 4px; background: #e6eaec; transition: background-color .25s ease; }
.su-medidor[data-nivel="1"] span:nth-child(-n+1) { background: var(--au-verde); }
.su-medidor[data-nivel="2"] span:nth-child(-n+2) { background: var(--au-verde); }
.su-medidor[data-nivel="3"] span:nth-child(-n+3) { background: var(--au-verde); }
.su-medidor[data-nivel="4"] span { background: var(--au-verde); }
.su-medidor-rotulo { min-width: 4.5rem; text-align: right; font-size: .76rem; font-weight: 600; color: var(--au-mudo); }
.su-dica { margin-top: .45rem; font-size: .8rem; line-height: 1.4; color: var(--au-mudo); }
.su-dica.is-ok { color: var(--au-verde); }

/* aviso geral (rede, limite) */
.su-alerta { margin: 0 0 1.1rem; padding: .75rem .9rem; border-radius: 12px; background: #fff4f6; color: #9b1c36; font-size: .86rem; line-height: 1.45; border: 1px solid #f6d3db; }
.su-alerta[hidden] { display: none; }

/* botao: carregamento e desativado */
.au .au-botao { display: flex; align-items: center; justify-content: center; gap: .5rem; }
.au .au-botao svg { width: 17px; height: 17px; transition: transform .2s ease; }
.au .au-botao:hover:not(:disabled) svg { transform: translateX(3px); }
.au .au-botao:disabled { cursor: progress; background: #2a5d62; box-shadow: none; }
.su-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; display: none; animation: suGira .7s linear infinite; }
.au-botao.is-carregar .su-spinner { display: inline-block; }
.au-botao.is-carregar .su-seta { display: none; }
@keyframes suGira { to { transform: rotate(360deg); } }
.su-termos { margin: .9rem 0 0; text-align: center; font-size: .78rem; line-height: 1.5; color: var(--au-mudo); }

/* ---------- Painel: cartao de reserva + 3 vantagens curtas ---------- */
.au .su-sub { font-size: 1.02rem; line-height: 1.6; color: rgba(255, 255, 255, .78); max-width: 42ch; margin: 0; }
.su-cena { position: relative; margin: 2.4rem 0 0; max-width: 460px; }
.su-cartao { position: relative; z-index: 2; background: #fff; color: var(--au-tinta); border-radius: 18px; padding: 1.15rem 1.2rem 1.1rem;
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06); animation: auSobe .8s cubic-bezier(.22, 1, .36, 1) .1s both; }
.su-cartao-tras { position: absolute; z-index: 1; inset: .9rem -.9rem -.9rem .9rem; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.su-topo { display: flex; align-items: center; gap: .8rem; }
.su-foto { width: 42px; height: 42px; border-radius: 12px; flex: none; background: linear-gradient(140deg, #d8b48f 0%, #a8714c 55%, #6d4329 100%); position: relative; overflow: hidden; }
.su-foto::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .28)); }
.su-nome { font-weight: 600; font-size: .96rem; line-height: 1.2; }
.su-meta { font-size: .78rem; color: var(--au-mudo); margin-top: .12rem; font-variant-numeric: tabular-nums; }
.su-estado { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 600; white-space: nowrap;
    color: var(--au-verde); background: var(--au-menta); padding: .32rem .55rem; border-radius: 7px; }
.su-estado::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2f9e6a; }
.su-rot { font-size: .68rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--au-mudo); margin: 1.05rem 0 .35rem; }
.su-hospede { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; }
.su-hospede + .su-hospede { border-top: 1px dashed #edf0f1; }
.su-avatar { width: 30px; height: 30px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; color: var(--au-verde); background: var(--au-menta); }
.su-h-nome { font-size: .86rem; font-weight: 600; line-height: 1.2; }
.su-h-doc { font-size: .74rem; color: var(--au-mudo); }
.su-ok { margin-left: auto; display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 600; color: var(--au-verde); }
.su-ok svg { width: 13px; height: 13px; }
.su-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.su-chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 500; color: var(--au-texto); background: #f5f7f7; border: 1px solid #edf0f1; padding: .28rem .55rem; border-radius: 7px; }
.su-chip svg { width: 11px; height: 11px; color: var(--au-verde); }
.su-siba { display: flex; align-items: center; gap: .6rem; margin-top: .95rem; padding: .7rem .8rem; border-radius: 12px; border: 1px dashed #cfe0d4; background: #f8fbf9; }
.su-siba-ic { width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--au-verde); color: #fff; display: flex; align-items: center; justify-content: center; }
.su-siba-ic svg { width: 14px; height: 14px; }
.su-siba-txt { font-size: .82rem; font-weight: 600; color: var(--au-tinta); line-height: 1.25; }
.su-siba-txt small { display: block; font-size: .72rem; font-weight: 500; color: var(--au-mudo); font-variant-numeric: tabular-nums; }
.su-premium { margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .02em; color: var(--au-verde); border: 1px solid #b9d3c1; background: #fff; padding: .22rem .5rem; border-radius: 6px; white-space: nowrap; }

.su-vantagens { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 520px; }
.su-vantagens li { font-size: .86rem; line-height: 1.4; color: rgba(255, 255, 255, .85); }
.su-vantagens li span { display: flex; width: 30px; height: 30px; border-radius: 9px; align-items: center; justify-content: center; margin-bottom: .55rem;
    background: rgba(216, 243, 220, .12); color: var(--au-verde-claro); }
.su-vantagens li span svg { width: 15px; height: 15px; }
.su-nota { margin: 0; font-size: .8rem; line-height: 1.5; color: rgba(255, 255, 255, .6); max-width: 52ch; }
.su-nota b { color: rgba(255, 255, 255, .88); font-weight: 600; }

@media (max-width: 1199.98px) { .su-vantagens { grid-template-columns: 1fr; gap: .6rem; } .su-vantagens li { display: flex; align-items: center; gap: .65rem; } .su-vantagens li span { margin: 0; } }
@media (max-width: 991.98px) {
    /* telemovel/tablet: formulario logo no topo (sem espaco vazio antes do botao) */
    .au-centro { align-items: flex-start; padding: 2rem 0 1.5rem; }
}
@media (max-width: 575.98px) {
    .su-duas { gap: 0 .6rem; }
    .au-titulo-form { font-size: 1.6rem; }
    .au-sub { margin-bottom: 1.5rem; }
}
@media (max-width: 359.98px) { .su-duas { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .su-cartao { animation: none; } .su-spinner { animation-duration: 1.6s; } }

/* Registo: painel da marca a esquerda, formulario a direita (o "Entrar" fica ao contrario). */
.au.au-invertido { grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); }
.au.au-invertido .au-marca { order: -1; margin: .75rem 0 .75rem .75rem; }
@media (max-width: 991.98px) { .au.au-invertido { grid-template-columns: 1fr; } }

/* Entrar: linhas de atividade com foto redonda e icone num circulo menta */
.au-foto { width: 36px; height: 36px; border-radius: 50%; flex: none; display: block; object-fit: cover; background: #e9edee; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #e3e9ea; }
.au-ic { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--au-menta); color: var(--au-verde); }
.au-ic svg { width: 17px; height: 17px; }

/* Recuperar password: passo a passo vertical no painel da marca (so auth/reset.php) */
.rp-passos { list-style: none; margin: 2.75rem 0 2rem; padding: 0; max-width: 460px; }
.rp-passo { position: relative; display: flex; gap: 1.1rem; padding-bottom: 1.6rem; animation: auSobe .7s cubic-bezier(.22, 1, .36, 1) both; }
.rp-passo:nth-child(2) { animation-delay: .12s; }
.rp-passo:nth-child(3) { animation-delay: .24s; padding-bottom: 0; }
.rp-passo:not(:last-child)::after {
    content: ""; position: absolute; left: 17px; top: 42px; bottom: 6px; width: 2px;
    background: linear-gradient(180deg, rgba(216, 243, 220, .45), rgba(255, 255, 255, .12)); border-radius: 2px;
}
.rp-no {
    width: 36px; height: 36px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
    font-size: .9rem; font-weight: 700; color: rgba(255, 255, 255, .75);
    border: 1.5px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04);
}
.rp-ativo .rp-no { color: var(--au-verde); background: var(--au-verde-claro); border-color: var(--au-verde-claro); box-shadow: 0 0 0 6px rgba(216, 243, 220, .12); }
.rp-conteudo { flex: 1; min-width: 0; padding-top: .35rem; }
.rp-titulo { color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.rp-texto { color: rgba(255, 255, 255, .65); font-size: .85rem; margin-top: .15rem; }
.rp-mock {
    margin-top: .75rem; display: flex; align-items: center; gap: .65rem;
    background: #fff; color: var(--au-tinta); border-radius: 12px; padding: .65rem .8rem;
    font-size: .82rem; box-shadow: 0 18px 36px -20px rgba(0, 0, 0, .55);
}
.rp-passo:not(.rp-ativo) .rp-mock { background: rgba(255, 255, 255, .92); }
.rp-mock-ic { width: 26px; height: 26px; border-radius: 8px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--au-menta); color: var(--au-verde); }
.rp-mock-ic svg { width: 14px; height: 14px; }
.rp-mock-email { border: 1.5px solid var(--au-verde); box-shadow: 0 0 0 4px rgba(216, 243, 220, .25), 0 18px 36px -20px rgba(0, 0, 0, .55); }
.rp-cursor { width: 1.5px; height: 1rem; background: var(--au-verde); margin-left: -.4rem; animation: rpPisca 1.1s steps(1) infinite; }
@keyframes rpPisca { 50% { opacity: 0; } }
.rp-remetente { width: 28px; height: 28px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--au-verde); color: #fff; font-weight: 700; font-size: .78rem; }
.rp-msg-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.rp-msg-txt strong { font-size: .8rem; }
.rp-msg-txt span { font-size: .74rem; color: var(--au-mudo); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-msg-botao { margin-left: auto; flex: none; font-size: .72rem; font-weight: 600; color: #fff; background: var(--au-verde); padding: .35rem .7rem; border-radius: 8px; }
.rp-pontos { letter-spacing: .12em; color: var(--au-tinta); font-size: .9rem; }
.rp-forca { margin-left: auto; display: flex; gap: 3px; flex: none; }
.rp-forca i { width: 16px; height: 4px; border-radius: 2px; background: #3aa66b; }
@media (prefers-reduced-motion: reduce) { .rp-passo, .rp-cursor { animation: none; } }

/* Nova password (auth/new.php): medidor, estado de link invalido e painel com cadeado */
.np-medidor { display: flex; gap: 6px; margin-top: .7rem; }
.np-medidor div { flex: 1; height: 5px; border-radius: 3px; background: #e6eaeb; transition: background .2s ease; }
.np-medidor div.active { background: #3aa66b; }
.np-dica { margin-top: .5rem; font-size: .8rem; color: var(--au-mudo); line-height: 1.45; }
.np-aviso-ic { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: #fff4e5; color: #b26a00; margin-bottom: 1.25rem; }
.np-aviso-ic svg { width: 24px; height: 24px; }
a.au-botao { text-decoration: none; color: #fff; }
a.au-botao:hover { color: #fff; }

.np-cena { position: relative; margin: 3rem 0 1rem; max-width: 420px; padding-top: 46px; animation: auSobe .8s cubic-bezier(.22, 1, .36, 1) .15s both; }
.np-cadeado { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 92px; height: 92px; z-index: 2; display: flex; align-items: center; justify-content: center; }
.np-anel { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(216, 243, 220, .28); }
.np-anel-1 { inset: -14px; border-color: rgba(216, 243, 220, .16); }
.np-anel-2 { inset: -30px; border-color: rgba(216, 243, 220, .08); }
.np-cadeado-ic { width: 92px; height: 92px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--au-verde-claro); color: var(--au-verde); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55); }
.np-cadeado-ic svg { width: 38px; height: 38px; }
.np-cartao { position: relative; z-index: 1; background: #fff; color: var(--au-tinta); border-radius: 18px; padding: 3.6rem 1.4rem 1.3rem; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
.np-cartao-topo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: .92rem; padding-bottom: .8rem; border-bottom: 1px solid #eef1f2; }
.np-forte { font-size: .72rem; font-weight: 600; color: var(--au-verde); background: var(--au-menta); padding: .3rem .55rem; border-radius: 7px; }
.np-regras { list-style: none; margin: .9rem 0 1.1rem; padding: 0; display: grid; gap: .65rem; }
.np-regras li { display: flex; align-items: center; gap: .65rem; font-size: .86rem; }
.np-v { width: 22px; height: 22px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--au-verde); color: #fff; }
.np-v svg { width: 12px; height: 12px; }
.np-barras { display: flex; gap: 6px; }
.np-barras i { flex: 1; height: 6px; border-radius: 3px; background: #3aa66b; }
@media (prefers-reduced-motion: reduce) { .np-cena { animation: none; } }

/* ---------- Paginas de estado (auth/verify.php, auth/welcome.php): um cartao centrado ---------- */
.ae {
    --au-verde: #12454B; --au-verde-esc: #0b2f33; --au-verde-claro: #d8f3dc; --au-menta: #eef3ef;
    --au-tinta: #0f1f22; --au-texto: #4b5675; --au-mudo: #8a94a6; --au-linha: #e4e8ea;
    font-family: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center;
    padding: 1.5rem; background: var(--au-menta); color: var(--au-tinta);
}
.ae-cartao {
    width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--au-linha); border-radius: 20px;
    padding: 2.5rem 2rem 2rem; text-align: center;
    box-shadow: 0 24px 48px -28px rgba(15, 31, 34, .25);
}
.ae-cartao .sc-marca { font-size: 1.75rem; color: var(--au-verde); text-decoration: none; }
.ae-icone {
    width: 56px; height: 56px; margin: 2rem auto 1.25rem; border-radius: 50%;
    background: var(--au-verde-claro); color: var(--au-verde); display: grid; place-items: center;
}
.ae-icone svg { width: 28px; height: 28px; }
.ae-titulo {
    font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(1.7rem, 5vw, 2rem);
    line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .6rem; text-wrap: balance;
}
.ae-texto { font-size: .98rem; line-height: 1.55; color: var(--au-texto); margin: 0 0 1.5rem; }
.ae-passos { list-style: none; margin: 0 0 1.75rem; padding: 0; text-align: start; display: grid; gap: .6rem; counter-reset: passo; }
.ae-passos li {
    counter-increment: passo; display: grid; grid-template-columns: 28px 1fr; gap: .75rem; align-items: center;
    padding: .7rem .9rem; border: 1px solid var(--au-linha); border-radius: 12px; font-size: .94rem; color: var(--au-tinta);
}
.ae-passos li::before {
    content: counter(passo); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
    background: var(--au-menta); color: var(--au-verde); font-weight: 600; font-size: .85rem;
}
.ae-botao {
    display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; height: 50px; border: 0; border-radius: 12px;
    background: var(--au-verde); color: #fff; font: 600 1rem/1 inherit; text-decoration: none;
    box-shadow: 0 10px 24px -12px rgba(18, 69, 75, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: background-color .15s ease, transform .15s ease;
}
.ae-botao:hover { background: var(--au-verde-esc); color: #fff; }
.ae-botao:active { transform: translateY(1px); }
.ae-botao:focus-visible { outline: 3px solid rgba(18, 69, 75, .35); outline-offset: 2px; }
.ae-nota { margin: 1rem 0 0; font-size: .82rem; color: var(--au-mudo); }
.ae, .ae * { box-sizing: border-box; }

/* ---------- Telemovel/tablet: gradiente subtil de fundo e formulario curto centrado na vertical ---------- */
@media (max-width: 991.98px) {
    .au { background: linear-gradient(168deg, #e3efec 0%, #f6faf9 34%, #ffffff 58%, #e6f1ee 100%); background-attachment: fixed; }
    .au:not(.au-invertido) .au-centro { align-items: center; padding: 1rem 0 2.5rem; }
    .au-caixa { margin: 0 auto; }
}
