/* ================================================
   THEME.CSS - Paleta de Cores e Componentes
   ================================================ */

/* === VARIÁVEIS DE COR === */
:root {
    /* Cores Primárias */
    --color-primary: #2563eb;
    --color-primary-light: #3b82f6;
    --color-primary-dark: #1e40af;
    
    /* Cores Secundárias */
    --color-secondary: #7c3aed;
    --color-secondary-light: #8b5cf6;
    --color-secondary-dark: #6d28d9;
    
    /* Cor de Destaque */
    --color-accent: #f59e0b;
    --color-accent-light: #fbbf24;
    
    /* Backgrounds */
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --bg-gray: #f1f5f9;
    
    /* Textos */
    --text-primary: #1e293b;
    --text-heading: #0f172a;
    --text-muted: #64748b;
    
    /* Outros */
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><path d="M0 50h50v50H0z" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* === CONTENT BOX === */
.content-box {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.content-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.content-box p strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* === CONTENT GRID === */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* === FEATURE CARD === */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-heading);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* === INFO LIST === */
.info-list {
    list-style: none;
    margin-left: 0;
}

.info-list li {
    padding: 1rem;
    background: var(--bg-gray);
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
}

.info-list li strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* === PROCESS STEPS === */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    min-width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-muted);
    margin: 0;
}

/* === HIGHLIGHT TEXT === */
.highlight-text {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    margin-top: 2rem;
}

/* === ADVANTAGES GRID === */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.advantage-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    border-left-color: var(--color-secondary);
    transform: translateX(5px);
}

.advantage-item h3 {
    color: var(--text-heading);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.advantage-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* === INFO GRID === */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: scale(1.05);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card p {
    margin: 0;
    font-weight: 600;
    color: var(--text-heading);
}

/* === LEGAL ALERT === */
.legal-alert {
    background: #fffbeb;
    border-left: 6px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 2rem;
    box-shadow: var(--shadow);
}

.alert-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    color: #b45309;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* === LEGAL PAGE === */
.legal-page {
    min-height: 70vh;
}

.update-date {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.legal-content h2 {
    color: var(--color-primary);
    margin-top: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-gray);
}

.legal-content h3 {
    color: var(--text-heading);
    margin-top: 1.5rem;
}

.legal-content ul {
    background: var(--bg-gray);
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.legal-content a {
    text-decoration: underline;
}

/* === RESPONSIVIDADE === */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 50px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-image {
        order: -1;
    }

    .content-box {
        padding: 1.5rem;
    }

    .process-steps {
        gap: 1.5rem;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .legal-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .legal-alert {
        flex-direction: column;
        text-align: center;
    }
}