/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Normalisation pour tous les navigateurs */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Support pour les anciens navigateurs */
@supports not (display: flex) {
    .nav-menu {
        display: block;
    }
    .nav-menu li {
        display: inline-block;
        vertical-align: top;
    }
}

/* Améliorations spécifiques pour Samsung Internet */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .hero-content h1 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    .diamant-logo {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Améliorations pour Safari iOS */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    .hero-image {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .album-image {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Améliorations pour Edge et Internet Explorer */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .nav-menu {
        display: block;
    }
    
    .nav-menu li {
        display: inline-block;
        vertical-align: top;
    }
    
    .diamant-section {
        display: block;
    }
    
    .logo-container {
        float: left;
        width: 45%;
    }
    
    .diamant-text {
        float: right;
        width: 50%;
    }
}

/* Amélioration de l'expérience tactile sur mobile */
@media (hover: none) and (pointer: coarse) {
    /* Amélioration pour Samsung Internet et Safari */
    .hamburger {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Amélioration générale pour mobile */
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Prévention du zoom sur les inputs */
    input, textarea, select {
        font-size: 16px !important;
    }
    
    /* Amélioration des boutons tactiles */
    .hero-button, .cta-button, .diamant-button, .project-button {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    .cta-button,
    .diamant-button,
    .submit-button,
    .nav-menu a,
    .hamburger,
    .album-btn,
    .album-dot {
        min-height: 44px;
        min-width: 44px;
    }
    
    .social-link {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Amélioration des interactions tactiles */
    .album-btn {
        touch-action: manipulation;
    }
    
    .album-dot {
        touch-action: manipulation;
    }
    
    /* Éviter le zoom sur les inputs */
    input, textarea, select {
        font-size: 16px;
    }
    
    /* Amélioration des interactions tactiles pour Safari */
    .hamburger, .album-btn, .album-dot {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Amélioration pour Samsung Internet */
    .social-link, .nav-menu a {
        -webkit-tap-highlight-color: rgba(0, 123, 255, 0.3);
        -webkit-touch-callout: none;
    }
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0e1012;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Amélioration de la performance de rendu */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    /* Support pour les anciens navigateurs */
    font-size: 16px;
    line-height: 1.5;
}

/* Styles pour le header */
header {
    background-color: #0e1012;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
}

.nav-brand h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
    display: block; /* Visible par défaut */
}

.nav-menu {
    list-style: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 1rem;
}

/* Menu hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active .hamburger-line:nth-child(1) {
    -webkit-transform: rotate(-45deg) translate(-5px, 6px);
    -moz-transform: rotate(-45deg) translate(-5px, 6px);
    -ms-transform: rotate(-45deg) translate(-5px, 6px);
    -o-transform: rotate(-45deg) translate(-5px, 6px);
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    -webkit-transform: rotate(45deg) translate(-5px, -6px);
    -moz-transform: rotate(45deg) translate(-5px, -6px);
    -ms-transform: rotate(45deg) translate(-5px, -6px);
    -o-transform: rotate(45deg) translate(-5px, -6px);
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Menu mobile caché sur PC */
.mobile-menu {
    display: none;
}

.nav-overlay {
    display: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    color: #fff;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.social-link:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #87CEEB;
    color: white;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
}

/* Styles pour le menu déroulant */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0e1012;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 8px;
    margin: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 4px;
    border: 1px solid #007bff;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 16px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 40px;
    display: flex;
    align-items: center;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.dropdown-menu li a:hover {
    background: rgba(0, 123, 255, 0.3);
    color: #ffffff;
    transform: translateX(5px);
    border-color: #007bff;
}

/* Styles pour le contenu principal */
main {
    padding: 0;
    margin-top: 0; /* Supprime l'écart entre header et hero */
    position: relative;
    z-index: 1;
}

/* Amélioration de la lisibilité sur mobile */
@media (max-width: 768px) {
    main {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    main {
        margin-top: 0;
    }
}

/* Styles pour la hero section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 0; /* Supprime le margin négatif */
    padding-top: 0px; /* Supprime complètement l'espace pour coller au header */
}

.hero-image,
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-video {
    pointer-events: none;
}

.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0 0 2rem 0;
}

.hero-button {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.hero-button:hover {
    background-color: white;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Overlay pour améliorer la lisibilité du texte */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Styles pour la section de contenu */
.content-section {
    padding: 3rem 2rem;
    text-align: center;
    background-color: #0e1012;
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.content-section h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
}

.content-section .subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    margin: 1rem 0 0 0;
    font-weight: 400;
    font-style: italic;
}

/* Styles pour harmoniser toutes les boxes de projets */
.diamant-section {
    background-color: rgba(14, 16, 18, 0.8) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 123, 255, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    padding: 2rem !important;
    margin: 4rem 0 !important;
    transition: all 0.3s ease !important;
}

.diamant-section:hover {
    border-color: rgba(0, 123, 255, 0.6) !important;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3) !important;
}

/* Assurer la cohérence sur mobile */
@media (max-width: 768px) {
    .diamant-section {
        padding: 1.5rem !important;
        margin: 2rem 0 !important;
    }
}

@media (max-width: 480px) {
    .diamant-section {
        padding: 1rem !important;
        margin: 1.5rem 0 !important;
    }
}

/* Styles pour la section Diamant */
.diamant-section {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2rem;
    margin: 4rem 0;
    padding: 2rem;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    background-color: rgba(14, 16, 18, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(0, 123, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.diamant-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    border-radius: 12px;
}


.logo-container {
    flex: 0 0 auto;
    text-align: center;
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.diamant-logo {
    max-width: 450px;
    max-height: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
    display: block;
    margin: 0 auto;
    border: none;
    background: transparent;
}

.diamant-text {
    flex: 0 0 45%;
    text-align: left;
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.diamant-text h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #007bff;
    margin: 0 0 1rem 0;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
    width: 100%;
}

.diamant-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
    text-align: justify;
    width: 100%;
}

.diamant-button {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

.diamant-button:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Style spécifique pour le projet STAR-P */
.star-p-text {
    flex: 0 0 38%;
    margin-left: 6rem;
    align-items: flex-start;
}

.star-p-text .diamant-button {
    align-self: flex-start;
}

.image-text-container {
    /* Fallback pour les anciens navigateurs */
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 2rem 0;
    /* Support moderne */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.image-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: left;
}

.content-image {
    max-width: 100%;
    height: auto;
}

.left-image-container {
    margin-top: 1.5rem;
    text-align: center;
}

.left-image {
    max-width: 100%;
    height: auto;
}

.image-title {
    margin-top: 2rem;
    text-align: center;
}

.image-title h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Styles pour la section du bas */
.bottom-section {
    padding: 3rem 2rem;
    background-color: #f5f6fa;
    text-align: center;
}

.bottom-content {
    max-width: 1400px;
    margin: 0 auto;
}

.bottom-title {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 2rem 0;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.bottom-content-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.bottom-text-container {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-title-section {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.team-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    flex: 0 0 auto;
}

.team-info {
    flex: 1;
    text-align: left;
}

.team-dates {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    display: block;
    margin-bottom: 0.5rem;
}

.team-tagline {
    font-size: 1rem;
    font-style: italic;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
}

.bottom-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
    margin: 0 0 1rem 0;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.discover-button {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 1rem;
}

.discover-button:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.bottom-image-container {
    flex: 1;
    text-align: right;
}

.bottom-image {
    max-width: 120%;
    height: auto;
}

.text-container {
    text-align: left;
}

/* Styles pour le footer */
.footer {
    background-color: #0e1012;
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.25) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    /* Fallback pour les anciens navigateurs */
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /* Support moderne */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
    margin: 0 0 1rem 0;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin: 0 0 1rem 0;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    margin: 0 0 0.5rem 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin: 0 0 0.5rem 0;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social-link {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-link:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding: 1rem 2rem 0 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

.footer-map {
    margin-top: 1rem;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.footer-map iframe {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    filter: contrast(1.1) brightness(0.9);
}

/* Section Partenaires */
.partners-section {
    background-color: #0e1012;
    padding: 3rem 0;
    overflow: hidden;
    border-top: 1px solid #333;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.partners-container h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.partners-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Dégradés pour masquer les logos qui sortent de l'écran */
.partners-carousel::before,
.partners-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 2;
    pointer-events: none;
}

.partners-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0e1012, transparent);
}

.partners-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0e1012, transparent);
}

.partners-track {
    display: flex;
    animation: infiniteScroll 30s linear infinite;
    gap: 3rem;
    align-items: center;
    width: calc(200% + 15rem); /* Largeur pour contenir 2 séries + gaps */
}

.partner-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    min-width: 150px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    /* Transitions supprimées pour un défilement fluide */
    border: none;
}

/* Effet hover supprimé pour un défilement fluide */

.partner-logo img {
    max-height: 60px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    /* Transitions supprimées pour un défilement fluide */
}

/* Effet hover sur les images supprimé */

@-webkit-keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

@-moz-keyframes scroll {
    0% {
        -moz-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -moz-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

@keyframes infiniteScroll {
    0% {
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

/* Défilement continu sans pause */
.partners-carousel .partners-track {
    -webkit-animation: infiniteScroll 30s linear infinite;
    -moz-animation: infiniteScroll 30s linear infinite;
    -ms-animation: infiniteScroll 30s linear infinite;
    -o-animation: infiniteScroll 30s linear infinite;
    animation: infiniteScroll 30s linear infinite;
}

/* Pause au survol pour une meilleure UX */
.partners-carousel:hover .partners-track {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -ms-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .partners-container {
        padding: 2rem 1rem;
    }
    
    .partners-container h3 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .partners-carousel {
        height: 80px;
        margin: 2rem 0;
        overflow-x: auto;
    }
    
    .partner-logo {
        height: 60px;
        min-width: 120px;
        padding: 0.8rem;
        margin: 0 1rem;
        flex-shrink: 0;
    }
    
    .partner-logo img {
        max-height: 50px;
        max-width: 100px;
    }
    
    .partners-track {
        gap: 2rem;
        animation-duration: 25s;
    }
    
    /* Scrollbar personnalisée */
    .partners-carousel::-webkit-scrollbar {
        height: 6px;
    }
    
    .partners-carousel::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }
    
    .partners-carousel::-webkit-scrollbar-thumb {
        background: #007bff;
        border-radius: 3px;
    }
}

@media (max-width: 480px) {
    .partners-container {
        padding: 1.5rem 0.5rem;
    }
    
    .partners-container h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .partners-carousel {
        height: 70px;
        margin: 1.5rem 0;
    }
    
    .partner-logo {
        height: 50px;
        min-width: 100px;
        padding: 0.6rem;
        margin: 0 0.8rem;
    }
    
    .partner-logo img {
        max-height: 40px;
        max-width: 80px;
    }
    
    .partners-track {
        gap: 1.5rem;
        animation-duration: 30s;
    }
}

.title-section {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 0 0 auto;
}

.title-info {
    flex: 1;
    text-align: left;
}

.project-dates {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    display: block;
    margin-bottom: 0.5rem;
}

.project-tagline {
    font-size: 1rem;
    font-style: italic;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    text-align: justify;
}

/* Media Queries pour le responsive design */

/* Support pour les anciens navigateurs - fallback */
@media screen and (max-width: 1024px) {
    .content-section {
        padding: 2rem 1.5rem;
    }
}

/* Tablettes (1024px et moins) */
@media (max-width: 1024px) {
    .image-text-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .bottom-content-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .bottom-image-container {
        text-align: center;
    }
    
    .text-container {
        padding: 1.5rem;
    }
    
    /* Améliorer l'ordre des éléments sur tablette */
    .image-text-container .image-container {
        order: 1;
    }
    
    .image-text-container .text-container {
        order: 2;
    }
    
    .image-container {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .image-text-container {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }
    
    .text-container {
        padding: 1rem;
    }
    
    .image-container {
        padding: 1rem;
    }
    
    .text-container h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .text-container p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .text-container img {
        max-width: 100%;
        height: auto;
        margin: 1rem 0;
    }
    
    .image-container img {
        max-width: 100%;
        height: auto;
        margin: 1rem 0;
    }
    
    iframe {
        max-width: 100%;
        height: auto;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .image-text-container {
        padding: 0 0.25rem;
        gap: 1rem;
    }
    
    .text-container,
    .image-container {
        padding: 0.75rem;
    }
    
    .text-container h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .text-container p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }
    
    .text-container img,
    .image-container img {
        margin: 0.8rem 0;
        border-radius: 8px;
    }
    
    iframe {
        min-height: 180px;
        border-radius: 8px;
    }
}

/* Tablettes (768px et moins) */
@media (max-width: 768px) {
    /* Header responsive */
    header {
        padding: 0;
    }
    
    nav {
        padding: 0.8rem 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hamburger {
        display: flex;
        position: relative;
        right: 0;
        top: auto;
        transform: none;
        flex-shrink: 0;
    }

    .mobile-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 100%;
        height: 100vh;
        background-color: rgba(14, 16, 18, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 10000;
        overflow-y: auto;
    }

    .nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu li {
        margin: 0.2rem 1rem;
    }

    .mobile-menu li a {
        padding: 1rem 1.5rem;
        text-align: left;
        border-radius: 8px;
        display: block;
        font-size: 1rem;
        font-weight: 500;
        background: transparent;
        margin: 0;
        transition: all 0.3s ease;
        color: #ffffff;
        border-left: 3px solid transparent;
    }

    .mobile-menu li a:hover {
        background: rgba(0, 123, 255, 0.1);
        color: #007bff;
        border-left-color: #007bff;
        transform: translateX(5px);
    }
    
    .nav-brand h2 {
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    
    /* Navigation principale cachée sur mobile */
    .nav-menu {
        display: none;
    }
    
    nav ul li a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Liens sociaux cachés sur mobile */
    .social-links {
        display: none;
    }
    
    .social-link {
        padding: 0.4rem;
    }
    
    .social-link svg {
        width: 22px;
        height: 22px;
    }
    
    /* Menu déroulant responsive */
    .dropdown-menu {
        min-width: calc(100vw - 2rem);
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .dropdown-menu li {
        width: 100%;
    }
    
    .dropdown-menu li a {
        padding: 10px 6px;
        font-size: 0.85rem;
        text-align: center;
    }
    
    /* Hero section responsive */
    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    .hero-button {
        padding: 12px 24px;
        font-size: 1rem;
        width: auto;
        max-width: 280px;
    }
    
    /* Contenu principal responsive */
    .content-section {
        padding: 2rem 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .content-section h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .project-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .description-text {
        font-size: 0.95rem;
        line-height: 1.6;
        word-wrap: break-word;
    }
    
    /* Section bottom responsive */
    .bottom-section {
        padding: 2rem 1rem;
    }
    
    .bottom-image {
        max-width: 100%;
        height: auto;
    }
    
    /* Images responsive */
    .content-image, .projet-inline-media, .projet-inline-video {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }
    
    /* Footer responsive */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-social-links {
        justify-content: center;
    }
    
    /* Amélioration des espacements */
    .diamant-section,
    .objectives-section,
    .about-section {
        margin: 2rem 0;
        padding: 1.5rem 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .logo-container,
    .diamant-text,
    .objectives-text,
    .about-text {
        width: 100%;
        margin: 0;
    }
    
    .diamant-text, .objectives-text, .about-text {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 0.5rem;
    }
}

/* Support spécifique pour Samsung Internet */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .hero-content h1 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Support pour Safari iOS */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    .hero-image {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Améliorations pour Firefox */
@-moz-document url-prefix() {
    .hero-content h1 {
        -moz-font-feature-settings: "liga" 1;
        font-feature-settings: "liga" 1;
    }
    
    .diamant-logo {
        -moz-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Améliorations pour Chrome et Chromium */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .hero-content h1 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    .diamant-logo {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Améliorations pour Edge et Internet Explorer */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .nav-menu {
        display: block;
    }
    
    .nav-menu li {
        display: inline-block;
        vertical-align: top;
    }
    
    .diamant-section {
        display: block;
    }
    
    .logo-container {
        float: left;
        width: 45%;
    }
    
    .diamant-text {
        float: right;
        width: 50%;
    }
}

/* Améliorations pour Firefox */
@-moz-document url-prefix() {
    .hero-content h1 {
        -moz-font-feature-settings: "liga" 1;
        font-feature-settings: "liga" 1;
    }
    
    .diamant-logo {
        -moz-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Améliorations pour Samsung Internet */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .hero-content h1 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    .diamant-logo {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Améliorations pour Safari iOS */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    .hero-image {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .album-image {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Mobiles (600px et moins) */
@media (max-width: 600px) {
    /* Header mobile avec menu hamburger */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    nav {
        padding: 0.6rem 0.8rem;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-brand h2 {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }
    
    .hamburger {
        display: flex;
        position: relative;
        right: 0;
        top: auto;
        transform: none;
        flex-shrink: 0;
    }
    
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: rgba(14, 16, 18, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 10000;
        overflow-y: auto;
    }
    
    .nav-overlay {
        display: block;
    }
    
    .nav-menu-header {
        background: linear-gradient(135deg, #007bff, #0056b3);
        padding: 1rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu-title {
        color: white;
        font-size: 1.2rem;
        font-weight: 600;
        margin: 0;
    }
    
    .nav-menu-close {
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
        transition: background-color 0.3s ease;
    }
    
    .nav-menu-close:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .nav-menu-content {
        padding: 2rem 0;
        flex: 1;
    }
    
    /* Overlay sombre derrière le menu */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu.active {
        right: 0;
    }
    
    .mobile-menu li {
        margin: 0.2rem 1rem;
        width: auto;
    }
    
    .mobile-menu li a {
        padding: 1rem 1.5rem;
        text-align: left;
        border-radius: 8px;
        display: block;
        width: 100%;
        font-size: 1rem;
        font-weight: 500;
        background: transparent;
        border: none;
        margin: 0;
        transition: all 0.3s ease;
        color: #ffffff;
        border-left: 3px solid transparent;
    }
    
    .mobile-menu li a:hover {
        background: rgba(0, 123, 255, 0.1);
        color: #007bff;
        border-left-color: #007bff;
        transform: translateX(5px);
    }
    
    .social-links {
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        justify-content: center;
        z-index: 1000;
    }
    
    .social-link {
        padding: 0.8rem;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .social-link svg {
        width: 24px;
        height: 24px;
    }
    
    /* Menu déroulant mobile */
    .dropdown-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        width: 100vw;
        transform: none;
        border-radius: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .dropdown-menu li {
        width: 100%;
    }
    
    .dropdown-menu li a {
        padding: 12px 16px;
        font-size: 0.9rem;
        border-radius: 0;
        margin: 0;
    }
    
    /* Hero section mobile */
    .hero {
        height: 50vh;
        min-height: 300px;
        padding-top: 0px;
    }

    .hero-video {
        height: 50vh;
        min-height: 300px;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .hero-content {
        padding: 0 0.8rem;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        text-align: center;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .hero-button {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: auto;
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }
    
    /* Contenu mobile */
    .content-section {
        padding: 1.5rem 0.8rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .content-section h1 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
    }
    
    /* Section Diamant responsive mobile */
    .diamant-section {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.2rem 0.8rem;
        margin: 1.5rem 0;
        text-align: center;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .logo-container {
        order: 1;
        margin-bottom: 0.8rem;
    }
    
    .diamant-text {
        order: 2;
        align-items: center;
        width: 100%;
    }
    
    .diamant-logo {
        max-width: 200px;
        max-height: 120px;
        width: 100%;
        height: auto;
    }
    
    .diamant-text h2 {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 0.6rem;
        line-height: 1.2;
    }
    
    .diamant-text p {
        font-size: 0.85rem;
        text-align: center;
        line-height: 1.4;
        margin-bottom: 0.8rem;
        word-wrap: break-word;
    }
    
    .diamant-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        width: auto;
        text-align: center;
        align-self: center;
        max-width: 200px;
    }
    
    /* Style spécifique pour STAR-P sur mobile */
    .star-p-text {
        margin-left: 0;
        flex: none;
    }
    
    .title-section {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .project-title {
        font-size: 1.8rem;
    }
    
    .project-dates {
        font-size: 1rem;
    }
    
    .project-tagline {
        font-size: 0.9rem;
    }
    
    .description-text {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: left;
    }
    
    /* Images mobile */
    .image-container {
        text-align: center;
    }
    
    .content-image,
    .left-image {
        max-width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }
    
    .left-image-container {
        text-align: center;
    }
    
    /* Section bottom mobile */
    .bottom-section {
        padding: 1.5rem 1rem;
    }
    
    .team-title {
        font-size: 1.5rem;
    }
    
    .team-dates {
        font-size: 0.9rem;
    }
    
    .team-tagline {
        font-size: 0.9rem;
    }
    
    .bottom-text {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .discover-button {
        padding: 12px 24px;
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    
    /* Footer mobile */
    .footer {
        padding: 1.5rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .footer-social-link {
        padding: 0.5rem;
    }
    
    .footer-social-link svg {
        width: 18px;
        height: 18px;
    }
}

/* Très petits écrans (480px et moins) */
@media (max-width: 480px) {
    /* Header ultra mobile */
    nav {
        padding: 0.5rem 0.6rem;
    }
    
    .nav-brand h2 {
        font-size: 0.9rem;
        max-width: 120px;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    .hero {
        height: 45vh;
        min-height: 250px;
    }

    .hero-video {
        height: 45vh;
        min-height: 250px;
    }
    
    .hero-content {
        padding: 1rem 0.6rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
        padding: 0 0.3rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }
    
    .content-section {
        padding: 1.2rem 0.6rem;
    }
    
    .content-section h1 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }
    
    .project-title {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
        line-height: 1.2;
    }
    
    .description-text {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }
    
    .cta-button, .hero-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
        border-radius: 20px;
        margin-top: 0.8rem;
        width: auto;
        max-width: 200px;
    }
    
    .cta-button:hover, .hero-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    }
    
    .dropdown-menu li a {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
    }
    
    /* Améliorations spécifiques pour les sections de contenu */
    .diamant-section, .objectives-section, .about-section {
        margin: 1.2rem 0;
        padding: 1rem 0.6rem;
    }
    
    .diamant-text, .objectives-text, .about-text {
        font-size: 0.85rem;
        line-height: 1.5;
        padding: 0 0.3rem;
    }
    
    .diamant-text h2, .objectives-title, .about-title {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    /* Images ultra mobile */
    .content-image, .projet-inline-media, .projet-inline-video {
        max-width: 100%;
        height: auto;
        border-radius: 6px;
        margin: 0.8rem 0;
    }
    
    /* Espacement des images */
    .image-container {
        padding: 0.5rem;
        margin: 0.8rem 0;
    }
    
    /* Footer ultra mobile */
    .footer {
        padding: 1.2rem 0.6rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0 0.6rem;
    }
}

/* Très petits écrans (360px et moins) */
@media (max-width: 360px) {
    /* Header micro mobile */
    nav {
        padding: 0.4rem 0.5rem;
    }
    
    .nav-brand h2 {
        font-size: 0.8rem;
        max-width: 100px;
    }
    
    .hamburger-line {
        width: 18px;
        height: 2px;
    }
    
    .hero {
        height: 40vh;
        min-height: 200px;
    }
    
    .hero-content {
        padding: 0.8rem 0.4rem;
    }
    
    .hero-content h1 {
        font-size: 1.2rem;
        line-height: 1.1;
        margin-bottom: 0.6rem;
    }
    
    .hero-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.75rem;
        max-width: 180px;
    }
    
    .content-section {
        padding: 1rem 0.4rem;
    }
    
    .content-section h1 {
        font-size: 1.2rem;
        line-height: 1.1;
    }
    
    .project-title {
        font-size: 1.2rem;
        line-height: 1.1;
    }
    
    .description-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .cta-button, .hero-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.7rem;
        max-width: 160px;
    }
    
    .diamant-section {
        padding: 0.8rem 0.4rem;
        margin: 1rem 0;
    }
    
    .diamant-logo {
        max-width: 150px;
        max-height: 100px;
    }
    
    .diamant-text h2 {
        font-size: 1rem;
    }
    
    .diamant-text p {
        font-size: 0.75rem;
    }
    
    .diamant-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        max-width: 150px;
    }
    
    .dropdown-menu li a {
        padding: 6px 8px;
        font-size: 0.75rem;
    }
    
    /* Sections ultra compactes */
    .diamant-section, .objectives-section, .about-section {
        margin: 0.8rem 0;
        padding: 0.8rem 0.4rem;
    }
    
    .diamant-text, .objectives-text, .about-text {
        font-size: 0.75rem;
        line-height: 1.4;
        padding: 0 0.2rem;
    }
    
    .diamant-text h2, .objectives-title, .about-title {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
}

/* Styles pour la page Partenariats */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.partenaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partenaire-card {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #007bff;
}

.partenaire-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    border-color: #007bff;
}

.partenaire-logo {
    text-align: center;
    margin-bottom: 20px;
}

.partenaire-logo h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.partenaire-logo-img {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partenaire-logo a {
    text-decoration: none;
    display: inline-block;
}

.partenaire-logo a:hover .partenaire-logo-img {
    transform: scale(1.1);
}

.partenaire-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    text-align: center;
}

.partenaire-info p {
    color: #ffffff;
    line-height: 1.6;
    text-align: justify;
}

.devenir-partenaire-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

.devenir-partenaire-text h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.devenir-partenaire-text ul {
    list-style: none;
    padding: 0;
}

.devenir-partenaire-text li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: #ffffff;
    line-height: 1.6;
}

.devenir-partenaire-text li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

.contact-partenaire {
    background: #1a1a2e;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #007bff;
    border: 2px solid #007bff;
}

.contact-partenaire h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.contact-partenaire p {
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-partenaire strong {
    color: #007bff;
}

/* Media Queries pour Partenariats */
@media (max-width: 768px) {
    .partenaires-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partenaire-card {
        padding: 20px;
    }
    
    .partenaire-logo h3 {
        font-size: 2rem;
    }
    
    .devenir-partenaire-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-partenaire {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .partenaire-card {
        padding: 15px;
    }
    
    .partenaire-logo h3 {
        font-size: 1.8rem;
    }
    
    .partenaire-info h4 {
        font-size: 1.1rem;
    }
    
    .devenir-partenaire-text h3,
    .contact-partenaire h3 {
        font-size: 1.2rem;
    }
}









/* Styles pour les cartes de projets - Design Hexagonal Futuriste */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    perspective: 1000px;
}

.project-bubble {
    background: linear-gradient(145deg, #0a0a0f 0%, #1a1a2e 30%, #16213e 70%, #0f1419 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 100px rgba(0, 123, 255, 0.15);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(0, 123, 255, 0.2);
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform-style: preserve-3d;
}

.project-bubble::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 123, 255, 0.1), transparent, rgba(135, 206, 235, 0.1), transparent);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

.project-bubble::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 46, 0.9) 100%);
    border-radius: 18px;
    z-index: 1;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.project-bubble:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 120px rgba(0, 123, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: #007bff;
    background: linear-gradient(145deg, #0f0f15 0%, #1e1e30 30%, #1a2a40 70%, #0f1419 100%);
}

.project-bubble:hover::before {
    animation-duration: 5s;
}

.project-logo-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2) 0%, rgba(135, 206, 235, 0.1) 100%);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid rgba(0, 123, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    margin: 0 auto 1.5rem auto;
    box-shadow: 
        0 8px 25px rgba(0, 123, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.project-bubble:hover .project-logo-container {
    border-color: rgba(0, 123, 255, 0.8);
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.4) 0%, rgba(135, 206, 235, 0.2) 100%);
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 
        0 15px 40px rgba(0, 123, 255, 0.5),
        0 0 60px rgba(0, 123, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.project-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.4s ease;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 4px 12px rgba(0, 123, 255, 0.4));
}


.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    text-align: center;
    z-index: 2;
    position: relative;
}

.project-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00bfff 0%, #007bff 30%, #87CEEB 70%, #00ffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1rem 0;
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.project-dates {
    font-size: 1rem;
    color: #87CEEB;
    font-weight: 700;
    text-align: left;
    margin: 0 0 0.8rem 0;
    display: inline-block;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.2) 0%, rgba(0, 123, 255, 0.1) 100%);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 2px solid rgba(135, 206, 235, 0.4);
    width: fit-content;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.2);
    letter-spacing: 0.3px;
}

.project-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #ffffff;
    margin: 0 0 1rem 0;
    text-align: left;
    max-width: 280px;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.2px;
}

.project-button {
    display: inline-block;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #00bfff 100%);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4), 0 0 30px rgba(0, 123, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.project-button:hover {
    background: linear-gradient(135deg, #00bfff 0%, #007bff 50%, #0056b3 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.6), 0 0 50px rgba(0, 123, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
}

/* Responsive pour les bulles de projets circulaires */
@media (max-width: 768px) {
    .projects-grid {
        padding: 0 1rem;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .project-bubble {
        flex-direction: column;
        text-align: center;
        height: auto;
        width: 320px;
        padding: 1.5rem;
        border-radius: 160px;
        gap: 1rem;
    }
    
    .project-bubble:hover {
        border-radius: 165px;
    }
    
    .project-bubble::after {
        border-radius: 160px;
    }
    
    .project-bubble::before {
        top: 15px;
        right: 25px;
        width: 4px;
        height: 4px;
    }
    
    .project-bubble:nth-child(2)::before {
        top: 40px;
        right: 60px;
        width: 3px;
        height: 3px;
    }
    
    .project-bubble:nth-child(3)::before {
        top: 70px;
        right: 90px;
        width: 5px;
        height: 5px;
    }
    
    .project-logo-container {
        width: 200px;
        height: 200px;
        margin: 0 auto;
        background: transparent; /* Supprimer le fond bleu du cercle */
        border: none; /* Supprimer le contour */
    }
    
    .project-logo {
        width: 380px; /* Logo GIGANTESQUE pour un impact MONUMENTAL */
        height: 380px; /* Logo GIGANTESQUE pour un impact MONUMENTAL */
    }
    
    .project-content {
        padding: 0;
        text-align: center;
        max-width: none;
    }
    
    .project-content h2 {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .project-dates {
        text-align: center;
        margin: 0 auto 0.8rem auto;
    }
    
    .project-description {
        font-size: 0.9rem;
        text-align: center;
        max-width: none;
    }
    
    .project-button {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .project-bubble {
        width: 300px;
        padding: 1.2rem;
        border-radius: 150px;
        gap: 0.8rem;
    }
    
    .project-bubble:hover {
        border-radius: 155px;
    }
    
    .project-bubble::after {
        border-radius: 150px;
    }
    
    .project-bubble::before {
        top: 10px;
        right: 20px;
        width: 3px;
        height: 3px;
    }
    
    .project-bubble:nth-child(2)::before {
        top: 30px;
        right: 50px;
        width: 2px;
        height: 2px;
    }
    
    .project-bubble:nth-child(3)::before {
        top: 50px;
        right: 80px;
        width: 4px;
        height: 4px;
    }
    
    .project-logo-container {
        width: 180px;
        height: 180px;
        background: transparent; /* Supprimer le fond bleu du cercle */
        border: none; /* Supprimer le contour */
    }
    
    .project-logo {
        width: 350px; /* Logo GIGANTESQUE pour un impact MONUMENTAL */
        height: 350px; /* Logo GIGANTESQUE pour un impact MONUMENTAL */
    }
    
    .project-content h2 {
        font-size: 1.4rem;
    }
    
    .project-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .project-button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Styles pour la page Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #007bff;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    border-color: #007bff;
}

.contact-icon {
    color: #007bff;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.contact-info h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.contact-info p {
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.social-card {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #007bff;
    text-align: center;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    border-color: #007bff;
}

.social-link-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.social-icon {
    color: #007bff;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.social-card h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.social-card p {
    color: #ffffff;
    margin: 0;
    font-size: 0.9rem;
}

.form-container {
    max-width: 600px;
    margin: 40px auto 0;
}

.contact-form {
    background: #1a1a2e;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid #007bff;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #007bff;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
    background-color: #1a1a2e;
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: #007bff;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.submit-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Media Queries pour Contact */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 1rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card,
    .social-card {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
    }
    
    .contact-card h3,
    .social-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .contact-card p,
    .social-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .contact-card,
    .social-card {
        padding: 15px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .submit-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Barre de navigation des projets */
.projects-nav-bar {
    background: transparent;
    padding: 20px 0;
    margin-bottom: 40px;
    border-radius: 15px;
    border: 2px solid #007bff;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

.projects-nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-nav-item {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 123, 255, 0.3);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.project-nav-item:hover {
    background: rgba(0, 123, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    border-color: #007bff;
}

.project-nav-item:active {
    transform: translateY(0);
}

/* Responsive pour la barre de navigation des projets */
@media (max-width: 768px) {
    .projects-nav-bar {
        margin: 1rem 0;
    }
    
    .projects-nav-container {
        gap: 8px;
        padding: 0 10px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .projects-nav-container::-webkit-scrollbar {
        display: none;
    }
    
    .project-nav-item {
        padding: 8px 12px;
        font-size: 0.75rem;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: fit-content;
    }
}

@media (max-width: 480px) {
    .projects-nav-container {
        flex-direction: row;
        gap: 6px;
        overflow-x: auto;
    }
    
    .project-nav-item {
        padding: 6px 10px;
        font-size: 0.7rem;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: fit-content;
    }
}

/* Styles pour les images et vidéos inline dans projet.html */
.projet-inline-media {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.projet-inline-video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16/9;
    max-width: 100%;
}

.projet-inline-images-container {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.projet-inline-image {
    flex: 1;
    min-width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* Responsive pour les médias inline */
@media (max-width: 768px) {
    .projet-inline-media,
    .projet-inline-video {
        border-radius: 8px;
        max-width: 100%;
        height: auto;
    }
    
    .projet-inline-images-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 1rem;
    }
    
    .projet-inline-image {
        min-width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    /* Amélioration des iframes */
    iframe {
        max-width: 100%;
        height: auto;
        min-height: 200px;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .projet-inline-media,
    .projet-inline-video {
        border-radius: 6px;
        max-width: 100%;
        height: auto;
    }
    
    .projet-inline-images-container {
        gap: 10px;
        padding: 0 0.5rem;
    }
    
    /* Iframes ultra mobile */
    iframe {
        min-height: 150px;
        border-radius: 6px;
    }
}

/* Amélioration des espacements pour projet.html */
@media (max-width: 768px) {
    /* Réduire les espacements entre les sections */
    .content-section > div[style*="height: 80px"] {
        height: 40px !important;
    }
    
    /* Améliorer les espacements des images inline */
    div[style*="margin-top: 30px"],
    div[style*="margin-top: 20px"] {
        margin-top: 20px !important;
    }
    
    /* Responsive pour les conteneurs d'images */
    div[style*="display: flex; justify-content: center"] {
        padding: 0 10px !important;
    }
    
    /* Améliorer les espacements des vidéos */
    div[style*="margin: 40px auto"] {
        margin: 20px auto !important;
        padding: 0 10px !important;
    }
}

@media (max-width: 480px) {
    /* Encore plus d'espacement sur mobile */
    .content-section > div[style*="height: 80px"] {
        height: 30px !important;
    }
    
    div[style*="margin-top: 30px"],
    div[style*="margin-top: 20px"] {
        margin-top: 15px !important;
    }
    
    div[style*="margin: 40px auto"] {
        margin: 15px auto !important;
        padding: 0 5px !important;
    }
    
    /* Améliorer les espacements généraux */
    .content-section {
        padding: 1.5rem 0.5rem !important;
    }
}

/* Section de titre de projet */
.project-title-section {
    text-align: center;
    margin: 60px 0 40px 0;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.project-title-section .project-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.project-title-section .title-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.project-title-section .project-dates {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.project-title-section .project-tagline {
    font-style: italic;
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive pour la section de titre */
@media (max-width: 768px) {
    .project-title-section {
        margin: 40px 0 30px 0;
        padding: 30px 15px;
    }
    
    .project-title-section .project-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .project-title-section .project-tagline {
        font-size: 1rem;
    }
}

/* Styles pour le popup de sélection de langue */
.language-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.language-popup-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    max-width: 500px;
    width: 90%;
    animation: popupSlideIn 0.5s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.language-popup-content h3 {
    color: #007bff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.language-popup-content p {
    color: #cccccc;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.language-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.language-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 150px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.language-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

.language-btn:active {
    transform: translateY(-1px);
}

.flag {
    font-size: 1.5rem;
}

.english-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.english-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

/* Responsive pour le popup */
@media (max-width: 600px) {
    .language-popup-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .language-popup-content h3 {
        font-size: 1.5rem;
    }
    
    .language-popup-content p {
        font-size: 1rem;
    }
    
    .language-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .language-btn {
        width: 100%;
        min-width: auto;
    }
}

/* Styles spécifiques pour la page Diamant */

/* Section hero avec sous-titre */
.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Galerie d'images dans la section hero */
.hero-gallery {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-gallery-item {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-gallery-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(0 0 20px rgba(0, 123, 255, 0.3));
}

/* Responsive pour la galerie hero */
@media (max-width: 768px) {
    .hero-gallery {
        flex-direction: column;
        gap: 2rem;
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .hero-gallery-item {
        min-width: 100%;
        max-width: 100%;
    }
    
    .hero-gallery-image {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .hero-gallery {
        margin-top: 1.5rem;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-gallery-item {
        min-width: 100%;
    }
    
    .hero-gallery-image {
        border-radius: 10px;
    }
}

@media (max-width: 360px) {
    .hero-gallery {
        margin-top: 1rem;
        gap: 1rem;
        padding: 0 0.25rem;
    }
}

/* En-tête du projet */
.project-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.project-logo {
    flex-shrink: 0;
}

.project-logo .diamant-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.project-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-subtitle {
    font-size: 1.1rem;
    color: #007bff;
    font-weight: 500;
    opacity: 0.8;
}

/* Description du projet */
.project-description {
    margin-bottom: 3rem;
}

.project-description h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #007bff;
}

.project-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Spécifications techniques */
.specifications {
    margin-bottom: 3rem;
}

.specifications h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #007bff;
    text-align: center;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.spec-item {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 123, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.spec-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #007bff;
}

.spec-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Objectifs du projet */
.objectives {
    margin-bottom: 3rem;
}

.objectives h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #007bff;
}

.objectives-list {
    list-style: none;
    padding: 0;
}

.objectives-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    border-radius: 8px;
    border-left: 4px solid #28a745;
    transition: transform 0.3s ease;
}

.objectives-list li:hover {
    transform: translateX(10px);
}

/* Galerie d'images */
.gallery-section {
    margin-bottom: 3rem;
}

.gallery-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #007bff;
    text-align: center;
}

.gallery-grid {
    /* Fallback pour les anciens navigateurs */
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 1.5rem;
    /* Support moderne */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease, box-shadow 0.3s ease;
    -ms-transition: -ms-transform 0.3s ease, box-shadow 0.3s ease;
    -o-transition: -o-transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    -webkit-transition: -webkit-transform 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease;
    -ms-transition: -ms-transform 0.3s ease;
    -o-transition: -o-transform 0.3s ease;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

/* Section héritage */
.legacy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.legacy-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #007bff;
    text-align: center;
}

.legacy-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
    opacity: 0.9;
}

.legacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.legacy-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    -webkit-transition: -webkit-transform 0.3s ease, background 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease, background 0.3s ease;
    -ms-transition: -ms-transform 0.3s ease, background 0.3s ease;
    -o-transition: -o-transform 0.3s ease, background 0.3s ease;
    transition: transform 0.3s ease, background 0.3s ease;
}

.legacy-item:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.legacy-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #007bff;
}

.legacy-item p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Section titre principal DIAMANT */
.diamant-title-section {
    padding: 4rem 2rem;
    text-align: center;
}

.diamant-main-title {
    font-size: 8rem;
    font-weight: 900;
    margin: 0;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #004085 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 123, 255, 0.5);
    letter-spacing: 0.1em;
    -webkit-animation: glow 2s ease-in-out infinite alternate;
    -moz-animation: glow 2s ease-in-out infinite alternate;
    -ms-animation: glow 2s ease-in-out infinite alternate;
    -o-animation: glow 2s ease-in-out infinite alternate;
    animation: glow 2s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
    from {
        text-shadow: 0 0 30px rgba(0, 123, 255, 0.5);
    }
    to {
        text-shadow: 0 0 40px rgba(0, 123, 255, 0.8), 0 0 60px rgba(0, 123, 255, 0.3);
    }
}

@-moz-keyframes glow {
    from {
        text-shadow: 0 0 30px rgba(0, 123, 255, 0.5);
    }
    to {
        text-shadow: 0 0 40px rgba(0, 123, 255, 0.8), 0 0 60px rgba(0, 123, 255, 0.3);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 30px rgba(0, 123, 255, 0.5);
    }
    to {
        text-shadow: 0 0 40px rgba(0, 123, 255, 0.8), 0 0 60px rgba(0, 123, 255, 0.3);
    }
}

.diamant-logo-container {
    margin-top: 2rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.diamant-project-logo {
    width: 600px;
    height: 600px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 123, 255, 0.5));
}

/* Section A propos de nous */
.about-section {
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 3rem;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text {
    font-size: 1.3rem;
    line-height: 2.2;
    color: #ffffff;
    text-align: justify;
    opacity: 0.9;
    margin: 0;
    padding: 0 2rem;
}

/* Section Objectifs de DIAMANT */
.objectives-section {
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 3rem;
}

.objectives-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.objectives-text {
    font-size: 1.3rem;
    line-height: 2.2;
    color: #ffffff;
    text-align: justify;
    opacity: 0.9;
    margin: 0 0 1.5rem 0;
    padding: 0 2rem;
}

/* Section image de la fusée */
.diamant-image-section {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.diamant-fusee-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(0 0 20px rgba(0, 123, 255, 0.3));
}

/* Section Centrale Électronique */
.ce-section {
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 3rem;
}

.ce-text {
    font-size: 1.3rem;
    line-height: 2.2;
    color: #ffffff;
    text-align: justify;
    opacity: 0.9;
    margin: 0;
    padding: 0 2rem;
}

/* Galerie d'images CE */
.ce-gallery {
    margin-top: 3rem;
    /* Fallback pour les anciens navigateurs */
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    /* Support moderne */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.ce-image-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.ce-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(0 0 20px rgba(0, 123, 255, 0.3));
}

/* Image finale */
.final-image-section {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

/* Styles pour l'album photos */
.album-carousel {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.album-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.album-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0s ease-in-out;
}

.album-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Boutons de contrôle */
.album-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 123, 255, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.album-btn:hover {
    background: rgba(0, 123, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.album-btn-prev {
    left: 20px;
}

.album-btn-next {
    right: 20px;
}

/* Indicateurs */
.album-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.album-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.album-dot.active {
    background: #007bff;
    transform: scale(1.2);
}

.album-dot:hover {
    background: rgba(0, 123, 255, 0.8);
}

/* Pas d'animation CSS - géré par JavaScript */

/* Breakpoints supplémentaires pour un meilleur responsive */
@media (max-width: 1024px) {
    .album-carousel {
        max-width: 95%;
    }
    
    .album-container {
        height: 350px;
    }
}

@media (max-width: 900px) {
    .content-section {
        padding: 2rem 1.5rem;
    }
    
    .content-section h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .content-section {
        padding: 1.5rem 1rem;
    }
    
    .content-section h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* Amélioration du responsive pour les très petits écrans */
@media (max-width: 375px) {
    body {
        font-size: 14px;
    }
    
    .content-section h1 {
        font-size: 1.6rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
    }
    
    nav {
        padding: 0.8rem 1rem;
    }
    
    .nav-brand h2 {
        font-size: 1.1rem;
    }
}

/* Responsive pour l'album */
@media (max-width: 768px) {
    .album-carousel {
        margin: 2rem auto 0;
        max-width: 95%;
        border-radius: 15px;
    }
    
    .album-container {
        height: 300px;
    }
    
    .album-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
        opacity: 0.9;
    }
    
    .album-btn:hover {
        opacity: 1;
        transform: translateY(-50%) scale(1.05);
    }
    
    .album-btn-prev {
        left: 15px;
    }
    
    .album-btn-next {
        right: 15px;
    }
    
    .album-dot {
        width: 12px;
        height: 12px;
        margin: 0 3px;
    }
    
    .album-indicators {
        gap: 8px;
        margin-top: 20px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .album-carousel {
        margin: 1.5rem auto 0;
        max-width: 98%;
        border-radius: 12px;
    }
    
    .album-container {
        height: 250px;
    }
    
    .album-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .album-btn-prev {
        left: 10px;
    }
    
    .album-btn-next {
        right: 10px;
    }
    
    .album-indicators {
        gap: 6px;
        margin-top: 15px;
        justify-content: center;
    }
    
    .album-dot {
        width: 10px;
        height: 10px;
        margin: 0 2px;
    }
}

@media (max-width: 360px) {
    .album-container {
        height: 200px;
    }
    
    .album-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .album-btn-prev {
        left: 8px;
    }
    
    .album-btn-next {
        right: 8px;
    }
    
    .album-dot {
        width: 8px;
        height: 8px;
    }
}

.final-fusee-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(0 0 20px rgba(0, 123, 255, 0.3));
}

/* Section Plan général de Diamant */
.plan-section {
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 3rem;
}

.plan-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-description {
    margin-bottom: 3rem;
}

.plan-text {
    font-size: 1.3rem;
    line-height: 2.2;
    color: #ffffff;
    text-align: justify;
    opacity: 0.9;
    margin: 0 0 1rem 0;
    padding: 0 2rem;
}

.propulsion-section {
    margin-top: 2rem;
}

.propulsion-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.propulsion-text {
    font-size: 1.3rem;
    line-height: 2.2;
    color: #ffffff;
    text-align: left;
    opacity: 0.9;
    margin: 0 0 0.5rem 0;
    padding: 0 2rem;
}

/* Image finale fusée 5 */
.final-fusee-section {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

/* Responsive pour la page Diamant */
@media (max-width: 768px) {
    .diamant-main-title {
        font-size: 5rem;
    }
    
    .diamant-title-section {
        padding: 3rem 1rem;
    }
    
    .diamant-project-logo {
        width: 120px;
        height: 120px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1.1rem;
    }
    
    .objectives-title {
        font-size: 2rem;
    }
    
    .objectives-text {
        font-size: 1.1rem;
    }
    
    .diamant-image-section {
        margin-top: 3rem;
        padding: 0 1rem;
    }
    
    .ce-text {
        font-size: 1.1rem;
    }
    
    .ce-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .final-image-section {
        margin-top: 3rem;
        padding: 0 1rem;
    }
    
    .plan-title {
        font-size: 2rem;
    }
    
    .plan-text {
        font-size: 1.1rem;
    }
    
    .propulsion-title {
        font-size: 2rem;
    }
    
    .propulsion-text {
        font-size: 1.1rem;
    }
    
    .final-fusee-section {
        margin-top: 3rem;
        padding: 0 1rem;
    }
    
    .project-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .project-info h1 {
        font-size: 2rem;
    }
    
    .specs-grid,
    .gallery-grid,
    .legacy-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .diamant-main-title {
        font-size: 3.5rem;
    }
    
    .diamant-title-section {
        padding: 2rem 1rem;
    }
    
    .diamant-project-logo {
        width: 350px;
        height: 350px;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .about-section {
        padding: 0 2rem;
    }
    
    .about-text {
        padding: 0 1rem;
    }
    
    .objectives-title {
        font-size: 1.8rem;
    }
    
    .objectives-text {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .diamant-image-section {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .ce-text {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .ce-gallery {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .final-image-section {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .plan-title {
        font-size: 1.8rem;
    }
    
    .plan-text {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .propulsion-title {
        font-size: 1.8rem;
    }
    
    .propulsion-text {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .final-fusee-section {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .project-header {
        padding: 1rem;
    }
    
    .project-info h1 {
        font-size: 1.8rem;
    }
    
    .spec-item,
    .legacy-item {
        padding: 1rem;
    }
}

