/* Estilos gerais com cores de branding atualizadas */
:root {
    --primary-color: #000000; /* Preto */
    --secondary-color: #FFD700; /* Amarelo */
    --dark-color: #222222;
    --light-color: #f4f4f4;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: var(--dark-color);
}

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

a {
    text-decoration: none;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--secondary-color), #e6c300);
    color: var(--primary-color);
    padding: 60px 0 40px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 800;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Seção de introdução */
.intro {
    background-color: white;
    padding: 50px 0;
    text-align: center;
}

.intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Seção de materiais */
.materials {
    padding: 60px 0;
    background-color: #f5f7fa;
}

.materials h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.material-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 4px solid var(--secondary-color);
}

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

.material-card .icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.material-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.material-card p {
    margin-bottom: 20px;
    flex-grow: 1;
    color: #666;
}

.download-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-align: center;
}

.download-btn:hover {
    background-color: #333333;
}

.download-btn i {
    margin-left: 8px;
}

/* Seção de como usar */
.how-to-use {
    padding: 60px 0;
    background-color: white;
}

.how-to-use h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.step {
    display: flex;
    align-items: flex-start;
}

.step-number {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.step-content p {
    color: #666;
}

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

/* Estilos para a seção de FAQ */
.faq {
    padding: 60px 0;
    background-color: #f0f5fa;
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--secondary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.faq-item p {
    color: #666;
}

/* Melhorias de acessibilidade */
.download-btn:focus {
    outline: 3px solid rgba(255, 215, 0, 0.5);
}

/* Indicador de foco para navegação por teclado */
a:focus, button:focus {
    outline: 3px solid rgba(255, 215, 0, 0.5);
}

/* Melhorias para impressão */
@media print {
    header, footer, .download-btn {
        display: none;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .material-card, .faq-item {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    header {
        padding: 40px 0 30px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .intro p, .material-card p, .step-content p {
        font-size: 0.95rem;
    }
    
    .material-card {
        padding: 20px;
    }
}
