/* ================================================ */
/* =========== ESTILO GERAL E VARIÁVEIS =========== */
/* ================================================ */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap");

:root {
    --primary: #FF8A00;
    --primary-dark: #E07A00;
    --primary-light: #FFB347;
    --dark: #0F0F0F;
    --dark-light: #2A2A2A;
    --gray: #6B6B6B;
    --gray-light: #A8A8A8;
    --light: #F5F5F7;
    --white: #FFFFFF;
    --success: #4CAF50;
    --error: #D93025;
    --border-color: #E5E5E5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    min-height: 100vh;
    background: #fffefc;
    color: var(--dark);
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}



@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.05; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.08; }
}

#logo {
    position: absolute;
    top: 40px;
    left: 50px;
    text-decoration: none;
    z-index: 10;
    transition: transform 0.3s ease;
}

#logo:hover {
    transform: translateY(-2px);
}

.logo-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.logo-text {
    color:var(--dark);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
}

.logo-price {
    color: var(--primary);
}

.logo-price::after {
    background: var(--primary);
}

a {
    text-decoration: none;
    color: var(--primary);
}

.main-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-top: 10px;
    padding-bottom: 40px;
    position: relative;
    z-index: 100;
    min-height: 100vh;
}

.formulario-box {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    padding: 10px 36px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--primary);
    position: relative;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* .formulario-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 24px;
} */

.welcome-header {
    text-align: center;
    margin-bottom: 36px;
}

.welcome-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.welcome-header p {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 400;
}

.form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--gray-light);
    font-size: 1rem;
    z-index: 1;
    pointer-events: none;
    transition: color 0.3s ease;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--dark) !important;
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    transition: background-color 9999s ease-in-out 0s;
}

.input-group input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    font-size: 0.95rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--white) !important;
    color: var(--dark);
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: var(--gray-light);
    font-weight: 400;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.1);
    background-color: var(--white) !important;
}

.input-group input:focus ~ .input-icon,
.input-wrapper:focus-within .input-icon {
    color: var(--primary);
}

.icon-senha {
    position: absolute;
    right: 16px;
    cursor: pointer;
    color: var(--gray-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.icon-senha:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Estilo do "Lembrar de mim" */
.remember-me-container {
    margin-top: -8px;
    margin-bottom: 8px;
}

.remember-me-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 32px;
    user-select: none;
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.remember-me-label:hover {
    color: var(--dark);
}

.remember-me-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.remember-me-label:hover .checkmark {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.08);
}

.remember-me-label input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.1);
}

.checkmark::after {
    content: '';
    position: absolute;
    display: none;
}

.remember-me-label input:checked ~ .checkmark::after {
    display: block;
}

.remember-me-label .checkmark::after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.label-text {
    margin-left: 4px;
}

.submit-btn {
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    margin-top: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(255, 138, 0, 0.3);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 138, 0, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 138, 0, 0.3);
}

.submit-btn:disabled {
    background: var(--gray-light);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(4px);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 32px 0 24px;
    color: var(--gray-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 16px;
}

.links-uteis {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
}

.links-uteis a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.link-primary {
    color: var(--primary);
    background: rgba(255, 138, 0, 0.08);
    border: 1px solid rgba(255, 138, 0, 0.2);
}

.link-primary:hover {
    background: rgba(255, 138, 0, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.link-secondary {
    color: var(--dark);
    background: var(--light);
    border: 1px solid var(--border-color);
}

.link-secondary:hover {
    background: var(--white);
    border-color: var(--dark-light);
    transform: translateY(-2px);
}

.portal-link {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.portal-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.portal-link a:hover {
    color: var(--primary);
    background: rgba(255, 138, 0, 0.05);
}

.error-message {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    color: #c33;
    border: 1px solid #ffcccc;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(221, 51, 51, 0.1);
}

.error-message::before {
    content: '\f06a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.1rem;
}

/* Página de Sucesso/Info */
.info-box p {
    text-align: center;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.info-box a {
    display: block;
    text-align: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 14px 24px;
    background: rgba(255, 138, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-box a:hover {
    background: rgba(255, 138, 0, 0.2);
    transform: translateY(-2px);
}

/* ================================================ */
/* ================= LOGIN PAGE =================== */
/* ================================================ */

body.login-page,
body.login-page * {
    font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

body.login-page .fa,
body.login-page .fas,
body.login-page .fa-solid {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

body.login-page .far,
body.login-page .fa-regular {
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
}

body.login-page .fab,
body.login-page .fa-brands {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

body.login-page {
    background:
        radial-gradient(circle at top left, rgba(255, 138, 0, 0.18), transparent 34%),
        linear-gradient(180deg, #f4efe8 0%, #fbf8f2 42%, #f5eee6 100%);
}

body.login-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.9), transparent 28%),
        radial-gradient(circle at 85% 18%, rgba(15, 15, 15, 0.08), transparent 22%),
        radial-gradient(circle at 50% 100%, rgba(255, 138, 0, 0.08), transparent 35%);
    pointer-events: none;
    z-index: 0;
}

.login-page .background-gradient,
.login-page .background-grid,
.login-page .background-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.login-page .background-gradient {
    z-index: 0;
    background:
        radial-gradient(circle at 10% 12%, rgba(255, 138, 0, 0.24), transparent 22%),
        radial-gradient(circle at 85% 24%, rgba(15, 15, 15, 0.14), transparent 18%),
        radial-gradient(circle at 82% 88%, rgba(255, 179, 71, 0.24), transparent 24%);
    filter: blur(10px);
}

.login-page .background-grid {
    z-index: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(15, 15, 15, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 15, 15, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 88%);
}

.login-page .background-shapes {
    z-index: 0;
    overflow: hidden;
}

.login-page .background-shapes .shape {
    position: absolute;
    border-radius: 999px;
    filter: blur(18px);
    opacity: 0.7;
    animation: loginShapeFloat 18s ease-in-out infinite;
}

.login-page .background-shapes .shape-1 {
    width: 220px;
    height: 220px;
    top: 8%;
    right: -40px;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.22), rgba(255, 179, 71, 0.08));
    animation-delay: -3s;
}

.login-page .background-shapes .shape-2 {
    width: 180px;
    height: 180px;
    top: 44%;
    left: -56px;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.12), rgba(15, 15, 15, 0.02));
    animation-duration: 22s;
}

.login-page .background-shapes .shape-3 {
    width: 260px;
    height: 260px;
    right: 8%;
    bottom: -90px;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.18), rgba(255, 255, 255, 0.1));
    animation-delay: -7s;
}

@keyframes loginShapeFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(12px, -14px, 0) scale(1.04);
    }
}

@keyframes loginLogoDrift {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes loginCheckboxPop {
    0% {
        transform: translateY(-50%) scale(0.88);
    }
    60% {
        transform: translateY(-50%) scale(1.12);
    }
    100% {
        transform: translateY(-50%) scale(1);
    }
}

@keyframes loginCheckboxRipple {
    0% {
        opacity: 0.35;
        transform: translate(-50%, -50%) scale(0.65);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.8);
    }
}

@keyframes loginCheckmarkDraw {
    0% {
        opacity: 0;
        transform: rotate(45deg) scale(0.45);
    }
    80% {
        opacity: 1;
        transform: rotate(45deg) scale(1.08);
    }
    100% {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

@keyframes loginErrorIn {
    0% {
        opacity: 0;
        transform: translateY(-6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-page .login-frame {
    position: relative;
    z-index: 2;
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 24px 20px 40px;
}

.login-page #logo {
    position: relative;
    top: auto;
    left: auto;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    animation: loginLogoDrift 7s ease-in-out infinite;
}

.login-page #logo:hover {
    transform: translateY(-1px);
}

.login-page .logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.login-page .logo-text {
    font-size: 1.4rem;
    letter-spacing: -0.06em;
}

.login-page .main-container.login-layout {
    min-height: calc(100vh - 136px);
    max-width: 460px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
}

.login-page .login-showcase {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 12px 0 4px;
}

.login-page .login-showcase-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.login-page .showcase-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 15, 15, 0.08);
    color: var(--dark);
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(15, 15, 15, 0.06);
}

.login-page .showcase-badge i {
    color: var(--primary);
}

.login-page .showcase-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(15, 15, 15, 0.55);
    font-weight: 800;
}

.login-page .login-showcase h1 {
    font-size: clamp(2.35rem, 9vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: -0.08em;
    color: var(--dark);
    max-width: 11ch;
}

.login-page .showcase-description {
    max-width: 56ch;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(15, 15, 15, 0.68);
}

.login-page .showcase-cards {
    display: grid;
    gap: 12px;
}

.login-page .showcase-card,
.login-page .showcase-stat {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(15, 15, 15, 0.08);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 45px rgba(15, 15, 15, 0.08);
}

.login-page .showcase-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
}

.login-page .showcase-card::before,
.login-page .showcase-stat::before,
.login-page .formulario-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.44), transparent 62%);
    pointer-events: none;
}

.login-page .showcase-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.18), rgba(255, 138, 0, 0.06));
    color: var(--primary);
    flex-shrink: 0;
}

.login-page .showcase-card strong,
.login-page .showcase-stat strong {
    display: block;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.login-page .showcase-card p,
.login-page .showcase-stat span {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(15, 15, 15, 0.64);
}

.login-page .showcase-footer {
    display: grid;
    gap: 12px;
}

.login-page .showcase-stat {
    padding: 18px;
}

.login-page .login-panel {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
}

.login-page .formulario-box {
    width: 100%;
    max-width: none;
    padding: 26px 22px 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 15, 15, 0.08);
    border-top: none;
    border-bottom: none;
    box-shadow: 0 30px 70px rgba(15, 15, 15, 0.12);
    backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.login-page .formulario-box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(255, 138, 0, 0.16) 100%);
}

.login-page .login-panel-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 26px;
}

.login-page .panel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 138, 0, 0.09);
    border: 1px solid rgba(255, 138, 0, 0.18);
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: 700;
}

.login-page .panel-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.12);
}

.login-page .panel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.login-page .panel-link:hover {
    color: var(--primary);
}

.login-page .welcome-header {
    text-align: center;
    margin-bottom: 24px;
}

.login-page .welcome-eyebrow {
    margin-bottom: 10px;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(15, 15, 15, 0.52);
    font-weight: 800;
}

.login-page .welcome-header h2 {
    font-size: clamp(1.9rem, 6vw, 2.6rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
    color: var(--dark);
    margin-bottom: 10px;
}

.login-page .welcome-header p:last-child {
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(15, 15, 15, 0.66);
    max-width: 28ch;
    margin: 0 auto;
}

.login-page .error-message {
    margin-bottom: 18px;
    border-radius: 16px;
    border: 1px solid rgba(217, 48, 37, 0.18);
    background: linear-gradient(135deg, rgba(255, 245, 245, 0.96) 0%, rgba(255, 235, 235, 0.92) 100%);
    box-shadow: 0 12px 28px rgba(217, 48, 37, 0.08);
    justify-content: flex-start;
    text-align: left;
    animation: loginErrorIn 0.28s ease;
}

.login-page .form {
    gap: 18px;
}

.login-page .input-group label {
    margin-bottom: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(15, 15, 15, 0.58);
    font-weight: 800;
}

.login-page .input-wrapper {
    min-height: 56px;
    transition: transform 0.25s ease;
}

.login-page .input-icon {
    left: 18px;
    color: rgba(15, 15, 15, 0.36);
    transition: color 0.25s ease, transform 0.25s ease;
}

.login-page .input-group input {
    min-height: 56px;
    padding: 16px 18px 16px 50px;
    border-radius: 16px;
    border: 1px solid rgba(15, 15, 15, 0.12);
    background: rgba(251, 248, 243, 0.98) !important;
    color: var(--dark);
    font-size: 0.98rem;
    box-shadow: inset 0 1px 1px rgba(15, 15, 15, 0.02);
    transition: border-color 0.25s ease, box-shadow 0.3s ease, background-color 0.25s ease, transform 0.25s ease;
}

.login-page .input-group input::placeholder {
    color: rgba(15, 15, 15, 0.34);
}

.login-page .input-group input:focus {
    border-color: rgba(255, 138, 0, 0.8);
    box-shadow:
        0 0 0 4px rgba(255, 138, 0, 0.13),
        0 16px 30px rgba(15, 15, 15, 0.06);
    background: var(--white) !important;
    transform: translateY(-1px);
}

.login-page .input-wrapper:focus-within {
    transform: translateY(-1px);
}

.login-page .input-wrapper:focus-within .input-icon {
    color: var(--primary);
    transform: scale(1.08) translateY(-1px);
}

.login-page .icon-senha {
    right: 18px;
    color: rgba(15, 15, 15, 0.38);
    transition: color 0.25s ease, transform 0.25s ease;
}

.login-page .icon-senha:hover {
    transform: scale(1.08) rotate(-6deg);
}

.login-page .remember-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.login-page .remember-me-container {
    margin: 0;
}

.login-page .remember-me-label {
    color: rgba(15, 15, 15, 0.66);
    font-size: 0.92rem;
    transition: color 0.25s ease;
}

.login-page .label-text {
    transition: transform 0.25s ease;
}

.login-page .remember-me-label:hover .label-text {
    transform: translateX(2px);
}

.login-page .checkmark {
    overflow: visible;
}

.login-page .checkmark::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: rgba(255, 138, 0, 0.18);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.65);
    pointer-events: none;
}

.login-page .remember-me-label input:checked ~ .checkmark {
    animation: loginCheckboxPop 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.login-page .remember-me-label input:checked ~ .checkmark::before {
    animation: loginCheckboxRipple 0.46s ease-out;
}

.login-page .remember-me-label input:checked ~ .checkmark::after {
    animation: loginCheckmarkDraw 0.22s ease-out 0.05s both;
}

.login-page .inline-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dark);
    font-size: 0.92rem;
    font-weight: 700;
    position: relative;
    transition: color 0.25s ease, transform 0.25s ease;
}

.login-page .inline-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 138, 0, 0.45);
    transform: scaleX(0.2);
    transform-origin: left center;
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.login-page .inline-link:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.login-page .inline-link:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

.login-page .submit-btn {
    min-height: 58px;
    margin-top: 4px;
    border-radius: 18px;
    font-size: 1rem;
    letter-spacing: 0.01em;
    box-shadow: 0 18px 34px rgba(255, 138, 0, 0.24);
    background-size: 140% 140%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.login-page .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(255, 138, 0, 0.28);
    filter: saturate(1.05);
}

.login-page .button-label,
.login-page .button-icon,
.login-page .links-uteis a i,
.login-page .portal-link a i {
    transition: transform 0.25s ease;
}

.login-page .submit-btn:hover .button-label {
    transform: translateX(-1px);
}

.login-page .submit-btn:hover .button-icon {
    transform: translateX(5px) rotate(-8deg);
}

.login-page .submit-btn.is-loading {
    cursor: progress;
}

.login-page .divider {
    margin: 24px 0 18px;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(15, 15, 15, 0.36);
}

.login-page .divider::before,
.login-page .divider::after {
    border-bottom-color: rgba(15, 15, 15, 0.1);
}

.login-page .links-uteis a,
.login-page .portal-link a {
    min-height: 54px;
    border-radius: 16px;
}

.login-page .links-uteis a {
    justify-content: center;
    gap: 10px;
    background: rgba(15, 15, 15, 0.04);
    border: 1px solid rgba(15, 15, 15, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.login-page .login-actions {
    margin-top: 16px;
}

.login-page .link-secondary {
    color: var(--dark);
    background: rgba(15, 15, 15, 0.04);
}

.login-page .link-secondary:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 15, 15, 0.14);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 30px rgba(15, 15, 15, 0.06);
}

.login-page .link-secondary:hover i {
    transform: translateX(3px);
}

.login-page .portal-link {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 15, 15, 0.08);
}

.login-page .portal-link a {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    color: var(--dark);
    background: rgba(255, 138, 0, 0.08);
    border: 1px solid rgba(255, 138, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.login-page .portal-link a:hover {
    transform: translateY(-1px);
    color: var(--dark);
    background: rgba(255, 138, 0, 0.14);
    border-color: rgba(255, 138, 0, 0.32);
    box-shadow: 0 16px 28px rgba(255, 138, 0, 0.14);
}

.login-page .portal-link a:hover i {
    transform: translateX(3px) rotate(-8deg);
}

@media (hover: hover) {
    .login-page .formulario-box:hover {
        transform: translateY(-2px);
        box-shadow: 0 34px 78px rgba(15, 15, 15, 0.14);
    }
}

.login-page .security-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    color: rgba(15, 15, 15, 0.58);
    font-size: 0.86rem;
    line-height: 1.6;
}

.login-page .security-note i {
    color: var(--primary);
    margin-top: 2px;
}

@media (min-width: 640px) {
    .login-page .login-frame {
        padding: 28px 28px 48px;
    }

    .login-page .showcase-cards,
    .login-page .showcase-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .login-page .formulario-box {
        padding: 30px 28px 24px;
    }
}

@media (min-width: 980px) {
    .login-page .login-frame {
        padding: 32px 32px 56px;
    }

    .login-page .main-container.login-layout {
        min-height: calc(100vh - 148px);
        align-items: center;
    }

    .login-page .login-showcase {
        justify-content: center;
        padding: 24px 0;
    }

    .login-page .showcase-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .login-page .showcase-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 720px;
    }

    .login-page .formulario-box {
        padding: 32px 30px 26px;
    }
}

@media (max-width: 479px) {
    .login-page .login-frame {
        padding-inline: 16px;
    }

    .login-page .panel-link {
        width: 100%;
        justify-content: center;
    }

    .login-page .showcase-card,
    .login-page .showcase-stat {
        border-radius: 22px;
    }

    .login-page .formulario-box {
        padding: 22px 18px;
        border-radius: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-page .background-shapes .shape,
    .login-page #logo,
    .login-page .formulario-box,
    .login-page .checkmark,
    .login-page .checkmark::before,
    .login-page .checkmark::after,
    .login-page .submit-btn,
    .login-page .submit-btn::before,
    .login-page .link-secondary,
    .login-page .portal-link a,
    .login-page .input-group input,
    .login-page .icon-senha,
    .login-page .inline-link,
    .login-page .button-label,
    .login-page .button-icon,
    .login-page .input-wrapper,
    .login-page .input-icon {
        animation: none;
        transition: none;
    }
}

/* Responsividade */
@media (max-height: 800px) {
    .main-container {
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .formulario-box {
        padding: 32px 32px;
    }

    .welcome-header {
        margin-bottom: 28px;
    }

    .welcome-header h1 {
        font-size: 1.75rem;
        margin-bottom: 6px;
    }

    .welcome-header p {
        font-size: 0.875rem;
    }

    .form {
        gap: 20px;
    }

    .divider {
        margin: 24px 0 18px;
    }

    .portal-link {
        margin-top: 18px;
        padding-top: 18px;
    }
}

@media (max-width: 768px) {
    #logo {
        top: 24px;
        left: 24px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .formulario-box {
        padding: 36px 28px;
        border-radius: 20px;
    }

    .welcome-header h1 {
        font-size: 1.75rem;
    }

    .welcome-header p {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .formulario-box {
        padding: 32px 24px;
    }

    .welcome-header h1 {
        font-size: 1.5rem;
    }
}

/* ================================================ */
/* ========= EFEITOS DE NATAL - REMOVER APÓS 25/12 ========= */
/* ================================================ */

/* Container para os flocos de neve */
#snowflakes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

/* Monte de Neve Acumulada - Realista e Dinâmico */
.snow-pile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to top,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(245, 250, 255, 0.9) 40%,
        rgba(255, 255, 255, 0.7) 100%);
    box-shadow:
        inset 0 2px 8px rgba(200, 230, 255, 0.6),
        0 8px 20px rgba(0, 100, 200, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 15; /* Acima dos flocos (10) para parecer acumulação */
    transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    /* Forma natural e assimétrica do monte */
    clip-path: polygon(
        0% 80%,
        2% 75%,
        5% 70%,
        8% 65%,
        12% 60%,
        15% 55%,
        18% 50%,
        22% 45%,
        25% 42%,
        28% 40%,
        30% 38%,
        32% 36%,
        35% 35%,
        38% 34%,
        40% 33%,
        42% 32%,
        45% 31%,
        48% 30%,
        50% 29%,
        52% 28%,
        55% 27%,
        58% 26%,
        60% 25%,
        62% 24%,
        65% 25%,
        68% 26%,
        70% 28%,
        72% 31%,
        75% 35%,
        78% 40%,
        80% 45%,
        82% 52%,
        85% 60%,
        88% 68%,
        92% 75%,
        95% 80%,
        98% 82%,
        100% 85%,
        100% 100%,
        0% 100%
    );
}

/* Chuva de Neve Animada com Vida Própria */
.snowflake {
    position: absolute;
    top: -40px;
    z-index: 1;
    user-select: none;
    cursor: default;
    color: #fff;
    text-shadow: 0 0 8px rgba(200, 230, 255, 0.9), 0 0 16px rgba(100, 180, 255, 0.6);
    font-size: 1.5em;
    font-family: Arial, sans-serif;
    text-align: center;
    pointer-events: none;
    animation: snowfall linear infinite, windSway ease-in-out infinite;
    animation-duration: var(--snowfall-duration, 10s), var(--wind-duration, 4s);
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Flocos com animação 3D de virada */
.snowflake-3d {
    animation: snowfall linear infinite, windSway ease-in-out infinite, spin3D linear infinite;
    animation-duration: var(--snowfall-duration, 10s), var(--wind-duration, 4s), var(--spin-3d-duration, 5s);
}

/* Animação de queda vertical combinada com rotação e vento natural */
@keyframes snowfall {
    0% {
        transform: translateY(0) rotateZ(0deg) translateX(0);
    }
    15% {
        transform: translateY(15vh) rotateZ(54deg) translateX(calc(var(--wind-amount) * 0.15));
    }
    30% {
        transform: translateY(30vh) rotateZ(108deg) translateX(calc(var(--wind-amount) * 0.35));
    }
    45% {
        transform: translateY(45vh) rotateZ(162deg) translateX(calc(var(--wind-amount) * 0.55));
    }
    60% {
        transform: translateY(60vh) rotateZ(216deg) translateX(calc(var(--wind-amount) * 0.7));
    }
    75% {
        transform: translateY(75vh) rotateZ(270deg) translateX(calc(var(--wind-amount) * 0.85));
    }
    100% {
        transform: translateY(100vh) rotateZ(360deg) translateX(var(--wind-amount));
    }
}

/* Animação de vento levemente para direita - usada junto com snowfall */
@keyframes windSway {
    0%, 100% {
        filter: none;
    }
    50% {
        filter: none;
    }
}

/* Animação 3D de virada do floco - rotaciona em 3D enquanto cai */
@keyframes spin3D {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    25% {
        transform: rotateX(90deg) rotateY(45deg) rotateZ(25deg);
    }
    50% {
        transform: rotateX(180deg) rotateY(90deg) rotateZ(50deg);
    }
    75% {
        transform: rotateX(270deg) rotateY(135deg) rotateZ(75deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(180deg) rotateZ(100deg);
    }
}

/* Gorro de Papai Noel - Diagonal no PRICE */
.logo-container {
    position: relative;
    display: inline-block;
}

.santa-hat {
    position: absolute;
    width: 18px;
    height: 14px;
    top: -6px;
    left: 92px;
    z-index: 15;
    transform: rotate(25deg);
}

.santa-hat::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 13px;
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    border-radius: 50% 50% 0 0;
    top: 0;
    left: 2px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.santa-hat::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    background: white;
    border-radius: 50%;
    top: 0px;
    right: -2px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.9), 0 0 8px rgba(255, 200, 0, 0.5);
    animation: pompom-bounce 2s ease-in-out infinite;
}

@keyframes pompom-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1px); }
}

.santa-hat-band {
    position: absolute;
    width: 100%;
    height: 2px;
    background: white;
    top: 13px;
    left: 0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.santa-hat-fur {
    position: absolute;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(90deg, white 0px, white 2px, rgba(255, 255, 255, 0.7) 2px, rgba(255, 255, 255, 0.7) 4px);
    top: 12px;
    left: 0;
}

/* FIM DOS EFEITOS DE NATAL */
/* ================================================ */
