/* Entrada pública e autenticação compartilham as cores e a preferência do portal. */
.portal-theme.portal-guest { min-height: 100vh; display: flex; flex-direction: column; border-top: 3px solid var(--portal-gold); }
.portal-theme.portal-guest .portal-guest-header { width: min(1180px, 100%); margin: 0 auto; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.portal-theme.portal-guest .portal-guest-brand { display: flex; align-items: center; gap: 14px; color: var(--portal-ink); text-decoration: none; }
.portal-theme.portal-guest .portal-guest-brand:is(:hover, :focus) { color: var(--portal-green-dark); }
.portal-theme.portal-guest .portal-guest-brand img { width: 42px; height: 48px; object-fit: contain; }
.portal-theme.portal-guest .portal-guest-brand small { display: block; font-size: .67rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--portal-muted); }
.portal-theme.portal-guest .portal-guest-brand strong { display: block; font-size: 1.1rem; line-height: 1.4; }
.portal-theme.portal-guest .portal-guest-main { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); width: min(1120px, 100%); padding: 28px 32px 40px; margin: auto; flex: 1; }
.portal-theme.portal-guest .portal-guest-intro { padding: 34px 0; }
.portal-theme.portal-guest .portal-guest-intro > .portal-eyebrow { color: var(--portal-green); border-left: 3px solid var(--portal-gold); padding-left: 12px; margin-bottom: 22px; }
.portal-theme.portal-guest .portal-guest-intro h1 { color: var(--portal-green-dark); font-size: clamp(2rem, 3.6vw, 3.35rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.13; margin: 0 0 24px; }
.portal-theme.portal-guest .portal-guest-lead { color: var(--portal-muted); font-size: 1.02rem; max-width: 400px; margin-bottom: 28px; }
.portal-theme.portal-guest .portal-guest-benefits { padding: 0; margin: 0; list-style: none; display: grid; gap: 20px; }
.portal-theme.portal-guest .portal-guest-benefits li { display: flex; gap: 14px; align-items: center; }
.portal-theme.portal-guest .portal-guest-benefits strong { display: block; font-size: .9rem; }
.portal-theme.portal-guest .portal-guest-benefits small { display: block; color: var(--portal-muted); font-size: .8rem; margin-top: 2px; }
.portal-theme.portal-guest .portal-guest-icon, .portal-theme.portal-guest .portal-guest-card-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--portal-green-soft); color: var(--portal-green); }
.portal-theme.portal-guest .portal-guest-card { padding: 36px; border: 1px solid var(--portal-border); border-top: 3px solid var(--portal-gold); border-radius: 16px; background: var(--portal-surface); box-shadow: 0 12px 40px rgba(0, 25, 12, .06); min-width: 0; }
.portal-theme.portal-guest .portal-guest-card-icon { margin-bottom: 24px; width: 48px; height: 48px; }
.portal-theme.portal-guest .portal-guest-card h2 { font-weight: 650; letter-spacing: -.03em; font-size: 1.6rem; margin-bottom: 10px; }
.portal-theme.portal-guest .portal-guest-description { color: var(--portal-muted); font-size: .9rem; margin-bottom: 26px; }
.portal-theme.portal-guest .portal-guest-field { margin-bottom: 18px; }
.portal-theme.portal-guest .portal-guest-field label { font-size: .84rem; font-weight: 650; margin-bottom: 7px; }
.portal-theme.portal-guest .portal-guest-field .form-control { height: 46px; font-size: .9rem; }
.portal-theme.portal-guest .portal-guest-field .input-group-text { border-color: var(--portal-input-border); color: var(--portal-muted); background: var(--portal-surface-soft); }
.portal-theme.portal-guest .portal-guest-field .form-control:focus ~ .input-group-append .input-group-text { border-color: var(--portal-green); }
.portal-theme.portal-guest .portal-guest-recovery { text-align: right; font-size: .82rem; margin: -4px 0 22px; }
.portal-theme.portal-guest .portal-guest-submit { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: .9rem; }
.portal-theme.portal-guest .portal-guest-first-access { border-top: 1px solid var(--portal-border); margin-top: 26px; padding-top: 22px; }
.portal-theme.portal-guest .portal-guest-first-access p, .portal-theme.portal-guest .portal-guest-register { text-align: center; color: var(--portal-muted); font-size: .84rem; }
.portal-theme.portal-guest .portal-guest-register { margin: 24px 0 0; }
.portal-theme.portal-guest .portal-guest-register a { font-weight: 650; }
.portal-theme.portal-guest .portal-guest-footer { padding: 18px 24px; text-align: center; color: var(--portal-muted); font-size: .73rem; }
.portal-theme.portal-guest .portal-guest-footer span { margin: 0 6px; color: var(--portal-gold); }
.portal-theme.portal-guest .portal-guest-card .alert { font-size: .84rem; }
/* Marca ampliada à esquerda; acesso alinhado abaixo do controle de tema. */
@media (min-width: 768px) {
    .portal-theme.portal-guest .portal-guest-header {
        width: min(1120px, 100%); padding: 12px 32px 16px; display: grid;
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
        align-items: start; gap: clamp(32px, 6vw, 88px);
    }
    .portal-theme.portal-guest .portal-guest-brand { min-height: 112px; gap: clamp(12px, 1.5vw, 20px); }
    .portal-theme.portal-guest .portal-guest-brand img { width: clamp(72px, 8vw, 104px); height: 112px; flex-shrink: 0; }
    .portal-theme.portal-guest .portal-guest-brand small { font-size: clamp(.7rem, 1.1vw, .85rem); }
    .portal-theme.portal-guest .portal-guest-brand strong { font-size: clamp(1.3rem, 2.3vw, 2rem); line-height: 1.25; }
    .portal-theme.portal-guest .portal-guest-header .portal-theme-toggle { justify-self: end; }
    .portal-theme.portal-guest .portal-guest-main { align-items: start; margin: 0 auto; padding-top: 0; }
    .portal-theme.portal-guest .portal-guest-intro { padding: 24px 0; }
    .portal-theme.portal-guest .portal-guest-card { margin-top: -64px; }
}
@media (max-width: 767.98px) {
    .portal-theme.portal-guest .portal-guest-header { padding: 18px 20px; gap: 12px; }
    .portal-theme.portal-guest .portal-guest-brand { gap: 10px; }
    .portal-theme.portal-guest .portal-guest-brand img { width: 32px; height: 38px; }
    .portal-theme.portal-guest .portal-guest-brand strong { font-size: .88rem; max-width: 150px; }
    .portal-theme.portal-guest .portal-guest-brand small { font-size: .57rem; }
    .portal-theme.portal-guest .portal-theme-toggle { min-width: 44px; width: 44px; min-height: 44px; padding: 8px; }
    .portal-theme.portal-guest .portal-theme-toggle [data-theme-label] { display: none; }
    .portal-theme.portal-guest .portal-guest-main { grid-template-columns: 1fr; width: min(500px, 100%); padding: 20px; gap: 28px; align-content: center; }
    .portal-theme.portal-guest .portal-guest-intro { padding: 0; }
    .portal-theme.portal-guest .portal-guest-intro > .portal-eyebrow { margin-bottom: 12px; font-size: .63rem; }
    .portal-theme.portal-guest .portal-guest-intro h1 { font-size: 1.8rem; margin-bottom: 12px; }
    .portal-theme.portal-guest .portal-guest-intro h1 br { display: none; }
    .portal-theme.portal-guest .portal-guest-lead { margin: 0; font-size: .85rem; }
    .portal-theme.portal-guest .portal-guest-benefits { display: none; }
    .portal-theme.portal-guest .portal-guest-card { padding: 24px; }
    .portal-theme.portal-guest .portal-guest-card h2 { font-size: 1.4rem; }
    .portal-theme.portal-guest .portal-guest-footer { padding: 12px 20px 20px; }
}
