/* ==========================================================================
   EQUIPE-STYLES.CSS — HIGH-TECH AI & LIQUID GOLD TEAM SHOWCASE
   ========================================================================== */

.team-hero {
    background:
        linear-gradient(180deg, rgba(4, 4, 6, 0.85) 0%, rgba(5, 5, 7, 0.95) 100%),
        url('images/equipe.jpg') center/cover no-repeat;
    padding: 170px 0 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 215, 0, 0.22);
}

.team-hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.title-white { color: #FFFFFF; }
.title-gold {
    background: var(--gradient-loreal);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    margin: 0 auto;
}

.team-section,
.team-section:nth-child(even),
.team-section:nth-child(odd) {
    padding: 100px 0;
    position: relative;
    background: #050507;
    overflow: hidden;
}

.team-section:nth-child(odd) {
    background: #08080C;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(255, 208, 0, 0.14);
    border: 1px solid rgba(255, 215, 0, 0.45);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--bright-gold);
    box-shadow: 0 0 28px rgba(255, 208, 0, 0.25);
}

.section-header h2 {
    font-size: clamp(2.1rem, 3.6vw, 3rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.section-description {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 620px;
    margin: 0 auto;
}

.premium-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.team-member-card,
.team-section .team-member-card,
.team-section:nth-child(odd) .team-member-card {
    background: var(--obsidian-card);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 26px;
    overflow: hidden;
    transition: all 0.45s var(--ease-fluid);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
}

.team-member-card:hover {
    transform: translateY(-10px);
    border-color: var(--bright-gold);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.7), 0 0 32px rgba(255, 208, 0, 0.22);
}

.card-image-wrapper {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid var(--primary-gold);
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s var(--ease-fluid);
}

.team-member-card:hover .card-image-wrapper img {
    transform: scale(1.07);
}

.card-content {
    padding: 28px 24px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.role-primary {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--bright-gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.gold-separator {
    width: 40px;
    height: 3px;
    background: var(--gradient-loreal);
    margin: 14px auto;
    border-radius: 2px;
}

.role-secondary {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.member-social-links {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.member-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 208, 0, 0.14);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: var(--bright-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s var(--ease-fluid);
}

.member-social-links a:hover {
    background: var(--primary-gold);
    color: #050507;
    transform: translateY(-3px);
}

.relative-z {
    position: relative;
    z-index: 2;
}

.scrolling-bg-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

.scrolling-bg-text span,
.team-section:nth-child(odd) .scrolling-bg-text span {
    display: inline-block;
    font-size: 13vw;
    font-weight: 800;
    color: rgba(255, 208, 0, 0.03);
    font-family: var(--font-display);
    letter-spacing: 10px;
    animation: scroll-text 40s linear infinite;
}

@keyframes scroll-text {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
