:root {
    --primary-color: #00a8cc; /* Bleu Nexah */
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--secondary-color);
    margin: 0 15px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover, .nav-links li a.active {
    color: var(--primary-color);
}

/* Hero */
.hero {
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    margin-top: 20px;
    transition: 0.3s;
}

.btn:hover {
    background: #0086a3;
}

/* Services */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Stats */
.stats {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
}

.logo img {
    height: 130px; /* Ajustez selon la hauteur de votre header */
    width: auto;  /* Garde les proportions intactes */
    object-fit: contain; /* S'assure que rien n'est coupé */
    padding: 10px 0;    /* Donne de l'espace pour que le texte ne colle pas aux bords */
}

.hero {
    height: 100vh; /* Toute la hauteur de l'écran */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
    transition: background-image 1s ease-in-out; /* Transition douce de l'image */
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.4); /* Filtre sombre pour lire le texte */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    color: white;
}

.hero-content {
    max-width: 600px;
    /* Animation du texte */
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 30px;
    height: 3px;
    background: rgba(255,255,255,0.5);
    transition: 0.3s;
}

.dot.active {
    background: #fff;
    width: 50px; /* La barre active est plus longue comme sur la vidéo */
}

/* Style de base des cartes de services */
.service-card {
    opacity: 0;
    transform: translateY(30px); /* Pousse la carte vers le bas */
    transition: all 0.8s ease-out; /* Durée de la fluidité */
}

/* La classe qui sera ajoutée en JavaScript */
.service-card.reveal {
    opacity: 1;
    transform: translateY(0); /* Remonte à sa position initiale */
}

/* Optionnel : Délai pour un effet "en cascade" */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.3s; }
.service-card:nth-child(3) { transition-delay: 0.5s; }

.partners-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    overflow: hidden; /* Important pour cacher ce qui dépasse */
}

.partners-slider {
    width: 100%;
    margin-top: 40px;
}

.partners-track {
    display: flex;
    width: calc(250px * 10); /* Largeur d'un logo * nombre total de logos */
    animation: scroll-infinite 35s linear infinite;
}

.partner-logo {
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
}

.partner-logo img {
    max-width: 150px;
    height: auto;
    filter: none; /* Optionnel : logos en gris comme sur la capture */
    opacity: 1;
    transition: 0.3s;
}

.partner-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* L'ANIMATION */
@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* On s'arrête à la moitié (fin de la 1ère série) */
    }
}

/* Pause au survol pour que l'utilisateur puisse regarder un partenaire */
.partners-track:hover {
    animation-play-state: paused;
}

.stats-section {
    padding: 80px 0;
    background-color: #2c3e50;
    color: white;
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
}

.counter {
    font-size: 3rem;
    font-weight: bold;
    color: #00a8cc; /* Votre couleur turquoise */
    display: block;
    margin-bottom: 10px;
}

.main-footer {
    background-color: #405a69;
    color: #ffffff;
    padding: 80px 0 20px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

/* Redimensionnement du Logo dans le Footer */
.footer-logo img {
    height: 100px; /* Hauteur plus importante pour votre logo vertical */
    width: auto;
    margin-bottom: 20px;
    filter: none; /* Transforme le logo noir en blanc pour le fond sombre */
    object-fit: contain;
}

.footer-col h4 {
    color: var(--primary-color); /* Utilise votre bleu turquoise */
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Réseaux Sociaux */
.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Barre de Copyright */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 25px;
    text-align: center;
    color: #777;
    font-size: 0.85rem;
}

.contact-info p {
    margin-bottom: 15px;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
}









/* pages about */
/* Hero Section */
.hero-about {
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('public/img/slider/noslide.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-about h1 { font-size: 3rem; }

.breadcrumb {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-top: 10px;
}

/* Grilles Mission/Vision */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 60px 0;
    
}

.grid-2.reverse .text-box { order: 2; }
.grid-2.reverse .image-box { order: 1; }

.image-box img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Cartes de Valeurs */
.values-section {
    background: #f9f9f9;
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 15px;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.center-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .grid-2, .grid-2.reverse {
        grid-template-columns: 1fr;
    }
    .grid-2.reverse .image-box { order: 2; }
}

/* Style pour la section d'introduction */
.intro-section {
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center; /* Centre tout le contenu comme sur l'image */
}

.intro-section .content-wrapper {
    max-width: 900px; /* Limite la largeur pour une lecture confortable */
    margin: 0 auto;   /* Centre le bloc sur la page */
}

.intro-section h2 {
    font-size: 2.5rem;
    color: #2c3e50; /* Couleur sombre professionnelle */
    margin-bottom: 30px;
    position: relative;
    display: inline-block; /* Permet à la bordure de s'adapter à la taille du texte */
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* La petite barre décorative sous le titre */
.intro-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #00a8cc; /* Votre bleu turquoise */
    border-radius: 2px;
}

.intro-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555555;
    margin-top: 20px;
    text-align: justify; /* Justifié pour le corps du texte */
    /* On peut aussi garder text-align: center si le texte est court */
}

/* Optionnel : Mise en avant du nom de l'entreprise */
.intro-section p strong {
    color: #2c3e50;
    font-weight: 700;
}

/* Adaptation Mobile */
@media (max-width: 768px) {
    .intro-section {
        padding: 50px 15px;
    }
    
    .intro-section h2 {
        font-size: 1.8rem;
    }
    
    .intro-section p {
        font-size: 1rem;
        text-align: center; /* On centre le texte sur mobile pour plus de clarté */
    }
}
.text-slide {
    flex: 1;
    animation: slideFromLeft 1.2s ease-out forwards;
}




/* --- AJOUTS SOLUTIONS STYLE SAAS --- */
.hero-solutions {
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('public/img/slider/Accounting.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.solutions-section {
    padding: 100px 20px;
    background-color: #f8fbff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.solution-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 168, 204, 0.15);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .card-image img {
    transform: scale(1.4);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-content h3 i {
    color: var(--primary-color);
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555;
}

.service-list li i {
    color: var(--primary-color);
    margin-top: 3px;
}

/* --- ANIMATION DE REVELATION --- */
/* État de base : On utilise une opacité très faible au lieu de 0 pour que l'Observer le voit bien */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    /* Sécurité : Force l'affichage si le JS échoue après 2s */
    animation: forceShow 0.5s forwards;
    animation-delay: 2s;
}

/* État Actif : On force l'apparition avec !important */
.reveal-item.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: none !important;
}

@keyframes forceShow {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3. Style des cartes (Vérifiez bien que ces noms correspondent à votre HTML) */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.solution-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}



/* --- PAGE CONTACT --- */
.contact-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('public/img/contact/contact.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-hero h1 { font-size: 3rem; margin-bottom: 10px; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: -50px; /* Chevauchement sur le hero */
    margin-bottom: 50px;
}

.info-card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.info-card:hover { transform: translateY(-5px); }
.info-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 15px; }
.info-card h3 { color: var(--secondary-color); margin-bottom: 10px; }

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-container h2 { margin-bottom: 30px; color: var(--secondary-color); }

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    font-size: 1rem;
    transition: border-color 0.3s;
}

#contact-form input:focus, #contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

#submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

#submit-btn:hover { background: #008eb0; }

#form-status { margin-top: 15px; font-weight: bold; }
.success { color: #27ae60; }
.error { color: #e74c3c; }

.map-container { border-radius: 15px; overflow: hidden; height: 100%; min-height: 400px; }

@media (max-width: 768px) {
    .contact-wrapper { grid-template-columns: 1fr; }
    .input-group { grid-template-columns: 1fr; }
}

.contact-intro {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-intro h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

/* La petite barre sous le titre pour rester cohérent avec l'index */
.contact-intro h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.contact-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-top: 15px;
}






/* Grille des offres */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 40px 0;
}

/* La Carte (Box) */
.job-card {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 12px; /* Bordure propre et moderne */
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    aspect-ratio: 1 / 1; /* Force le côté carré si le contenu le permet */
    min-height: 350px;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

/* Statut (Badge) */
.job-status {
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 15px;
}

.status-active { background: #d4edda; color: #155724; }
.status-expired { background: #f8d7da; color: #721c24; }

.job-title {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.job-body p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.job-desc {
    margin-top: 15px;
    font-style: italic;
}

/* LE BOUTON ET SON ANIMATION */
.btn-postuler {
    display: block;
    text-align: center;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-postuler:hover {
    background: var(--primary-color);
    transform: scale(1.05); /* Effet de grossissement léger */
    box-shadow: 0 5px 15px rgba(0, 168, 204, 0.4);
}

/* Style pour l'offre expirée */
.job-card.expired {
    filter: grayscale(0.8);
    opacity: 0.7;
    pointer-events: none; /* Désactive les clics */
}

.job-card.expired .btn-postuler {
    background: #ccc !important;
}


.career-hero {
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('public/img/contact/jobs.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.job-card.expired {
    border: 1px solid #ddd;
    filter: grayscale(1); /* Met la carte en noir et blanc */
}


/* Style de base pour le statut */
.job-status {
    display: flex;
    align-items: center;
    gap: 8px; /* Espace entre l'icône et le texte */
    font-weight: bold;
    font-size: 0.9rem;
}

/* Version Actif - Vert */
.status-active {
    color: #27ae60;
}

/* Version Expiré - Rouge */
.status-expired {
    color: #e74c3c;
}


/* Layout Carrière & Actus */
.career-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 pour Emploi, 1/3 pour Actus */
    gap: 40px;
    padding: 50px 0;
}

/* Style des Items Emploi (Accordéon) */
.job-item {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.job-header-bar {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
}

.job-details {
    max-height: 0; /* Caché par défaut */
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fdfdfd;
}

.job-item.open .job-details {
    max-height: 500px; /* S'ouvre */
}

.details-content {
    padding: 20px;
    border-top: 1px solid #eee;
}

/* Bouton + / - */
.toggle-details {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.3s;
}

.job-item.open .toggle-details {
    transform: rotate(45deg); /* Devient une croix pour fermer */
}

/* Style Actualités */
.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.news-date {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {
    .career-layout { grid-template-columns: 1fr; }
}



/* Layout Carrière & Actus */
.career-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 pour Emploi, 1/3 pour Actus */
    gap: 40px;
    padding: 50px 0;
}

/* Style des Items Emploi (Accordéon) */
.job-item {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.job-header-bar {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
}

.job-details {
    max-height: 0; /* Caché par défaut */
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fdfdfd;
}

.job-item.open .job-details {
    max-height: 500px; /* S'ouvre */
}

.details-content {
    padding: 20px;
    border-top: 1px solid #eee;
}

/* Bouton + / - */
.toggle-details {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.3s;
}

.job-item.open .toggle-details {
    transform: rotate(45deg); /* Devient une croix pour fermer */
}

/* Style Actualités */
.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.news-date {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {
    .career-layout { grid-template-columns: 1fr; }
}




/* --- STYLES DESKTOP (Vérifie que tu as déjà ça) --- */
.nav-links {
    display: flex;
    list-style: none;
}

.menu-toggle {
    display: none; /* Caché sur ordinateur */
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 4px 0;
    transition: 0.4s;
}

/* --- RESPONSIVE MOBILE (Max 768px) --- */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex; /* On affiche le bouton sur mobile */
    }

    .nav-links {
        position: fixed;
        right: -100%; /* Caché hors de l'écran à droite */
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    .nav-links.active {
        right: 0; /* Apparaît quand on ajoute la classe 'active' */
    }

    .nav-links li {
        margin: 15px 0;
    }
    
    /* Animation du bouton en "X" quand ouvert */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(11px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
}