/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #4f46e5;
    --secondary-color: #06b6d4;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-color: #334155;
}

body {
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 24px;
    color: var(--dark-color);
}

header h1 span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e293b 0%, #4f46e5 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.2s, background 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    background: #0891b2;
}

/* Estilos de Seções Gerais */
.section-padding {
    padding: 80px 0;
}

.alt-bg {
    background-color: #f1f5f9;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.subtitle {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 40px;
    color: #64748b;
}

/* Grid de Cards (Princípios) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Mitos e Verdades (Accordion com JS) */
.quiz-container {
    max-width: 700px;
    margin: 0 auto;
}

.quiz-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.quiz-question {
    padding: 20px;
    font-weight: 600;
    background-color: #fff;
    position: relative;
    user-select: none;
}

.quiz-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 20px;
    color: var(--primary-color);
}

.quiz-item.active .quiz-question::after {
    content: '-';
}

.quiz-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #475569;
    border-top: 0 solid #f1f5f9;
}

.quiz-item.active .quiz-answer {
    max-height: 200px; /* valor seguro para animação */
    padding: 20px;
    border-top: 1px solid #f1f5f9;
}

/* Boas Práticas (Passos) */
.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.step-number {
    background: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Rodapé */
footer {
    background-color: var(--dark-color);
    color: #94a3b8;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

/* Responsividade Básica */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    .hero h2 {
        font-size: 30px;
    }
}