/* Estilo para Ministério de Desbravadores e Aventureiros */
:root {
    --cor-desbravadores: #c41e3a;
    --cor-secundaria: #003d82;
    --cor-destaque: #ffd700;
    --cor-aventureiros: #0066cc;
    --cor-lideres: #2d5016;
    --cor-mca: #d946a6;
    --cor-jovens: #f59e0b;
    --cor-clara: #f5f5f5;
}

* {
    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: #333;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--cor-desbravadores) 0%, #8b1329 100%);
    color: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(196, 30, 58, 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: var(--cor-desbravadores);
    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);
    border-left: 5px solid var(--cor-desbravadores);
}

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

section h3 {
    color: var(--cor-secundaria);
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 15px;
}

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

section ul {
    line-height: 1.8;
    margin-left: 20px;
}

section ul li {
    margin-bottom: 10px;
}

/* Voto e Lei */
.voto-lei {
    background: linear-gradient(135deg, #003d82 0%, #002855 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 5px solid var(--cor-destaque);
}

.voto-lei h3 {
    color: var(--cor-destaque);
    margin-bottom: 15px;
    margin-top: 0;
}

.voto-lei p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 0;
}

.voto-lei ol {
    font-size: 1.05em;
    line-height: 1.8;
    padding-left: 20px;
}

/* Info Box */
.info-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--cor-secundaria);
    margin: 15px 0;
}

.info-box h3 {
    color: var(--cor-secundaria);
    margin-top: 0;
    margin-bottom: 10px;
}

.info-box p {
    margin: 0;
}

.info-box ul {
    margin-left: 20px;
}

/* Classes Grid */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.classe-card {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid var(--cor-desbravadores);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.classe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.2);
}

.classe-card h4 {
    color: var(--cor-desbravadores);
    font-size: 1.3em;
    margin-bottom: 10px;
}

/* Classe Card Específico para Aventureiros */
.classe-card.aventureiro {
    border: 2px solid var(--cor-aventureiros);
}

.classe-card.aventureiro h3 {
    color: var(--cor-aventureiros);
    margin-top: 10px;
}

.classe-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: white;
    position: relative;
}

.classe-icon i {
    position: relative;
    z-index: 2;
}

.classe-idade {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: var(--cor-destaque);
    color: #333;
    font-size: 0.4em;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.texto-destaque {
    text-align: center;
    font-weight: 600;
    font-size: 1.1em;
}

/* Destaque */
.destaque {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid var(--cor-destaque);
    margin: 20px 0;
    font-weight: 600;
    color: #333;
}

.destaque p {
    margin: 0;
    font-size: 1.1em;
    text-align: center;
}

/* Call to Action Box */
.cta-box {
    text-align: center;
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, var(--cor-desbravadores) 0%, #8b1329 100%);
    color: white;
    border-radius: 10px;
}

.cta-box h3 {
    color: var(--cor-destaque);
    margin-bottom: 15px;
    font-size: 1.8em;
    margin-top: 0;
}

.cta-box p {
    font-size: 1.2em;
    margin: 0;
}

.cta-box.aventureiro {
    background: linear-gradient(135deg, var(--cor-aventureiros) 0%, #004999 100%);
}

/* Variante Aventureiros */
body.aventureiros header {
    background: linear-gradient(135deg, var(--cor-aventureiros) 0%, #004999 100%);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

body.aventureiros section {
    border-left-color: var(--cor-aventureiros);
}

body.aventureiros section h2 {
    color: var(--cor-aventureiros);
}

body.aventureiros .classe-card {
    border-color: var(--cor-aventureiros);
}

body.aventureiros .classe-card h4 {
    color: var(--cor-aventureiros);
}

body.aventureiros .cta-box {
    background: linear-gradient(135deg, var(--cor-aventureiros) 0%, #004999 100%);
}

/* Seção Clube de Líderes */
#lideres section {
    border-left-color: var(--cor-lideres);
}

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

#lideres .info-box {
    border-left-color: var(--cor-lideres);
}

#lideres .info-box h3 {
    color: var(--cor-lideres);
}

#lideres .voto-lei {
    background: linear-gradient(135deg, var(--cor-lideres) 0%, #1a3009 100%);
}

/* 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;
    }
    
    .classes-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .classe-card {
        padding: 15px;
    }
}

@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;
    }
    
    .classes-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================ */
/* CLASSES UTILITÁRIAS - MIGRAÇÃO DE INLINE */
/* ============================================ */

/* Cores específicas */
.text-lideres {
    color: #2d5016;
}

.text-aventureiros {
    color: var(--cor-aventureiros);
}

.text-link-blue {
    color: #2c5aa0;
    text-decoration: underline;
}

.text-link-blue-bold {
    color: #2c5aa0;
    font-weight: bold;
    text-decoration: underline;
}

.text-gold-border {
    color: #ffd700;
    border-bottom-color: white;
}

.text-secondary-mt {
    color: var(--cor-secundaria);
    margin-top: 35px;
}

/* Tipografia */
.text-large-title {
    font-size: 2em;
    margin-top: 15px;
}

.text-subtitle-bold {
    font-size: 1.3em;
    font-weight: 600;
}

.text-medium {
    font-size: 1.1em;
}

.text-medium-italic-mt {
    font-size: 1.1em;
    margin-top: 15px;
    font-style: italic;
}

.text-medium-line {
    font-size: 1.1em;
    line-height: 1.8em;
}

.text-center-medium {
    margin: 0;
    font-size: 1.1em;
    text-align: center;
}

/* Classes adicionais para estilos complexos */
.text-medium-line-alt {
    font-size: 1.1em;
    line-height: 1.8;
}

.text-medium-padded {
    font-size: 1.05em;
    line-height: 1.8;
    padding-left: 20px;
}

.text-medium-line-small {
    font-size: 1.05em;
    line-height: 1.8em;
}

.text-secondary-mt-25 {
    color: var(--cor-secundaria);
    margin-top: 25px;
}

.text-secondary {
    color: var(--cor-secundaria);
}

.text-desbravadores {
    color: var(--cor-desbravadores);
}

.text-desbravadores-mb {
    color: var(--cor-desbravadores);
    margin-bottom: 10px;
}

.text-lideres-bold {
    color: #2d5016;
    font-weight: bold;
}

/* Seções com gradientes especiais */
.section-orange {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
}

.section-red {
    background: linear-gradient(135deg, #991b1b, #b91c1c);
}

.section-blue {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
}

.section-sky {
    background: linear-gradient(135deg, #87ceeb, #4682b4);
}

.section-lideres {
    background: linear-gradient(135deg, #2d5016 0%, #1a3009 100%);
}

.section-aventureiros {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    color: white;
    text-align: center;
    padding: 30px;
    border-left: none;
    margin-top: 40px;
}

.section-lideres-alt {
    background: linear-gradient(135deg, #2d5016 0%, #1a3009 100%);
    color: white;
    text-align: center;
    padding: 30px;
    border-left: none;
    margin-top: 40px;
}

.section-desbravadores {
    background: linear-gradient(135deg, #c41e3a 0%, #8b1329 100%);
    color: white;
    text-align: center;
    padding: 30px;
    border-left: none;
}
