/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1b51bd;      /* Bleu foncé - couleur principale du logo */
    --secondary-color: #2a4b7c;    /* Bleu moyen - secondaire */
    --accent-color: #e67e22;       /* Orange - pour les boutons et accents */
    --accent-light: #f39c12;        /* Orange clair - hover */
    --light-bg: #f5f7fa;           /* Fond gris très clair */
    --text-color: #333333;          /* Texte principal */
    --white: #ffffff;               /* Blanc */
    --gray-light: #eef2f6;          /* Gris clair pour les cartes */
    --gradient-start: #1a2b4c;      /* Dégradé début */
    --gradient-end: #2a4b7c;        /* Dégradé fin */
    --shadow: 0 5px 15px rgba(26, 43, 76, 0.1);      /* Ombre avec la couleur primaire */
    --shadow-hover: 0 10px 25px rgba(26, 43, 76, 0.15);
    --border-color: rgba(26, 43, 76, 0.1);
    --red: red;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* ===== NAVIGATION ===== */
nav {
    background: var(--white);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    height: 40px;  /* Ajustez selon la taille désirée */
    width: auto;   /* Maintient le ratio */
    max-width: 200px;
    object-fit: contain;
}

.logo-text {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Version responsive */
@media (max-width: 768px) {
    .logo-image {
        height: 30px;  /* Plus petit sur mobile */
    }
    
    .logo-text {
        font-size: 1rem;
    }
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    font-weight: 500;
}

.nav-links li a i {
    margin-right: 0.3rem;
    font-size: 0.9rem;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

/* ===== SECTIONS GÉNÉRALES ===== */
section {
    padding: 5rem 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto;
}

/* ===== ACCUEIL ===== */
#accueil {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.hero-content h1 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

/* ===== MENU HAMBURGER ===== */
@media (max-width: 768px) {
    /* Cacher le menu normal */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;  /* Caché à droite */
        width: 60%;           /* Réduit de 70% à 60% */
        max-width: 250px; 
        height: 100vh;
        background: #1a2b4c;  /* Votre couleur bleue */
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 60px 15px;
        margin: 0;
        list-style: none;
        transition: right 0.3s ease;
        z-index: 1000;
        display: flex !important; /* Force l'affichage en flex */
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
        margin-left: auto !important;
    }
    
    /* Menu ouvert */
    .nav-links.active {
        right: 0;  /* Visible */
    }
    
    /* Style des liens */
    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }
    
    .nav-links li a {
        color: white;
        text-decoration: none;
        font-size: 1.1rem;
        display: block;
        padding: 12px;
        width: 100%;
    }

    .nav-controls {
    display: flex;
    align-items: center;
    margin-left: auto;  /* Pousse les contrôles à droite */
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
}
    
    /* Hamburger */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 45px;              /* Taille du cercle */
        height: 45px;             /* Taille du cercle */
        background: #e67e22;      /* Couleur de fond du cercle */
        border-radius: 50%;       /* Forme circulaire */
        cursor: pointer;
        z-index: 1001;
        gap: 5px;
        box-shadow: 0 3px 8px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
        margin-left: auto;
    }
    
    .hamburger:hover {
        background: #e67e22;       /* Changement de couleur au survol */
        transform: scale(1.05);
    }
    
    .hamburger .bar {
        width: 70%;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    /* Animation du hamburger */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
    
    /* Overlay sombre */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
}
/* ===== BOUTONS ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn i {
    margin-right: 0.5rem;
}

.btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-small {
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.8rem;
    margin-top: 1rem;
}

.btn-small:hover {
    background: #e67e22;
}

/* Style pour le bouton secondaire (outline) */
.btn-outline {
    background: red;
    border: 2px solid var(--white);
    margin-left: 1rem; /* Espace entre les boutons */
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    
}

/* Pour aligner les boutons côte à côte sur desktop */
.hero-content .btn {
    margin: 0.5rem;
}

/* Version mobile - boutons l'un en dessous de l'autre */
@media (max-width: 768px) {
    .hero-content .btn {
        display: block;
        width: 80%;
        margin: 1rem auto;
    }
    
    .btn-outline {
        margin-left: auto;
    }
}


/* ===== SERVICES ===== */
#services {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-card:hover .service-icon {
    animation: bounce 0.5s ease;
}
.service-card:hover {
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.services-grid.first-row {
    margin-bottom: 3rem;
}
.services-grid.second-row {
    margin-bottom: 3rem;
}
.services-grid.third-row {
    margin-bottom: 3rem;
}


/* ===== SECTION PROJETS ===== */
#projets {
    background: var(--white);
    padding: 5rem 10%;
}

.projets-grid {
    display: flex;
    justify-content: center; /* Centre les cards horizontalement */
    align-items: center;
    gap: 2.5rem; /* Espace entre les cards */
    flex-wrap: wrap; /* Permet le passage à la ligne si besoin */
    margin: 2rem auto;
    max-width: 1400px;
}


.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: white;
}

.filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/*.projets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}*/

.projet-card {
    position: relative;
    width: 680px; /* Largeur fixe augmentée */
    height: 400px; /* Hauteur fixe augmentée */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto; /* Centré dans son conteneur */
}

.projet-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.projet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    object-fit: cover;
}

.projet-card:hover .projet-image img {
    transform: scale(1.1);
}

.projet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26, 43, 76, 0.95), rgba(26, 43, 76, 0.7));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projet-card:hover .projet-overlay {
    opacity: 1;
}

.projet-details {
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.projet-card:hover .projet-details {
    transform: translateY(0);
}

.projet-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.projet-details p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.projet-categorie {
    display: inline-block;
    padding: 0.2rem 1rem;
    background: var(--accent-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.projets-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.projets-cta p {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Animation pour les filtres */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.projet-card {
    animation: fadeInUp 0.6s ease;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .projets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projets-grid {
        grid-template-columns: 1fr;
    }
    
    .projet-card {
        height: 250px;
    }
    
    .projets-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}

/* ===== CONTACT ===== */
#contact {
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.info-item {
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-item h3 i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    width: 25px;
}

.info-item p {
    color: #666;
    line-height: 1.8;
    margin-left: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 1;
}

.form-group textarea ~ .input-icon {
    top: 1.2rem;
    transform: none;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* ===== RECRUTEMENT ===== */
#recrutement {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.recrutement-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.recrutement-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.recrutement-content h2 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.recrutement-content > p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.offres-emploi {
    margin-top: 3rem;
    text-align: left;
}

.offres-emploi h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.offres-emploi h3 i {
    margin-right: 0.5rem;
}

.offre-item {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.offre-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
}

.offre-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.offre-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.offre-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.offre-item p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-left: 2.5rem;
}

.offre-item p i {
    margin-right: 0.3rem;
}

.offre-details {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.offre-item.active .offre-details {
    display: block;
    animation: fadeIn 0.5s ease;
}

.offre-details ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    list-style: none;
}

.offre-details li {
    margin-bottom: 0.3rem;
}

.offre-details li i {
    color: #27ae60;
    margin-right: 0.5rem;
}

.postuler-btn {
    margin-top: 1rem;
}


/* ===== SECTION RECRUTEMENT - GRILLE 2 COLONNES ===== */
#recrutement {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4rem 10%;
}

.recrutement-content {
    max-width: 1200px;
    margin: 0 auto;
}

.recrutement-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.recrutement-content h2 i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.recrutement-content > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.offres-title {
    font-size: 1.8rem;
    margin: 2rem 0 2rem;
    text-align: center;
    color: var(--white);
}

.offres-title i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* Grille à 2 colonnes */
.offres-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.offres-colonne {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Style des offres */
.offre-item {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
}

.offre-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
    border-color: var(--accent-color);
}

.offre-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.offre-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
    min-width: 30px;
}

.offre-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--white);
    flex: 1;
}

.badge {
    background: var(--accent-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: normal;
}

.offre-item > p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-left: 2.3rem;
}

.offre-item > p i {
    margin-right: 0.3rem;
    color: var(--accent-color);
}

.offre-details {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.offre-item.active .offre-details {
    display: block;
    animation: fadeIn 0.5s ease;
}

.offre-details p {
    margin-bottom: 1rem;
}

.offre-details ul {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.offre-details li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.offre-details li i {
    color: var(--accent-color);
    margin-top: 0.2rem;
    min-width: 18px;
}

.btn-small {
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.btn-small:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.mt-4 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .offres-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .offres-colonne {
        gap: 1rem;
    }
    
    #recrutement {
        padding: 3rem 5%;
    }
    
    .recrutement-content h2 {
        font-size: 2rem;
    }
    
    .offres-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .offre-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .offre-header i {
        margin-bottom: 0.3rem;
    }
    
    .offre-item > p {
        margin-left: 0;
    }
    
    .badge {
        margin-top: 0.3rem;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li {
        margin: 0.3rem;
    }

    .nav-links li a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    section {
        padding: 4rem 5%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-container {
        gap: 1.5rem;
    }
    
    .offre-header {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }

    .offre-item {
        padding: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===== UTILITAIRES ===== */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* ===== SECTION ACCUEIL AMÉLIORÉE ===== */
.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    min-width: 150px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== SECTION À PROPOS ===== */
#apropos {
    background: white;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.about-text h3 i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--light-bg);
    border-radius: 5px;
}

.value-item i {
    color: var(--secondary-color);
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1rem 1rem;
}

.image-caption i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ===== SECTION SERVICES ===== */
.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.service-card {
    text-align: left;
    padding: 2rem;
}

.service-description {
    color: #666;
    margin: 1rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* ===== SECTION ACCUEIL  ===== */
.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    min-width: 150px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== SECTION À PROPOS ===== */
#apropos {
    background: white;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.about-text h3 i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--light-bg);
    border-radius: 5px;
}

.value-item i {
    color: var(--secondary-color);
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1rem 1rem;
}

.image-caption i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ===== SECTION SERVICES AMÉLIORÉE ===== */
.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.service-card {
    text-align: left;
    padding: 2rem;
}

.service-description {
    color: #666;
    margin: 1rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-size: 0.8rem;
}



/* ===== FOOTER  ===== */
footer {
    background: var(--white);
    color: var(--primary-color);
    padding: 3rem 10% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-section p {
    color: var(--primary-color);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-section p i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    width: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-section ul li a i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 0.3rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: white;
}

/* ===== RESPONSIVE POUR LES NOUVELLES SECTIONS ===== */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 300px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .about-text h3 {
        font-size: 1.2rem;
    }
}

/* Styles pour la section À propos  */
.mission-list {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 0;
}

.mission-list li {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    line-height: 1.6;
}

.mission-list li i {
    color: var(--secondary-color);
    margin-right: 0.8rem;
    width: 20px;
}

.mission-item {
    display: block;
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    color: #444;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--primary-color);
}

/* Animation au survol */
.mission-list li:hover {
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* ===== LANGUE ===== */
.lang-switch {
    display: flex;
    gap: 10px;
    margin-left: 20px;
    text-align: left;
}

.lang-switch img {
    width: 28px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.lang-switch img:hover {
    transform: scale(1.1);
}

/* ===== SECTION LOGOS PARTENAIRES ===== */
#logos {
    padding: 4rem 10%;
    background: var(--light-bg);
    text-align: center;
}

#logos .section-title {
    margin-bottom: 0.5rem;
}

#logos .section-subtitle {
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Conteneur principal */
.logos-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Chaque ligne de logos */
.logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.logos-row:last-child {
    margin-bottom: 0;
}

/* Élément logo individuel */
.logo-item {
    flex: 0 1 auto;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    width: 240px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Image du logo */
.partner-logo {
    max-width: 240px;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-item:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Version carrousel (alternative) */
.logos-carousel {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.logos-track {
    display: flex;
    animation: scroll 20s linear infinite;
    width: fit-content;
}

.logos-track:hover {
    animation-play-state: paused;
}

.logo-slide {
    flex: 0 0 200px;
    margin: 0 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.logo-slide img {
    max-width: 240px;
    max-height: 140px;
    object-fit: contain;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .logo-item {
        width: 160px;
        height: 90px;
    }
    
    .partner-logo {
        max-width: 120px;
        max-height: 60px;
    }
}

@media (max-width: 768px) {
    #logos {
        padding: 3rem 5%;
    }
    
    .logos-row {
        gap: 1.5rem;
    }

    
    .logo-item {
        width: 140px;
        height: 80px;
        padding: 0.8rem;
    }
    
    .partner-logo {
        max-width: 100px;
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .logos-row {
        gap: 1rem;
    }
    
    .logo-item {
        width: 120px;
        height: 70px;
    }
    
    .partner-logo {
        max-width: 80px;
        max-height: 40px;
    }
}



.mail-modal{
display:none;
position:fixed;
z-index:9999;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
}

.mail-modal-content{
background:#fff;
width:380px;
max-width:90%;
margin:8% auto;
padding:25px;
border-radius:10px;
text-align:center;
position:relative;
}

.close{
position:absolute;
right:15px;
top:10px;
font-size:24px;
cursor:pointer;
}

.mail-options{
margin-top:20px;
display:flex;
flex-direction:column;
gap:10px;
}

.mail-option{
padding:12px;
border:1px solid #eee;
border-radius:6px;
text-decoration:none;
color:#333;
display:flex;
align-items:center;
gap:10px;
}

.mail-option:hover{
background:#f5f5f5;
}