*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    min-height:100vh;
    background:#f4f7ff;
    color:#111827;
}

.btn-perfil-ajuda{
    position:fixed;
    top:20px;
    right:22px;
    z-index:1000;
}

.btn-perfil-ajuda img{
    width:54px;
    height:54px;
    border-radius:50%;
    object-fit:cover;
    cursor:pointer;
    border:3px solid #fff;
    box-shadow:0 8px 22px rgba(0,0,0,.15);
}

.ajuda-page{
    margin-left:100px;
    padding:42px 55px 80px;
}

.ajuda-hero{
    background:#ffffff;
    border-radius:30px;
    padding:42px;
    box-shadow:0 12px 30px rgba(0,0,0,.07);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
    margin-bottom:26px;
}

.ajuda-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#edf2ff;
    color:#5277e8;
    padding:9px 16px;
    border-radius:999px;
    font-weight:800;
    margin-bottom:16px;
}

.ajuda-hero h1{
    font-size:48px;
    margin-bottom:12px;
}

.ajuda-hero p{
    max-width:820px;
    color:#4b5563;
    font-size:18px;
    line-height:1.6;
}

.hero-ajuda-card{
    min-width:220px;
    height:180px;
    background:#7494ec;
    color:white;
    border-radius:28px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:24px;
}

.hero-ajuda-card i{
    font-size:60px;
    margin-bottom:12px;
}

.hero-ajuda-card strong{
    font-size:20px;
    margin-bottom:5px;
}

.atalhos-ajuda{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(170px, 1fr));
    gap:14px;
    margin-bottom:28px;
}

.atalhos-ajuda a{
    background:white;
    color:#111827;
    text-decoration:none;
    border-radius:20px;
    padding:16px;
    box-shadow:0 6px 18px rgba(0,0,0,.06);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-weight:800;
    text-align:center;
}

.atalhos-ajuda a:hover{
    background:#7494ec;
    color:white;
}

.ajuda-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:22px;
}

.ajuda-card{
    background:white;
    border-radius:24px;
    padding:26px;
    box-shadow:0 8px 24px rgba(0,0,0,.07);
    border:1px solid #edf0f7;
    min-height:250px;
}

.ajuda-card.destaque{
    grid-column:span 2;
}

.ajuda-icon{
    width:58px;
    height:58px;
    border-radius:18px;
    background:#edf2ff;
    color:#5277e8;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    margin-bottom:18px;
}

.ajuda-card h2{
    font-size:23px;
    margin-bottom:12px;
    color:#111827;
}

.ajuda-card p{
    color:#4b5563;
    line-height:1.6;
    font-size:15px;
}

.faq-section{
    margin-top:30px;
    background:white;
    border-radius:26px;
    padding:30px;
    box-shadow:0 8px 24px rgba(0,0,0,.07);
}

.faq-section h2{
    font-size:30px;
    margin-bottom:18px;
}

.faq-section details{
    border-bottom:1px solid #edf0f7;
    padding:16px 0;
}

.faq-section details:last-child{
    border-bottom:none;
}

.faq-section summary{
    cursor:pointer;
    font-weight:800;
    font-size:17px;
}

.faq-section p{
    margin-top:12px;
    color:#4b5563;
    line-height:1.6;
}

/* Dark mode */
body.dark-mode{
    background:#121212;
    color:#e0e0e0;
}

body.dark-mode .ajuda-hero,
body.dark-mode .atalhos-ajuda a,
body.dark-mode .ajuda-card,
body.dark-mode .faq-section{
    background:#1f1f1f;
    color:#e0e0e0;
    border-color:#333;
}

body.dark-mode .ajuda-hero p,
body.dark-mode .ajuda-card p,
body.dark-mode .faq-section p{
    color:#cbd5e1;
}

body.dark-mode .ajuda-card h2{
    color:#e0e0e0;
}

body.dark-mode .faq-section details{
    border-color:#333;
}

body.dark-mode .atalhos-ajuda a:hover{
    background:#5277e8;
}

/* Responsivo */
@media(max-width:900px){
    .ajuda-page{
        margin-left:80px;
        padding:30px 18px 70px;
    }

    .ajuda-hero{
        flex-direction:column;
        align-items:flex-start;
        padding:30px;
    }

    .ajuda-hero h1{
        font-size:36px;
    }

    .hero-ajuda-card{
        width:100%;
    }

    .ajuda-card.destaque{
        grid-column:span 1;
    }
}
