@import url('https://fonts.googleapis.com/css2?family=Exo:wght@400;700&display=swap');


/* 🔹 Scroll fluide sur tout le site */
html {
    scroll-behavior: smooth;
  }


/* 🔹 Réinitialisation des marges et paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* 🔹 Corps de la page */
body {
    font-family: 'Exo', Arial, sans-serif;
    background: #1D1D1D;
    color: #FFFAE1;
}

h2{
    padding: 50px;
}

/* 🔹 Navbar */
/* 🔹 Navbar avec Bords Arrondis */      
.navbar {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    position: fixed;
    top: 10px; /* Décalé légèrement du haut */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 15px; /* Arrondi des coins */
    z-index: 9999; /* S'assure que la navbar est au-dessus de tout */
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-in-out;
    pointer-events: auto; /* Permettre les clics */
}


/* 🔹 Correction du problème de clics bloqués */
.navbar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(45deg, #ffcc00, #FFAA00);
    mask: linear-gradient(white, white) content-box, linear-gradient(white, white);
    mask-composite: exclude;
    pointer-events: none; /* Désactive les interactions avec ce pseudo-élément */
}


.logo a {
    display: flex;
    align-items: center;
    color: #f7cd00;
    
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
    position: relative;
}

.nav-links li a {
    color: #FFFAE1;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease-in-out;
}

.nav-links li a::after {
    content: "";
    display: block;
    width: 0;
    height: 3px;
    background-color: #ffcc00;
    border-radius: 10px;
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 80%;
}

/* 🔹 Section vidéo */
.hero {

    width: 100%;
    height: 100vh;
    margin-top: 70px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: bold;
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
}

.scroll-down a {
    color: white;
    text-decoration: none;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* 🔹 Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease-in-out;
    }

    .nav-active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 10;
    }

    .bar {
        width: 30px;
        height: 3px;
        background-color: #FFFAE1;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
    }
}

/* Footer pour Mobile */
@media (max-width: 768px) {
    #footerLinks {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 15px; /* 🔼 Légèrement remonté */
        gap: 8px; /* 🔼 Espace entre les liens */
    }
    #footerLinks a {
        margin: 5px 0;
        font-size: 1.1rem;
    }

    /* Effet souligné au survol */
    #footerLinks a::after {
        content: "";
        display: block;
        width: 0;
        height: 2px;
        background: #ffcc00;
        transition: width 0.3s ease-in-out;
        position: absolute;
        left: 50%;
        bottom: -3px;
        transform: translateX(-50%);
    }

    #footerLinks a:hover {
        color: #ffcc00;
    }

    #footerLinks a:hover::after {
        width: 100%;
    }
}

    

/* Footer pour PC */
@media (min-width: 769px) {
    #footerContent {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10%;
        flex-direction: row; /* Alignement horizontal */
    }

    #copyright {
        text-align: left;
    }

    #icons {
        text-align: center;
    }

    #icons a {
        font-size: 1.5em;
        padding: 0 12px;
    }

    #footerLinks {
        text-align: right;
    }
}


@media (max-width: 768px) {
    #copyrightEtIcons {
        flex-direction: column;
        text-align: center;
        padding: 0 5%;
        margin-bottom: 0;
    }

    #icons {
        margin-top: 10px;
    }

    #icons a {
        padding: 0 10px;
        font-size: 1.5em; /* Agrandir les icônes pour les mobiles */
    }
}

@media (max-width: 480px) {
    #icons a {
        font-size: 1.2em; /* Ajuster encore plus pour très petits écrans */
    }
}

/* Footer */
/* Liens du footer */
#footerLinks {
    margin-top: 8px; /* 🔼 Plus proche des icônes */
    text-align: center;
    margin-bottom: 10px; /* 🔼 Un peu d'espace en dessous des icônes */
}

#footerLinks a {
    color: #FFFAE1;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    transition: color 0.3s ease-in-out;
}

#footerLinks a:hover {
    color: #ffcc00;
}

footer {
    background-color: #1D1D1D;
    color: #FFFAE1;
    padding: 0px 0 5px 0; /* 🔼 Moins d'espace en haut et en bas */
    text-align: center;
    margin-top: 40px; /* Facultatif si tu veux l'éloigner du contenu */
}

#footerTrait {
    height: 1px;
    width: 75%;
    background-color: #FFFAE1;
    margin: 40px auto 30px auto; /* 🔼 Réduit l'espace vertical */
}

#copyrightEtIcons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    margin-bottom: 10px; /* 🔼 Un peu d'espace en dessous des icônes */
}


#copyright {
    font-weight: bold;
    text-align: left;
}

#icons {
    text-align: right;
}

#icons a {
    display: inline-block;
    padding: 0 15px;
    font-size: 1.3em;
    color: #FFFAE1; /* Couleur des icônes */
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

/* Effet de zoom au survol */
#icons a:hover {
    color: #ffcc00;
    transform: scale(1.2); /* Zoom léger */
}


/* Formulaire de Login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Remplit la hauteur de l'écran */
    background-color: #1D1D1D;
}

.login-form {
    background-color: #333;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-form h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #FFFAE1;
}

.login-form label {
    font-size: 1rem;
    color: #FFFAE1;
    text-align: left;
    margin-bottom: 5px;
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #444;
    font-size: 1rem;
    background-color: #444;
    color: #FFFAE1;
}

.login-form button {
    background-color: #FFFAE1;
    color: #1D1D1D;
    font-weight: bold;
    padding: 10px 20px;
    width: 100%;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.login-form button:hover {
    background-color: #FFFAE1;
}

/* Responsivité du formulaire */
@media (max-width: 768px) {
    .login-container {
        height: auto;
        padding: 20px;
    }

    .login-form {
        max-width: 90%;
        margin: 0 10%;
    }

    .login-form h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .login-form h2 {
        font-size: 1.3rem;
    }

    .login-form input {
        font-size: 0.9rem;
    }

    .login-form button {
        font-size: 1rem;
    }
}

main {
    max-width: 600px;
    margin: 150px auto 2rem auto; /* Ajustement de la marge pour éviter le chevauchement avec la navbar */
    padding: 1rem;
    background: #2C2C2C;
    border-radius: 10px;
    color: #FFFAE1;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-weight: bold;
}

input, textarea, button {
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

input, textarea {
    background: #444;
    color: #FFFAE1;
}

button {
    background: #FFFAE1;
    color: #1D1D1D;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background: #ffcc00;
}

/*MODE ADMIN NOM */
.admin-mode {
    color: #FFFAE1;
    font-weight: bold;
    margin-left: 20px;
    text-transform: uppercase;
    margin: 8px;
}
/* POP UP ERREUR DE CONNEXION */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #252525;
    color: #f5f5dc;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    width: 400px;
}

.popup-content h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.popup-content p {
    font-size: 18px;
    margin-bottom: 15px;
}

.popup-content button {
    transition: transform 0.2s ease-in-out, background 0.2s;
}

.popup-content button:hover {
    transform: scale(1.1);
    background: #ffcc00;
}

/* pop contact */
/* POP-UP CONTACT */
.contact-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.contact-popup-content {
    background: #252525;
    color: #FFFAE1;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    width: 400px;
}

.contact-popup-content h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-popup-content p {
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-popup-content button {
    transition: transform 0.2s ease-in-out, background 0.2s;
}

.contact-popup-content button:hover {
    transform: scale(1.1);
    background: #ffcc00;
}


/* section education */
/* 🔹 Section Éducation */
#education {
    text-align: center;
    padding: 80px 20px;
}

/* 🔹 Titre */
#education h2 {
    font-size: 2.8rem;
    font-weight: bold;
    color: #FFFAE1;
    text-transform: uppercase;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  #education h2::after {
    content: "";
    margin-top: 2px;
    height: 6px;
    width: 100%;
    max-width: 20%; /* adapte selon la taille du texte */
    background: linear-gradient(to right, #ffcc00, #FF8800);
    border-radius: 8px;
  }
  

/* 🔹 Conteneur */
.education-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

/* 🔹 Carte Education (style CV) */
.education-item {
    position: relative;
    background: #1a1a1a;
    color: #FFFAE1;
    padding: 30px;
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, #ffcc00, #FF8800) 1;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.1);
    text-align: left;
    transition: all 0.3s ease-in-out;
}

/* 🔹 Hover effet */
.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.25);
}

/* 🔹 Titre des cartes */
.education-item h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffcc00;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* Icône */
.education-item h3::before {
    content: "\f19d"; /* 🎓 */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.3rem;
    color: #ffcc00;
}

/* Description */
.education-item p {
    font-size: 1rem;
    color: #ddd;
    line-height: 1.6;
}

/* Responsive */
@media screen and (max-width: 768px) {
    #education h2 {
        font-size: 2rem;
        margin-bottom: 40px;
      }
    
      #education h2::after {
        height: 5px;
        max-width: 50%; /* prend 90% de la largeur du texte */
        border-radius: 6px;
      }

    .education-item h3 {
        font-size: 1.2rem;
    }

    .education-item p {
        font-size: 0.95rem;
    }
}



/* 🔹 Section Expériences - style carte lumineuse */
#experience {
    margin: 100px auto;
    max-width: 1000px;


}

/* ✅ Titre d'expérience amélioré */
.experience-item {
    background: #1d1d1d;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.08);
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, #ffcc00, #FF8800) 1;
    position: relative; /* ✅ Ajoute ceci */
    
}



#experience h2 {
    font-size: 2.6rem;
    color: #FFFAE1;
    text-transform: uppercase;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
  }
  
  #experience h2::after {
    content: "";
    margin-top: 2px;
    height: 6px;
    width: 100%;
    max-width: 68%; /* Limite la barre à une taille agréable */
    background: linear-gradient(to right, #ffcc00, #FF8800);
    border-radius: 8px;
  }
  

.experience-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.3);
}

/* 🔹 Titres */
.experience-item h3 {
    color: #ffcc00;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

/* 🔹 Lieu / date */
.experience-item p {
    font-size: 1.05rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* 🔹 Liste */
.experience-item ul {
    list-style: none;
    padding-left: 0;
}

.experience-item ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #FFFAE1;
}

.experience-item ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #ffcc00;
    font-size: 1rem;
}

.rapport-btn-wrapper {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  


.rapport-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFFAE1;
    background: transparent;
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, #ffcc00, #FF8800) 1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rapport-btn:hover {
    transform: scale(1.05);
    color: #ffcc00;
    background-color: rgba(255, 204, 0, 0.05);
}

/* ✅ Responsive */
@media (max-width: 768px) {
    #experience h2 {
        font-size: 2rem;
        margin-bottom: 40px;
        text-align: center;
        display: block; /* 🔁 C’est ça qui manquait */
      }
    
      #experience h2::after {
        width: 90%; /* ou 100% */
        max-width: 400px; /* pour éviter qu'elle soit trop longue sur tablette */
        content: "";
        display: block;
        height: 5px;
        width: 80%; /* 👈 Allonge ici si tu veux (ex: 90% ou 100%) */
        margin: 8px auto 0 auto;
        background: linear-gradient(to right, #ffcc00, #FF8800);
        border-radius: 6px;
      }

    .experience-item {
        padding: 20px;
        margin: 0 20px 30px 20px; /* ✅ Ajoute un espace à gauche et à droite */
    }

    .rapport-btn-wrapper {
        position: static;
        transform: none;
        margin-top: 20px;
        display: flex;
        justify-content: center;
      }
      
}

/* section competence */

#competences {
    padding: 110px 20px 100px;
    text-align: center;
    scroll-margin-top: 100px;
  }
  
  #competences h2 {
    font-size: 2.6rem;
    color: #FFFAE1;
    margin-bottom: 50px;
    text-transform: uppercase;
    position: relative;
  }
  
  #competences h2::after {
    content: "";
    display: block;
    height: 6px;
    width: 35%;
    margin: 2px auto 0;
    background: linear-gradient(45deg, #ffcc00, #FF8800);
    border-radius: 8px;
  }
  
  .competence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .competence-card {
    background: #1a1a1a;
    padding: 25px;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.08);
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, #ffcc00, #FF8800) 1;
    color: #FFFAE1;
    text-align: left;
    transition: transform 0.3s ease-in-out;
  }
  
  .competence-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.2);
  }
  
  .competence-card h3 {
    color: #ffcc00;
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
  
  .competence-card ul {
    list-style: none;
    padding-left: 0;
  }
  
  .skill-item {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
  }
  
  .skill-item:hover {
    background-color: rgba(255, 136, 0, 0.05);
    border-radius: 5px;
  }
  
  .skill-item::before {
    content: "➤";
    position: absolute;
    left: 10px;
    color: #ffcc00;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease-in-out;
  }
  
  .skill-item:hover::before {
    opacity: 1;
    transform: translateX(0);
  }
  
  .logo-mini {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
  }
  
  /* Description (dépliée au clic, animée) */
  .skill-description {
    display: none;
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 8px;
    padding-left: 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }
  
  .skill-item.open .skill-description {
    display: block;
    max-height: 200px; /* adapte à la taille estimée du texte */
  }
  
  
  /* Responsive */
  @media screen and (max-width: 600px) {
    .skill-description {
      white-space: normal;
      width: 90%;
      max-width: 240px;
      padding-left: 10px;
    }
  }
  
  
/* Lien agence web */
.agency-link {
    text-decoration: none;
    color: #FFFAE1;
    display: inline-block;
    position: relative; /* Ajout pour éviter le chevauchement */
}

/* Texte "Agence Web Evry" toujours souligné */
.underline {
    display: inline-block;
    text-decoration: underline;
    transition: all 0.3s ease;
    transform-origin: left center;
}

/* Correction pour éviter le chevauchement au survol */
.agency-link:hover .underline {
    transform: scale(1.05); /* Réduction de l'effet */
    display: inline-block;
    padding-bottom: 2px; /* Ajout d'un léger espace sous la ligne */
}




/* scroll btn */

/* 🔹 Amélioration du sous-menu pour mobile */
@media (max-width: 768px) {
    .menu-deroulant:hover .sous-menu {
        display: none; /* Désactiver l'affichage au hover */
    }

    .menu-deroulant.active .sous-menu {
        display: block;
        position: static;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        text-align: center;
    }

    .sous-menu li {
        width: 100%;
        padding: 10px 0;
    }
}

/* 🔹 Amélioration du bouton "À propos" */
.scroll-to-apropos {
    margin-top: 20px;
    text-align: center;
}

.scroll-to-apropos a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #1D1D1D;
    background: linear-gradient(45deg, #ffcc00, #FFAA00);
    border-radius: 30px;
    box-shadow: 0px 4px 10px rgba(255, 165, 0, 0.5);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.scroll-to-apropos a:hover {
    background: linear-gradient(45deg, #ffcc00, #FF6600);
    box-shadow: 0px 6px 15px rgba(255, 165, 0, 0.8);
    transform: scale(1.05);
}

.scroll-to-apropos a i {
    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
}

.scroll-to-apropos a:hover i {
    transform: translateX(5px);
}

/* 🔹 Responsive pour le bouton */
@media (max-width: 768px) {
    .scroll-to-apropos a {
        font-size: 16px;
        padding: 10px 15px;
        width: 180px;
    }

    .scroll-to-apropos a i {
        font-size: 14px;
    }
}
/* text */
.typing {
    font-weight: bold;
    color: #ffcc00;
    border-right: 3px solid #ffcc00;
    padding-right: 5px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* apropos  */

.apropos-section {
    background-color: #1d1d1d;
    padding: 80px 20px;
    color: #FFFAE1;
  }
  
  .apropos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    flex-wrap: wrap;
  }
  
  .apropos-image img {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    border: 4px solid #ffcc00;
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.5);
    object-fit: cover;
  }
  
  .apropos-content {
    flex: 1;
    min-width: 300px;
  }
  
  .apropos-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #ffcc00;
    border-bottom: 3px solid #ffcc00;
    display: inline-block;
    padding-bottom: 5px;
  }
  
  .apropos-content .presentation {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #FFFAE1;
  }
  
  .infos {
    list-style: none;
    padding: 0;
  }
  
  .infos li {
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline; /* meilleur alignement */
  gap: 10px;
  flex-wrap: wrap; /* utile pour mobile */
}
  
  .infos li i {
    color: #ffcc00;
    font-size: 1.3rem;
    min-width: 20px;
  }
  
  .infos li span {
    font-weight: bold;
    color: #ffcc00;
  }
  @media (max-width: 768px) {
    .apropos-container {
      flex-direction: column;
      text-align: center;
    }
  
    .apropos-image img {
      margin-bottom: 20px;
    }
  
    .infos {
      text-align: left;
      padding: 0 10px;
    }
  
    .apropos-content h2 {
      font-size: 2.2rem;
    }
  }
    
  
/*experience.php */

/* cv-card */
.cv-section {
    margin-top: 150px;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    border-radius: 150px;
  }
  
  .cv-card {
    background: #1a1a1a;
    color: #FFFAE1;
    border: 2px solid transparent;
    border-radius: 25px; /* ➕ Plus arrondi */
    padding: 30px;
    max-width: 700px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.1);
    border-image: linear-gradient(45deg, #ffcc00, #FF8800) 1;
  }
  
  .cv-card h3 {
    color: #ffcc00;
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .cv-card p {
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
  }
  
  .cv-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    color: #FFFAE1;
    background: transparent;
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, #ffcc00, #FF8800) 1;
    transition: all 0.3s ease-in-out;
  }
  
  .cv-btn:hover {
    background: rgba(255, 204, 0, 0.05);
    color: #ffcc00;
    transform: scale(1.05);
  }


  
  .cv-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  
  /* ✅ Responsive */
  @media (max-width: 600px) {
    .cv-btn {
      width: 100%;
      justify-content: center;
    }
  
    .cv-links {
      flex-direction: column;
      gap: 10px;
    }
  }
  

/* Mentions Légales */
/* Espacement et design du bloc */
.legal-container {
    max-width: 900px;
    margin: 100px auto 50px auto;
    padding: 40px;
    background: #1D1D1D;
    color: #FFFAE1;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    line-height: 1.8;
}

/* Titre principal */
.legal-container h1 {
    font-size: 36px;
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 15px;
}

/* Date */
.legal-date {
    font-size: 14px;
    color: #ffcc00;
    margin-bottom: 30px;
}

/* Sous-titres */
.legal-container h2 {
    font-size: 22px;
    color: #ffcc00;
    margin-top: 40px;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 5px;
}

/* Texte */
.legal-container p {
    font-size: 16px;
    margin-bottom: 15px;
}

/* Liens */
.legal-container a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.legal-container a:hover {
    text-decoration: underline;
    color: #FFD700;
}

/* 🌍 STYLES GÉNÉRAUX */
body .bts-container {
    padding-top: 150px; /* Évite le chevauchement avec la navbar */
}

/* 🏫 Section BTS SIO */
.bts-container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 20px;
    text-align: center;
}

/* 🎓 TITRE PRINCIPAL */
.bts-container h1 {
    font-size: 3rem; /* Taille équilibrée */
    color: #FFFAE1;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.bts-container .subtitle {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 10px auto 30px;
    line-height: 1.5;
    color: #FFFAE1;
}

/* 📌 SECTIONS GÉNÉRALES */
.section {
    background: #1D1D1D;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}
.pres{
    background: #1D1D1D;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 15px #ffcc00;
    margin-bottom: 30px;
}
.section h2 {
    font-size: 2.2rem;
    color: #ffcc00;
    margin-bottom: 15px;
}

/* 🏆 Options SLAM & SISR */
.options-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.option {
    width: 48%;
    background: #1D1D1D;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #ffcc00;
    transition: transform 0.3s ease-in-out;
}

.option h3 {
    color: #ffcc00;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.option:hover {
    transform: scale(1.05);
}

/* 📝 LISTE DES EXAMENS */
.exam-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 10px;
}

.exam-list li {
    font-size: 1.2rem;
    padding: 10px;
    background: #1D1D1D;
    border-radius: 8px;
    margin: 10px 0;
    transition: background 0.3s ease-in-out;
    box-shadow: 0 0 5px #ffcc00;
}

.exam-list li:hover {
    background: #ffcc00;
    color: #1D1D1D;
}

/* 🎯 DÉBOUCHÉS - LISTE */
.debouche-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.debouche {
    width: 48%;
    background: #1D1D1D;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px #ffcc00;
}

.debouche h3 {
    color: #ffcc00;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.debouche ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.debouche ul li {
    font-size: 1.1rem;
    margin-bottom: 5px;
    position: relative;
    padding-left: 25px;
}

.debouche ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #ffcc00;
    font-size: 1.2rem;
}

/* ✅ RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .bts-container {
        width: 95%;
        padding: 10px;
    }

    .bts-container h1 {
        font-size: 2.5rem;
    }

    .bts-container .subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    border-radius: 12px;
    box-shadow: 0 0 15px #ffcc00;
    margin-bottom: 30px;
    }

    .options-container {
        flex-direction: column;
    }

    .option {
        width: 100%;
    }

    .debouche-container {
        flex-direction: column;
    }

    .debouche {
        width: 100%;
    }

    .exam-list li {
        font-size: 1.1rem;
        padding: 10px;
    }
}

/* veille */
/* ✅ Section d'explication de la veille */
.definition-section {
    max-width: 900px;
    margin: 100px auto;
    padding: 25px;
    background: linear-gradient(135deg, #222, #1a1a1a);
    color: #FFFAE1;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
}

.definition-section h1 {
    font-size: 2.8rem;
    color: #ffcc00;
    margin-bottom: 20px;
}

/* ✅ Liste des avantages */
.definition-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.definition-section ul li {
    font-size: 1.2rem;
    padding: 12px;
    background: #292929;
    border-radius: 8px;
    margin: 10px 0;
    transition: background 0.3s ease-in-out, transform 0.2s;
}

.definition-section ul li:hover {
    background: #ffcc00;
    color: #1D1D1D;
    transform: scale(1.05);
}

/* ✅ Conteneur des outils */
.tools-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.tool-card {
    background: linear-gradient(135deg, #222, #1a1a1a);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
    text-align: center;
    width: 300px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

.tool-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.6);
}

.tool-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
}

/* ✅ Liens utiles */
.resources {
    text-align: center;
    margin-top: 20px;
}

.resources a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.resources a:hover {
    text-decoration: underline;
    color: #FFD700;
}

/* ✅ Bouton "En savoir plus" */
.btn-learn-more {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(45deg, #ffcc00, #ff6600);
    color: #1D1D1D;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
    text-decoration: none;
}

.btn-learn-more:hover {
    background: linear-gradient(45deg, #ff8800, #ff3300);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.6);
}

/* ✅ Bouton "Retour" */
.btn-back {
    padding: 12px 20px;
    background: linear-gradient(45deg, #ff3300, #ff0000);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 20px;
    text-decoration: none;
    display: inline-block;
}

.btn-back:hover {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    transform: scale(1.05);
}

/* ✅ Animation d'entrée */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .definition-section {
        width: 95%;
        padding: 15px;
    }

    .definition-section h1 {
        font-size: 2.2rem;
    }

    .definition-section ul li {
        font-size: 1rem;
        padding: 10px;
    }

    .tool-card {
        width: 100%;
    }
}


/* veille */
body .veille-section{
    padding: 150px;
}
.veille-section {
    max-width: 1100px;
    margin: 80px auto;
    padding: 40px;
    background: #1D1D1D;
    color: #FFFAE1;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.15);
}

.veille-title {
    font-size: 2.8rem;
    text-align: center;
    color: #ffcc00;
    margin-bottom: 30px;
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
}

.veille-intro, .veille-conclusion {
    font-size: 1.2rem;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 30px;
}

.veille-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.veille-card {
    background: #2C2C2C;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.1);
    transition: transform 0.3s ease;
}

.veille-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

.veille-card h3 {
    color: #ffcc00;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.veille-card ul {
    padding-left: 1.2rem;
    list-style-type: '✔ ';
    font-size: 1rem;
}

.veille-card ul li {
    margin-bottom: 8px;
}

.veille-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .veille-title {
        font-size: 2rem;
    }

    .veille-intro, .veille-conclusion {
        font-size: 1rem;
    }
}


/* admin */

.admin-panel {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #111;
    border: 2px solid #ffcc00;
    border-radius: 40px;
    padding: 5px 15px;
    margin-left: 20px;
  }
  
  .admin-label {
    color: #ffcc00;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
  
  .admin-link {
    color: #FFFAE1;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 10px;
    transition: all 0.3s ease;
    border-radius: 5px;
  }
  
  .admin-link:hover {
    background: #ffcc00;
    color: #1a1a1a;
  }
  
  .logout-icon i {
    color: #ffcc00;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }
  
  .logout-icon i:hover {
    transform: scale(1.2);
    color: white;
  }
  
  #admin-panel {
    padding: 80px 20px;
    color: #FFFAE1;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .admin-section {
    padding: 80px 20px;
    color: #FFFAE1;
    text-align: center;
  }
  .admin-section .info-text {
    color: #ccc;
    margin-top: 10px;
    font-size: 1rem;
  }
  
  .admin-section .error-message {
    color: #ff6b6b;
    font-weight: bold;
    margin: 15px auto;
  }
  
  .admin-box input[type="text"] {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    margin-top: 15px;
    border-radius: 8px;
    border: 1px solid #ffcc00;
    background: #1a1a1a;
    color: #FFFAE1;
  }
  
  .download-link {
    margin-top: 10px; /* espace entre le texte au-dessus et le bouton */
    background: transparent;
    padding: 10px 10px;
    font-weight: bold;
    font-size: 1rem;
    color: #ffcc00;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, #ffcc00, #ffaa00) 1;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
  }
  
  .download-link i {
    color: #ffcc00;
  }
  
  .download-link:hover {
    background: rgba(255, 204, 0, 0.1);
    color: #ffcc00;
    transform: scale(1.05);
  }
  
  .download-link:hover i {
    color: #ffcc00;
  }
  
  
  .admin-section h2 {
    font-size: 2.2rem;
    color: #ffcc00;
    margin-bottom: 20px;
  }
  
  .admin-grid {
    max-width: 1200px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .admin-box {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #ffcc00;
  }
  
  .admin-box h3 {
    color: #ffcc00;
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .admin-box ul {
    list-style: none;
    padding-left: 0;
    font-size: 0.95rem;
    text-align: left;
  }
  
  /* Champ input */
  .admin-box ul li {
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  
  
  
  .download-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .download-list li {
    margin: 10px 0;
  }
  
  /* Partie tableau + téléchargement */
  .admin-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .admin-table-wrapper {
    width: 100%;
  }
  
  .table-scroll-wrapper {
    overflow-x: auto;
    width: 100%;
  }
  
  .admin-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    color: #FFFAE1;
    font-size: 0.95rem;
  }
  
  .admin-table th,
  .admin-table td {
    border: 1px solid #ffcc00;
    padding: 10px;
  }
  
  .admin-table th {
    background: #1a1a1a;
    color: #ffcc00;
  }
  
  /* Bloc fichiers */
  .admin-downloads {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #ffcc00;
    text-align: center;
  }
  
  .admin-downloads h3 {
    color: #ffcc00;
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
  }
  
  /* Responsive */
  @media screen and (max-width: 768px) {
    .admin-grid {
      grid-template-columns: 1fr;
    }
  
    .admin-table {
        font-size: 0.85rem;
      }
    
      .admin-table th, .admin-table td {
        padding: 8px;
      }
  
    .admin-section {
      padding: 70px 10px;
    }
  
    .admin-content-wrapper {
      padding: 20px 10px;
    }
  
    .admin-downloads {
      padding: 20px;
      margin-top: 20px;
    }
  
    .admin-table-wrapper {
      overflow-x: auto;
    }
  
  }
  
  .admin-dropdown {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
  }
  
  .nav-item.dropdown {
    position: relative;
  }
  
  .dropdown-toggle-admin {
    color: #ffcc00;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    cursor: pointer;
  }
  

  .dropdown-menu {
    list-style: none; /* 🔥 Enlève les puces */
    padding-left: 0;
  }
  .dropdown-menu li {
    list-style: none;
  }
  
  .nav-item .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFFAE1;
    font-weight: bold;
    text-decoration: none;
  }
  
  .dropdown-arrow {
    transition: transform 0.3s ease;
  }
  
  .nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
  }
  @media screen and (max-width: 768px) {
    .nav-item .nav-link {
      justify-content: space-between;
      width: 100%;
    }
  }
    

  
  
  
  .nav-item .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #111;
    border: 2px solid #ffcc00;
    border-radius: 10px;
    padding: 10px;
    top: 100%;
    right: 0;
    min-width: 200px;
    z-index: 1000;
  }
  
  .nav-item .dropdown-menu li {
    padding: 10px 10px;
  }
  
  .nav-item .dropdown-menu li a {
    color: #FFFAE1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .nav-item:hover .dropdown-menu {
    display: block;
  }
  
  /* Responsive mobile */
  @media screen and (max-width: 768px) {
    .nav-item .dropdown-menu {
      position: static;
      width: 100%;
      border: none;
      padding: 0;
    }
  
  
    .dropdown-toggle-admin {
      justify-content: space-between;
      width: 100%;
    }
  
    .nav-item:hover .dropdown-menu {
      display: block;
    }
  }
  
  

  /* a2f */
  .a2f-box {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .input-icon-wrapper {
    position: relative;
    width: 100%;
  }
  
  .input-icon-wrapper .icon-container {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #ffcc00;
    font-size: 1rem;
  }
  
  .input-icon-wrapper input {
    width: 100%;
    padding: 12px 12px 12px 40px; /* espace à gauche pour l’icône */
    font-size: 1rem;
    border-radius: 10px;
    border: 2px solid #ffcc00;
    background: #1a1a1a;
    color: #FFFAE1;
    font-weight: bold;
    outline: none;
  }
  
  
  .btn-gradient {
    background: transparent;
    border: 2px solid;
    border-image: linear-gradient(45deg, #ffcc00, #ffaa00) 1;
    color: #ffcc00;
    font-weight: bold;
    padding: 10px 20px;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
  }
  
  .btn-gradient i {
    margin-right: 6px;
  }
  
  .btn-gradient:hover {
    transform: scale(1.05);
    background: rgba(255, 204, 0, 0.07);
  }
  
  .btn-gradient:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-style: dashed;
    border-color: #888;
    color: #888;
  }
   /* respon */
   @media (max-width: 480px) {
    .admin-section h2 {
      font-size: 1.5rem;
    }
  
    .btn-gradient {
      font-size: 0.95rem;
      padding: 8px 16px;
    }
  
    .input-icon-wrapper input {
      font-size: 1rem;
    }
  }

  .admin-infos {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
    color: #FFFAE1;
    font-size: 1rem;
  }
  
  .admin-infos i {
    color: #ffcc00;
    margin-right: 5px;
  }

  /* projets */
  .projects-section {
    padding: 90px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }
  
  .project-card {
    background-color: #1a1a1a;
    border: 2px solid #ffcc00;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  
  .project-card:hover {
    transform: scale(1.03);
  }
  
  .project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 15px 0;
  }
  
  .project-tags span {
    background-color: #333;
    color: #ffcc00;
    border: 1px solid #ffcc00;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
  }
  
  .project-card h3 {
    font-size: 1.3rem;
    color: #ffcc00;
    margin: 10px 0;
  }
  
  .project-card p {
    color: #FFFAE1;
    font-size: 0.95rem;
    padding: 0 15px;
    flex-grow: 1;
  }
  
  .project-links {
    padding: 20px;
  }
  
 /* Ajouter un style pour le bouton de réinitialisation */
.btn-gradient.danger {
  background: linear-gradient(45deg, #ff5733, #ff704d);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-gradient.danger:hover {
  background: linear-gradient(45deg, #ff704d, #ff5733);
}

.btn-gradient.danger i {
  margin-right: 1px;
}

  
  /* Bloc superposé TP Java */
#java-tp-overlay {
  position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: #111;
z-index: 999;
overflow-y: auto;
display: none;
padding: 40px 20px;
}

.overlay-tp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #111;
  z-index: 999;
  overflow-y: auto;
  display: none;
  padding: 40px 20px;
  color: #FFFAE1;
}

.overlay-tp h2 {
  color: #ffcc00;
  margin-bottom: 20px;
}

.tp-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.tp-list li {
  background: #1a1a1a;
  border-left: 4px solid #ffcc00;
  margin-bottom: 15px;
  padding: 10px 15px;
  font-size: 1rem;
  text-align: left;
}

.tp-list a {
  color: #ffcc00;
  text-decoration: underline;
}

.btn-retour-tp {
  position: relative;
  margin: 20px 0 30px 30px;
  background-color: #fff8d1;
  color: #000;
  border: none;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 0 10px #ffcc00;
  transition: all 0.3s ease;
}

.btn-retour-tp:hover {
  transform: scale(1.05);
  background-color: #ffcc00;
}
/* formlaire admin  */
.admin-form {
  max-width: 600px;
  margin: auto;
  padding: 30px;
  background: #1a1a1a;
  border: 2px solid #ffcc00;
  border-radius: 15px;
}

.admin-form .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.admin-form label {
  display: block;
  color: #ffcc00;
  margin-bottom: 5px;
  font-weight: bold;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #ffcc00;
  border-radius: 8px;
  background-color: #121212;
  color: #fff;
  font-size: 1rem;
}

.admin-form button.btn-gradient {
  width: 100%;
  padding: 12px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.langages-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
}
.langages-checkboxes label {
  background-color: #222;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #ffcc00;
  cursor: pointer;
  font-size: 0.9rem;
  color: #ffcc00;
}
.langages-checkboxes input {
  display: none;
}
.langages-checkboxes input:checked + span {
  background-color: #ffcc00;
  color: #111;
}

/* Accordéon projet */
.projet-toggle {
  cursor: pointer;
  background: #111;
  padding: 10px;
  border: 1px solid #ffcc00;
  color: #ffcc00;
  margin-top: 20px;
  font-weight: bold;
  border-radius: 5px;
}
.projet-contenu {
  display: none;
  padding: 10px;
  border: 1px solid #444;
  background: #1a1a1a;
  border-radius: 10px;
  margin-bottom: 20px;
}
.projet-contenu.visible {
  display: block;
}
.form-admin {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 30px auto;
  max-width: 800px;
}

.form-admin input,
.form-admin textarea,
.form-admin select {
  padding: 10px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  background: #2a2a2a;
  color: #fff;
  width: 100%;
}

.langage-options button {
  margin: 5px;
  padding: 6px 12px;
  border: 1px solid #ffcc00;
  background: transparent;
  color: #ffcc00;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s ease;
}

.langage-options button.active {
  background: linear-gradient(45deg, #ffcc00, #ffaa00);
  color: #000;
}

.langage-options button:hover {
  transform: scale(1.05);
}


.accordion-item {
  background: #1f1f1f;
  border: 1px solid #ffcc00;
  border-radius: 10px;
  margin: 10px 0;
  overflow: hidden;
}

.accordion-header {
  padding: 15px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  background-color: #2c2c2c;
}

.accordion-content {
  display: none;
  padding: 15px;
}
.accordion-content.active {
  display: block;
}
.badge-lang {
  display: inline-block;
  background: #ffcc00;
  color: #000;
  border-radius: 20px;
  padding: 6px 14px;
  margin: 6px;
  font-weight: bold;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.badge-lang:hover {
  background: #ffaa00;
}
.badge-lang.active {
  background: #000;
  color: #ffcc00;
  border: 1px solid #ffcc00;
}
.accordion-header, .accordion-content, .projet-item {
  user-select: text !important;
}
/* Message feedback */
.success, .error {
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 20px;
  font-weight: 500;
  font-size: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.success {
  background-color: #dff0d8;
  color: #3c763d;
  border-left: 5px solid #5cb85c;
}

.error {
  background-color: #f8d7da;
  color: #842029;
  border-left: 5px solid #dc3545;
}
.admin-section form select,
.admin-section form button {
  padding: 10px;
  font-size: 16px;
  border: 2px solid #ffaa00;
  border-radius: 8px;
  margin-top: 10px;
  margin-bottom: 20px;
  background: #111;
  color: #fff;
}

.admin-section form select option {
  background: #111;
  color: #fff;
}

.admin-section form button {
  cursor: pointer;
  background-image: #000;
  color: #ffcc00;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.admin-section form button:hover {
  transform: scale(1.05);
}
/* page veille */

.collapsible-resource {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: all 0.5s ease-in-out;
}

.collapsible-resource.visible {
  max-height: 300px; /* ajuste si besoin */
  opacity: 1;
  transform: translateY(0);
  margin-top: 20px;
}



.btn-show-more {
  padding: 12px 28px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid #ffcc00;
  background: transparent;
  color: #ffcc00;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.15);
}

.btn-show-more:hover {
  background: #ffcc00;
  color: #000;
  transform: scale(1.05);
}

.btn-show-more i {
  margin-right: 8px;
}

.timeline-section {
  background: #1c1c1c;
  padding: 70px 20px;
  color: #f2f2f2;
}

.timeline-item {
  margin: 25px 0;
  padding: 20px;
  background: #2a2a2a;
  border-radius: 12px;
  transition: background 0.3s;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.timeline-date {
  color: #ffaa00;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.timeline-item h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #ffcc00;
}

.timeline-item p {
  margin: 8px 0 0;
  line-height: 1.5;
}

.arrow-toggle {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: #ffcc00;
  margin-left: 10px;
}

.timeline-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.4s ease;
  padding-left: 10px;
  margin-top: 10px;
}

.timeline-item.open .timeline-body {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.open .arrow-toggle {
  transform: rotate(180deg);
}

.timeline-desc {
  font-size: 0.95rem;
  color: #bbb;
  margin-top: 5px;
}
  .enjeux-section {
  background: linear-gradient(to bottom, #161616, #1c1c1c);
  color: #f0f0f0;
}

.custom-title {
  color: #ffcc00;
  font-size: 2.3rem;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.custom-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ffcc00;
  margin: 14px auto 0;
  border-radius: 2px;
}

.text-block {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #ddd;
}

.text-block .highlight {
  font-weight: 600;
  color: #ffaa00;
}

 .no-code-block {
  background: #2a2a2a;
  padding: 20px 25px;
  border-left: 4px solid #ffcc00;
  border-radius: 10px;
  margin: 25px 0;
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.05);
}

.no-code-block h3 {
  color: #ffcc00;
  font-size: 1.2rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.tool-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 10px;
  line-height: 1.5;
}

.tool-list li::before {
  content: "➤";
  position: absolute;
  left: 0;
  color: #ffaa00;
}

.video-card-external {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  background: #2a2a2a;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.08);
  align-items: center;
  margin-top: 40px;
}

.video-card-external img {
  max-width: 100%;
  width: 400px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.video-info {
  flex: 1;
  color: #f2f2f2;
}

.video-info h3 {
  font-size: 1.4rem;
  color: #ffcc00;
  margin-bottom: 10px;
}

.video-info p {
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn-watch {
  background: linear-gradient(45deg, #ffcc00, #ffaa00);
  color: #111;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-watch i {
  font-size: 1.1rem;
}

.btn-watch:hover {
  background: linear-gradient(45deg, #ffaa00, #ffcc00);
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(255, 204, 0, 0.4);
  color: #000;
}

.video-card iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .video-card-external {
    flex-direction: column;
  }

  .video-card-external img {
    width: 100%;
  }
}


  .info-toggle {
  margin-bottom: 20px;
}

.info-btn {
  background: transparent;
  border: 2px solid #ffcc00;
  color: #ffcc00;
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
  text-align: left;
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-btn:hover {
  background: #ffcc00;
  color: #000;
  transform: scale(1.02);
}

.info-text {
  background: #2a2a2a;
  margin-top: 8px;
  padding: 14px 20px;
  border-radius: 10px;
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.5;
  display: none;
  animation: fadeIn 0.4s ease;
}

.text-green {
  color: #00cc66;
}

.text-red {
  color: #ff4444;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}
  .avantage-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  background: #222;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.08);
}

.avantage-item i {
  font-size: 1.3rem;
  min-width: 22px;
  margin-top: 3px;
}

.text-green {
  color: #00cc66;
}

.text-red {
  color: #ff4444;
}

.text-content {
  color: #f2f2f2;
  line-height: 1.5;
}

  .text-green {
  color: #00cc66;
  margin-right: 8px;
}

.text-red {
  color: #ff4444;
  margin-right: 8px;
}

  .hero-section.veille {
  padding: 140px 20px 80px;
  background: linear-gradient(to bottom, #111 0%, #1a1a1a 100%);
  text-align: center;
  color: #ffcc00;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 760px;
  margin: 0 auto;
  color: #e0e0e0;
  line-height: 1.6;
}

.content-section, .resources-section, .videos-section {
  padding: 70px 20px;
  background: #1c1c1c;
  color: #f2f2f2;
}

.content-section.alt {
  background: #151515;
}

.section-title {
  color: #ffcc00;
  font-size: 2.3rem;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ffcc00;
  margin: 10px auto 0;
  border-radius: 2px;
}
.resource-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  align-items: stretch;
}

.resource-card {
  background: #2a2a2a;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(255, 204, 0, 0.08);
  transition: transform 0.3s;
  flex: 1 1 280px;
  max-width: 300px;
  min-height: 260px; /* 🔥 Force une même hauteur */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-card h3 {
  color: #ffcc00;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.resource-card p {
  flex-grow: 1; /* 🔥 Prend l’espace vide pour égaliser */
  color: #ccc;
  margin-bottom: 20px;
}

.resource-card .btn {
  align-self: flex-start;
  border: 2px solid #ffcc00;
  color: #ffcc00;
  background: transparent;
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.resource-card .btn:hover {
  background: #ffcc00;
  color: #000;
  transform: scale(1.05);
}

/* Optionnel : animation douce à l'apparition */
.resource-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.resource-card a.btn {
  align-self: flex-start;
}

.resource-toggle-wrapper {
  text-align: center;
  margin-top: 20px;
}
.btn-download-pdf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(45deg, #ffcc00, #ffaa00);
  color: #000;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px #ffaa00a0;
}

.btn-download-pdf i {
  font-size: 20px;
}

.btn-download-pdf:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ffaa00;
  color: #222;
}

.btn-show-more {
  background: none;
  border: 2px solid #ffcc00;
  color: #ffcc00;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-show-more:hover {
  background: #ffcc00;
  color: #111;
  transform: scale(1.05);
}

.btn-show-more i {
  transition: transform 0.3s ease;
}

.btn-show-more.open i {
  transform: rotate(180deg);
}

.video-grid, .resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.video-card, .resource-card {
  background: #2a2a2a;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(255, 204, 0, 0.08);
  transition: transform 0.3s;
}

.video-card:hover, .resource-card:hover {
  transform: translateY(-5px);
}

.video-card h3, .resource-card h3 {
  color: #ffcc00;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  border: none;
}

.btn, .btn-pdf {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 30px;
  background: transparent;
  border: 2px solid #ffcc00;
  color: #ffcc00;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.2);
}

.btn:hover, .btn-pdf:hover {
  background: #ffcc00;
  color: #000;
  transform: scale(1.05);
}

.btn-pdf {
  background: linear-gradient(45deg, #ffcc00, #ffaa00);
  color: #000;
  border: none;
  box-shadow: 0 6px 18px rgba(255, 204, 0, 0.3);
}

.btn-pdf i {
  margin-right: 8px;
}

.download-pdf {
  background: #111;
  padding: 60px 20px;
}

.download-pdf p {
  color: #ddd;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}
.timeline-section {
  background: #1c1c1c;
  padding: 70px 20px;
  color: #f0f0f0;
}

.timeline {
  position: relative;
  margin: 40px 0;
  padding-left: 20px;
  border-left: 3px solid #ffcc00;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -11px;
  width: 16px;
  height: 16px;
  background: #ffcc00;
  border-radius: 50%;
  border: 3px solid #1c1c1c;
}

.timeline-date {
  font-weight: bold;
  color: #ffaa00;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.timeline-content h3 {
  color: #ffcc00;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.timeline-content p {
  line-height: 1.6;
  color: #ddd;
}
.mvp-example-block {
  background: #2a2a2a;
  padding: 25px;
  border-radius: 12px;
  margin-top: 30px;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.1);
}

.mvp-example-block h3 {
  color: #ffcc00;
  font-size: 1.3rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mvp-exemples {
  list-style: none;
  padding-left: 0;
  color: #f2f2f2;
}

.mvp-exemples li {
  margin-bottom: 12px;
  padding-left: 1.2em;
  position: relative;
  line-height: 1.5;
}

.mvp-exemples li::before {
  content: "➤";
  position: absolute;
  left: 0;
  color: #ffaa00;
}

/* competence e5  tableau*/
.competence-synthese-block {
  margin: 60px auto 40px auto;
  padding: 40px 30px;
  background: #111;
  border: 2px solid #ffaa00;
  text-align: center;
  box-shadow: 0 0 25px rgba(255, 200, 0, 0.1);
  max-width: 1000px;
}

.competence-synthese-block h3 {
  font-size: 2rem;
  color: #ffcc00;
  margin-bottom: 15px;
}

.competence-synthese-block p {
  color: #ddd;
  font-size: 1.2rem;
}

.competence-synthese-block .cv-buttons {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.competence-synthese-block .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-weight: bold;
  text-decoration: none;
  color: #FFFAE1;
  background: transparent;
  border: 2px solid transparent;
  border-image: linear-gradient(45deg, #ffcc00, #FF8800) 1;
  transition: all 0.3s ease-in-out;
}

.competence-synthese-block .btn:hover {
  background: rgba(255, 204, 0, 0.05);
  color: #ffcc00;
  transform: scale(1.05);
}
