/* =========================================================
   PASCOM+
   AUTENTICAÇÃO
   Login, criação de conta e recuperação de senha
   ========================================================= */


/* =========================================================
   GUEST AREA
   ========================================================= */

.guest-main {
    position: relative;

    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 32px;

    overflow: hidden;

    background:
        radial-gradient(circle at 15% 20%,
            rgba(122, 31, 43, 0.11),
            transparent 30%),
        radial-gradient(circle at 85% 80%,
            rgba(189, 148, 95, 0.10),
            transparent 32%),
        linear-gradient(135deg,
            #f8f6f7 0%,
            #f4f2f3 100%);
}


/* =========================================================
   DECORAÇÃO
   ========================================================= */

.guest-main::before {
    content: '';

    position: fixed;

    top: -150px;
    left: -150px;

    width: 430px;
    height: 430px;

    border-radius: 50%;

    background:
        rgba(122, 31, 43, 0.055);

    pointer-events: none;
}


.guest-main::after {
    content: '';

    position: fixed;

    right: -170px;
    bottom: -170px;

    width: 480px;
    height: 480px;

    border-radius: 50%;

    background:
        rgba(189, 148, 95, 0.07);

    pointer-events: none;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.guest-main>* {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 440px;
}


/* =========================================================
   BLOCO PRINCIPAL
   ========================================================= */

.guest-main>section,
.guest-main>div {
    padding: 34px;

    border:
        1px solid rgba(122, 31, 43, 0.09);

    border-radius: 22px;

    background:
        rgba(255, 255, 255, 0.96);

    box-shadow:
        0 24px 70px rgba(45, 27, 33, 0.10);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* =========================================================
   BRAND
   ========================================================= */

.guest-main .auth-brand,
.guest-main .login-brand,
.guest-main .brand {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 25px;

    color: var(--primary);

    font-size: 14px;

    font-weight: 700;
}


.guest-main .auth-brand::before,
.guest-main .login-brand::before {
    content: 'P+';

    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background:
        var(--primary);

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(122, 31, 43, 0.20);
}


/* =========================================================
   PRIMEIRO TEXTO PASCOM+
   ========================================================= */

.guest-main>section>span:first-child,
.guest-main>div>span:first-child {
    display: inline-flex;

    align-items: center;

    margin-bottom: 20px;

    color:
        var(--primary);

    font-size: 13px;

    font-weight: 700;
}


/* =========================================================
   TÍTULOS
   ========================================================= */

.guest-main h1 {
    margin:
        0 0 9px;

    color:
        var(--text-primary);

    font-size: 27px;

    font-weight: 600;

    line-height: 1.2;

    letter-spacing:
        -0.035em;
}


.guest-main h2 {
    margin:
        0 0 8px;

    font-size: 22px;

    font-weight: 600;
}


.guest-main p {
    margin:
        0 0 25px;

    color:
        var(--text-secondary);

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
   FORM
   ========================================================= */

.guest-main form {
    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 15px;
}


.guest-main form>div {
    width: 100%;
}


/* =========================================================
   LABELS
   ========================================================= */

.guest-main label {
    display: block;

    margin-bottom: 6px;

    color:
        var(--text-primary);

    font-size: 10px;

    font-weight: 600;
}


/* =========================================================
   INPUTS
   ========================================================= */

.guest-main input[type='text'],
.guest-main input[type='email'],
.guest-main input[type='password'],
.guest-main input[type='tel'],
.guest-main select {
    width: 100%;

    min-height: 46px;

    padding:
        10px 13px;

    border:
        1px solid var(--border-strong);

    border-radius: 11px;

    background:
        #ffffff;

    color:
        var(--text-primary);

    font-size: 11px;

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background-color var(--transition);
}


.guest-main input:hover,
.guest-main select:hover {
    border-color:
        #cabdc0;
}


.guest-main input:focus,
.guest-main select:focus {
    border-color:
        var(--primary);

    background:
        #ffffff;

    box-shadow:
        0 0 0 4px rgba(122, 31, 43, 0.07);
}


.guest-main input::placeholder {
    color:
        #aaa1a4;
}


/* =========================================================
   BOTÃO PRINCIPAL
   ========================================================= */

.guest-main button[type='submit'],
.guest-main input[type='submit'] {
    width: 100%;

    min-height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 4px;

    padding:
        10px 16px;

    border: 0;

    border-radius: 11px;

    background:
        var(--primary);

    color:
        #ffffff;

    font-size: 11px;

    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 7px 20px rgba(122, 31, 43, 0.17);

    transition:
        background-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}


.guest-main button[type='submit']:hover,
.guest-main input[type='submit']:hover {
    background:
        var(--primary-hover);

    transform:
        translateY(-1px);

    box-shadow:
        0 10px 25px rgba(122, 31, 43, 0.21);
}


.guest-main button[type='submit']:active {
    transform:
        translateY(0);
}


/* =========================================================
   LINKS
   ========================================================= */

.guest-main a {
    color:
        var(--primary);

    font-size: 10px;

    font-weight: 600;

    text-decoration: none;

    transition:
        color var(--transition);
}


.guest-main a:hover {
    color:
        var(--primary-dark);

    text-decoration: underline;
}


/* =========================================================
   LINKS / FOOTER
   ========================================================= */

.guest-main .auth-links,
.guest-main .login-links,
.guest-main .form-links {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 3px;
}


.guest-main .auth-footer,
.guest-main .login-footer {
    margin-top: 22px;

    padding-top: 18px;

    border-top:
        1px solid var(--border);

    color:
        var(--text-secondary);

    font-size: 10px;

    text-align: center;
}


/* =========================================================
   ALERTS
   ========================================================= */

.guest-main .alert {
    margin-bottom: 18px;
}


/* =========================================================
   PASSWORD HELP
   ========================================================= */

.guest-main .password-row,
.guest-main .password-actions {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    margin-top: -5px;
}


/* =========================================================
   CHECKBOX
   ========================================================= */

.guest-main input[type='checkbox'] {
    accent-color:
        var(--primary);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .guest-main {
        align-items:
            flex-start;

        min-height:
            100dvh;

        padding:
            22px 15px;
    }


    .guest-main>section,
    .guest-main>div {
        margin:
            auto 0;

        padding:
            27px 21px;

        border-radius:
            18px;
    }


    .guest-main h1 {
        font-size:
            24px;
    }


    .guest-main .auth-links,
    .guest-main .login-links,
    .guest-main .form-links {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

}
/* =========================================================
   Validação por código de e-mail
   ========================================================= */
.verification-code-input {
    text-align: center;
    font-size: 1.45rem !important;
    font-weight: 700;
    letter-spacing: .45rem;
    font-variant-numeric: tabular-nums;
}

.auth-code-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(111, 23, 52, .10);
    text-align: center;
}

.auth-code-actions p {
    margin: 0 0 .75rem;
    color: var(--text-muted, #71666a);
    font-size: .9rem;
}

.auth-change-email {
    display: inline-block;
    margin-top: .85rem;
    font-size: .9rem;
    font-weight: 600;
}


/* =========================================================
   PASCOM+ — HOME PÚBLICA
   ========================================================= */

/* A home usa o mesmo ambiente visual de visitante, mas precisa
   de largura própria para não herdar o card estreito do login. */
.guest-main > .home-page {
    width: 100%;
    max-width: 1180px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.home-page {
    width: 100%;
}

.home-shell {
    width: 100%;
    margin: 0 auto;
}

.home-main-card {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
    min-height: 650px;
    overflow: hidden;
    border: 1px solid rgba(122, 31, 43, 0.10);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 30px 85px rgba(45, 27, 33, 0.12);
}

.home-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px 58px;
}

.home-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin-bottom: 34px;
}

.home-brand-mark {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: linear-gradient(145deg, #7a1f2b, #901f32);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.02em;
    box-shadow: 0 10px 24px rgba(122, 31, 43, 0.20);
}

.home-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.home-brand-copy strong {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.home-brand-copy small {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 500;
}

.guest-main .home-eyebrow {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.guest-main .home-title {
    max-width: 620px;
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(36px, 4.2vw, 58px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.guest-main .home-title span {
    display: block;
    color: var(--primary);
}

.guest-main .home-lead {
    max-width: 620px;
    margin: 20px 0 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
}

.home-choice-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    margin-bottom: 13px;
}

.home-choice-heading span {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
}

.home-choice-heading::after {
    content: '';
    height: 1px;
    flex: 1;
    background: var(--border);
}

.home-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.guest-main .home-action {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: #ffffff;
    color: var(--text-primary);
    font-size: inherit;
    font-weight: 400;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(45, 27, 33, 0.055);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.guest-main .home-action:hover {
    color: var(--text-primary);
    text-decoration: none;
    transform: translateY(-2px);
    border-color: rgba(122, 31, 43, 0.22);
    box-shadow: 0 15px 32px rgba(45, 27, 33, 0.09);
}

.guest-main .home-action-primary {
    grid-column: 1 / -1;
    padding: 19px 20px;
    border-color: transparent;
    background: linear-gradient(135deg, #741b29 0%, #8d2035 100%);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(122, 31, 43, 0.22);
}

.guest-main .home-action-primary:hover {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, #681722 0%, #7f1c2e 100%);
    box-shadow: 0 18px 36px rgba(122, 31, 43, 0.27);
}

.guest-main .home-action-request {
    border-color: rgba(189, 148, 95, 0.24);
    background: #fcf9f5;
}

.home-action-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
}

.home-action-primary .home-action-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.home-action-request .home-action-icon {
    background: var(--secondary-soft);
    color: #8b632f;
}

.home-action-icon svg {
    width: 21px !important;
    height: 21px !important;
    max-width: 21px;
    max-height: 21px;
}

.home-action-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.home-action-kicker {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-action-primary .home-action-kicker {
    color: rgba(255, 255, 255, 0.72);
}

.home-action-title {
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.guest-main .home-action-description {
    margin: 0;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
}

.home-action-primary .home-action-description {
    color: rgba(255, 255, 255, 0.78);
}

.home-action-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--primary);
    font-size: 16px;
    transition: transform 180ms ease;
}

.home-action-primary .home-action-arrow {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.home-action:hover .home-action-arrow {
    transform: translateX(3px);
}

.guest-main .home-public-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.5;
}

.home-public-note > span {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: -1px;
    border-radius: 50%;
    background: var(--success-soft);
    color: var(--success);
    font-size: 10px;
    font-weight: 700;
}

.home-overview {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 46px;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 8%, rgba(255, 255, 255, 0.10), transparent 23%),
        linear-gradient(155deg, #4d1b24 0%, #2e2528 100%);
    color: #ffffff;
}

.home-overview::after {
    content: '';
    position: absolute;
    right: -90px;
    bottom: -90px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.home-overview-heading,
.home-feature-list,
.home-overview-footer {
    position: relative;
    z-index: 1;
}

.home-overview-label {
    display: inline-flex;
    margin-bottom: 13px;
    color: #e3bd8a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.guest-main .home-overview h2 {
    margin: 0;
    color: #ffffff;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.guest-main .home-overview-heading p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 11px;
    line-height: 1.7;
}

.home-feature-list {
    display: grid;
    gap: 10px;
    margin-top: 30px;
}

.home-feature {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
}

.home-feature-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
}

.home-feature-icon-wine {
    background: rgba(212, 91, 112, 0.13);
    color: #f0a8b5;
}

.home-feature-icon-gold {
    background: rgba(227, 189, 138, 0.12);
    color: #e3bd8a;
}

.home-feature-icon-green {
    background: rgba(111, 190, 155, 0.12);
    color: #8dd3b4;
}

.home-feature-icon-blue {
    background: rgba(121, 172, 208, 0.12);
    color: #9bc7e5;
}

.home-feature-icon svg {
    width: 19px !important;
    height: 19px !important;
    max-width: 19px;
    max-height: 19px;
}

.home-feature > span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.home-feature strong {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
}

.home-feature small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 9px;
    line-height: 1.5;
}

.home-overview-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 9px;
}

.home-overview-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #8dd3b4;
    box-shadow: 0 0 0 4px rgba(141, 211, 180, 0.08);
}

@media (max-width: 980px) {
    .guest-main {
        align-items: flex-start;
    }

    .guest-main > .home-page {
        max-width: 760px;
    }

    .home-main-card {
        grid-template-columns: 1fr;
    }

    .home-intro {
        padding: 46px;
    }

    .home-overview {
        padding: 42px 46px;
    }

    .home-feature-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .guest-main {
        padding: 18px;
    }

    .home-main-card {
        border-radius: 22px;
    }

    .home-intro,
    .home-overview {
        padding: 30px 24px;
    }

    .home-brand {
        margin-bottom: 27px;
    }

    .guest-main .home-title {
        font-size: 36px;
    }

    .guest-main .home-lead {
        font-size: 12px;
    }

    .home-actions {
        grid-template-columns: 1fr;
    }

    .guest-main .home-action-primary {
        grid-column: auto;
    }

    .home-feature-list {
        grid-template-columns: 1fr;
    }

    .guest-main .home-overview h2 {
        font-size: 23px;
    }
}

@media (max-width: 420px) {
    .guest-main {
        padding: 12px;
    }

    .home-intro,
    .home-overview {
        padding: 26px 19px;
    }

    .home-action {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .home-action-arrow {
        display: none;
    }
}
