/* === VARIABLES CSS MODERNES === */
:root {
    --primary: #4F46E5;
    --secondary: #F3E9E1;
    --text-dark: #111827;
    --text-dark-on-white: #F9FAFB;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --gray-dark: #1F2937;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --gradient-primary: linear-gradient(135deg, #2563eb 20%, #111827 50%);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET ET BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin-top: 45px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #F9FAFB;
}





/* === HEADER FIXE === */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100; /* Augmenté */
    background: rgba(20, 20, 20, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    height: 64px;
    min-height: 60px;
    position: relative;
    z-index: 101; /* Ajouté */
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #eee;
    text-decoration: none;
    height: 40px;
    flex-shrink: 0;
}

.logo svg {
    margin-right: 0.5rem;
}

/* Menu principal - Desktop */
.nav-menu {
    display: flex;
    list-style: none;
    font-size: 0.9rem;
    gap: 1.6rem;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #A5B4FC;
}

nav a {
    position: relative;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: orange;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}


/* Conteneur pour langue + burger */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    z-index: 102; /* Ajouté */
    position: relative; /* Ajouté */
}

/* Sélecteur de langue */
.lang-selector select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    min-width: 120px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}


.lang-selector select option {
    background-color: #DCDCDC; 
    color: #000;
}





/* MENU BURGER */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.2rem; /* Augmenté pour meilleure zone tactile */
    z-index: 103; /* Très élevé */
    position: relative;
    background: transparent;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    min-width: 44px; /* Taille minimale pour mobile */
    min-height: auto; /* Taille minimale pour mobile */
    height: auto;
    justify-content: center; /* Centre les spans */
}


.burger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 1px 0; /* Réduit pour compenser le padding */
    transition: all 0.3s ease;
    border-radius: 2px;
    pointer-events: none;
    display: block; /* Ajouté pour Chrome mobile */
}


/* Animation du burger */
.burger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive */
/* Menu mobile - Améliorations Chrome mobile */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 4%;
        gap: 0.5rem;
        touch-action: manipulation;
    }
    
    .logo {
        font-size: 1.2rem;
        z-index: 101; /* Ajouté */
    }
    
    .lang-selector select {
        min-width: 100px;
        padding: 0.4rem 1.5rem 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background: rgba(20, 20, 20, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 2rem 0;
        z-index: 99; /* Sous le burger */
        transform: none;
        height: calc(100vh - 64px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        will-change: transform;
    }
    
    .nav-menu.active {
        left: 0;
        transform: translateZ(0);
    }
    
    
    .nav-menu li {
        margin: 0.4rem 0;
    }
    
    .nav-menu a {
        font-size: 1rem;
        padding: 0.5rem 0.5rem;
        display: block;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Afficher le burger sur mobile */
    .burger {
        display: flex;
        order: 3; /* Force le burger à la fin */
    }
    
    .nav-controls {
        order: 2; /* Place les contrôles au milieu */
    }
    
    .logo {
        order: 1; /* Logo en premier */
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }
    
    .lang-selector select {
        min-width: 80px;
        font-size: 0.7rem;
        padding: 0.3rem 1.2rem 0.3rem 0.5rem;
    }
}

/* Styles spécifiques pour Chrome mobile */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .burger {
        -webkit-appearance: none;
        -webkit-touch-callout: none;
        transform: translateZ(0); /* Force l'accélération matérielle */
    }
    
    .nav-menu.active {
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
    }
}

/* Animation du burger - Optimisée pour Chrome mobile */
.burger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    -webkit-transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    -webkit-transform: rotate(45deg) translate(-5px, -6px);
}

/* Temporaire - pour débugger (à supprimer après) */
.burger:active {
    background: rgba(255, 0, 0, 0.3) !important;
}














/* === HERO SECTION === */
.hero-gradient {
    background: rgba(20, 20, 20, 0.95);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    z-index: 1;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    width: 100%;
    text-align: center;
    order: 1;
}

.hero-content h1 {
    font-size: 4rem !important;;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content p {
    text-align: left;
    font-size: 1.2rem !important;;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    order: 2;
}

.circle-frame {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 12px solid white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: #f5f5f5;
}

.circle-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* === SECTIONS GÉNÉRIQUES === */
section {
    padding: 1.5rem 5%;
}

.section-container {
    margin-top: 10px !important;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1rem !important;
    color: var(--text-light);
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}




/* === SECTION PURPLE BANNER ==== */
/* Encapsulation par ID */
#purple-banner {
    position: relative;
    width: 100%;
    height: 460px;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

#purple-banner .purple-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a3e 0%, #4a1a5c 50%, #7a2d8a 100%);
    color: #fff;
    padding: 40px;
    box-sizing: border-box;
}

/* Formes décoratives */
#purple-banner .purple-shape-circle-1,
#purple-banner .purple-shape-circle-2,
#purple-banner .purple-shape-polygon-1,
#purple-banner .purple-shape-polygon-2 {
    position: absolute;
    border-radius: 50%;
}

#purple-banner .purple-shape-circle-1 {
    top: 60px;
    right: 100px;
    width: 150px;
    height: 150px;
    background: rgba(138, 93, 168, 0.3);
}

#purple-banner .purple-shape-circle-2 {
    top: 150px;
    right: 50px;
    width: 80px;
    height: 80px;
    background: rgba(138, 93, 168, 0.2);
}

#purple-banner .purple-shape-polygon-1 {
    bottom: 100px;
    left: 50px;
    width: 100px;
    height: 100px;
    background: rgba(74, 26, 92, 0.4);
    transform: rotate(45deg);
}

#purple-banner .purple-shape-polygon-2 {
    bottom: 50px;
    right: 200px;
    width: 120px;
    height: 120px;
    background: rgba(74, 26, 92, 0.3);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border-radius: 0;
}

#purple-banner .purple-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

#purple-banner .purple-logo-section {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

#purple-banner .purple-logo-circle {
    width: 60px;
    height: 60px;
    background: rgba(138, 93, 168, 0.4);
    border: 2px solid rgba(138, 93, 168, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-right: 15px;
}

#purple-banner .purple-company-name {
    font-size: 32px;
    font-weight: bold;
}

#purple-banner .purple-main-title {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 30px;
    margin-top: 0;
}

#purple-banner .purple-subtitle {
    font-size: 24px;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    #purple-banner {
        height: 350px;
    }
    #purple-banner .purple-content {
        padding: 20px;
    }
    #purple-banner .purple-main-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    #purple-banner .purple-subtitle {
        font-size: 18px;
    }
    #purple-banner .purple-company-name {
        font-size: 24px;
    }
    #purple-banner .purple-logo-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    #purple-banner .purple-logo-section {
        margin-bottom: 30px;
    }
    #purple-banner .purple-shape-circle-1 {
        width: 100px;
        height: 100px;
        right: 50px;
        top: 40px;
    }
    #purple-banner .purple-shape-circle-2 {
        width: 60px;
        height: 60px;
        right: 20px;
        top: 120px;
    }
    #purple-banner .purple-shape-polygon-1 {
        width: 80px;
        height: 80px;
        bottom: 80px;
        left: 20px;
    }
    #purple-banner .purple-shape-polygon-2 {
        width: 80px;
        height: 80px;
        bottom: 30px;
        right: 120px;
    }
}

@media (max-width: 480px) {
    #purple-banner {
        height: 300px;
    }
    #purple-banner .purple-content {
        padding: 15px;
    }
    #purple-banner .purple-main-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    #purple-banner .purple-subtitle {
        font-size: 16px;
    }
    #purple-banner .purple-company-name {
        font-size: 20px;
    }
    #purple-banner .purple-logo-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-right: 10px;
    }
    #purple-banner .purple-logo-section {
        margin-bottom: 20px;
    }
    #purple-banner .purple-shape-polygon-2,
    #purple-banner .purple-shape-circle-2 {
        display: none;
    }
}










/* === PRÉSENTATION SECTION - DESIGN MODERNE COMPACT === */
.bg-gradient-modern {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.bg-gradient-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(79, 70, 229, 0.05) 0%, transparent 50%), 
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

#presentation {
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

.presentation-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-badge {
    display: inline-block;
    padding: 0.3rem 1.6rem;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.section-title-modern {
    margin-top: 20px !important;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.section-subtitle-modern {
    font-size: 1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

.presentation-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Cards modernes compactes */
.info-cards {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #4f46e5, #7c3aed);
    transition: width 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.info-card:hover::before {
    width: 6px;
}

.card-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 0.8rem;
}

.card-icon svg {
    width: 18px;
    height: 18px;
}

.info-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #64748b;
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Section des valeurs compacte */
.values-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.value-item:hover {
    transform: scale(1.02);
}

.value-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.value-dot.excellence { background: #4f46e5; }
.value-dot.innovation { background: #7c3aed; }
.value-dot.transparency { background: #ec4899; }
.value-dot.collaboration { background: #10b981; }

.value-item span {
    font-weight: 500;
    color: #374151;
    font-size: 0.85rem;
}

/* Sidebar avec profil compacte */
.presentation-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.leader-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.leader-avatar {
    margin-bottom: 1rem;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto;
}

.leader-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.3rem;
}

.leader-title {
    color: #4f46e5;
    font-weight: 500;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
}

.leader-bio {
    color: #64748b;
    line-height: 1.4;
    font-size: 0.8rem;
}

/* Stats visuelles compactes */
.stats-visual {
    background: white;
    padding: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
    padding: 0.8rem 0;
}

.stat-item:not(:last-child) {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0.8rem;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.3rem;
}

/* Responsive compact */
@media (max-width: 768px) {
    #presentation {
        padding: 1.5rem 0.8rem;
    }
    
    .presentation-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title-modern {
        margin-top: 20px !important;
        font-size: 1.8rem;
    }
    
    .section-subtitle-modern {
        font-size: 0.9rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    .leader-card {
        padding: 1.2rem;
    }
    
    .stats-visual {
        padding: 1rem;
    }
    
    .presentation-header {
        margin-bottom: 1.5rem;
    }
    
    .info-cards {
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 480px) {
    #presentation {
        padding: 1rem 0.5rem;
    }
    
    .section-title-modern {
        margin-top: 20px !important;
        font-size: 1.6rem;
    }
    
    .info-card {
        padding: 0.8rem;
    }
    
    .card-icon {
        width: 32px;
        height: 32px;
    }
    
    .card-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .leader-card {
        padding: 1rem;
    }
    
    .avatar-placeholder {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}






/* === CARTES SECTIONS === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

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

.card-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), #7C3AED);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card p {
    color: var(--text-light);
    line-height: 1.2;
}






/* === MISSIONS === */
/* === MISSIONS === */
/* Version moderne et épurée */
#missions {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    line-height: 1.6 !important;
    min-height: 20px !important;
    padding: 2rem 0;
}

.missions-layout {
    margin-top: 2rem;
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

/* Cartes missions - Design moderne */
.mission-card {
    min-height: 180px !important;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    
    /* Reset des propriétés existantes */
    overflow: visible !important;
    position: static !important;
    z-index: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4, #10b981);
    border-radius: 16px 16px 0 0;
}

.mission-card * {
    display: block !important;
    visibility: visible !important;
}

.mission-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.2);
}

/* Header avec emoji et titre sur la même ligne */
.mission-card .card-icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mission-emoji {
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(79, 70, 229, 0.1);
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.mission-card h3 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    text-align: left;
    letter-spacing: -0.025em;
    flex: 1;
}

.mission-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: left;
}

.mission-details {
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    padding-top: 0.75rem;
    text-align: center;
    margin-top: auto;
}

.mission-details small {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive optimisé */
@media (max-width: 768px) {
    .missions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .mission-card {
        padding: 1rem;
        min-height: 160px !important;
    }
    
    .mission-card .card-icon {
        gap: 0.75rem;
    }
    
    .mission-emoji {
        font-size: 1.8rem;
        padding: 0.5rem;
        width: 50px;
        height: 50px;
    }
    
    .mission-card h3 {
        font-size: 1.1rem;
    }
    
    .mission-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    #missions {
        padding: 1.5rem 0;
    }
    
    .missions-grid {
        gap: 0.75rem;
    }
    
    .mission-card {
        padding: 0.875rem;
        border-radius: 12px;
    }
    
    .mission-card .card-icon {
        gap: 0.5rem;
    }
    
    .mission-emoji {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }
}

/* Animation d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mission-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.mission-card:nth-child(1) { animation-delay: 0.1s; }
.mission-card:nth-child(2) { animation-delay: 0.2s; }
.mission-card:nth-child(3) { animation-delay: 0.3s; }
.mission-card:nth-child(4) { animation-delay: 0.4s; }








/* === MÉTHODOLOGIE TIMELINE === */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    width: 45%;
    position: relative;
}

.timeline-number {
    position: absolute;
    left: 50%;
    top: 2rem;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}





/* === CONTACT SECTION === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    align-items: start;
}

.contact-form {
    background: var(--bg-card, white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light, #e5e5e5);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary, #333);
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.4;
    color: var(--text-primary, #333);
    padding: 12px 16px !important;
    border: 1px solid var(--border-color, #d1d5db);
    border-radius: 6px;
    background-color: var(--input-bg, #ffffff);
    resize: vertical;
    transition: all 0.2s ease;
    text-align: left;
}

.form-group textarea {
    min-height: 120px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--input-focus-bg, #ffffff);
    box-shadow: 0 0 0 3px var(--primary-alpha, rgba(79, 70, 229, 0.1));
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--placeholder-color, #9ca3af);
    font-size: 14px;
    text-align: left;
    opacity: 1;
}

.submit-btn {
    width: 100%;
    padding: 12px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover {
    background: var(--primary-hover, #3730A3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light, #e5e5e5);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: var(--map-filter, none);
}

/* === ALERTS === */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background-color: var(--success-bg, #d1fae5);
    color: var(--success-text, #065f46);
    border: 1px solid var(--success-border, #a7f3d0);
}

.alert-error {
    background-color: var(--error-bg, #fee2e2);
    color: var(--error-text, #991b1b);
    border: 1px solid var(--error-border, #fecaca);
}


/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 1.2rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px !important; /* Évite le zoom sur iOS */
    }
}

@media (max-width: 480px) {
    .contact-grid {
        gap: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .form-group {
        margin-bottom: 0.8rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px !important;
        font-size: 16px !important;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 15px;
    }
    
    .map-container {
        height: 250px;
    }
}

@media (max-width: 320px) {
    .contact-form {
        padding: 0.8rem;
        margin: 0 0.3rem;
    }
    
    .form-group {
        margin-bottom: 0.6rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 8px 10px !important;
        font-size: 15px !important;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    .submit-btn {
        padding: 10px;
        font-size: 14px;
    }
    
    .map-container {
        height: 200px;
    }
}




/* === FOOTER === */
footer {
    background: #1F2937;
    color: white;
    padding: 3rem 5%;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.footer-section h4 {
    color: #E5E7EB;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #9CA3AF;
    line-height: 1.2;
    font-size: 0.9rem;
}

.footer-section a {
    color: #9CA3AF;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

/* === DARK MODE === */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #F9FAFB;
        --text-light: #D1D5DB;
        --white: #FFFFFF;       
        --secondary: #2D3748;
        --card-bg-dark: #1F2937;
    }
    

    body {
        background-color: #111827;
        color: var(--text-dark);
    }

    .card {
        background: var(--card-bg-dark) !important;
        color: var(--text-dark) !important;
        border: 1px solid #374151;
    }

    .card h4 {
        color: var(--text-dark) !important;
    }
    
    .card p {
        color: var(--text-light) !important;
    }
    
    .contact-form {
        background: var(--card-bg-dark);
        color: var(--text-dark);
        border: 1px solid #374151;
    }
    
    .contact-form label {
        color: var(--text-dark) !important;
    }
    
    .contact-form input,
    .contact-form textarea {
        background: #374151;
        color: var(--text-dark);
        border-color: #4B5563;
    }
    
    .bg-white {
        background-color: #111827 !important;
    }
    
    .bg-argile {
        background-color: var(--secondary) !important;
    }
    
    .section-title {
        margin-top: 20px !important;
        color: var(--text-dark) !important;
    }
    
    .section-subtitle {
        color: var(--text-light) !important;
    }
    
    .timeline-content {
        background: var(--card-bg-dark) !important;
        color: var(--text-dark) !important;
        border: 1px solid #374151;
    }
    
    /* Mode sombre pour la section présentation */
    .presentation-header {
        background-color: #1a1a1a;
        color: #ffffff;
        padding: 20px;
        border-radius: 8px;
    }
    
    .presentation-header .section-title {
        color: #ffffff;
        margin-top: 0;
        margin-bottom: 10px;
    }
    
    .presentation-header .section-subtitle {
        color: #cccccc;
        margin-bottom: 15px;
    }
    
    .presentation-header .section-badge {
        background-color: #333333;
        color: #ffffff;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.9em;
        border: 1px solid #555555;
    }
    
    
    
     /* RÈGLES POUR MISSIONS */
    #missions {
        background: linear-gradient(135deg, #1a1a3e 0%, #4a1a5c 50%, #7a2d8a 100%) !important;
    }
    
    .mission-card {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    }
    
    .mission-card:hover {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
    }
    
    .mission-emoji {
        background: rgba(255, 255, 255, 0.1) !important;
    }
    
    .mission-card h3 {
        color: #fff !important;
    }
    
    .mission-card p {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .mission-details {
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .mission-details small {
        color: rgba(255, 255, 255, 0.7) !important;
    }
    
    /* Mise à jour des titres de section pour les missions */
    #missions .section-title-modern {
        margin-top: 20px !important;
        color: #fff !important;
    }
    
    #missions .section-subtitle-modern {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    #missions .section-badge {
        background: linear-gradient(135deg, #7c3aed, #ec4899) !important;
    }
    
    
    
    
    
    
    
    
/* METODOLOGIE */

/* Timeline pour écrans moyens et grands (au-dessus de 480px) */

@media (max-width: 768px) {
    
    .timeline {
        position: relative;
        padding: 0 5px;
        margin-left: 20px; /* Décale tout vers la droite pour laisser place à la barre */
    }
    
    /* Barre verticale de la timeline */
    .timeline::before {
        content: '';
        position: absolute;
        left: -15px; /* Position de la barre à gauche */
        top: 0;
        bottom: 0;
        width: 2px;
        background-color: #ff6600;
        z-index: 1;
    }
    
    .timeline-item {
        display: flex;
        align-items: flex-start;
        margin: 20px 0;
        padding: 0;
        gap: 15px; /* Espacement entre numéro et contenu */
        position: relative;
    }
    
    .timeline-number {
        flex-shrink: 0;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #ff6600;
        color: white;
        border-radius: 50%;
        font-size: 1em; /* Taille normale */
        font-weight: bold;
        margin-left: -42px; /* Positionne le numéro sur la barre */
        z-index: 2;
        position: relative;
    }
    
    .timeline-content {
        flex: 1;
        padding: 15px;
        background-color: #2a2a2a;
        border-radius: 10px;
        border-left: 4px solid #ff6600;
        margin: 0;
    }
    
    .timeline-content h4 {
        color: #ffffff;
        margin: 0 0 10px 0;
        font-size: 1.1em; /* Taille normale */
        line-height: 1.3;
    }
    
    .timeline-content p {
        color: #cccccc;
        margin: 0;
        font-size: 1em; /* Taille normale */
        line-height: 1.5;
    }
}






@media (max-width: 480px) {
    
    .timeline {
        position: relative;
        padding: 0 5px;
        margin-left: 20px; /* Décale tout vers la droite pour laisser place à la barre */
    }
    
    /* Barre verticale de la timeline */
    .timeline::before {
        content: '';
        position: absolute;
        left: -15px; /* Position de la barre à gauche */
        top: 0;
        bottom: 0;
        width: 2px;
        background-color: #ff6600;
        z-index: 1;
    }
    
    .timeline-item {
        display: flex;
        align-items: flex-start;
        margin: 20px 0;
        padding: 0;
        gap: 15px; /* Espacement entre numéro et contenu */
        position: relative;
    }
    
    .timeline-number {
        flex-shrink: 0;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #ff6600;
        color: white;
        border-radius: 50%;
        font-size: 1em; /* Taille normale */
        font-weight: bold;
        margin-left: -42px; /* Positionne le numéro sur la barre */
        z-index: 2;
        position: relative;
    }
    
    .timeline-content {
        flex: 1;
        padding: 15px;
        background-color: #2a2a2a;
        border-radius: 10px;
        border-left: 4px solid #ff6600;
        margin: 0;
    }
    
    .timeline-content h4 {
        color: #ffffff;
        margin: 0 0 10px 0;
        font-size: 1.1em; /* Taille normale */
        line-height: 1.3;
    }
    
    .timeline-content p {
        color: #cccccc;
        margin: 0;
        font-size: 1em; /* Taille normale */
        line-height: 1.5;
    }
}
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    /* === SECTION CONTACT === */
    
    /* Formulaire de contact */
    .contact-form {
        background: var(--card-bg-dark) !important;
        color: var(--text-dark) !important;
        border: 1px solid #374151 !important;
    }
    
    .contact-form .form-group label {
        color: var(--text-dark) !important;
    }
    
    .contact-form input,
    .contact-form textarea {
        /*background: #111827 !important;*/
        color: var(--text-dark) !important;
        border: 1px solid #4B5563 !important;
    }
    
    .contact-form input:focus,
    .contact-form textarea:focus {
        background: #1F2937 !important;
        border-color: var(--primary) !important;
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2) !important;
    }
    
    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        color: #9CA3AF !important;
        opacity: 1 !important;
    }
    
    
    
    /* Messages d'alerte */
    .alert-success {
        background-color: rgba(16, 185, 129, 0.1) !important;
        color: #34D399 !important;
        border: 1px solid rgba(16, 185, 129, 0.2) !important;
    }
    
    .alert-error {
        background-color: rgba(239, 68, 68, 0.1) !important;
        color: #F87171 !important;
        border: 1px solid rgba(239, 68, 68, 0.2) !important;
    }
    
    
    
    
    
    
    
    

    /* Si ça ne marche toujours pas, essayez ces règles plus fortes */
    #contact h2.section-title {
        color: #555 !important;
        
    }
    
    #contact p.section-subtitle {
        color: #555 !important;
    }
    
    
    
    
}






















/* === RESPONSIVE DESIGN === */
@media (min-width: 768px) {
    body {
        margin-top: 45px;
    }

    .presentation-grid {
        grid-template-columns: 1fr 25%;
        gap: 3rem;
    }

    .hero-container {
        flex-direction: row;
        gap: 4rem;
        padding: 3rem 2rem;
        align-items: center;
    }

    .hero-content {
        width: 65%;
        text-align: left;
        order: 1;
    }

    .hero-image {
        width: 35%;
        flex-shrink: 0;
        justify-content: center;
        order: 2;
    }

    .circle-frame {
        width: 300px;
        height: 300px;
        border-width: 10px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--gray-dark);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .burger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .circle-frame {
        width: 200px;
        height: 200px;
        border-width: 8px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline::before {
        left: 2rem;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-content {
        width: calc(100% - 6rem);
        margin-left: 1rem;
    }

    .timeline-number {
        left: 2rem;
    }

    section {
        padding: 0.75rem 5%;
    }

    .section-title {
        margin-top: 20px !important;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0.75rem 0.75rem;
        gap: 1rem;
    }

    .circle-frame {
        width: 220px;
        height: 220px;
        border-width: 8px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    footer {
        padding: 1rem 0 1rem 0;
    }
	
	
	
	
	
	/* == ORG -IMAGE === */
	
   /* Conteneur à ratio fixe (responsive) */
    .og-image-wrapper {
      width: 100%;
      height: auto;
      aspect-ratio: 1200 / 630;
      overflow: hidden;
      margin: 0 auto;
    }
    
    /* Image de fond qui s'adapte à tous les écrans */
    .og-image {
      width: 100%;
      height: 100%;
      background-image: url('/images/og-image.jpg'); /* Vérifie ce chemin */
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
    }
    	
    	
	
	
	
	
	
	
} /* === fin CSS   === */