/* Estilos Globais */
:root {
    --primary-color: #8e44ad;
    --secondary-color: #2c3e50;
    --accent-color: #f1c40f;
    --text-color: #333;
    --text-light: #f5f5f5;
    --bg-color: #f9f9f9;
    --card-bg: #ffffff;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #7d32a1;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(142, 68, 173, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    font-size: 14px;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Cabeçalho */
header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover, nav a.active {
    background-color: rgba(142, 68, 173, 0.1);
    color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

/* Banner de Ajuda */
.help-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #6a3093 0%, #a044ff 100%);
    color: white;
    text-align: center;
}

.help-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.help-hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.search-bar {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.search-bar input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.search-bar .btn {
    border-radius: 0;
    padding: 0 25px;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: #f5f5f5;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumbs ul {
    display: flex;
    align-items: center;
}

.breadcrumbs li {
    font-size: 14px;
    color: #666;
}

.breadcrumbs li:not(:last-child):after {
    content: '›';
    margin: 0 10px;
    color: #999;
}

.breadcrumbs a {
    color: var(--primary-color);
}

.breadcrumbs a:hover {
    color: #7d32a1;
    text-decoration: underline;
}

/* Layout da Página de Ajuda */
.help-page {
    padding: 50px 0 80px;
}

.help-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

/* Sidebar */
.help-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.sidebar-section ul li {
    margin-bottom: 8px;
}

.sidebar-section ul li a {
    display: block;
    padding: 8px 10px;
    border-radius: 4px;
    color: #555;
    transition: var(--transition);
}

.sidebar-section ul li a:hover,
.sidebar-section ul li a.active {
    background-color: rgba(142, 68, 173, 0.1);
    color: var(--primary-color);
}

.sidebar-section ul li a.active {
    font-weight: 600;
    border-left: 3px solid var(--primary-color);
}

.support-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-top: 40px;
    text-align: center;
}

.support-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.support-card h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.support-card p {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

/* Conteúdo Principal */
.help-content {
    flex: 1;
}

.page-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.page-header h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.last-updated {
    font-size: 14px;
    color: #777;
    font-style: italic;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.content-section p {
    margin-bottom: 20px;
    color: #555;
}

/* Cards de Ajuda */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.help-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.help-card h4 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.help-card p {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

/* FAQ Accordion */
.faq-accordion {
    margin-top: 25px;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: var(--secondary-color);
    transition: background-color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: rgba(142, 68, 173, 0.05);
}

.toggle-icon {
    font-size: 20px;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer ul,
.faq-answer ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.faq-answer ul li,
.faq-answer ol li {
    margin-bottom: 5px;
    list-style-position: outside;
}

.faq-answer ul {
    list-style-type: disc;
}

.faq-answer ol {
    list-style-type: decimal;
}

/* Dicas de Segurança */
.security-tips {
    margin-top: 25px;
}

.security-tip {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.tip-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.tip-content h4 {
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.tip-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

/* Seção de Vídeo */
.video-section {
    text-align: center;
}

.video-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-placeholder {
    width: 100%;
    display: block;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    cursor: pointer;
}

.play-icon {
    background-color: rgba(142, 68, 173, 0.9);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, background-color 0.3s;
}

.video-play:hover .play-icon {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.video-play p {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

/* Opções de Ajuda */
.help-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
}

.help-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.help-option {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
}

.help-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
}

.option-icon {
    font-size: 20px;
}

/* Seção de Feedback */
.feedback-section {
    margin-top: 60px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.feedback-section h4 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feedback-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-feedback {
    background-color: #f5f5f5;
    border: none;
    border-radius: var(--border-radius);
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.btn-feedback:hover {
    background-color: #eee;
}

.btn-yes:hover {
    background-color: rgba(46, 204, 113, 0.2);
}

.btn-no:hover {
    background-color: rgba(231, 76, 60, 0.2);
}

/* Artigos Relacionados */
.related-articles {
    margin-top: 30px;
}

.related-articles h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.article-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.article-icon {
    font-size: 24px;
    margin-bottom: 15px;
}

.article-card h4 {
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.article-card p {
    font-size: 14px;
    color: #666;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
}

.footer-logo p {
    margin-top: 15px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
    position: relative;
}

.footer-column h4:after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    margin-top: 10px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    opacity: 0.8;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    margin-bottom: 10px;
}

/* Responsividade */
@media (max-width: 991px) {
    .help-layout {
        flex-direction: column;
    }
    
    .help-sidebar {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cta-buttons {
        margin-top: 15px;
    }
    
    .help-hero h1 {
        font-size: 32px;
    }
    
    .help-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .security-tip {
        flex-direction: column;
        text-align: center;
    }
    
    .tip-icon {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .search-bar {
        flex-direction: column;
        border-radius: 0;
    }
    
    .search-bar input {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .search-bar .btn {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
}
