/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Capa */
.cover-page {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cover-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cover-content {
    position: relative;
    z-index: 1;
}

.logo-placeholder {
    font-size: 4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.welcome-message {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.quote-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.quote .answer {
    font-style: italic;
    margin-top: 1rem;
    opacity: 0.9;
}

/* Índice */
.table-of-contents {
    padding: 60px 40px;
    background: #f8fafc;
}

.table-of-contents h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.toc-nav ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.toc-nav li {
    margin-bottom: 1rem;
}

.toc-nav a {
    display: block;
    padding: 1.5rem 2rem;
    background: white;
    color: #4f46e5;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #4f46e5;
}

.toc-nav a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.15);
    background: #4f46e5;
    color: white;
}

/* Capítulos */
.chapter {
    padding: 60px 40px;
    border-bottom: 1px solid #e2e8f0;
}

.chapter:nth-child(even) {
    background: #f8fafc;
}

.chapter-header {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
}

.chapter-number {
    font-size: 4rem;
    font-weight: 700;
    color: #4f46e5;
    opacity: 0.3;
    min-width: 120px;
}

.chapter-title {
    font-size: 2.5rem;
    color: #1e293b;
    font-weight: 600;
}

.chapter-content {
    display: grid;
    gap: 3rem;
}

.chapter-illustration {
    text-align: center;
    margin-bottom: 2rem;
}

.chapter-illustration img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Princípios */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.principle-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid #4f46e5;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.principle-icon {
    font-size: 2.5rem;
    color: #4f46e5;
    margin-bottom: 1rem;
}

.principle-card h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.principle-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Treinamento */
.training-sections {
    display: grid;
    gap: 2rem;
}

.training-step {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #10b981;
}

.step-number {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.training-step h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.training-step ul {
    list-style: none;
    padding-left: 0;
}

.training-step li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: #64748b;
    line-height: 1.6;
}

.training-step li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Higiene */
.hygiene-sections {
    display: grid;
    gap: 2rem;
}

.hygiene-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #f59e0b;
}

.hygiene-category h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hygiene-category h3 i {
    color: #f59e0b;
}

.hygiene-category ul {
    list-style: none;
    padding-left: 0;
}

.hygiene-category li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: #64748b;
    line-height: 1.6;
}

.hygiene-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Fechamento */
.closing-checklist {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #ef4444;
}

.closing-checklist h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 2rem;
    font-weight: 600;
}

.checklist-items {
    display: grid;
    gap: 1rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #fef2f2;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.checklist-item:hover {
    background: #fee2e2;
    transform: translateX(5px);
}

.checklist-item i {
    color: #ef4444;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.checklist-item span {
    color: #64748b;
    line-height: 1.6;
}

/* Mensagem Final */
.final-message {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
}

.final-message h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.highlight {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Botões de Ação */
.action-buttons {
    padding: 40px;
    text-align: center;
    background: #f8fafc;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: #4f46e5;
    color: white;
}

.btn-primary:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    background: white;
    color: #4f46e5;
    border: 2px solid #4f46e5;
}

.btn-secondary:hover {
    background: #4f46e5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        border-radius: 15px;
    }
    
    .cover-page {
        padding: 40px 20px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .chapter {
        padding: 40px 20px;
    }
    
    .chapter-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .chapter-number {
        font-size: 3rem;
        min-width: auto;
    }
    
    .chapter-title {
        font-size: 2rem;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Impressão */
@media print {
    body {
        background: white;
    }
    
    .container {
        box-shadow: none;
        border-radius: 0;
        margin: 0;
    }
    
    .action-buttons {
        display: none;
    }
    
    .chapter {
        page-break-inside: avoid;
    }
    
    .cover-page {
        page-break-after: always;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chapter {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

