/* Estilos para a página de ajuda do Sistema de Precificação */

body {
    font-family: 'PT Sans', sans-serif;
    background-color: #4c5c6d;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.help-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.help-section {
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 25px;
    transition: all 0.3s ease;
}

.help-section:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.help-section h2 {
    color: #2a3f54;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 24px;
}

.help-section h3 {
    color: #2a3f54;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.feature-box {
    flex: 1;
    min-width: 250px;
    background-color: #f9f9f9;
    border-left: 4px solid #3498db;
    padding: 18px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.feature-box:hover {
    background-color: #f0f0f0;
    transform: translateX(3px);
}

.feature-box h4 {
    margin-top: 0;
    color: #3498db;
    font-size: 18px;
}

.feature-box p {
    margin-bottom: 5px;
    color: #555;
}

.feature-box ul {
    padding-left: 20px;
}

.help-img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 15px 0;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tip-box {
    background-color: #fffaed;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.tip-box-important {
    background-color: #ffebeb;
    border-left: 4px solid #ff3b30;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(255, 59, 48, 0.1);
}

.tip-box-important strong {
    color: #e60000;
}

.step-by-step {
    counter-reset: step-counter;
    list-style-type: none;
    padding-left: 5px;
}

.step-by-step li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 40px;
    padding-bottom: 5px;
}

.step-by-step li:before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #3498db;
    color: white;
    font-weight: bold;
    font-size: 14px;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.step-by-step li:not(:last-child):after {
    content: "";
    position: absolute;
    left: 14px;
    top: 28px;
    height: calc(100% - 20px);
    border-left: 2px dashed #ccc;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3498db;
    color: white;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s;
    display: none;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.back-to-top:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.toc {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.toc h3 {
    margin-top: 0;
    color: #2a3f54;
}

.toc ul {
    padding-left: 25px;
}

.toc a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 3px 0;
}

.toc a:hover {
    color: #2980b9;
    text-decoration: underline;
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .feature-container {
        flex-direction: column;
    }
    
    .help-section {
        padding: 15px;
    }
    
    .step-by-step li {
        padding-left: 35px;
    }
}

/* Animações suaves */
.help-section {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para prints de tela e imagens */
.screenshot {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}

/* Estilos para blocos de código ou exemplos */
.code-example {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin: 15px 0;
    font-family: monospace;
    border-radius: 3px;
    overflow-x: auto;
}

/* Estilos para alertas e avisos */
.alert {
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
}

.alert-info {
    background-color: #d1ecf1;
    border-left: 4px solid #0dcaf0;
    color: #055160;
}

.alert-warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #664d03;
}

.alert-danger {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #842029;
}

/* Estilos para perguntas frequentes */
.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    font-weight: bold;
    color: #2a3f54;
    cursor: pointer;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-answer {
    padding: 10px;
    padding-left: 20px;
    border-left: 2px solid #3498db;
    margin-top: 5px;
}
