/* ====================================
   1. VARIABLES DE BASE
   ==================================== */
   :root {
    --primary: #ffa500;  /* Orange doré - harmonisé avec page d'accueil */
    --secondary: #3498db;
    --text: #e6e6fa;     /* Harmonisé avec page d'accueil */
    --bg: #1b1b32;       /* Harmonisé avec page d'accueil */
    --card-bg: rgb(42, 44, 77);
    --card-hover: rgb(47, 49, 86);
    --gradient: linear-gradient(145deg, var(--card-bg), #3d3d5c);
    --box-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
    --transition: all 0.3s ease;
    --accent-color: var(--primary);
}

body {
    font-family: 'Press Start 2P', cursive;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
}

main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* Container et wrapper */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.content-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* ====================================
   2. AMÉLIORATIONS TYPOGRAPHIQUES
   ==================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    line-height: 1.3;
}

h2 {
    color: var(--primary);
    font-size: 1.7rem;
    margin: 0 0 1.5rem;
}

p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Section headers */
.section-header {
    width: 100%;
    text-align: center;
    margin-bottom: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-icon {
    color: var(--primary);
    font-size: 2rem;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 50%;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.section-header h2 {
    color: var(--primary);
    font-size: 1.7rem;
    margin: 0;
}

/* ====================================
   3. HERO SECTION AMÉLIORÉE
   ==================================== */
.hero {
    width: 100%;
    max-width: 1200px;
    position: relative;
    height: 55vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    margin: 2.5rem auto;
    border: 2px solid var(--primary);
    box-shadow: var(--box-shadow);
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: transform 0.5s ease;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
    max-width: 800px;
}

.hero:hover .hero-image {
    transform: scale(1.05);
}

.hero:hover .hero-content {
    transform: translateY(-5px);
}

.glitch-logo {
    font-size: 2.5rem;
    color: var(--primary);
    text-shadow: 3px 3px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
    animation: glitch 5s infinite linear alternate-reverse;
}

.hero-content p {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ====================================
   4. SECTIONS DE CONTENU
   ==================================== */
/* Présentation section */
.presentation-section {
    width: 100%;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--primary);
    box-shadow: var(--box-shadow);
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.presentation-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.2);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-list li strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.feature-list li ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    list-style-type: circle;
}

.feature-list li ul li {
    margin-bottom: 0.4rem;
}

/* Section Mon Poste */
.poste-section {
    width: 100%;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--primary);
    box-shadow: var(--box-shadow);
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poste-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.2);
}

.poste-content {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 2.5rem;
    align-items: start;
}

.poste-text {
    padding-right: 1rem;
}

.poste-text h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.poste-text p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.poste-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.poste-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.poste-list i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.poste-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid var(--primary);
}

.poste-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.poste-image img:hover {
    transform: scale(1.05);
}

/* Section Écosystème */
.ecosystem-section {
    width: 100%;
    padding: 2.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 2px solid var(--primary);
    box-shadow: var(--box-shadow);
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ecosystem-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.2);
}

.ecosystem-intro {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.connect-icon {
    color: var(--primary);
    font-size: 1.8rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.ecosystem-intro:hover .connect-icon {
    transform: scale(1.1);
    background: rgba(255, 165, 0, 0.2);
}

/* Cards amélioration */
.role-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.card {
    background: rgba(30, 30, 60, 0.3);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--primary);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.2);
}

.card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.card ul {
    padding-left: 0.5rem;
    list-style: none;
}

.card li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.list-icon {
    color: var(--primary);
    font-size: 1rem;
}

/* Tech Grid optimisée */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
}

.tech-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: 12px;
    border: 2px solid var(--primary);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--box-shadow);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.2);
}

.tech-image-container {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--primary);
}

.tech-card img {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 180px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.tech-card:hover img {
    transform: scale(1.05);
}

.tech-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tech-content h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.tech-detail-icon {
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 1rem;
}

.tech-content p {
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    margin: 0;
}

/* Styles pour la section Missions */
.missions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

.mission-box {
    perspective: 1000px;
    height: 400px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.mission-box:hover {
    transform: translateY(-10px);
}

.mission-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.mission-box:hover .mission-box-inner {
    transform: rotateY(180deg);
}

.mission-box-front, .mission-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border: 2px solid var(--primary);
    background: var(--card-bg);
    overflow: hidden;
}

.mission-box-front {
    background: linear-gradient(145deg, var(--card-bg), var(--card-hover));
}

.mission-box-front i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    background: rgba(255, 165, 0, 0.1);
    padding: 1.2rem;
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.2);
}

.mission-box:hover .mission-box-front i {
    transform: scale(1.15) rotate(360deg);
    background: rgba(255, 165, 0, 0.2);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.3);
}

.mission-box-front h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.mission-box-back {
    background: linear-gradient(145deg, var(--card-hover), var(--card-bg));
    transform: rotateY(180deg);
}

.mission-box-back p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text);
}

.mission-box-back ul {
    list-style: none;
    padding: 0;
    text-align: left;
    width: 100%;
}

.mission-box-back li {
    margin: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text);
}

.mission-box-back li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.mission-box-back li:hover:before {
    transform: translateX(5px);
}

@keyframes glitch {
    0% { transform: translate(0); text-shadow: 3px 3px rgba(0,0,0,0.5); }
    20% { transform: translate(-2px, 2px); text-shadow: -3px -3px rgba(255, 165, 0, 0.3); }
    40% { transform: translate(-2px, -2px); text-shadow: 3px -3px rgba(255, 165, 0, 0.3); }
    60% { transform: translate(2px, 2px); text-shadow: -3px 3px rgba(255, 165, 0, 0.3); }
    80% { transform: translate(2px, -2px); text-shadow: 3px 3px rgba(255, 165, 0, 0.3); }
    100% { transform: translate(0); text-shadow: 3px 3px rgba(0,0,0,0.5); }
}

/* ====================================
   5. BOUTONS ET CONTRÔLES
   ==================================== */
/* Bouton Organisation */
.org-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem auto;
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    font-family: inherit;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.org-btn:hover {
    transform: translateY(-2px);
    background-color: var(--primary);
    color: var(--bg);
    box-shadow: var(--box-shadow);
}

.org-icon {
    font-size: 1.3rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 100;
    padding: 1rem;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 85vh;
    margin: 2rem auto;
    background: var(--bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--primary);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.2);
}

.modal-image-container {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.modal-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: top center;
    transition: transform 0.3s ease;
}

/* Ajout des contrôles de zoom */
.zoom-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 102;
}

.zoom-btn {
    background: var(--bg);
    color: var(--primary);
    border: 2px solid var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.zoom-btn:hover {
    background: var(--primary);
    color: var(--bg);
    transform: scale(1.1);
}

.close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg);
    color: var(--primary);
    border: 2px solid var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 101;
}

.close-btn:hover {
    transform: rotate(90deg);
    background: var(--primary);
    color: var(--bg);
}

/* ====================================
   6. FOOTER
   ==================================== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    margin-top: 3rem;
    width: 100%;
    border-top: 2px solid var(--primary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    font-size: 0.7rem;
    margin: 0;
}

.footer-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.7rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary);
}

/* ====================================
   7. ANIMATIONS
   ==================================== */
@keyframes glitch {
    0% { transform: translate(0); text-shadow: 3px 3px rgba(0,0,0,0.5); }
    20% { transform: translate(-2px, 2px); text-shadow: -3px -3px rgba(255, 165, 0, 0.3); }
    40% { transform: translate(-2px, -2px); text-shadow: 3px -3px rgba(255, 165, 0, 0.3); }
    60% { transform: translate(2px, 2px); text-shadow: -3px 3px rgba(255, 165, 0, 0.3); }
    80% { transform: translate(2px, -2px); text-shadow: 3px 3px rgba(255, 165, 0, 0.3); }
    100% { transform: translate(0); text-shadow: 3px 3px rgba(0,0,0,0.5); }
}

/* ====================================
   8. MEDIA QUERIES
   ==================================== */
@media (max-width: 1400px) {
    .container, main, .hero {
        max-width: 90%; /* Utilisation dynamique de l'espace sur grands écrans */
    }
}

@media (max-width: 1200px) {
    .container, main, .hero {
        max-width: 95%;
    }
    
    .modal-content {
        width: 95%;
        height: 80vh;
        padding: 1.2rem;
    }
    
    .hero {
        height: 45vh;
        min-height: 350px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .container {
        margin: 1.5rem auto;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .missions-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .presentation-section,
    .poste-section,
    .ecosystem-section {
        padding: 1.5rem;
    }
    
    .poste-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .poste-text {
        padding-right: 0;
    }
    
    .poste-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .role-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        margin: 1.5rem auto;
    }
    
    .hero {
        height: 40vh;
        min-height: 300px;
        margin: 1.5rem auto;
    }
    
    .glitch-logo {
        font-size: 1.5rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .section-icon {
        font-size: 1.8rem;
        padding: 0.7rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .missions-container {
        grid-template-columns: 1fr;
    }
    
    .presentation-section,
    .poste-section,
    .ecosystem-section {
        padding: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .mission-box {
        height: 350px;
    }
    
    .mission-box-front i {
        font-size: 3rem;
        padding: 0.8rem;
    }
    
    .mission-box-front h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.8rem;
        margin: 1rem auto;
    }
    
    .hero {
        height: 35vh;
        min-height: 250px;
        margin: 1rem auto;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .glitch-logo {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    .section-header {
        gap: 0.6rem;
        margin-bottom: 1.5rem;
    }
    
    .section-icon {
        font-size: 1.5rem;
        padding: 0.6rem;
    }
    
    .section-header h2 {
        font-size: 1.2rem;
    }
    
    .presentation-section,
    .poste-section,
    .ecosystem-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .org-btn {
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
    }
    
    .tech-image-container {
        height: 150px;
    }
    
    .tech-card img {
        max-height: 130px;
    }
    
    .mission-box {
        height: 300px;
    }
    
    .zoom-btn, .close-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .modal-content {
        padding: 1rem;
        height: 75vh;
    }
}

.enterprise-container {
    padding: var(--space-xl);
    background-color: var(--primary-bg);
    min-height: 100vh;
}

.enterprise-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.enterprise-title {
    color: var(--accent);
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

.enterprise-subtitle {
    color: var(--text-primary);
    font-size: var(--text-md);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.info-card {
    background-color: var(--darker-bg);
    border-radius: var(--border-radius-md);
    padding: var(--space-lg);
    border: var(--border-width-md) solid var(--accent);
    transition: var(--transition-base);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card-title {
    color: var(--accent);
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.info-card-content {
    color: var(--text-primary);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: var(--space-xl) auto;
    padding: var(--space-xl) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: var(--border-width-md);
    height: 100%;
    background-color: var(--accent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-xl);
    width: 50%;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    position: relative;
    padding: var(--space-lg);
    background-color: var(--darker-bg);
    border-radius: var(--border-radius-md);
    border: var(--border-width-md) solid var(--accent);
    transition: var(--transition-base);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-date {
    color: var(--accent);
    font-size: var(--text-sm);
    margin-bottom: var(--space-sm);
}

.timeline-title {
    color: var(--text-primary);
    font-size: var(--text-md);
    margin-bottom: var(--space-sm);
}

.timeline-description {
    color: var(--text-primary);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* Media Queries standardisées */
@media (max-width: var(--desktop)) {
    .enterprise-container {
        padding: var(--space-lg);
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: var(--tablet)) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: var(--space-xl);
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
}

@media (max-width: var(--mobile)) {
    .enterprise-container {
        padding: var(--space-md);
    }
    
    .enterprise-title {
        font-size: var(--text-lg);
    }
    
    .enterprise-subtitle {
        font-size: var(--text-sm);
    }
    
    .timeline-content {
        padding: var(--space-md);
    }
}

/* Styles pour la grille de présentation */
.presentation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.presentation-box {
    background: var(--card-bg);
    border-radius: 15px;
    border: 2px solid var(--primary);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.presentation-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.2);
}

.presentation-box-header {
    background: linear-gradient(145deg, var(--card-bg), var(--card-hover));
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid var(--primary);
}

.presentation-box-header i {
    font-size: 2rem;
    color: var(--primary);
    background: rgba(255, 165, 0, 0.1);
    padding: 0.8rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.presentation-box:hover .presentation-box-header i {
    transform: scale(1.1) rotate(360deg);
    background: rgba(255, 165, 0, 0.2);
}

.presentation-box-header h3 {
    color: var(--primary);
    margin: 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.presentation-box-content {
    padding: 1.5rem;
}

.presentation-box-content p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.presentation-box-content strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.objectives-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.objectives-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0.8rem 0;
    padding-left: 0.5rem;
    transition: all 0.3s ease;
}

.objectives-list li i {
    color: var(--primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.objectives-list li:hover {
    transform: translateX(10px);
}

.objectives-list li:hover i {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .presentation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .presentation-box-header {
        padding: 1.2rem;
    }
    
    .presentation-box-header i {
        font-size: 1.8rem;
        padding: 0.6rem;
    }
    
    .presentation-box-content {
        padding: 1.2rem;
    }
}