/* Estilo para Página de Ministérios Unificados */
:root {
    --cor-familia: #e91e63;
    --cor-saude: #4caf50;
    --cor-mordomia: #ff9800;
    --cor-mulher: #d946a6;
    --cor-destaque: #ffd700;
    --cor-clara: #f5f5f5;
    --cor-texto: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--cor-clara) 0%, #e8e8e8 100%);
    color: var(--cor-texto);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(135deg, #6a1b9a 0%, #4a148c 100%);
    color: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(106, 27, 154, 0.3);
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header h1 i {
    margin-right: 15px;
}

header .subtitle {
    font-size: 1.2em;
    font-style: italic;
    opacity: 0.95;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tab-btn.active {
    background: white;
    color: #6a1b9a;
    border-color: white;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
}

.tab-btn i {
    font-size: 1.2em;
}

/* Controle de Visibilidade das Abas */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    background: white;
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cor-destaque);
}

section h3 {
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 15px;
}

section p {
    margin-bottom: 15px;
    text-align: justify;
}

section ul, section ol {
    line-height: 1.8;
    margin-left: 20px;
    margin-bottom: 15px;
}

section li {
    margin-bottom: 10px;
}

/* Cores específicas por ministério */
#familia section h2 {
    color: var(--cor-familia);
}

#familia .content-box,
#familia .highlight-box,
#familia .info-box {
    border-left-color: var(--cor-familia);
}

#familia .internal-nav a {
    background: linear-gradient(135deg, var(--cor-familia) 0%, #c2185b 100%);
}

#familia .internal-nav a:hover {
    background: linear-gradient(135deg, #f06292 0%, var(--cor-familia) 100%);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

#saude section h2 {
    color: var(--cor-saude);
}

#saude .content-box,
#saude .quote-section {
    border-left-color: var(--cor-saude);
}

#saude .internal-nav a {
    background: linear-gradient(135deg, var(--cor-saude) 0%, #388e3c 100%);
}

#saude .internal-nav a:hover {
    background: linear-gradient(135deg, #66bb6a 0%, var(--cor-saude) 100%);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

#mordomia section h2 {
    color: var(--cor-mordomia);
}

#mordomia .content-box,
#mordomia .quote-section {
    border-left-color: var(--cor-mordomia);
}

#mordomia .internal-nav a {
    background: linear-gradient(135deg, var(--cor-mordomia) 0%, #f57c00 100%);
}

#mordomia .internal-nav a:hover {
    background: linear-gradient(135deg, #ffb74d 0%, var(--cor-mordomia) 100%);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

/* Seção Mulher */
#mulher section h2 {
    color: var(--cor-mulher);
}

#mulher .content-box,
#mulher .quote-section {
    border-left-color: var(--cor-mulher);
}

#mulher .internal-nav a {
    background: linear-gradient(135deg, var(--cor-mulher) 0%, #c026d3 100%);
}

#mulher .internal-nav a:hover {
    background: linear-gradient(135deg, #e879f9 0%, var(--cor-mulher) 100%);
    box-shadow: 0 4px 12px rgba(217, 70, 166, 0.3);
}

/* Content Boxes */
.content-box, .highlight-box, .info-box, .quote-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #6a1b9a;
    margin: 15px 0;
}

.highlight-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left-color: var(--cor-destaque);
}

.info-box h3, .highlight-box h3, .quote-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.alert-box {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    margin: 15px 0;
}

/* Bible Verses */
.bible-verse {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #1976d2;
    margin: 20px 0;
    font-style: italic;
}

.bible-verse cite {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-weight: bold;
    color: #1976d2;
}

/* Quote Author */
.author {
    display: block;
    text-align: right;
    margin-top: 15px;
    font-style: italic;
    color: #666;
    font-weight: 600;
}

/* Cards Grid */
.section-grid, .topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.card, .topic-card, .partnership-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card:hover, .topic-card:hover, .partnership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-color: #6a1b9a;
}

.card h2, .card h3, .topic-card h4, .partnership-card h4 {
    margin-bottom: 10px;
    color: #6a1b9a;
}

/* Contact Info */
.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #6a1b9a;
}

.contact-info p {
    margin-bottom: 10px;
}

/* Internal Navigation */
.internal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.internal-nav a {
    padding: 10px 20px;
    background: linear-gradient(135deg, #6a1b9a 0%, #4a148c 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
}

.internal-nav a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(106, 27, 154, 0.3);
    background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%);
}

.internal-nav i {
    font-size: 1.1em;
}

/* Notes */
.note {
    font-style: italic;
    font-size: 0.95em;
    color: #666;
    margin-top: 10px;
}

/* Intro Text */
.intro-text {
    font-size: 1.15em;
    font-weight: 500;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Responsividade */
@media (max-width: 768px) {
    header {
        padding: 30px 15px;
        border-radius: 10px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    header .subtitle {
        font-size: 1em;
    }

    .tab-buttons {
        gap: 10px;
        margin-top: 20px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    
    .content {
        padding: 10px;
    }
    
    section {
        padding: 25px;
        border-radius: 10px;
    }
    
    section h2 {
        font-size: 1.6em;
    }
    
    section h3 {
        font-size: 1.3em;
    }

    .section-grid, .topic-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .internal-nav {
        flex-direction: column;
    }

    .internal-nav a {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.6em;
    }
    
    header .subtitle {
        font-size: 0.9em;
    }

    .tab-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    section {
        padding: 20px;
    }
    
    section h2 {
        font-size: 1.4em;
    }

    .card, .topic-card, .partnership-card {
        padding: 15px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   CLASSES UTILITÁRIAS - MIGRAÇÃO CSS INLINE
   Adicionadas em: 30/OUT/2025
   ═══════════════════════════════════════════════════════════════ */

/* Cores e Textos */
.text-ministerio {
    color: #d946a6;
}

.text-ministerio-dark {
    color: #831843;
}

.text-ministerio-bold {
    color: #d946a6;
    margin-bottom: 10px;
}

.text-ministerio-subtitle {
    font-size: 1.3em;
    margin-top: 20px;
    color: #d946a6;
    font-weight: 600;
}

.text-ministerio-heading {
    font-weight: 600;
    color: #d946a6;
    margin-top: 15px;
}

.text-center-italic {
    text-align: center;
    font-style: italic;
}

.text-italic-dark {
    font-style: italic;
    margin: 0;
    color: #831843;
}

/* Cards e Containers */
.card-ministerio {
    background: linear-gradient(135deg, #fdf2f8 0%, white 100%);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #fbcfe8;
}

.card-ministerio-white {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border: 2px solid #d946a6;
}

.card-ministerio-border {
    margin-top: 30px;
    padding: 25px;
    background: white;
    border-radius: 10px;
    border: 2px solid #d946a6;
}

.box-ministerio {
    padding: 15px;
    margin: 10px 0;
    background: #fdf2f8;
    border-radius: 8px;
    border-left: 4px solid #ec4899;
}

.box-ministerio-alt {
    background: #fdf2f8;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #d946a6;
}

.blockquote-ministerio {
    border-left: 4px solid #d946a6;
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #831843;
}

/* Grid e Layout */
.grid-ministerio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.list-clean {
    list-style: none;
    padding: 0;
}

.mt-10-ml-20 {
    margin: 10px 0 0 20px;
}

