/* Modern Technical Team Screen CSS */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

.equipe-container {
    --primary-color: #1a1a2e;
    --accent-color: #ff7e5f;
    --text-color: #2c3e50;
    --card-bg: #ffffff;
    --bg-white: #ffffff;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.equipe-container {
    padding: 60px 20px;
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    background: var(--bg-white);
}

/* Hero Section */
.hero-team {
    text-align: center;
    margin-bottom: 70px;
    animation: fadeInDown 0.8s ease-out;
}

.logos-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 40px;
}

.logos-wrapper img {
    height: 80px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
    transition: all 0.4s ease;
}

.logos-wrapper img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.hero-team h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 10px 0;
    letter-spacing: -1.5px;
}

.hero-team .subtitle {
    color: #555;
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 700px;
    margin: 15px auto;
}

/* Team Grid */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
}

/* Team Card - Elevated Variant */
.team-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    width: calc(33.333% - 35px);
    min-width: 320px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    border-top: 4px solid var(--accent-color); /* Highlight Top Border */
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.7s ease-out backwards;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 126, 95, 0.2);
    border-top-width: 6px;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 126, 95, 0.1);
    color: var(--accent-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.team-card:hover .card-icon {
    background: var(--accent-color);
    color: white;
    transform: rotateY(180deg);
}

.card-header {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.team-member-list {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.team-member-list br {
    display: block;
    margin: 5px 0;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .team-card { width: calc(50% - 25px); }
}

@media (max-width: 600px) {
    .team-card { width: 100%; }
    .hero-team h1 { font-size: 1.8rem; }
}

/* Floating Fox Button integration fix if needed */
.fox-assistant-btn {
    bottom: 30px !important;
    right: 30px !important;
}
