/**
 * ARCA ACADEMY - JOURNEY CLEAN STYLES
 * Design limpo e moderno para cards de trilhas
 * Data: 2026-01-18
 */

/* =====================================================
   VARIÁVEIS E BASE
   ===================================================== */

:root {
    --parchment: #F2EFE9;
    --deep-navy: #1B2A41;
    --antique-gold: #C59D5F;
    --terracotta: #A05C45;
}

/* Background padrão da página */
body {
    background-color: var(--parchment) !important;
    background-image: none !important;
}

/* =====================================================
   GRID DE CARDS - HOME (5 CARDS)
   ===================================================== */

.post-journey-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem auto 3rem;
    max-width: 1200px;
    padding: 0 1rem;
}

@media (max-width: 992px) {
    .post-journey-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .post-journey-cards-grid .post-journey-card:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .post-journey-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   CARDS - DESIGN LIMPO
   ===================================================== */

.post-journey-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-height: 280px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.post-journey-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Cards especiais com fundo navy */
.post-journey-card.central-card,
.post-journey-card.store-card,
.post-journey-card.family-card {
    background: var(--deep-navy);
    color: white;
}

/* Ícone do card */
.post-journey-card .card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(197, 157, 95, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--antique-gold);
}

.post-journey-card.central-card .card-icon,
.post-journey-card.store-card .card-icon,
.post-journey-card.family-card .card-icon {
    background: rgba(197, 157, 95, 0.15);
    color: var(--antique-gold);
}

/* Conteúdo do card */
.post-journey-card .card-content {
    text-align: center;
}

.post-journey-card .card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--deep-navy);
}

.post-journey-card.central-card .card-content h3,
.post-journey-card.store-card .card-content h3,
.post-journey-card.family-card .card-content h3 {
    color: white;
}

.post-journey-card .card-content p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.8;
    line-height: 1.5;
    color: var(--deep-navy);
}

.post-journey-card.central-card .card-content p,
.post-journey-card.store-card .card-content p,
.post-journey-card.family-card .card-content p {
    color: white;
}

/* Seta de navegação */
.post-journey-card .card-arrow {
    margin-top: 1rem;
    color: var(--antique-gold);
    font-size: 1.5rem;
}

/* =====================================================
   TIMELINE DE TRILHAS - VERTICAL
   ===================================================== */

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
}

/* Linha vertical central */
.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(197, 157, 95, 0.2);
    z-index: 1;
}

/* Item da timeline */
.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Card da trilha na timeline */
.timeline-card {
    width: 45%;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Badge de status */
.timeline-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--antique-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--antique-gold);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-badge.completed {
    background: var(--antique-gold);
    color: white;
}

/* Header do card (sem gradiente) */
.timeline-card-header {
    background: var(--parchment);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.timeline-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin: 0;
}

/* Conteúdo do card */
.timeline-card-body {
    padding: 0 0.5rem;
}

.timeline-card-description {
    font-size: 1rem;
    color: var(--deep-navy);
    opacity: 0.8;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Meta info (tempo, etapas) */
.timeline-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--deep-navy);
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.timeline-card-meta i {
    margin-right: 0.25rem;
}

/* Botão de ação */
.timeline-card-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--antique-gold);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.timeline-card-button:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* =====================================================
   RESPONSIVO - TIMELINE
   ===================================================== */

@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }
    
    .timeline-card {
        width: calc(100% - 80px);
        margin-left: 80px;
    }
    
    .timeline-badge {
        left: 30px;
    }
}

/* =====================================================
   BARRA DE PROGRESSO - CORRIGIDA
   ===================================================== */

.journey-progress-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    padding: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Círculo de progresso - TAMANHO FIXO */
.progress-ring {
    width: 50px;
    height: 50px;
    transform: rotate(-90deg);
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.3s ease;
    transform-origin: 50% 50%;
}

.progress-text {
    position: absolute;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--deep-navy);
}
