/* Styles pour la page Qui Sommes-Nous */

/* Section Hero */
.hero-who {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #000000;
    padding-top: 150px;
    overflow: hidden;
}

.tag-icon {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    z-index: 2;
}

.tag-icon img {
    width: 120%;
    height: 120%;
    object-fit: contain;
}

.hero-who h1 {
    max-font-size: 100px;
    font-size: 130px;
    font-family: 'Alte Haas Grotesk Bold', sans-serif;
    text-align: center;
    margin-top: 160px;
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    width: 70%;
    line-height: 160px;
    word-break: break-word;
    hyphens: auto;
}

/* Section Équipe */
.team-section {
    background-color: white;
    padding: 80px 0;
    position: relative;
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 0px;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 26px;
    margin-top: 200px;
}

.team-member {
    flex: 1;
    max-width: 1000px;
    text-align: center;
}

.member-photo {
    width: 550px;
    height: 550px;
    margin: 0 auto 3.2rem;
    border-radius: 16px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Style spécial pour la photo d'Axel */
.team-member:first-child .member-photo img {
    filter: contrast(1.2) saturate(1.5) hue-rotate(-10deg);
}

.team-member h2 {
    font-family: 'Alte Haas Grotesk Bold', sans-serif;
    font-size: 110px;
    margin: 0rem 0;
    color: black;
}

.team-member h3 {
    font-family: 'Alte Haas Grotesk', sans-serif;
    font-size: 28px;
    color: black;
    margin-bottom: 0rem;
    font-weight: normal;
    line-height: 1;
    font-weight: 500;
    margin-top: 1rem;
}

.team-member p {
    font-family: 'Alte Haas Grotesk', sans-serif;
    color: black;
    margin: 0rem 0;
    margin-top: 1rem;
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
}

.member-details {
    margin-top: 0rem;
}

.member-details p {
    font-family: 'Alte Haas Grotesk', sans-serif;
    color: #000000;
    font-size: 28px;
    margin-top: 1rem;
    line-height: 0.8;
    font-weight: 500;
}

/* Section Pourquoi passer par nous */
.why-us {
    background-color: white;
    padding: 80px 0;
    text-align: center;
    padding-bottom: 500px;
}

.why-us h2 {
    font-family: 'Alte Haas Grotesk Bold', sans-serif;
    font-size: 110px;
    margin-bottom: 20px;
    margin-top: 150px;
    color: #000000;
    text-transform: uppercase;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1;
}

.why-us .subtitle {
    max-width: 70%;
    margin: 0 auto 60px;
    font-size: 28px;
    line-height: 1.5;
    color: #000000;
    padding: 0 20px;
    font-weight: 500;
    font-family: 'Mulish', sans-serif;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

/* Première ligne : 3 éléments avec espacement */
.stat-item:nth-child(-n+3) {
    grid-row: 1;
    padding: 0 2rem;
}

/* Deuxième ligne : 2 éléments centrés */
.stat-item:nth-last-child(-n+2) {
    grid-row: 2;
    position: absolute;
    transform: translateY(80%);
}

.stat-item:nth-last-child(2) {
    left: 33.333%;
    transform: translateX(-50%) translateY(80%);
}

.stat-item:nth-last-child(1) {
    left: 66.666%;
    transform: translateX(-50%) translateY(80%);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Ajout d'espace pour la deuxième ligne */
.stats-grid::after {
    content: '';
    grid-row: 2;
    height: 120px;
}

.stat-number {
    font-family: 'Alte Haas Grotesk Bold', sans-serif;
    font-size: 120px;
    color: #999DF2;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(153, 157, 242, 0.5);
    animation: numberPulse 2s ease-in-out infinite;
    position: relative;
}

.stat-label {
    font-family: 'Mulish', sans-serif;
    font-size: 25px;
    color: black;
    font-weight: 500;
}


@media (max-width: 768px) {
    .nav-links { display: none !important; }
    .navbar .cta-button { display: none !important; }
    .hamburger { display: flex !important; }
  }


/* Animation de rebond */
.stat-number.pop {
    animation: popBounce 0.5s cubic-bezier(0.36, 0, 0.66, -0.56) forwards;
}

/* Styles des particules */
.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #999DF2;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    box-shadow: 0 0 6px rgba(153, 157, 242, 0.8);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-who h1 {
        font-size: 100px;
    }
}
@media (max-width: 1024px) {
    .hero-who h1 {
        font-size: 120px;
    }
}
@media (max-width: 900px) {
    .hero-who h1 {
        font-size: 100px;
    }
}
@media (max-width: 768px) {
    .hero-who {
        min-height: 80vh;
        padding-top: 120px;
    }
    
    .hero-who h1 {
        font-size: 85px;
        line-height: 1.1;
        padding: 0 1rem;
        margin-top: 0;
        text-align: center;
        width: 92%;
    }
    
    .tag-icon {
        width: 120px;
        height: 120px;
        top: 30%;
    }
    
    .team-section {
        padding: 40px 0;
    }
    
    .team-container {
        flex-direction: column;
        gap: 3rem;
        padding: 0 1rem;
        margin-top: 100px;
    }
    
    .member-photo {
        width: 280px;
        height: 280px;
        margin-bottom: 2rem;
    }
    
    .team-member h2 {
        font-size: 48px;
        margin-bottom: 1rem;
    }
    
    .team-member h3 {
        font-size: 18px;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    
    .team-member p {
        font-size: 16px;
        padding: 0 1rem;
        line-height: 1.3;
    }
    
    .member-details p {
        font-size: 14px;
        padding: 0 1rem;
        line-height: 1.3;
    }
    
    .why-us {
        padding: 40px 0;
        padding-bottom: 40px;
        min-height: auto;
        overflow: visible;
    }
    
    .why-us h2 {
        font-size: 36px;
        margin-top: 40px;
        margin-bottom: 1.5rem;
        width: 90%;
        line-height: 1.1;
    }
    
    .why-us .subtitle {
        max-width: 90%;
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    
    .stats-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2.5rem !important;
        align-items: center !important;
        width: 100% !important;
        padding: 1.5rem 0 !important;
        position: static !important;
        margin: 0 auto !important;
    }

    .stat-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        position: static !important;
        transform: none !important;
        left: auto !important;
    }

    .stat-item:nth-last-child(-n+2) {
        position: static !important;
        transform: none !important;
        left: auto !important;
    }

    .stat-number {
        font-size: 60px !important;
        font-weight: bold !important;
        background: linear-gradient(135deg, #999DF2 0%, #7B7FE8 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        text-shadow: 2px 2px 15px rgba(153, 157, 242, 0.4) !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }

    .stat-label {
        font-size: 13px !important;
        text-align: center !important;
        font-weight: 700 !important;
        color: #000 !important;
        text-transform: uppercase !important;
        letter-spacing: 1.2px !important;
        margin-top: 0.5rem !important;
    }
}

@media (max-width: 600px) {
    .hero-who h1 {
        font-size: 65px;
        line-height: 1.1;
        padding: 0 1rem;
        margin-top: 0;
        text-align: center;
        width: 96%;
    }
}
@media (max-width: 480px) {
    .hero-who h1 {
        margin-top: 10px;
        width: 99%;
    }
    
    .tag-icon {
        width: 100px;
        height: 100px;
        top: 25%;
    }
    
    .team-container {
        gap: 2rem;
        margin-top: 80px;
    }
    
    .member-photo {
        width: 240px;
        height: 240px;
        margin-bottom: 1.5rem;
    }
    
    .team-member h2 {
        font-size: 36px;
        margin-bottom: 0.8rem;
    }
    
    .team-member h3 {
        font-size: 16px;
        margin-bottom: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .team-member p {
        font-size: 14px;
        padding: 0 0.5rem;
        line-height: 1.3;
    }
    
    .member-details p {
        font-size: 12px;
        padding: 0 0.5rem;
        line-height: 1.3;
    }
    
    .why-us {
        padding: 30px 0;
    }
    
    .why-us h2 {
        font-size: 28px;
        margin-top: 30px;
        width: 95%;
    }
    
    .why-us .subtitle {
        font-size: 14px;
        max-width: 95%;
        margin-bottom: 2.5rem;
    }
    
    .stats-grid {
        gap: 3.5rem;
        padding: 1.5rem;
    }

    .stat-item {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 64px;
    }
    
    .stat-label {
        font-size: 10px;
        letter-spacing: 1.2px;
    }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-who h1 {
        font-size: 100px;
        line-height: 1.1;
    }
    
    .tag-icon {
        width: 140px;
        height: 140px;
    }
    
    .team-container {
        gap: 60px;
        padding: 0 2rem;
    }
    
    .member-photo {
        width: 300px;
        height: 300px;
    }
    
    .team-member h2 {
        font-size: 70px;
    }
    
    .team-member h3 {
        font-size: 22px;
    }
    
    .team-member p {
        font-size: 18px;
    }
    
    .member-details p {
        font-size: 16px;
    }
    
    .why-us h2 {
        font-size: 70px;
        line-height: 1.1;
    }
    
    .why-us .subtitle {
        font-size: 20px;
        max-width: 80%;
    }
    
    .stats-grid {
        gap: 3rem;
        padding: 0 2rem;
    }
    
    .stat-number {
        font-size: 60px;
    }
    
    .stat-label {
        font-size: 16px;
    }
}

/* Animations */
@keyframes numberPulse {
    0% {
        text-shadow: 0 0 0px rgba(153, 157, 242, 0);
    }
    50% {
        text-shadow: 0 0 10px rgba(153, 157, 242, 0.5);
    }
    100% {
        text-shadow: 0 0 0px rgba(153, 157, 242, 0);
    }
}

@keyframes popBounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    75% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes particleAnimation {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    20% {
        opacity: 1;
        transform: translate(calc(var(--tx) * 0.3), calc(var(--ty) * 0.3)) scale(0.9);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0.1);
    }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.8rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

/* Ajuster aussi le padding quand la navbar est scrollée */
.navbar.scrolled {
    padding: 0.5rem 4rem;
}

.navbar .logo {
    margin-right: auto;
}

.navbar .nav-links {
    display: flex;
    gap: 3rem;
    margin-right: 2rem;
}

.navbar .nav-links a {
    font-family: 'Alte Haas Grotesk', sans-serif;
    font-size: 18px;
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.navbar .cta-button {
    padding: 0.7rem 1.8rem;
    background-color: #FFFFFF;
    color: #000000;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Alte Haas Grotesk', sans-serif;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-weight: 300;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.navbar .cta-button i {
    font-size: 18px;
    margin-right: 8px;
}

/* Ajustement pour le bouton sur fond blanc */
.navbar.on-white .cta-button {
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 15px;
    padding: 0.7rem 1.8rem;
}

/* Ajustement pour les liens sur fond blanc */
.navbar.on-white .nav-links a {
    color: #000000;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #333333;
    border: 1px solid #FFFFFF;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a1a1a;
    border: 1px solid #FFFFFF;
}

/* Pour Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #333333 transparent;
}

@media (max-width: 375px) {
    .hero-who h1 {
        font-size: 14px;
        margin-top: 4px;
        width: 99%;
        padding: 0 0.2rem;
    }
    .team-member h2 {
        font-size: 22px;
        margin-bottom: 0.5rem;
    }
    .team-member h3 {
        font-size: 14px;
        margin-bottom: 0.5rem;
        padding: 0 0.2rem;
    }
    .team-member p,
    .member-details p {
        font-size: 12px;
        padding: 0 0.2rem;
        line-height: 1.2;
    }
    .why-us h2 {
        font-size: 18px;
        margin-top: 10px;
        width: 99%;
    }
    .why-us .subtitle {
        font-size: 10px;
        max-width: 99%;
        margin-bottom: 1.5rem;
    }
}
.hero-who h1,
.why-us h2 {
    word-break: break-word;
    hyphens: auto;
} 