/* ============================================
   A SANTA CEIA - ESTILO PROFISSIONAL
   Baseado no 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;
}

/* Navegação Superior Flutuante */
.platform-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.btn-platform-home {
    background: rgba(139, 69, 19, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-platform-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: rgba(101, 51, 15, 0.95);
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    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;
    filter: brightness(0) invert(1);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.btn-iniciar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #8B4513;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-iniciar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* Barra de Navegação */
.nav-bar {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-title {
    font-size: 18px;
    font-weight: 600;
    color: #8B4513;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: #f5f5f5;
    color: #8B4513;
}

/* Tabs Container */
.tabs-container {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 60px;
    z-index: 999;
}

.tabs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.tab {
    background: transparent;
    border: none;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab:hover {
    color: #8B4513;
    background: #f9f9f9;
}

.tab.active {
    color: #8B4513;
    border-bottom-color: #8B4513;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.content-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-content {
    display: none;
    padding: 40px;
}

.tab-content.active {
    display: block;
}

/* Study Article */
.study-article {
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 24px;
    border-left: 4px solid #8B4513;
    padding-left: 16px;
}

.subsection-title {
    font-size: 24px;
    font-weight: 600;
    color: #34495e;
    margin-top: 32px;
    margin-bottom: 16px;
}

.paragraph {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

/* Intro Box */
.intro-box {
    background: linear-gradient(135deg, #f5f0e8 0%, #faf7f2 100%);
    border-left: 4px solid #8B4513;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 32px;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Image Container */
.image-container {
    margin: 32px 0;
    text-align: center;
}

.content-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.image-caption {
    font-size: 14px;
    color: #777;
    font-style: italic;
    margin-top: 12px;
}

/* Highlight Boxes */
.highlight-box {
    padding: 24px;
    border-radius: 8px;
    margin: 24px 0;
    border-left: 4px solid;
}

.highlight-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.highlight-box p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.highlight-box.warning {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.highlight-box.info {
    background: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

.highlight-box.success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.highlight-box.primary {
    background: #e7f3ff;
    border-color: #2196F3;
    color: #0d47a1;
}

/* Quote Box */
.quote-box {
    background: #f8f9fa;
    border-left: 4px solid #8B4513;
    padding: 24px 24px 24px 60px;
    margin: 32px 0;
    position: relative;
    border-radius: 8px;
}

.quote-icon {
    position: absolute;
    left: 20px;
    top: 24px;
    font-size: 24px;
    color: #8B4513;
    opacity: 0.5;
}

.quote-text {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin: 0;
}

.verse-ref {
    font-size: 14px;
    color: #777;
    font-weight: 600;
    margin-top: 12px;
}

/* Info Box */
.info-box {
    background: #f0f8ff;
    border: 2px solid #8B4513;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.info-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 12px;
}

.info-box p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Timeline Box */
.timeline-box {
    margin: 32px 0;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.timeline-marker {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #8B4513;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Two Column Box */
.two-column-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.column {
    padding: 24px;
    border-radius: 8px;
    border: 2px solid;
}

.column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.column ul {
    list-style: none;
    padding: 0;
}

.column li {
    padding: 8px 0;
    font-size: 15px;
    line-height: 1.6;
}

.error-column {
    background: #fff5f5;
    border-color: #fc8181;
    color: #742a2a;
}

.success-column {
    background: #f0fff4;
    border-color: #68d391;
    color: #22543d;
}

/* Comparison Table */
.comparison-table {
    margin: 32px 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.comparison-table th {
    background: #8B4513;
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.comparison-table td {
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
    color: #555;
}

.comparison-table tr:hover {
    background: #f9f9f9;
}

/* Three Points */
.three-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.point {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.point-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.point h5 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.point p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Interpretation Cards */
.interpretation-cards {
    display: grid;
    gap: 24px;
    margin: 32px 0;
}

.interpretation-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.interpretation-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.interpretation-card.highlight {
    border-color: #8B4513;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.2);
}

.card-header {
    padding: 20px;
    color: white;
}

.card-header.catholic {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.card-header.lutheran {
    background: linear-gradient(135deg, #3498db, #5dade2);
}

.card-header.zwinglian {
    background: linear-gradient(135deg, #16a085, #1abc9c);
}

.card-header.reformed {
    background: linear-gradient(135deg, #8B4513, #A0522D);
}

.card-header h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.tradition {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.card-body {
    padding: 24px;
    background: white;
}

.card-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

.card-body p:last-child {
    margin-bottom: 0;
}

.critique {
    color: #c0392b;
    font-weight: 500;
}

.note {
    color: #2980b9;
    font-weight: 500;
}

.note.success {
    color: #27ae60;
}

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
}

.warning-box h3 {
    font-size: 22px;
    color: #856404;
    margin-bottom: 16px;
}

.warning-box .paragraph {
    color: #856404;
}

/* Consequence Box */
.consequence-box {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 20px;
    border-radius: 8px;
    margin: 24px 0;
}

.consequence-box h4 {
    font-size: 18px;
    color: #E63946;
    margin-bottom: 12px;
}

.consequence-box p {
    font-size: 16px;
    color: #E63946;
    line-height: 1.8;
    margin: 0;
}

/* Checklist Box */
.checklist-box {
    background: #f8f9fa;
    border: 2px solid #8B4513;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
}

.checklist-box h4 {
    font-size: 20px;
    color: #8B4513;
    margin-bottom: 20px;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checklist-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #8B4513;
}

.checklist-item label {
    font-size: 16px;
    color: #555;
    cursor: pointer;
    line-height: 1.6;
}

/* Definition Box */
.definition-box {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border-left: 4px solid #4caf50;
    padding: 24px;
    border-radius: 8px;
    margin: 24px 0;
}

.definition-box h4 {
    font-size: 18px;
    color: #2e7d32;
    margin-bottom: 12px;
}

.definition-box p {
    font-size: 16px;
    color: #1b5e20;
    line-height: 1.8;
    margin: 0;
}

/* Practical Tips */
.practical-tips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.tip-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.tip-card:hover {
    border-color: #8B4513;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.tip-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.tip-card h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 12px;
}

.tip-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.summary-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.summary-card:hover {
    border-color: #8B4513;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.card-number {
    position: absolute;
    top: -16px;
    left: 24px;
    width: 40px;
    height: 40px;
    background: #8B4513;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.summary-card h4 {
    font-size: 20px;
    color: #2c3e50;
    margin-top: 12px;
    margin-bottom: 12px;
}

.summary-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* Reflection Questions */
.reflection-questions {
    display: grid;
    gap: 24px;
    margin: 32px 0;
}

.question-box {
    background: #f8f9fa;
    border: 2px solid #8B4513;
    border-radius: 12px;
    padding: 24px;
}

.question-box h4 {
    font-size: 20px;
    color: #8B4513;
    margin-bottom: 16px;
}

.question-box ol {
    padding-left: 24px;
}

.question-box li {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* Prayer Box */
.prayer-box {
    background: linear-gradient(135deg, #f5f0e8, #faf7f2);
    border: 2px solid #8B4513;
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
    text-align: center;
}

.prayer-box h4 {
    font-size: 22px;
    color: #8B4513;
    margin-bottom: 20px;
}

.prayer-text {
    font-size: 17px;
    color: #555;
    line-height: 1.9;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

/* Resources Box */
.resources-box {
    background: #e8f4f8;
    border-left: 4px solid #2196F3;
    padding: 24px;
    border-radius: 8px;
    margin: 32px 0;
}

.resources-box h4 {
    font-size: 20px;
    color: #0d47a1;
    margin-bottom: 16px;
}

.resources-box ul {
    list-style: none;
    padding: 0;
}

.resources-box li {
    font-size: 15px;
    color: #1565c0;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.resources-box li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #2196F3;
    font-weight: bold;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 20px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #8B4513;
}

.footer-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #bdc3c7;
    margin-bottom: 12px;
}

.study-date {
    color: #8B4513 !important;
    font-weight: 600;
}

.footer-link {
    display: inline-block;
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    margin-top: 12px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #A0522D;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(139, 69, 19, 0.2);
    color: #8B4513;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #8B4513;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .platform-nav {
        top: 10px;
        right: 10px;
    }
    
    .btn-platform-home {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .tabs {
        padding: 0 10px;
    }
    
    .tab {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .tab-content {
        padding: 24px 20px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .subsection-title {
        font-size: 20px;
    }
    
    .two-column-box,
    .practical-tips,
    .summary-cards,
    .three-points {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: #8B4513;
    color: white;
}
