/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7c9ba5;
    --secondary-color: #5a7a85;
    --accent-color: #c94a4a;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 1.5rem 0;
    box-shadow: var(--shadow);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    /* Removido filtro para exibir cruz original */
}

.header-text h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.study-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 1rem;
}

.study-info span {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Tabs Navigation */
.tabs-nav {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.tabs-nav .container {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.tab-btn {
    flex: 1;
    min-width: 150px;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    background: var(--bg-light);
}

/* Main Content */
.content {
    padding: 3rem 0;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 2rem;
}

.content-grid.reverse {
    grid-template-columns: 1fr 1fr;
}

.content-grid.reverse .image-content {
    order: -1;
}

.content-full {
    width: 100%;
}

.text-content {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.text-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.text-content h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.text-content p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    text-align: justify;
}

.image-content {
    position: sticky;
    top: 100px;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* Boxes and Cards */
.verse-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    font-style: italic;
}

.verse-box p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.verse-box cite {
    display: block;
    text-align: right;
    margin-top: 1rem;
    font-weight: bold;
    font-style: normal;
}

.highlight-box {
    background: linear-gradient(to right, #e3f2fd, #bbdefb);
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.highlight-box.warning {
    background: linear-gradient(to right, #fff3e0, #ffe0b2);
    border-left-color: #ff9800;
}

.highlight-box h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.definition-box {
    background: var(--bg-light);
    border: 2px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.key-points {
    background: #f1f8e9;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.key-points ul,
.key-points ol {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.key-points li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.reflection-box {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.reflection-box h3 {
    color: #2d3436;
    margin-top: 0;
}

.application-box {
    background: linear-gradient(to right, #e8f5e9, #c8e6c9);
    border-left: 5px solid #4caf50;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.comparison-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.comparison-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.comparison-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.explanation-box {
    background: #fff9c4;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.explanation-box h4 {
    color: var(--secondary-color);
    margin: 1rem 0 0.5rem;
}

.reference-box {
    background: #e1f5fe;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.reference-box ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.reference-box li {
    margin-bottom: 0.5rem;
}

.questions-box {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.questions-box ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.questions-box li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.prayer-box {
    background: linear-gradient(135deg, #d1c4e9, #b39ddb);
    color: #4a148c;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: var(--shadow);
}

.prayer-box h3 {
    color: #4a148c;
    margin-bottom: 1rem;
}

.prayer-box em {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.summary-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.summary-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.summary-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Verses Grid */
.verses-complementary {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

.verses-complementary h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.verses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.verse-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.verse-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

/* Reflection Final */
.reflection-final {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

.reflection-final h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Download Section */
.download-section {
    margin: 3rem 0;
}

.download-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.download-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.download-card p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-btn {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.download-btn:hover {
    background: #a83838;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.download-btn span {
    margin-right: 0.5rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    /* Removido filtro - cruz original vermelha visível */
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .content-grid,
    .content-grid.reverse {
        grid-template-columns: 1fr;
    }

    .content-grid.reverse .image-content {
        order: 0;
    }

    .image-content {
        position: static;
    }

    .comparison-box {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .study-info {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .header-text h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .tab-btn {
        min-width: 120px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .text-content {
        padding: 1.5rem;
    }

    .text-content h2 {
        font-size: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .verses-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .study-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .download-card {
        padding: 2rem 1.5rem;
    }

    .download-card h3 {
        font-size: 1.5rem;
    }

    .download-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}
