/* 
  Estilo Unificado das Páginas Secundárias (Sobre, Termos, Blog, etc.)
  Família de fontes: Plus Jakarta Sans
*/

.page-hero {
    padding: 5rem 8% 4rem;
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #334155;
    padding: 2rem 8% 5rem;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.page-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.2;
}

.page-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 2.5rem 0 1rem;
}

.page-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 2rem 0 1rem;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.page-content a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.page-content ul, .page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.75rem;
}

/* Grid de Valores (Página Sobre) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    text-align: left;
}

.value-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.05);
}

.value-card i {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

@media (max-width: 900px) {
    .values-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 3rem 5% 2rem; }
    .page-content { padding: 1rem 5% 4rem; font-size: 1.05rem; }
}

/* Premium internal pages - aligned with index */
.mod-landing .landing-container {
    min-height: 100vh;
    background:
        radial-gradient(circle at 14% 8%, rgba(37, 99, 235, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 42%, #ffffff 100%);
}

.page-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(7.5rem, 11vw, 10rem) max(1.25rem, calc((100vw - 1240px) / 2)) clamp(4rem, 7vw, 6rem) !important;
    text-align: center;
    background:
        radial-gradient(circle at 20% 16%, rgba(37, 99, 235, 0.14), transparent 32%),
        radial-gradient(circle at 82% 18%, rgba(8, 145, 178, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.page-hero .pill-badge {
    margin-bottom: 1.25rem;
}

.page-hero .hero-title-saas,
.page-hero h1 {
    max-width: 920px;
    margin: 0 auto 1rem !important;
    color: #0a1020;
    font-size: clamp(2.35rem, 4.8vw, 4.5rem) !important;
    line-height: 1.04 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

.page-hero .hero-title-saas span,
.page-hero h1 span {
    color: #2563eb;
}

.page-hero .hero-subtitle-saas,
.page-hero p {
    max-width: 780px;
    margin: 0 auto !important;
    color: #5a667a;
    font-size: clamp(1rem, 1.45vw, 1.2rem) !important;
    line-height: 1.75 !important;
}

.page-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(4.5rem, 7vw, 7rem) max(1.25rem, calc((100vw - 980px) / 2)) !important;
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.8;
}

.page-content > p,
.page-content > h2,
.page-content > h3,
.page-content > ul,
.page-content > ol {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-content h1,
.page-content h2,
.page-content h3 {
    color: #0a1020;
    letter-spacing: 0 !important;
}

.page-content h2 {
    margin-top: 3rem;
    font-size: clamp(1.75rem, 2.6vw, 2.45rem);
    line-height: 1.14;
    font-weight: 900;
}

.page-content h3 {
    font-size: clamp(1.12rem, 1.6vw, 1.35rem);
    line-height: 1.25;
    font-weight: 850;
}

.values-grid,
.blog-grid {
    width: min(100%, 1240px) !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.value-card,
.blog-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    border-radius: 22px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.92)),
        #ffffff !important;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08) !important;
}

.value-card::before,
.blog-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #0891b2, #059669);
}

.value-card {
    padding: clamp(1.45rem, 2.2vw, 2rem) !important;
}

.value-card i {
    width: 54px;
    height: 54px;
    margin: 0 0 1.1rem !important;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8 !important;
    background: #eef5ff;
    font-size: 1.35rem !important;
}

.value-card:nth-child(2) i {
    color: #047857 !important;
    background: #ecfdf5;
}

.value-card:nth-child(3) i {
    color: #b45309 !important;
    background: #fffbeb;
}

.value-card h3,
.blog-card-title {
    color: #0a1020 !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
}

.value-card p,
.blog-card-excerpt {
    color: #5a667a !important;
    line-height: 1.68 !important;
}

.blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    padding: clamp(4.5rem, 7vw, 6rem) max(1.25rem, calc((100vw - 1240px) / 2)) !important;
}

.blog-card {
    transform: none !important;
}

.blog-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(37, 99, 235, 0.24) !important;
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.12) !important;
}

.blog-card-img {
    height: 220px !important;
}

.blog-card-body {
    padding: 1.55rem !important;
}

.blog-tag {
    background: #eef5ff !important;
    border: 1px solid rgba(37, 99, 235, 0.14);
    color: #1d4ed8 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.blog-card-title {
    font-size: clamp(1.08rem, 1.35vw, 1.28rem) !important;
    line-height: 1.28 !important;
}

.blog-card-footer {
    gap: 1rem;
    border-top-color: rgba(15, 23, 42, 0.08) !important;
}

.blog-card-footer a {
    color: #1d4ed8 !important;
    text-decoration: none !important;
}

.blog-cta-banner,
.page-cta-panel {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(4rem, 7vw, 6rem) max(1.25rem, calc((100vw - 980px) / 2)) !important;
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 18% 20%, rgba(37, 99, 235, 0.42), transparent 30%),
        radial-gradient(circle at 80% 8%, rgba(8, 145, 178, 0.38), transparent 28%),
        linear-gradient(135deg, #080d19 0%, #132348 48%, #073642 100%) !important;
    box-shadow: none !important;
    color: #ffffff;
}

.blog-cta-banner h2,
.page-cta-panel h2 {
    max-width: 820px;
    margin-left: auto !important;
    margin-right: auto !important;
    color: #ffffff;
    font-size: clamp(2rem, 3.8vw, 3.6rem) !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
}

.blog-cta-banner p,
.page-cta-panel p {
    max-width: 700px;
    margin-left: auto !important;
    margin-right: auto !important;
    color: rgba(255,255,255,0.78) !important;
    line-height: 1.7;
}

/* Access page */
body.page-access {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 6.5rem 1.25rem 2rem;
    background:
        radial-gradient(circle at 18% 18%, rgba(37, 99, 235, 0.42), transparent 30%),
        radial-gradient(circle at 84% 12%, rgba(8, 145, 178, 0.35), transparent 28%),
        linear-gradient(135deg, #080d19 0%, #132348 48%, #073642 100%) !important;
    color: #172033;
}

body.page-access .acesso-header {
    padding: 1rem max(1.25rem, calc((100vw - 1240px) / 2));
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

body.page-access .btn-voltar {
    color: #334155 !important;
}

body.page-access .btn-voltar:hover {
    color: #1d4ed8 !important;
}

body.page-access .acesso-card {
    max-width: 520px !important;
    padding: clamp(1.6rem, 3vw, 2.4rem) !important;
    border-radius: 26px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24) !important;
    backdrop-filter: blur(18px);
}

body.page-access .acesso-icon {
    border-radius: 18px !important;
    background: linear-gradient(135deg, #2563eb, #0891b2) !important;
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.24) !important;
}

body.page-access .acesso-card h1 {
    color: #0a1020 !important;
    font-size: clamp(1.8rem, 3vw, 2.35rem) !important;
    letter-spacing: 0 !important;
}

body.page-access .acesso-card p.subtitle,
body.page-access .token-hint,
body.page-access .divider span {
    color: #64748b !important;
}

body.page-access .acesso-card p.subtitle strong {
    color: #1d4ed8 !important;
}

body.page-access .input-group input {
    background: #f8fafc !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
    color: #0f172a !important;
    letter-spacing: 0 !important;
}

body.page-access .input-group input::placeholder {
    color: #94a3b8 !important;
}

body.page-access .divider::before,
body.page-access .divider::after {
    background: rgba(15, 23, 42, 0.1) !important;
}

body.page-access .btn-novo {
    border-color: rgba(15, 23, 42, 0.12) !important;
    color: #334155 !important;
    background: #ffffff !important;
}

body.page-access .btn-novo:hover {
    border-color: rgba(37, 99, 235, 0.24) !important;
    color: #1d4ed8 !important;
}

body.page-access .msg-box.error {
    color: #b91c1c !important;
    background: #fef2f2 !important;
    border-color: #fecaca !important;
}

body.page-access .msg-box.success {
    color: #047857 !important;
    background: #ecfdf5 !important;
    border-color: #bbf7d0 !important;
}

/* 404 page */
.error-page-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 18%, rgba(37, 99, 235, 0.14), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.error-page-main {
    padding: clamp(7.5rem, 11vw, 10rem) max(1.25rem, calc((100vw - 1120px) / 2)) clamp(4rem, 7vw, 6rem);
}

.error-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 1.25rem;
    justify-items: center;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 28px;
    padding: clamp(2rem, 5vw, 4rem);
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.09);
}

.error-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #2563eb, #0891b2, #059669);
}

.error-code {
    color: #0a1020;
    font-size: clamp(4rem, 15vw, 10rem);
    line-height: 0.9;
    font-weight: 900;
}

.error-panel h1 {
    margin: 0;
    color: #0a1020;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.06;
    letter-spacing: 0;
}

.error-panel p {
    max-width: 640px;
    margin: 0;
    color: #5a667a;
    font-size: 1.05rem;
    line-height: 1.7;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    margin-top: 0.75rem;
}

@media (max-width: 980px) {
    .values-grid,
    .blog-grid {
        grid-template-columns: 1fr !important;
    }

    .blog-card-img {
        height: 240px !important;
    }
}

@media (max-width: 640px) {
    .page-hero {
        text-align: left;
    }

    .page-hero .hero-title-saas,
    .page-hero h1,
    .page-hero .hero-subtitle-saas,
    .page-hero p {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .blog-card-img {
        height: 200px !important;
    }
}

/* Internal pages alignment correction */
.mod-landing .landing-container,
.mod-landing .landing-container * {
    box-sizing: border-box;
}

.mod-landing .landing-container {
    overflow-x: clip;
}

.mod-landing .page-hero,
.mod-landing .page-content,
.mod-landing .blog-cta-banner,
.mod-landing .page-cta-panel {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.mod-landing .page-hero {
    display: grid;
    justify-items: center;
    text-align: center !important;
}

.mod-landing .page-hero > * {
    justify-self: center;
}

.mod-landing .page-content {
    display: grid;
    justify-items: center;
}

.mod-landing .page-content > p,
.mod-landing .page-content > h1,
.mod-landing .page-content > h2,
.mod-landing .page-content > h3,
.mod-landing .page-content > ul,
.mod-landing .page-content > ol {
    width: min(100%, 900px);
}

.mod-landing .values-grid {
    width: min(100%, 980px) !important;
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.mod-landing .blog-grid {
    width: min(calc(100% - 2.5rem), 1240px) !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.mod-landing .blog-card {
    width: 100%;
    min-width: 0;
}

.mod-landing .blog-cta-banner {
    display: grid;
    justify-items: center;
    text-align: center !important;
}

.mod-landing .landing-footer .footer-top,
.mod-landing .landing-footer .footer-bottom {
    width: min(calc(100% - 2.5rem), 1240px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 640px) {
    .mod-landing .page-hero {
        text-align: center !important;
    }

    .mod-landing .page-hero .hero-title-saas,
    .mod-landing .page-hero h1,
    .mod-landing .page-hero .hero-subtitle-saas,
    .mod-landing .page-hero p {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .mod-landing .blog-grid,
    .mod-landing .landing-footer .footer-top,
    .mod-landing .landing-footer .footer-bottom {
        width: min(calc(100% - 2rem), 1240px) !important;
    }
}

/* Partnership cards centering */
.mod-landing .partnership-section .features-grid-saas {
    justify-content: center !important;
    justify-items: center !important;
    align-items: stretch !important;
}

.mod-landing .partnership-section .partnership-card,
.mod-landing .partnership-section .feature-card-saas.partnership-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 360px !important;
    padding: clamp(1.6rem, 2.4vw, 2.15rem) !important;
}

.mod-landing .partnership-section .partnership-card .feature-icon-saas,
.mod-landing .partnership-section .partnership-card .feature-icon-saas.gold {
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 1.35rem !important;
}

.mod-landing .partnership-section .partnership-card h3 {
    max-width: 280px;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    line-height: 1.18 !important;
}

.mod-landing .partnership-section .partnership-card p {
    max-width: 280px;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.mod-landing .partnership-section .partnership-stat {
    width: 100%;
    max-width: 280px;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}


/* Access page footer layout */
body.page-access {
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
}

body.page-access .landing-header,
body.page-access .acesso-card,
body.page-access .landing-footer {
    flex-shrink: 0;
}

body.page-access .acesso-card {
    align-self: center;
    margin: 8rem auto 3.5rem !important;
}

body.page-access .landing-footer {
    width: 100% !important;
    margin-top: auto !important;
}

/* Access page: compact client login inspired by the new reference. */
body.page-access {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    background:
        radial-gradient(circle at 18% 12%, rgba(56, 189, 248, 0.22), transparent 28%),
        radial-gradient(circle at 82% 20%, rgba(37, 99, 235, 0.28), transparent 30%),
        linear-gradient(135deg, #071225 0%, #0b2a58 48%, #0a3c6f 100%) !important;
    color: #0f172a !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

body.page-access .landing-header {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(18px) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08) !important;
}

body.page-access .acesso-card {
    width: min(calc(100% - 32px), 448px) !important;
    max-width: 448px !important;
    display: grid !important;
    justify-items: center !important;
    gap: 0 !important;
    margin: clamp(4.2rem, 11vh, 7.5rem) auto 3.25rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    text-align: center !important;
}

body.page-access .acesso-icon {
    display: none !important;
}

body.page-access .acesso-heading h1,
body.page-access .acesso-card h1 {
    margin: 0 0 0.75rem !important;
    color: #ffffff !important;
    font-size: 2rem !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
}

body.page-access .acesso-heading .subtitle,
body.page-access .acesso-card p.subtitle {
    max-width: 430px !important;
    margin: 0 auto 2.15rem !important;
    color: #dbeafe !important;
    font-size: 0.86rem !important;
    line-height: 1.65 !important;
    font-weight: 500 !important;
}

body.page-access .acesso-login-box {
    width: 100% !important;
    display: grid !important;
    padding: 2rem !important;
    border: 1px solid rgba(219, 234, 254, 0.82) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 20px 52px rgba(7, 18, 37, 0.22) !important;
    text-align: left !important;
}

body.page-access .token-label {
    display: block !important;
    margin: 0 0 0.55rem !important;
    color: #38577f !important;
    font-size: 0.72rem !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
}

body.page-access .input-group {
    width: 100% !important;
    margin: 0 0 1rem !important;
}

body.page-access .input-group .input-icon {
    display: none !important;
}

body.page-access .input-group input {
    width: 100% !important;
    height: 50px !important;
    padding: 0 1rem !important;
    border: 1px solid #d7e1ed !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 0.96rem !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}

body.page-access .input-group input::placeholder {
    color: #7c8aa0 !important;
}

body.page-access .input-group input:focus {
    border-color: #2563eb !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}

body.page-access .btn-acessar {
    width: 100% !important;
    min-height: 56px !important;
    padding: 0 1rem !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #2450ff !important;
    color: #ffffff !important;
    font-size: 0.96rem !important;
    font-weight: 800 !important;
    box-shadow: 0 14px 26px rgba(36, 80, 255, 0.24) !important;
}

body.page-access .btn-acessar:hover:not(:disabled) {
    opacity: 1 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 18px 34px rgba(36, 80, 255, 0.30) !important;
}

body.page-access .divider {
    width: 100% !important;
    margin: 1.05rem 0 !important;
    justify-content: center !important;
}

body.page-access .divider::before,
body.page-access .divider::after {
    display: none !important;
}

body.page-access .divider span {
    color: #53677f !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
}

body.page-access .btn-novo {
    width: 100% !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 1rem !important;
    border: 1px solid #d7e1ed !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #071225 !important;
    font-size: 0.96rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.page-access .btn-novo:hover {
    border-color: #b9c8dc !important;
    color: #1d4ed8 !important;
}

body.page-access .token-hint {
    margin: 1.55rem 0 0 !important;
    color: #dbeafe !important;
    font-size: 0.76rem !important;

/* Access page: compact client login inspired by the new reference. */
body.page-access {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    background:
        radial-gradient(circle at 18% 12%, rgba(56, 189, 248, 0.22), transparent 28%),
        radial-gradient(circle at 82% 20%, rgba(37, 99, 235, 0.28), transparent 30%),
        linear-gradient(135deg, #071225 0%, #0b2a58 48%, #0a3c6f 100%) !important;
    color: #0f172a !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

body.page-access .landing-header {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(18px) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08) !important;
}

body.page-access .acesso-card {
    width: min(calc(100% - 32px), 448px) !important;
    max-width: 448px !important;
    display: grid !important;
    justify-items: center !important;
    gap: 0 !important;
    margin: clamp(4.2rem, 11vh, 7.5rem) auto 3.25rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    text-align: center !important;
}

body.page-access .acesso-icon {
    display: none !important;
}

body.page-access .acesso-heading h1,
body.page-access .acesso-card h1 {
    margin: 0 0 0.75rem !important;
    color: #ffffff !important;
    font-size: 2rem !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
}

body.page-access .acesso-heading .subtitle,
body.page-access .acesso-card p.subtitle {
    max-width: 430px !important;
    margin: 0 auto 2.15rem !important;
    color: #dbeafe !important;
    font-size: 0.86rem !important;
    line-height: 1.65 !important;
    font-weight: 500 !important;
}

body.page-access .acesso-login-box {
    width: 100% !important;
    display: grid !important;
    padding: 2rem !important;
    border: 1px solid rgba(219, 234, 254, 0.82) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 20px 52px rgba(7, 18, 37, 0.22) !important;
    text-align: left !important;
}

body.page-access .token-label {
    display: block !important;
    margin: 0 0 0.55rem !important;
    color: #38577f !important;
    font-size: 0.72rem !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
}

body.page-access .input-group {
    width: 100% !important;
    margin: 0 0 1rem !important;
}

body.page-access .input-group .input-icon {
    display: none !important;
}

body.page-access .input-group input {
    width: 100% !important;
    height: 50px !important;
    padding: 0 1rem !important;
    border: 1px solid #d7e1ed !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 0.96rem !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}

body.page-access .input-group input::placeholder {
    color: #7c8aa0 !important;
}

body.page-access .input-group input:focus {
    border-color: #2563eb !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}

body.page-access .btn-acessar {
    width: 100% !important;
    min-height: 56px !important;
    padding: 0 1rem !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #2450ff !important;
    color: #ffffff !important;
    font-size: 0.96rem !important;
    font-weight: 800 !important;
    box-shadow: 0 14px 26px rgba(36, 80, 255, 0.24) !important;
}

body.page-access .btn-acessar:hover:not(:disabled) {
    opacity: 1 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 18px 34px rgba(36, 80, 255, 0.30) !important;
}

body.page-access .divider {
    width: 100% !important;
    margin: 1.05rem 0 !important;
    justify-content: center !important;
}

body.page-access .divider::before,
body.page-access .divider::after {
    display: none !important;
}

body.page-access .divider span {
    color: #53677f !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
}

body.page-access .btn-novo {
    width: 100% !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 1rem !important;
    border: 1px solid #d7e1ed !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #071225 !important;
    font-size: 0.96rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.page-access .btn-novo:hover {
    border-color: #b9c8dc !important;
    color: #1d4ed8 !important;
}

body.page-access .token-hint {
    margin: 1.55rem 0 0 !important;
    color: #dbeafe !important;
    font-size: 0.76rem !important;
    text-align: center !important;
}

body.page-access .token-hint a {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

body.page-access .msg-box {
    margin: 0.85rem 0 0 !important;
    text-align: center !important;
    font-size: 0.82rem !important;
}

@media (max-width: 560px) {
    body.page-access .acesso-card {
        width: min(calc(100% - 24px), 420px) !important;
        margin-top: 3.3rem !important;
    }

    body.page-access .acesso-heading h1,
    body.page-access .acesso-card h1 {
        font-size: 1.65rem !important;
    }

    body.page-access .acesso-heading .subtitle,
    body.page-access .acesso-card p.subtitle {
        font-size: 0.82rem !important;
        margin-bottom: 1.6rem !important;
    }

    body.page-access .acesso-login-box {
        padding: 1.45rem !important;
        border-radius: 18px !important;
    }
}

/* ==========================================================================
   PÁGINA SOBRE NÓS - LAYOUT PREMIUM LADO A LADO E ANIMAÇÃO DO ÍCONE
   ========================================================================== */====== */
.page-sobre-main {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 2.5rem 2rem 6rem !important;
    width: 100% !important;
}

.story-section {
    padding: 1.5rem 0 4rem;
    width: 100%;
}

.story-container {
    display: grid !important;
    grid-template-columns: 450px 1fr !important;
    gap: 4.5rem !important;
    align-items: center !important;
}

/* Palco Visual do Mascote */
.story-image-wrap {
    position: relative;
    width: 100%;
}

.story-avatar-stage {
    position: relative;
    width: 100%;
    background: radial-gradient(circle at 50% 35%, rgba(37, 99, 235, 0.14) 0%, rgba(56, 189, 248, 0.08) 50%, transparent 75%),
                linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1.5px solid #dbeafe;
    border-radius: 36px;
    padding: 3rem 2rem 2.2rem;
    box-shadow: 0 24px 60px -12px rgba(37, 99, 235, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    text-align: center;
    overflow: visible;
}

/* Aura e Brilho Pulsante */
.story-avatar-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(56, 189, 248, 0.15) 50%, transparent 70%);
    pointer-events: none;
    animation: pulseAura 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulseAura {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.18); }
}

/* Mascote 3D com movimento suave */
.story-avatar-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 290px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 32px rgba(15, 23, 42, 0.2));
    animation: floatMascot 5s ease-in-out infinite;
}

@keyframes floatMascot {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ÍCONE DO CURRÍCULOCLICK ANIMADO SE MOVENDO (Destaque Principal) */
.story-moving-logo-badge {
    position: absolute;
    top: -24px;
    right: -24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border: 2px solid #3b82f6;
    border-radius: 999px;
    padding: 0.65rem 1.25rem 0.65rem 0.75rem;
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.25), 0 0 20px rgba(59, 130, 246, 0.2);
    animation: logoFlyMotion 4.5s ease-in-out infinite;
    user-select: none;
}

.story-moving-logo-badge img.logo-icon-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    animation: logoSpinTilt 4.5s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.story-moving-logo-badge .badge-text-wrap {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}

.story-moving-logo-badge .badge-text-wrap strong {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
}

.story-moving-logo-badge .badge-text-wrap small {
    font-size: 0.72rem;
    font-weight: 700;
    color: #2563eb;
}

/* Animação Complexa de Vôo/Movimento do Ícone */
@keyframes logoFlyMotion {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-16px) translateX(4px) rotate(3deg) scale(1.04);
    }
    50% {
        transform: translateY(-26px) translateX(-2px) rotate(-2deg) scale(1.08);
    }
    75% {
        transform: translateY(-12px) translateX(-6px) rotate(-4deg) scale(1.04);
    }
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
}

@keyframes logoSpinTilt {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(8deg) scale(1.1); }
}

/* Outros Badges Flutuantes */
.floating-chip {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border: 1.5px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    font-size: 0.84rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    user-select: none;
}

.chip-whatsapp {
    bottom: 75px;
    left: -28px;
    animation: floatChipLeft 4.5s ease-in-out infinite 0.6s;
}

.chip-vitalicio {
    bottom: 20px;
    right: -20px;
    animation: floatChipRight 5s ease-in-out infinite 1.2s;
}

@keyframes floatChipLeft {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes floatChipRight {
    0%, 100% { transform: translateY(-6px) rotate(2deg); }
    50% { transform: translateY(12px) rotate(-2deg); }
}

/* Selo da Base Carioca */
.story-badge-carioca {
    position: relative;
    z-index: 2;
    margin-top: 1.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* Coluna de Texto e Narrativa */
.story-content {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    text-align: left;
}

.story-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    width: fit-content;
}

.story-content h2 {
    font-size: clamp(2.1rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.16;
    letter-spacing: -0.025em;
    margin: 0;
}

.story-content h2 span {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.story-content p {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}

.story-quote {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border-left: 4px solid #2563eb;
    border-radius: 0 18px 18px 0;
    padding: 1.35rem 1.6rem;
    margin: 0.2rem 0;
    position: relative;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.04);
}

.quote-icon {
    color: #3b82f6;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: block;
}

.story-quote p {
    font-size: 1.02rem;
    font-weight: 600;
    color: #1e293b;
    font-style: italic;
    line-height: 1.65;
}

.story-brand-card {
    background: #ffffff;
    border: 1.5px solid #dbeafe;
    border-radius: 20px;
    padding: 1.4rem 1.6rem;
    margin-top: 0.5rem;
    box-shadow: 0 8px 24px -6px rgba(37, 99, 235, 0.08);
}

.story-brand-card h3 {
    font-size: 1.18rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.story-link-brand {
    color: #2563eb;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.story-link-brand:hover {
    color: #1d4ed8;
}

/* Responsividade */
@media (max-width: 980px) {
    .story-container {
        grid-template-columns: 1fr !important;
        gap: 3.5rem !important;
    }
    .story-image-wrap {
        max-width: 400px;
        margin: 0 auto;
    }
    .story-moving-logo-badge {
        right: 0;
        top: -15px;
    }
    .chip-whatsapp {
        left: 0;
    }
    .chip-vitalicio {
        right: 0;
    }
}