/* ===== ÉQUIPE PAGE STYLES ===== */

/* Page Title */
.page-title {
    text-align: center;
    padding: calc(70px + var(--spacing-xl)) var(--spacing-md) var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto;
}

.page-title h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-title p {
    font-size: 1.2rem;
    color: var(--color-text-light);
}

/* Section Styles */
.section {
    padding: var(--spacing-md) var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-xs);
    color: var(--color-gold);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

/* Team Card Base */
.team-card {
    background: rgba(26, 23, 20, 0.4);
    border: 1.5px solid rgba(212, 165, 116, 0.3);
    border-radius: 12px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(212, 165, 116, 0.05),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.team-card:hover::before {
    animation: shimmer 2s infinite;
}

.team-card:hover {
    transform: translateY(-5px) rotate(0.5deg);
    border-color: var(--color-gold);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.3);
}

/* Team Icon */
.team-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 2px 8px rgba(212, 165, 116, 0.4));
}

/* Team Name */
.team-name {
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-xs);
    text-align: center;
}

/* Team Role */
.team-role {
    font-size: 0.9rem;
    color: var(--color-gold-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

/* Team Description */
.team-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text-light);
    text-align: center;
}

/* Join Grid */
.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.join-card {
    background: rgba(26, 23, 20, 0.4);
    border: 1.5px solid rgba(212, 165, 116, 0.3);
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.join-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(212, 165, 116, 0.05),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.join-card:hover::before {
    animation: shimmer 2s infinite;
}

.join-card:hover {
    transform: translateY(-5px) rotate(0.5deg);
    border-color: var(--color-gold);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.3);
}

.join-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 2px 8px rgba(212, 165, 116, 0.4));
}

.join-card h3 {
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-sm);
}

.join-card p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(26, 23, 20, 0.3);
    border-radius: 12px;
    border: 1.5px solid rgba(212, 165, 116, 0.2);
}

.benefits-title {
    font-size: 2rem;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(26, 23, 20, 0.4);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
    border-color: var(--color-gold);
}

.benefit-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 6px rgba(212, 165, 116, 0.4));
}

.benefit-item p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

/* Animations */
@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(212, 165, 116, 0.4));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(212, 165, 116, 0.8));
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-intro {
        font-size: 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .leaders-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .team-card {
        padding: var(--spacing-md);
    }

    .team-name {
        font-size: 1.3rem;
    }

    .leader-card .team-name {
        font-size: 1.5rem;
    }

    .team-icon {
        font-size: 2.5rem;
    }

    .leader-card .team-icon {
        font-size: 3.5rem;
    }

    .join-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .benefit-item {
        padding: var(--spacing-sm);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-title {
        padding: calc(70px + var(--spacing-md)) var(--spacing-sm) var(--spacing-md);
    }

    .page-title h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: var(--spacing-sm);
    }

    .section-title {
        font-size: 1.6rem;
    }

    .team-card {
        padding: var(--spacing-sm);
    }

    .team-description {
        font-size: 0.95rem;
    }

    .benefits-section {
        padding: var(--spacing-md);
    }

    .benefits-title {
        font-size: 1.5rem;
    }
}
