/* about.css - Estilos específicos para a página Sobre Nós */

/* ===================================
   BASE DO SOBRE NÓS - CONSISTENTE
   =================================== */
.about-wrapper {
    min-height: 100vh;
}

/* Header centralizado */
.about-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, 
        rgba(147, 51, 234, 0.03) 0%, 
        rgba(236, 72, 153, 0.03) 50%,
        rgba(249, 115, 22, 0.03) 100%);
    border-bottom: 1px solid var(--bs-border-color);
    margin-bottom: 40px;
    text-align: center;
}

.about-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

.about-header .lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.about-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.about-badges .badge {
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Botões centralizados */
.about-header .d-flex {
    justify-content: center;
}

/* ===================================
   CONTEÚDO PRINCIPAL
   =================================== */
.about-main-content {
    padding: 0 0 100px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Seções */
.about-section {
    margin-bottom: 80px;
    scroll-margin-top: 120px;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bs-border-color);
    position: relative;
}

.about-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100px;
    height: 2px;
    background: var(--gradient-primary);
}

.about-section h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--bs-body-color);
}

.about-section h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--bs-body-color);
}

.about-section p {
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: var(--bs-body-color);
}

.about-section ul, 
.about-section ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    line-height: 1.8;
}

.about-section li {
    margin-bottom: 0.75rem;
    color: var(--bs-body-color);
}

.about-section li strong {
    color: var(--primary);
}

/* ===================================
   COMPONENTES ESPECÍFICOS
   =================================== */

/* Linha do tempo CORRIGIDA */
.evolution-timeline {
    position: relative;
    margin: 40px 0;
    padding-left: 0;
}

.evolution-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year-container {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    position: relative;
}

.timeline-year {
    display: inline-block;
    padding: 8px 15px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.timeline-year-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 3px solid var(--bs-body-bg);
    z-index: 1;
}

/* CORRIGIDO: Background branco no light theme */
.timeline-content {
    background: white;
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    padding: 25px;
    flex: 1;
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .timeline-content {
    background: var(--bs-card-bg);
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Estatísticas de impacto */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.stat-card {
    background: var(--bs-card-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Citação inspiradora */
.quote-card {
    background: linear-gradient(135deg, 
        rgba(147, 51, 234, 0.05) 0%, 
        rgba(236, 72, 153, 0.05) 100%);
    border-left: 4px solid var(--primary);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 12px 12px 0;
    position: relative;
}

.quote-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    font-family: var(--font-display);
    color: var(--primary);
    opacity: 0.2;
}

.quote-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
    z-index: 1;
}

.quote-author {
    text-align: right;
    font-weight: 600;
    color: var(--primary);
    padding-left: 40px;
}

/* Valores da empresa */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.value-card {
    background: var(--bs-card-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--bs-body-color);
}

/* Equipe (2 por linha em telas maiores) - ATUALIZADO */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.team-card {
    background: var(--bs-card-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.team-avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    z-index: 1;
    border: 4px solid var(--bs-body-bg);
    box-shadow: var(--shadow-md);
}

.team-icon-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    z-index: 2;
    border: 3px solid var(--bs-body-bg);
    box-shadow: var(--shadow-sm);
}

/* Cores diferentes para cada badge */
.team-card:nth-child(1) .team-icon-badge {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6); /* Azul para Varejo */
}

.team-card:nth-child(2) .team-icon-badge {
    background: linear-gradient(135deg, #10b981, #059669); /* Verde para IA & Dados */
}

.team-card:nth-child(3) .team-icon-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706); /* Amarelo para Engenharia */
}

.team-card:nth-child(4) .team-icon-badge {
    background: linear-gradient(135deg, #ec4899, #db2777); /* Rosa para Operações */
}

.team-role {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(147, 51, 234, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--bs-body-color);
    font-family: var(--font-display);
}

.team-experience {
    font-size: 0.95rem;
    color: var(--bs-secondary-color);
    margin-bottom: 25px;
    font-weight: 500;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.team-skill {
    padding: 6px 12px;
    background: var(--bs-tertiary-bg);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--bs-body-color);
    font-weight: 500;
}

/* ===================================
   RESPONSIVIDADE
   =================================== */
@media (max-width: 992px) {
    .about-header {
        padding: 120px 0 40px;
    }
    
    .about-main-content {
        padding: 0 20px 60px;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .timeline-year-container {
        width: 100%;
        text-align: left;
    }
    
    .timeline-year-container::before {
        left: 30px;
        transform: translateY(-50%);
    }
    
    .evolution-timeline::before {
        left: 30px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .about-header {
        padding: 100px 0 30px;
    }
    
    .about-section {
        margin-bottom: 60px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        padding: 30px 20px;
    }
    
    .team-avatar-container {
        width: 100px;
        height: 100px;
    }
    
    .team-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .team-icon-badge {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .quote-card {
        padding: 20px;
    }
    
    .quote-text {
        font-size: 1.1rem;
        padding-left: 30px;
    }
}