/* ============================================
   IDSW Institut - Styles Page Notre Équipe
   ============================================ */

:root {
    --black: #000000;
    --red: #DD0000;
    --gold: #FFCC00;
    --green: #2E7D32;
    --green-light: #4CAF50;
    --green-dark: #1B5E20;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E0E0E0;
    --gray-300: #BDBDBD;
    --gray-400: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #333333;
    --gray-900: #1A1A1A;
    --font-primary: 'Poppins', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* ============================================
   PAGE HERO
   ============================================ */
.team-page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 50%, var(--green-dark) 100%);
    padding: 100px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-overlay-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(221, 0, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 204, 0, 0.1) 0%, transparent 50%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--white), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.breadcrumb a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.breadcrumb .current {
    color: var(--white);
    font-weight: 600;
}

/* ============================================
   SECTION HEADERS COMMUNS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(221, 0, 0, 0.1), rgba(255, 204, 0, 0.1));
    color: var(--red);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border: 1px solid rgba(221, 0, 0, 0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 15px;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--black), var(--red), var(--gold));
    margin: 0 auto;
    border-radius: 2px;
}

.section-description {
    max-width: 700px;
    margin: 20px auto 0;
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ============================================
   SECTION PROMOTEUR
   ============================================ */
.promoter-section {
    padding: 80px 0;
    background-color: var(--white);
}

.promoter-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.promoter-image-wrapper {
    position: relative;
    padding: 40px;
    background: linear-gradient(135deg, var(--black), #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.promoter-image {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--gold);
    box-shadow: 0 0 0 10px rgba(255, 204, 0, 0.2), 0 0 0 20px rgba(255, 204, 0, 0.1);
}

.promoter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.promoter-image:hover img {
    transform: scale(1.1);
}

.promoter-image-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px dashed rgba(255, 204, 0, 0.5);
    border-radius: 50%;
    animation: rotateBorder 20s linear infinite;
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.promoter-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--red);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.promoter-badge i {
    color: var(--gold);
}

.promoter-info {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promoter-header {
    margin-bottom: 15px;
}

.promoter-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 5px;
}

.promoter-role {
    display: inline-block;
    background: linear-gradient(135deg, var(--red), #C62828);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.promoter-profile-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    color: var(--black);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    border-left: 3px solid var(--gold);
}

.promoter-profile-tag i {
    color: var(--red);
}

.promoter-bio {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.promoter-skills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.skill-item i {
    color: var(--green);
    font-size: 1.1rem;
}

.promoter-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-icon:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   SECTION COORDONNATRICE
   ============================================ */
.coordinator-section {
    padding: 80px 0;
    background-color: var(--gray-50);
}

.coordinator-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.coordinator-image-wrapper {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
}

.coordinator-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.coordinator-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coordinator-image-accent {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.coordinator-info {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coordinator-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 5px;
}

.coordinator-role {
    display: inline-block;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.coordinator-profiles {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.profile-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    color: var(--black);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
}

.profile-tag i {
    color: var(--red);
}

.profile-tag.highlight {
    background: rgba(255, 204, 0, 0.15);
    border: 1px solid var(--gold);
}

.profile-tag.highlight i {
    color: #DAA520;
}

.coordinator-bio {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.coordinator-achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.achievement-item:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.achievement-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), #C62828);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
}

.achievement-text {
    display: flex;
    flex-direction: column;
}

.achievement-number {
    font-weight: 700;
    color: var(--black);
    font-size: 1.1rem;
}

.achievement-label {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* ============================================
   SECTION CORPS ENSEIGNANT
   ============================================ */
.teachers-section {
    padding: 80px 0;
    background-color: var(--white);
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.teacher-card {
    perspective: 1000px;
}

.teacher-card-inner {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.teacher-card-inner:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.teacher-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
}

.teacher-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.teacher-card-inner:hover .teacher-image-container img {
    transform: scale(1.08);
}

.teacher-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.teacher-card-inner:hover .teacher-overlay {
    opacity: 1;
}

.teacher-overlay-content {
    display: flex;
    gap: 10px;
}

.teacher-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.teacher-social-link:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-3px);
}

.teacher-card-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--black), var(--red), var(--gold));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.teacher-card-inner:hover .teacher-card-stripe {
    transform: scaleX(1);
}

.teacher-info-card {
    padding: 25px 20px;
    text-align: center;
}

.teacher-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.teacher-profiles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 12px;
}

.teacher-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.teacher-tag i {
    color: var(--red);
    font-size: 0.75rem;
}

.teacher-tag.highlight-tag {
    background: rgba(255, 204, 0, 0.15);
    border: 1px solid var(--gold);
}

.teacher-tag.highlight-tag i {
    color: #DAA520;
}

.teacher-expertise {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   SECTION CTA
   ============================================ */
.team-cta-section {
    padding: 60px 0 80px;
    background-color: var(--white);
}

.cta-box {
    background: linear-gradient(135deg, var(--black), #1a1a1a);
    border-radius: var(--radius-lg);
    padding: 60px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.05) 0%, transparent 70%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-box-content {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-box-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-aos] {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(40px);
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .teachers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .page-hero-title {
        font-size: 2.5rem;
    }
    
    .promoter-card {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .promoter-info {
        padding: 30px;
    }
    
    .coordinator-card {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .coordinator-info {
        padding: 30px;
    }
    
    .coordinator-image-wrapper {
        padding: 40px 30px;
    }
    
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .coordinator-achievements {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .promoter-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .promoter-image-wrapper {
        padding: 30px;
    }
    
    .promoter-image {
        width: 200px;
        height: 200px;
    }
    
    .promoter-info {
        padding: 25px;
    }
    
    .promoter-name {
        font-size: 1.5rem;
    }
    
    .promoter-skills {
        grid-template-columns: 1fr;
    }
    
    .coordinator-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .coordinator-image {
        width: 200px;
        height: 200px;
    }
    
    .coordinator-image-accent {
        width: 230px;
        height: 230px;
    }
    
    .coordinator-name {
        font-size: 1.5rem;
    }
    
    .coordinator-achievements {
        grid-template-columns: 1fr 1fr;
    }
    
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .teacher-image-container {
        height: 250px;
    }
    
    .cta-box {
        padding: 40px 25px;
    }
    
    .cta-box h2 {
        font-size: 1.6rem;
    }
    
    .cta-box-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 1.6rem;
    }
    
    .page-hero-subtitle {
        font-size: 1rem;
    }
    
    .promoter-image {
        width: 160px;
        height: 160px;
    }
    
    .promoter-badge {
        bottom: 10px;
        right: 10px;
        font-size: 0.75rem;
        padding: 8px 15px;
    }
    
    .promoter-name {
        font-size: 1.3rem;
    }
    
    .coordinator-image {
        width: 160px;
        height: 160px;
    }
    
    .coordinator-name {
        font-size: 1.3rem;
    }
    
    .coordinator-achievements {
        grid-template-columns: 1fr;
    }
    
    .teachers-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .teacher-image-container {
        height: 300px;
    }
    
    .teacher-card-inner:hover {
        transform: translateY(-5px);
    }
}