/* ============================================
   CAMINHADA COM CRISTO - ESTILO PROFISSIONAL
   Seguindo padrão do site de referência
   ============================================ */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Botão Voltar ao Catálogo - Flutuante */
.btn-voltar {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-voltar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Hero Section */
.hero-section {
    background: white;
    padding: 80px 20px 60px;
    min-height: 500px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    padding-right: 40px;
}

.logo-small {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: #7f8c8d;
    margin-bottom: 32px;
}

.btn-iniciar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e91e63, #c2185b);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    transition: all 0.3s ease;
}

.btn-iniciar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Barra de Navegação Principal */
.nav-bar {
    background: #2c3e50;
    color: white;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link.active {
    background: #f39c12;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
}

/* Abas de Navegação */
.tabs-container {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 58px;
    z-index: 999;
}

.tabs {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    padding: 0 20px;
}

.tab {
    flex: 1;
    min-width: 150px;
    padding: 16px 24px;
    border: none;
    background: white;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    color: #555;
}

.tab:hover {
    background: #f8f9fa;
}

.tab.active {
    border-bottom-color: currentColor;
}

.tab.tab-introducao.active { color: #e91e63; border-bottom-color: #e91e63; }
.tab.tab-longe.active { color: #9c27b0; border-bottom-color: #9c27b0; }
.tab.tab-perto.active { color: #673ab7; border-bottom-color: #673ab7; }
.tab.tab-com.active { color: #ff9800; border-bottom-color: #ff9800; }
.tab.tab-em.active { color: #4caf50; border-bottom-color: #4caf50; }
.tab.tab-reflexao.active { color: #2196f3; border-bottom-color: #2196f3; }

/* Conteúdo Principal */
.main-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.content-area {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Referência Bíblica */
.ref-biblica {
    background: #2c3e50;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

/* Títulos e Textos */
h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

h3 {
    font-size: 24px;
    color: #34495e;
    margin: 32px 0 16px;
    font-weight: 600;
}

h4 {
    font-size: 18px;
    color: #2c3e50;
    margin: 24px 0 12px;
    font-weight: 600;
}

p {
    margin-bottom: 16px;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

/* Boxes de Destaque */
.box {
    padding: 24px;
    border-radius: 8px;
    margin: 24px 0;
    border-left: 4px solid;
}

.box-destaque {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.box-aviso {
    background: #f8d7da;
    border-left-color: #dc3545;
}

.box-info {
    background: #d1ecf1;
    border-left-color: #17a2b8;
}

.box-sucesso {
    background: #d4edda;
    border-left-color: #28a745;
}

.box-escritura {
    background: #e7f3ff;
    border-left-color: #2196f3;
    font-style: italic;
}

/* Listas */
ul, ol {
    margin: 16px 0 16px 24px;
    color: #555;
}

li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.sidebar-box {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 24px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin: 16px 0;
}

.sidebar-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.sidebar-label {
    font-weight: 600;
    color: #2c3e50;
    margin-top: 12px;
}

/* Botão Download */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #4CAF50;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 24px 0;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #45a049;
    transform: translateY(-2px);
}

/* Rodapé */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 16px;
}

.footer-section p {
    color: #bdc3c7;
    font-size: 14px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
    font-size: 14px;
}

/* Responsividade */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .tabs {
        overflow-x: scroll;
    }
    
    .tab {
        min-width: 120px;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .content-area {
        padding: 24px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .btn-voltar {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 12px;
    }
}
