/* Reset e Configurações Base */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

:root {
    --primary-blue: #0f1c45;
    --secondary-blue: #1a3b6b;
    --accent-orange: #ff6b00;
    --text-gray: #f0f0f0;
    --light-bg: #f5f7fa;
}

body { 
    background-color: #fff; 
    color: #333; 
    margin: 0;
    padding: 0;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* Links e Botões */
a { 
    text-decoration: none; 
    color: inherit; 
    transition: 0.3s; 
}

.btn { 
    padding: 10px 25px; 
    border-radius: 5px; 
    font-weight: 600; 
    cursor: pointer; 
    font-size: 0.95rem;
    display: inline-block;
    border: none;
}

.btn-primary { 
    background: var(--accent-orange); 
    color: #fff; 
    border: none; 
}

.btn-primary:hover { 
    background: #e05e00; 
    transform: scale(1.02); 
}

.btn-primary-large {
    background: var(--accent-orange);
    color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: 0.3s;
    border: none;
}

.btn-primary-large:hover {
    background: #e05e00;
    transform: scale(1.05);
}

.btn-outline { 
    border: 1px solid #fff; 
    background: transparent; 
    color: #fff; 
}

.btn-outline:hover { 
    background: #fff; 
    color: var(--primary-blue); 
}

/* ================================================= */
/* HEADER */
/* ================================================= */
.main-header { 
    background: var(--primary-blue); 
    padding: 15px 0; 
    width: 100%;
    position: relative;
    z-index: 1000;
}

.header-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
}

/* LOGOS */
.logos { 
    display: flex; 
    align-items: center; 
    gap: 0;
    background: #ffffff;
    padding: 10px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    height: 80px;
    flex-shrink: 0;
}

.logo-img { 
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
    padding: 2px 0;
}

.logo-cenarium {
    height: 60px;
    max-width: 220px;
}

.logo-unicesumar {
    height: 60px;
    max-width: 220px;
}

.logo-divider {
    width: 2px;
    height: 45px;
    background: #d0d5dd;
    margin: 0 18px;
    flex-shrink: 0;
}

/* NAVEGAÇÃO */
.main-nav { 
    display: flex; 
    gap: 25px; 
    align-items: center; 
}

.main-nav a { 
    color: #fff; 
    font-weight: 600; 
    font-size: 1rem; 
    position: relative;
    padding: 5px 0;
}

.main-nav a:hover { 
    color: var(--accent-orange); 
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-orange);
    transition: 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Ações do Header */
.header-actions { 
    display: flex; 
    gap: 12px; 
    align-items: center; 
}

/* Botão Hamburger */
.menu-toggle {
    display: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: 0.3s;
    z-index: 1001;
    border: none;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.2);
}

/* ================================================= */
/* HERO */
/* ================================================= */
.hero {
    color: #fff;
    padding: 80px 0;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
        rgba(15, 28, 69, 0.95) 0%,
        rgba(15, 28, 69, 0.85) 5%,
        rgba(15, 28, 69, 0.70) 12%,
        rgba(15, 28, 69, 0.50) 20%,
        rgba(15, 28, 69, 0.30) 30%,
        rgba(15, 28, 69, 0.15) 42%,
        rgba(15, 28, 69, 0.05) 55%,
        rgba(15, 28, 69, 0) 65%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 55%;
    position: relative;
    z-index: 3;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-text h1 .highlight-knowledge {
    color: var(--accent-orange);
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-subtitle .highlight-cenarium {
    color: var(--accent-orange);
    font-weight: 700;
}

.hero-subtitle .highlight-unicesumar {
    color: #4a9eff;
    font-weight: 700;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin: 20px 0 30px 0;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
    backdrop-filter: blur(4px);
}

.feature:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-orange);
    border-radius: 50%;
    font-size: 0.8rem;
    color: #fff;
    flex-shrink: 0;
}

.feature span {
    font-weight: 500;
}

/* ================================================= */
/* EXPLORE COURSES */
/* ================================================= */
.explore-courses-overlay {
    position: relative;
    z-index: 3;
    margin-top: -60px;
    padding-bottom: 60px;
}

.courses-card-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 50px 50px 50px;
    box-shadow: 0 20px 60px rgba(15, 28, 69, 0.15);
}

.section-top { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 30px; 
    align-items: center; 
}

.section-top h2 { 
    font-size: 1.8rem; 
    color: #0f1c45; 
}

.btn-link {
    color: var(--accent-orange);
    font-weight: 600;
}

.btn-link:hover {
    color: #e05e00;
}

.courses-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 25px; 
}

.course-card { 
    background: #fff; 
    border: 1px solid #eee; 
    border-radius: 12px; 
    padding: 30px 20px; 
    text-align: center; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    transition: 0.3s;
}

.course-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--accent-orange);
}

.course-card .icon-box { 
    width: 60px; 
    height: 60px; 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 15px; 
    color: #fff; 
    font-size: 1.5rem; 
}

.course-card .icon-box.blue { 
    background: #2563eb; 
}

.course-card .icon-box.orange { 
    background: var(--accent-orange); 
}

.course-card h3 { 
    margin-bottom: 10px; 
    color: #0f1c45;
    font-size: 1.2rem;
}

.course-card p { 
    color: #555; 
    font-size: 0.9rem; 
    margin-bottom: 15px; 
    line-height: 1.5; 
}

.course-card a { 
    color: var(--accent-orange); 
    font-weight: bold; 
    font-size: 0.9rem; 
}

.course-card a:hover {
    color: #e05e00;
}

/* ================================================= */
/* PARCEIROS */
/* ================================================= */
.parceiros { 
    background: #0c1a42; 
    color: #fff; 
    padding: 40px 0; 
}

.parceiros-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 20px; 
}

.parceiros-content .text { 
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.parceiros-content h3 { 
    font-size: 2rem; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.parceiros-content p {
    font-size: 1rem;
    opacity: 0.9;
}

.parceiro-logo { 
    height: 60px; 
    width: auto;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

/* ================================================= */
/* STATS */
/* ================================================= */
.stats { 
    padding: 40px 0; 
    background: #fff; 
}

.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 30px; 
    text-align: center; 
}

.stat i { 
    font-size: 2.5rem; 
    color: var(--primary-blue); 
    margin-bottom: 10px; 
    display: block; 
}

.stat span { 
    font-weight: bold; 
    font-size: 1.5rem; 
    display: block; 
    color: #0f1c45; 
}

.stat p { 
    color: #555; 
    font-size: 0.9rem; 
    margin-top: 5px; 
}

/* ================================================= */
/* CTA BOTTOM */
/* ================================================= */
.cta-bottom { 
    background: #f5f7fa; 
    padding: 60px 0; 
}

.cta-box { 
    background: #fff; 
    padding: 40px; 
    border-radius: 10px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 20px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
}

.cta-text { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

.cta-text i { 
    font-size: 2.5rem; 
    color: #0c1a42; 
}

.btn-orange { 
    background: var(--accent-orange); 
    color: #fff; 
    padding: 12px 25px; 
    border-radius: 5px; 
    border: none; 
    font-weight: bold; 
    cursor: pointer; 
    transition: 0.3s;
}

.btn-orange:hover { 
    background: #e05e00; 
    transform: scale(1.02);
}

/* ================================================= */
/* FOOTER - CORRIGIDO */
/* ================================================= */
.main-footer { 
    background: #0c1a42; 
    color: #fff; 
    padding: 50px 0 20px; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 40px; 
    margin-bottom: 30px; 
}

.footer-logo { 
    height: 70px;
    width: auto;
    max-width: 220px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    display: block;
    transition: 0.3s;
    object-fit: contain;
}

.footer-about p { 
    font-size: 0.9rem; 
    line-height: 1.5; 
    margin-bottom: 15px; 
    color: #ccc; 
}

.socials i { 
    margin-right: 15px; 
    font-size: 1.2rem; 
    cursor: pointer; 
    color: #fff; 
    transition: 0.3s;
}

.socials i:hover { 
    color: var(--accent-orange); 
}

.footer-links h4, .footer-support h4, .footer-contact h4 { 
    margin-bottom: 15px; 
    font-size: 1.1rem; 
    color: #fff; 
}

.footer-links ul, .footer-support ul { 
    list-style: none; 
}

.footer-links ul li, .footer-support ul li { 
    margin-bottom: 8px; 
}

.footer-links ul li a, .footer-support ul li a { 
    color: #ccc; 
    font-size: 0.9rem; 
    transition: 0.3s; 
}

.footer-links ul li a:hover, .footer-support ul li a:hover { 
    color: #fff; 
    padding-left: 5px; 
}

.footer-contact p { 
    font-size: 0.9rem; 
    margin-bottom: 8px; 
}

.contact-link {
    color: #ccc;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-link:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-link i {
    color: var(--accent-orange);
    width: 20px;
    text-align: center;
}

.footer-bottom { 
    border-top: 1px solid #1a3b6b; 
    padding-top: 20px; 
    text-align: center; 
    font-size: 0.8rem; 
    color: #999; 
}

/* ================================================= */
/* RESPONSIVIDADE GERAL */
/* ================================================= */

/* Tablet */
@media (max-width: 992px) {
    .header-flex { 
        padding: 10px 0; 
    }
    .logos { 
        padding: 8px 20px; 
        height: 70px; 
    }
    .logo-img, .logo-cenarium, .logo-unicesumar {
        height: 52px;
        max-width: 180px;
    }
    .logo-divider { 
        height: 40px; 
        margin: 0 14px; 
    }

    .hero {
        padding: 60px 0;
        min-height: 400px;
    }
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-features {
        gap: 12px;
    }
    .feature {
        padding: 6px 14px;
        font-size: 0.85rem;
    }
    .feature-icon {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    .hero-text {
        max-width: 60%;
    }
    .hero-overlay {
        background: linear-gradient(to right,
            rgba(15, 28, 69, 0.95) 0%,
            rgba(15, 28, 69, 0.85) 8%,
            rgba(15, 28, 69, 0.65) 18%,
            rgba(15, 28, 69, 0.40) 30%,
            rgba(15, 28, 69, 0.20) 45%,
            rgba(15, 28, 69, 0.05) 60%,
            rgba(15, 28, 69, 0) 72%
        );
    }
    .explore-courses-overlay {
        margin-top: -40px;
    }
    .courses-card-wrapper {
        padding: 30px 30px 40px 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .main-header { 
        position: relative; 
    }
    .menu-toggle { 
        display: block;
        font-size: 2rem;
        padding: 8px 15px;
    }
    .logos {
        height: 72px;
        padding: 8px 20px;
        flex-shrink: 0;
        width: auto;
        min-width: 200px;
    }
    .logo-img, .logo-cenarium, .logo-unicesumar {
        height: 55px;
        max-width: 180px;
        object-fit: contain;
    }
    .logo-divider {
        height: 38px;
        margin: 0 14px;
    }
    .header-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
    }
    .logos {
        flex-shrink: 1;
        min-width: auto;
    }
    .menu-toggle {
        flex-shrink: 0;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0;
        background: var(--secondary-blue);
        border-radius: 0 0 10px 10px;
        padding: 10px 0;
        position: absolute;
        top: calc(100% + 5px);
        left: 0;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    .main-nav.active {
        display: flex;
    }
    .main-nav a {
        padding: 14px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 1.1rem;
    }
    .main-nav a:last-child {
        border-bottom: none;
    }
    .main-nav a::after {
        display: none;
    }

    .header-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px 0 20px;
        background: var(--secondary-blue);
        border-radius: 0 0 10px 10px;
        position: absolute;
        top: calc(100% + 200px);
        left: 0;
        z-index: 999;
    }
    .header-actions.active {
        display: flex;
    }
    .header-actions .btn {
        width: 80%;
        text-align: center;
        padding: 14px;
        font-size: 1rem;
    }

    .hero {
        padding: 50px 0;
        min-height: 450px;
    }
    
    .hero-overlay {
        background: linear-gradient(to right,
            rgba(15, 28, 69, 0.98) 0%,
            rgba(15, 28, 69, 0.90) 10%,
            rgba(15, 28, 69, 0.70) 25%,
            rgba(15, 28, 69, 0.45) 40%,
            rgba(15, 28, 69, 0.20) 55%,
            rgba(15, 28, 69, 0.05) 70%,
            rgba(15, 28, 69, 0) 80%
        );
    }
    
    .hero-bg-img {
        object-position: 30% center;
    }
    
    .hero-content {
        justify-content: center;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
        flex: none;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    .hero-features {
        justify-content: center;
        gap: 10px;
    }
    .feature {
        padding: 6px 14px;
        font-size: 0.8rem;
        gap: 8px;
        backdrop-filter: blur(6px);
    }
    .feature-icon {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    .btn-primary-large {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .explore-courses-overlay {
        margin-top: -30px;
        padding-bottom: 40px;
    }
    .courses-card-wrapper {
        padding: 25px 20px 30px 20px;
        border-radius: 16px;
    }
    .section-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .section-top h2 {
        font-size: 1.4rem;
    }
    .courses-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .course-card {
        padding: 20px 15px;
    }
    .course-card .icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .course-card h3 {
        font-size: 1rem;
    }
    .course-card p {
        font-size: 0.8rem;
    }

    .parceiros-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .parceiros-content .text {
        align-items: center;
        text-align: center;
    }
    
    .parceiros-content h3 {
        font-size: 1.5rem;
        justify-content: center;
    }
    
    .parceiros-content p {
        font-size: 0.95rem;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .parceiro-logo {
        height: 45px;
        width: auto;
    }

    /* Footer Mobile */
    .footer-logo {
        height: 55px;
        max-width: 180px;
        margin-bottom: 15px;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-about {
        text-align: center;
    }
    .footer-about p {
        margin-bottom: 15px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-about .socials {
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-links ul, .footer-support ul {
        padding: 0;
    }
    .footer-links ul li, .footer-support ul li {
        list-style: none;
    }
    .footer-contact {
        text-align: center;
    }
    .contact-link {
        justify-content: center;
    }
}

/* Smartphones pequenos */
@media (max-width: 480px) {
    .logos {
        height: 65px;
        padding: 6px 16px;
        min-width: auto;
    }
    .logo-img, .logo-cenarium, .logo-unicesumar {
        height: 48px;
        max-width: 150px;
    }
    .logo-divider {
        height: 34px;
        margin: 0 12px;
    }
    .menu-toggle {
        font-size: 1.8rem;
        padding: 6px 12px;
    }

    .hero {
        padding: 40px 0;
        min-height: 400px;
    }
    .hero-text h1 {
        font-size: 1.6rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .hero-features {
        gap: 8px;
    }
    .feature {
        padding: 5px 12px;
        font-size: 0.7rem;
        gap: 6px;
        backdrop-filter: blur(8px);
    }
    .feature-icon {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
    }
    .btn-primary-large {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .hero-overlay {
        background: linear-gradient(to right,
            rgba(15, 28, 69, 0.98) 0%,
            rgba(15, 28, 69, 0.90) 15%,
            rgba(15, 28, 69, 0.65) 32%,
            rgba(15, 28, 69, 0.35) 50%,
            rgba(15, 28, 69, 0.10) 68%,
            rgba(15, 28, 69, 0) 82%
        );
    }
    
    .hero-bg-img {
        object-position: 40% center;
    }

    .explore-courses-overlay {
        margin-top: -20px;
    }
    .courses-card-wrapper {
        padding: 20px 15px 25px 15px;
    }
    .courses-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .course-card {
        padding: 15px 10px;
    }
    .course-card .icon-box {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    .course-card h3 {
        font-size: 0.9rem;
    }
    .course-card p {
        font-size: 0.7rem;
    }
    .course-card a {
        font-size: 0.8rem;
    }

    .parceiros-content h3 {
        font-size: 1.3rem;
    }
    
    .parceiros-content p {
        font-size: 0.85rem;
    }
    
    .parceiro-logo {
        height: 38px;
        width: auto;
    }

    .footer-logo {
        height: 48px;
        max-width: 150px;
    }
    .footer-about p {
        max-width: 100%;
    }
}

/* Smartphones muito pequenos */
@media (max-width: 380px) {
    .logos {
        height: 58px;
        padding: 5px 12px;
        min-width: auto;
    }
    .logo-img, .logo-cenarium, .logo-unicesumar {
        height: 42px;
        max-width: 120px;
    }
    .logo-divider {
        height: 30px;
        margin: 0 10px;
    }
    .menu-toggle {
        font-size: 1.5rem;
        padding: 5px 10px;
    }

    .hero-text h1 {
        font-size: 1.3rem;
    }
    .hero-subtitle {
        font-size: 0.8rem;
    }
    .hero-features {
        gap: 5px;
    }
    .feature {
        padding: 4px 10px;
        font-size: 0.65rem;
        gap: 5px;
    }
    .feature-icon {
        width: 20px;
        height: 20px;
        font-size: 0.5rem;
    }
    .btn-primary-large {
        padding: 8px 18px;
        font-size: 0.8rem;
    }

    .hero-overlay {
        background: linear-gradient(to right,
            rgba(15, 28, 69, 0.98) 0%,
            rgba(15, 28, 69, 0.88) 20%,
            rgba(15, 28, 69, 0.60) 40%,
            rgba(15, 28, 69, 0.30) 58%,
            rgba(15, 28, 69, 0.08) 75%,
            rgba(15, 28, 69, 0) 88%
        );
    }

    .courses-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .course-card {
        padding: 12px 8px;
    }
    .course-card .icon-box {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    .course-card h3 {
        font-size: 0.8rem;
    }
    .course-card p {
        font-size: 0.65rem;
    }
    .course-card a {
        font-size: 0.7rem;
    }

    .parceiros-content h3 {
        font-size: 1.1rem;
    }
    
    .parceiros-content p {
        font-size: 0.75rem;
    }
    
    .parceiro-logo {
        height: 32px;
        width: auto;
    }

    .footer-logo {
        height: 42px;
        max-width: 120px;
    }
}

/* Correções gerais */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
}

.main-header {
    margin: 0;
    padding: 15px 0;
}

/* ================================================= */
/* ESTILOS ESPECÍFICOS PARA LOGIN */
/* ================================================= */

.login-main {
    background: #f5f7fa;
    padding: 40px 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.login-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.login-wrapper {
    display: flex;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 28, 69, 0.15);
    overflow: hidden;
    min-height: 520px;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #0f1c45 0%, #1a3b6b 100%);
    padding: 50px 40px;
    color: #fff;
    display: flex;
    align-items: center;
    min-width: 350px;
}

.login-left-content {
    width: 100%;
}

.login-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.login-icon-wrapper i {
    font-size: 2rem;
    color: var(--accent-orange);
}

.login-left h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.login-welcome-text {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 30px;
    line-height: 1.5;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.benefits-list li i {
    color: var(--accent-orange);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.benefits-list li div {
    display: flex;
    flex-direction: column;
}

.benefits-list li strong {
    font-size: 1rem;
    font-weight: 600;
    display: block;
}

.benefits-list li span {
    font-size: 0.9rem;
    opacity: 0.75;
}

.help-link {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 10px;
}

.help-link a {
    color: var(--accent-orange);
    font-weight: 600;
    text-decoration: underline;
}

.help-link a:hover {
    color: #e05e00;
}

.login-right {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    align-items: center;
    min-width: 350px;
    background: #fff;
}

.login-right-content {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.login-right h3 {
    font-size: 1.5rem;
    color: #0f1c45;
    margin-bottom: 25px;
    font-weight: 700;
}

.login-form {
    width: 100%;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 6px;
}

.login-form .form-group input[type="text"],
.login-form .form-group input[type="password"],
.login-form .form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
    background: #fafafa;
    color: #333;
    box-sizing: border-box;
}

.login-form .form-group input:focus {
    border-color: var(--accent-orange);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px !important;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}

.toggle-password:hover {
    color: var(--accent-orange);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-orange);
    cursor: pointer;
}

.forgot-password {
    font-size: 0.9rem;
    color: var(--accent-orange);
    font-weight: 600;
}

.forgot-password:hover {
    color: #e05e00;
    text-decoration: underline;
}

.btn-login-submit {
    width: 100%;
    padding: 14px;
    background: var(--accent-orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login-submit:hover {
    background: #e05e00;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.3);
}

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95rem;
    color: #555;
}

.register-link a {
    color: var(--accent-orange);
    font-weight: 700;
}

.register-link a:hover {
    color: #e05e00;
    text-decoration: underline;
}

.alert-error {
    background: #fee2e2;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border-left: 4px solid #dc2626;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error::before {
    content: "⚠️";
    font-size: 1.2rem;
}

.login-cta {
    background: #f5f7fa;
    padding: 60px 0;
}

.login-cta .cta-box {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Responsividade Login */
@media (max-width: 992px) {
    .login-wrapper {
        flex-direction: column;
        min-height: auto;
    }
    
    .login-left {
        min-width: auto;
        padding: 40px 30px;
    }
    
    .login-right {
        min-width: auto;
        padding: 40px 30px;
    }
    
    .login-right-content {
        max-width: 100%;
    }
    
    .login-left h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .login-main {
        padding: 20px 0;
        min-height: auto;
    }
    
    .login-container {
        padding: 0 15px;
    }
    
    .login-wrapper {
        border-radius: 16px;
    }
    
    .login-left {
        padding: 30px 25px;
    }
    
    .login-left h2 {
        font-size: 1.3rem;
    }
    
    .login-welcome-text {
        font-size: 0.9rem;
    }
    
    .benefits-list li {
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .benefits-list li strong {
        font-size: 0.9rem;
    }
    
    .benefits-list li span {
        font-size: 0.8rem;
    }
    
    .login-right {
        padding: 30px 25px;
    }
    
    .login-right h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .login-form .form-group input[type="text"],
    .login-form .form-group input[type="password"],
    .login-form .form-group input[type="email"] {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .btn-login-submit {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    .login-cta {
        padding: 40px 0;
    }
    
    .login-cta .cta-box {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .login-cta .cta-text {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .login-left {
        padding: 25px 20px;
    }
    
    .login-icon-wrapper {
        width: 55px;
        height: 55px;
    }
    
    .login-icon-wrapper i {
        font-size: 1.5rem;
    }
    
    .login-left h2 {
        font-size: 1.1rem;
    }
    
    .login-welcome-text {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }
    
    .benefits-list li {
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .benefits-list li i {
        font-size: 1rem;
    }
    
    .benefits-list li strong {
        font-size: 0.85rem;
    }
    
    .benefits-list li span {
        font-size: 0.75rem;
    }
    
    .help-link {
        font-size: 0.75rem;
    }
    
    .login-right {
        padding: 25px 20px;
    }
    
    .login-right h3 {
        font-size: 1.1rem;
    }
    
    .login-form .form-group {
        margin-bottom: 15px;
    }
    
    .login-form .form-group label {
        font-size: 0.8rem;
    }
    
    .login-form .form-group input[type="text"],
    .login-form .form-group input[type="password"],
    .login-form .form-group input[type="email"] {
        padding: 9px 12px;
        font-size: 0.85rem;
    }
    
    .toggle-password {
        right: 12px;
        font-size: 0.9rem;
    }
    
    .checkbox-label {
        font-size: 0.8rem;
    }
    
    .forgot-password {
        font-size: 0.8rem;
    }
    
    .btn-login-submit {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .register-link {
        font-size: 0.85rem;
    }
}

.main-header {
    position: relative;
    z-index: 1000;
}

.main-footer {
    margin-top: 0;
}

.login-main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================= */
/* ESTILOS ESPECÍFICOS PARA CADASTRO */
/* ================================================= */

/* Main container da página de cadastro */
.cadastro-main {
    background: #f5f7fa;
    padding: 40px 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.cadastro-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.cadastro-wrapper {
    display: flex;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 28, 69, 0.15);
    overflow: hidden;
    min-height: 520px;
}

/* LADO ESQUERDO - INFORMAÇÕES */
.cadastro-left {
    flex: 1;
    background: linear-gradient(135deg, #0f1c45 0%, #1a3b6b 100%);
    padding: 50px 40px;
    color: #fff;
    display: flex;
    align-items: center;
    min-width: 350px;
}

.cadastro-left-content {
    width: 100%;
}

.cadastro-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.cadastro-icon-wrapper i {
    font-size: 2rem;
    color: var(--accent-orange);
}

.cadastro-left h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.cadastro-welcome-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 5px;
}

.cadastro-sub-text {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 30px;
    line-height: 1.5;
}

.cadastro-left .benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.cadastro-left .benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.cadastro-left .benefits-list li i {
    color: var(--accent-orange);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.cadastro-left .benefits-list li div {
    display: flex;
    flex-direction: column;
}

.cadastro-left .benefits-list li strong {
    font-size: 1rem;
    font-weight: 600;
    display: block;
}

.cadastro-left .benefits-list li span {
    font-size: 0.9rem;
    opacity: 0.75;
}

.cadastro-left .help-link {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 10px;
}

.cadastro-left .help-link a {
    color: var(--accent-orange);
    font-weight: 700;
    text-decoration: underline;
}

.cadastro-left .help-link a:hover {
    color: #e05e00;
}

/* LADO DIREITO - FORMULÁRIO */
.cadastro-right {
    flex: 1.5;
    padding: 40px 35px;
    display: flex;
    align-items: flex-start;
    background: #fff;
    max-height: 700px;
    overflow-y: auto;
}

.cadastro-right-content {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.cadastro-right h3 {
    font-size: 1.5rem;
    color: #0f1c45;
    margin-bottom: 25px;
    font-weight: 700;
}

/* ================================================= */
/* FORMULÁRIO - LAYOUT EM GRID */
/* ================================================= */

.cadastro-form {
    width: 100%;
}

.cadastro-form .form-section {
    margin-bottom: 25px;
}

.cadastro-form .form-section h4 {
    font-size: 0.95rem;
    color: #0f1c45;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

/* GRID - 2 COLUNAS POR PADRÃO */
.cadastro-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

/* OCUPA 2 COLUNAS */
.cadastro-form .form-row .form-group.span-2 {
    grid-column: 1 / -1;
}

.cadastro-form .form-group {
    margin-bottom: 0;
}

.cadastro-form .form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 5px;
}

.cadastro-form .form-group input[type="text"],
.cadastro-form .form-group input[type="email"],
.cadastro-form .form-group input[type="password"],
.cadastro-form .form-group input[type="date"],
.cadastro-form .form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: 0.3s;
    background: #fafafa;
    color: #333;
    box-sizing: border-box;
}

.cadastro-form .form-group input:focus,
.cadastro-form .form-group select:focus {
    border-color: var(--accent-orange);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.cadastro-form .form-group select {
    appearance: auto;
    cursor: pointer;
}

/* ================================================= */
/* CEP WRAPPER */
/* ================================================= */

.cep-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cep-wrapper input {
    flex: 1;
    min-width: 0;
}

.cep-help-link {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    text-decoration: underline;
    cursor: pointer;
    transition: 0.3s;
    padding: 4px 0;
}

.cep-help-link:hover {
    color: #e05e00;
    text-decoration: none;
}

.cep-help-link i {
    margin-right: 4px;
}

/* ================================================= */
/* DICAS DE CAMPO E REQUISITOS DE SENHA */
/* ================================================= */

.field-hint {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 4px;
    transition: 0.3s;
    min-height: 18px;
}

.password-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 6px;
    padding: 8px 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.requirement {
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: 0.3s;
}

.requirement i {
    font-size: 0.6rem;
    transition: 0.3s;
}

.requirement-met {
    color: #22c55e;
}

.requirement-met i {
    color: #22c55e;
}

.requirement-failed {
    color: #6b7280;
}

.requirement-failed i {
    color: #d1d5db;
}

/* ================================================= */
/* CHECKBOX E BOTÃO */
/* ================================================= */

.checkbox-group {
    margin-top: 5px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
    flex-wrap: wrap;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-orange);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label a {
    color: var(--accent-orange);
    font-weight: 600;
}

.checkbox-label a:hover {
    color: #e05e00;
    text-decoration: underline;
}

.btn-cadastro-submit {
    width: 100%;
    padding: 14px;
    background: var(--accent-orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-cadastro-submit:hover {
    background: #e05e00;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.3);
}

.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95rem;
    color: #555;
}

.login-link a {
    color: var(--accent-orange);
    font-weight: 700;
}

.login-link a:hover {
    color: #e05e00;
    text-decoration: underline;
}

/* ================================================= */
/* ALERTAS */
/* ================================================= */

.alert-error {
    background: #fee2e2;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border-left: 4px solid #dc2626;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert-error::before {
    content: "⚠️";
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.alert-error br {
    display: block;
    content: "";
    margin: 4px 0;
}

.alert-success {
    background: #dcfce7;
    color: #16a34a;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border-left: 4px solid #16a34a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success::before {
    content: "✅";
    font-size: 1.2rem;
}

/* ================================================= */
/* CTA BOTTOM - Específico para cadastro */
/* ================================================= */

.cadastro-cta {
    background: #f5f7fa;
    padding: 60px 0;
}

.cadastro-cta .cta-box {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* ================================================= */
/* RESPONSIVIDADE PARA CADASTRO */
/* ================================================= */

/* Tablets */
@media (max-width: 992px) {
    .cadastro-wrapper {
        flex-direction: column;
        min-height: auto;
    }
    
    .cadastro-left {
        min-width: auto;
        padding: 40px 30px;
    }
    
    .cadastro-right {
        min-width: auto;
        padding: 30px 25px;
        max-height: none;
        overflow-y: visible;
    }
    
    .cadastro-right-content {
        max-width: 100%;
    }
    
    .cadastro-left h2 {
        font-size: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .cadastro-main {
        padding: 20px 0;
        min-height: auto;
    }
    
    .cadastro-container {
        padding: 0 15px;
    }
    
    .cadastro-wrapper {
        border-radius: 16px;
    }
    
    .cadastro-left {
        padding: 25px 20px;
    }
    
    .cadastro-left h2 {
        font-size: 1.3rem;
    }
    
    .cadastro-welcome-text {
        font-size: 1rem;
    }
    
    .cadastro-sub-text {
        font-size: 0.85rem;
    }
    
    .cadastro-left .benefits-list li {
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .cadastro-left .benefits-list li strong {
        font-size: 0.9rem;
    }
    
    .cadastro-left .benefits-list li span {
        font-size: 0.8rem;
    }
    
    .cadastro-right {
        padding: 25px 20px;
        max-height: none;
        overflow-y: visible;
    }
    
    .cadastro-right h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    /* MOBILE - UMA COLUNA */
    .cadastro-form .form-row {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    
    .cadastro-form .form-row .form-group,
    .cadastro-form .form-row .form-group.span-2 {
        grid-column: 1 !important;
        max-width: 100% !important;
    }
    
    .cadastro-form .form-group input[type="text"],
    .cadastro-form .form-group input[type="email"],
    .cadastro-form .form-group input[type="password"],
    .cadastro-form .form-group input[type="date"],
    .cadastro-form .form-group select {
        padding: 9px 12px;
        font-size: 0.85rem;
    }
    
    .cep-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-cadastro-submit {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    .cadastro-cta {
        padding: 40px 0;
    }
    
    .cadastro-cta .cta-box {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .cadastro-cta .cta-text {
        flex-direction: column;
        text-align: center;
    }
}

/* Smartphones pequenos */
@media (max-width: 480px) {
    .cadastro-left {
        padding: 20px 15px;
    }
    
    .cadastro-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .cadastro-icon-wrapper i {
        font-size: 1.3rem;
    }
    
    .cadastro-left h2 {
        font-size: 1.1rem;
    }
    
    .cadastro-welcome-text {
        font-size: 0.9rem;
    }
    
    .cadastro-sub-text {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }
    
    .cadastro-left .benefits-list li {
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .cadastro-left .benefits-list li i {
        font-size: 1rem;
    }
    
    .cadastro-left .benefits-list li strong {
        font-size: 0.85rem;
    }
    
    .cadastro-left .benefits-list li span {
        font-size: 0.75rem;
    }
    
    .cadastro-left .help-link {
        font-size: 0.85rem;
    }
    
    .cadastro-right {
        padding: 20px 15px;
    }
    
    .cadastro-right h3 {
        font-size: 1rem;
    }
    
    .cadastro-form .form-section h4 {
        font-size: 0.85rem;
    }
    
    .cadastro-form .form-group label {
        font-size: 0.8rem;
    }
    
    .cadastro-form .form-group input[type="text"],
    .cadastro-form .form-group input[type="email"],
    .cadastro-form .form-group input[type="password"],
    .cadastro-form .form-group input[type="date"],
    .cadastro-form .form-group select {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .checkbox-label {
        font-size: 0.8rem;
    }
    
    .btn-cadastro-submit {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .login-link {
        font-size: 0.85rem;
    }
}

/* ================================================= */
/* ESTILOS PARA O LINK DE AJUDA DO CEP */
/* ================================================= */

.cep-help-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    background: transparent;
    transition: 0.3s;
}

.cep-help-link:hover {
    background: rgba(255, 107, 0, 0.1);
}

/* ================================================= */
/* CORREÇÃO PARA O ALERTA DE CPF */
/* ================================================= */

#cpf.error {
    border-color: #dc2626;
    background-color: #fef2f2;
}

#cpf.valid {
    border-color: #22c55e;
    background-color: #f0fdf4;
}

#cpf.loading {
    border-color: #f59e0b;
    background-color: #fffbeb;
}

/* Estilo para o wrapper de senha */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px !important;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}

.toggle-password:hover {
    color: var(--accent-orange);
}
/* ================================================= */
/* ESCOLHER PERFIL - VERSÃO FINAL COMPACTA E SOBRIA */
/* ================================================= */

.escolher-perfil-main {
    background: #f5f7fa;
    padding: 40px 0;
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
}

.escolher-perfil-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 40px 30px 40px;
    box-shadow: 0 15px 50px rgba(15, 28, 69, 0.08);
    max-width: 780px;
    margin: 0 auto;
    position: relative;
}

/* Cabeçalho Compacto */
.escolher-perfil-header {
    text-align: center;
    margin-bottom: 25px;
}

.header-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0f1c45 0%, #1a3b6b 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 6px 20px rgba(15, 28, 69, 0.15);
}

.header-icon i {
    font-size: 1.6rem;
    color: #ffffff;
}

.escolher-perfil-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f1c45;
    margin-bottom: 2px;
}

.highlight-name {
    color: var(--accent-orange);
    position: relative;
}

.subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

.subtitle strong {
    color: #0f1c45;
}

/* Lista de Perfis Mais Compacta */
.perfis-lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.perfil-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.perfil-item:hover {
    background: #ffffff;
    border-color: #e5e7eb;
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.perfil-item.selecionado {
    background: #ffffff;
    border-color: var(--accent-orange);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.08);
    transform: translateX(6px);
}

.perfil-item input[type="radio"] {
    display: none;
}

/* Indicador de cor (barra lateral mais fina) */
.perfil-indicador {
    width: 4px;
    height: 38px;
    border-radius: 3px;
    margin-right: 16px;
    transition: 0.3s;
    flex-shrink: 0;
}

/* Ícone do perfil (menor) */
.perfil-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    margin-right: 16px;
    flex-shrink: 0;
    transition: 0.3s;
}

.perfil-item:hover .perfil-icon-box {
    transform: scale(1.04);
}

/* Informações Compactas */
.perfil-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f1c45;
    margin-bottom: 1px;
}

.perfil-info p {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

/* Status (à direita) mais discreto */
.perfil-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9ca3af;
    font-weight: 600;
    font-size: 0.8rem;
    transition: 0.3s;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    transition: 0.3s;
}

.status-arrow {
    font-size: 0.8rem;
    transition: 0.3s;
}

.perfil-item:hover .perfil-status {
    color: var(--accent-orange);
}

.perfil-item.selecionado .perfil-status {
    color: var(--accent-orange);
}

.perfil-item.selecionado .status-dot {
    background: var(--accent-orange);
    box-shadow: 0 0 6px rgba(255, 107, 0, 0.3);
}

.perfil-item.selecionado .status-arrow {
    transform: translateX(4px);
}

/* Botão de Ação mais contido */
.form-actions {
    text-align: center;
    margin-top: 5px;
    transition: all 0.5s ease;
}

.btn-enter {
    background: #0f1c45;
    color: #fff;
    padding: 14px 40px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 20px rgba(15, 28, 69, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-enter:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.2);
}

/* Alerta moderno */
.alert-error-modern {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 10px 16px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Responsividade - Mobile Ajustada */
@media (max-width: 768px) {
    .escolher-perfil-wrapper {
        padding: 25px 20px 20px 20px;
        border-radius: 16px;
    }
    
    .header-icon {
        width: 54px;
        height: 54px;
    }
    .header-icon i {
        font-size: 1.3rem;
    }
    
    .escolher-perfil-header h1 {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 0.85rem;
    }
    
    .perfil-item {
        padding: 12px 16px;
        flex-wrap: wrap;
    }
    
    .perfil-indicador {
        display: none;
    }
    
    .perfil-icon-box {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        margin-right: 12px;
    }
    
    .perfil-info h3 {
        font-size: 0.9rem;
    }
    
    .perfil-info p {
        font-size: 0.75rem;
    }
    
    .perfil-status .status-text {
        display: none;
    }
    
    .perfil-status .status-arrow {
        display: none;
    }
    
    .perfil-status .status-dot {
        width: 12px;
        height: 12px;
    }
    
    .btn-enter {
        width: 100%;
        padding: 14px;
        font-size: 0.95rem;
        justify-content: center;
    }
    
    .perfil-item:hover {
        transform: none;
    }
    .perfil-item.selecionado {
        transform: none;
    }
}

@media (max-width: 480px) {
    .escolher-perfil-wrapper {
        padding: 18px 14px 16px 14px;
    }
    
    .escolher-perfil-header h1 {
        font-size: 1.1rem;
    }
    
    .perfil-item {
        padding: 10px 12px;
    }
    
    .perfil-icon-box {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        margin-right: 10px;
    }
    
    .perfil-info h3 {
        font-size: 0.85rem;
    }
    
    .perfil-info p {
        font-size: 0.7rem;
    }
    
    .btn-enter {
        padding: 12px;
        font-size: 0.85rem;
    }
}
/* ================================================= */
/* ESCOLHER PERFIL - ESTILOS ADICIONAIS */
/* ================================================= */

.escolher-perfil-main {
    background: #f5f7fa;
    padding: 40px 0;
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
}

.escolher-perfil-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 40px 30px 40px;
    box-shadow: 0 15px 50px rgba(15, 28, 69, 0.08);
    max-width: 780px;
    margin: 0 auto;
    position: relative;
}

/* Cabeçalho Compacto */
.escolher-perfil-header {
    text-align: center;
    margin-bottom: 25px;
}

.header-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0f1c45 0%, #1a3b6b 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 6px 20px rgba(15, 28, 69, 0.15);
}

.header-icon i {
    font-size: 1.6rem;
    color: #ffffff;
}

.escolher-perfil-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f1c45;
    margin-bottom: 2px;
}

.highlight-name {
    color: var(--accent-orange);
    position: relative;
}

.subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

.subtitle strong {
    color: #0f1c45;
}

/* Lista de Perfis Mais Compacta */
.perfis-lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.perfil-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.perfil-item:hover {
    background: #ffffff;
    border-color: #e5e7eb;
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.perfil-item.selecionado {
    background: #ffffff;
    border-color: var(--accent-orange);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.08);
    transform: translateX(6px);
}

.perfil-item input[type="radio"] {
    display: none;
}

/* Indicador de cor (barra lateral mais fina) */
.perfil-indicador {
    width: 4px;
    height: 38px;
    border-radius: 3px;
    margin-right: 16px;
    transition: 0.3s;
    flex-shrink: 0;
}

/* Ícone do perfil (menor) */
.perfil-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    margin-right: 16px;
    flex-shrink: 0;
    transition: 0.3s;
}

.perfil-item:hover .perfil-icon-box {
    transform: scale(1.04);
}

/* Informações Compactas */
.perfil-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f1c45;
    margin-bottom: 1px;
}

.perfil-info p {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

/* Status (à direita) mais discreto */
.perfil-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9ca3af;
    font-weight: 600;
    font-size: 0.8rem;
    transition: 0.3s;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    transition: 0.3s;
}

.status-arrow {
    font-size: 0.8rem;
    transition: 0.3s;
}

.perfil-item:hover .perfil-status {
    color: var(--accent-orange);
}

.perfil-item.selecionado .perfil-status {
    color: var(--accent-orange);
}

.perfil-item.selecionado .status-dot {
    background: var(--accent-orange);
    box-shadow: 0 0 6px rgba(255, 107, 0, 0.3);
}

.perfil-item.selecionado .status-arrow {
    transform: translateX(4px);
}

/* Botão de Ação mais contido */
.form-actions {
    text-align: center;
    margin-top: 5px;
    transition: all 0.5s ease;
}

.btn-enter {
    background: #0f1c45;
    color: #fff;
    padding: 14px 40px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 20px rgba(15, 28, 69, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-enter:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.2);
}

/* Alerta moderno */
.alert-error-modern {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 10px 16px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Responsividade - Mobile Ajustada */
@media (max-width: 768px) {
    .escolher-perfil-wrapper {
        padding: 25px 20px 20px 20px;
        border-radius: 16px;
    }
    
    .header-icon {
        width: 54px;
        height: 54px;
    }
    .header-icon i {
        font-size: 1.3rem;
    }
    
    .escolher-perfil-header h1 {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 0.85rem;
    }
    
    .perfil-item {
        padding: 12px 16px;
        flex-wrap: wrap;
    }
    
    .perfil-indicador {
        display: none;
    }
    
    .perfil-icon-box {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        margin-right: 12px;
    }
    
    .perfil-info h3 {
        font-size: 0.9rem;
    }
    
    .perfil-info p {
        font-size: 0.75rem;
    }
    
    .perfil-status .status-text {
        display: none;
    }
    
    .perfil-status .status-arrow {
        display: none;
    }
    
    .perfil-status .status-dot {
        width: 12px;
        height: 12px;
    }
    
    .btn-enter {
        width: 100%;
        padding: 14px;
        font-size: 0.95rem;
        justify-content: center;
    }
    
    .perfil-item:hover {
        transform: none;
    }
    .perfil-item.selecionado {
        transform: none;
    }
}

@media (max-width: 480px) {
    .escolher-perfil-wrapper {
        padding: 18px 14px 16px 14px;
    }
    
    .escolher-perfil-header h1 {
        font-size: 1.1rem;
    }
    
    .perfil-item {
        padding: 10px 12px;
    }
    
    .perfil-icon-box {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        margin-right: 10px;
    }
    
    .perfil-info h3 {
        font-size: 0.85rem;
    }
    
    .perfil-info p {
        font-size: 0.7rem;
    }
    
    .btn-enter {
        padding: 12px;
        font-size: 0.85rem;
    }
}