
/* ===== BACKGROUND GLOBAL ===== */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;

    /* Dégradé harmonieux de bleus */
    background: linear-gradient(135deg, #0a1f44, #13315c, #1e4e8c, #3066be);
    background-size: 400% 400%;
    animation: gradientMove 20s ease infinite;

    /* Superposition d’un motif circuits imprimés */
    background-image:
        url("images/gplay.png"),
        linear-gradient(135deg, 
        #0a1f44, #13315c, #1e4e8c, #3066be);
    background-blend-mode: overlay;
    background-attachment: fixed;
    color: white;
}



#typed-welcome {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1ec0ff; /* bleu clair */
    text-align: center;
    margin-bottom: 20px;
    min-height: 60px; /* pour éviter le saut de ligne pendant le typing */
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #1ec0ff; /* curseur clignotant */

    /* Néon techno discret */
    text-shadow:
        0 0 2px #1ec0ff,
        0 0 4px #1ec0ff,
        0 0 8px #0a91c3;
}

/* Curseur clignotant */
@keyframes blinkCursor {
    50% { border-color: transparent; }
}
#typed-welcome {
    animation: blinkCursor 0.7s steps(1) infinite;
}


/*body{
    margin:0;
    padding:0;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a1f44, #13315c, #1e4e8c, #f0c808);
    background-attachment: fixed;
    background-size: cover;
    color:white;

}*/
/* ===== HEADER ===== */
header {
    display: none;
    text-align: center;
    padding: 10px; /* réduit la marge interne */
    background: linear-gradient(135deg, #0a1f44, #13315c); /* bande colorée */
    border-bottom: 3px solid #1e4e8c;
}

header .logo {
    background-image: url("images/logo_geii.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 165px;   /* réduit encore (avant 120px) */
    width: 300px;    /* réduit (avant 220px) */
    margin: auto;
}



/* ===== Section Image GEII ===== */
.topbar .logo {
    height: 85px;        /* plus grand */
    width: auto;
    transition: transform 0.3s ease;
}

.topbar .logo:hover {
    transform: scale(1.08);
}

/* ===== MENU TOPBAR ===== */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;

    background: rgba(10, 31, 68, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(30,192,255,0.4);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);

    display: flex;
    align-items: center;

    z-index: 1000;
}

.topbar-inner {
    width: 100%;
    max-width: 1200px;   /* largeur maîtrisée */
    margin-left: 25px;                           /* margin: 0 auto; */    /* CENTRAGE RÉEL */

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 40px;
    box-sizing: border-box;
}

/* Animation d’apparition */
@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.topbar {
    animation: slideDown 0.8s ease-out;
}
/* Encadré principal */
.menu > li > a {
    background: rgba(30, 192, 255, 0.08);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(30,192,255,0.3);
    transition: all 0.3s ease;
}

/* Effet hover stylé */
.menu > li > a:hover {
    background: rgba(30,192,255,0.15);
    box-shadow: 
        0 0 10px rgba(30,192,255,0.6),
        inset 0 0 8px rgba(30,192,255,0.3);
    transform: translateY(-2px);
}


.menu {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0 auto;     /* CENTRAGE DU MENU */
    padding: 0;
}

.menu li {
    position: relative;
}

.menu a {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.menu a.active {
    background: #1ec0ff;
    color: #0a1f44;
    box-shadow: 0 0 15px #1ec0ff;
}

/* Ligne animée */
.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 0%;
    height: 2px;
    background: #1ec0ff;
    transition: width 0.3s ease;
}

.menu a:hover {
    color: #1ec0ff;
    text-shadow:
        0 0 5px #1ec0ff,
        0 0 10px rgba(30,192,255,0.6);
}

.menu a:hover::after {
    width: 100%;
}

.submenu {
    position: absolute;
    top: 100%;  /* colle directement sous le parent */
    left: 0;

    background: rgba(19, 49, 92, 0.98);
    list-style: none;
    padding: 10px 0;
    min-width: 180px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.25s ease;

    border-radius: 8px;
}


.submenu li {
    padding: 8px 20px;
}

.submenu li a {
    font-size: 15px;
}
.has-submenu {
    padding-bottom: 10px; /* petite zone tampon */
}

.has-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Liens */
.sidebar ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar li{
    border-bottom: 1px solid #333;
}

.sidebar a{
    display: block;
    padding: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar a:hover{
    background: #1e4e8c;
    transform: translateX(-10px);
}

.qr-code {
    position: fixed;
    bottom: 20px;
    right: 20px;

    width: 90px;   /* réduit */
    height: auto;

    opacity: 0.85;
    transition: transform 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.1);
}

/* ===== SOUS-MENUS ===== */


.submenu li a{
    padding-left: 30px;
    font-size: 14px;
}

/* ===== CONTENU ===== */
main {
    padding: 40px;
    padding-top: 90px; /* au lieu de 120px */
    text-align: center;
}

.features{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.features div{
    background: rgba(0,0,255,0.7);
    padding: 20px;
    width: 100px;
    border-radius: 10px;
    text-align: center;
    color:white;
    font-weight: bold;
}

/* ===== FOOTER ===== */
footer{
    background: rgba(0,0,0,0.8);
    padding: 15px 20px;
    text-align: center;
    color: white;
    margin-top: 40px;
    border-radius: 10px 10px 0 0;
}

/* ===== CAROUSEL ===== */
/* ===== CAROUSEL FONDU ===== */
.carousel {
    position: relative;
    width: 70%;              /* largeur du carrousel */
    height: 400px;           /* hauteur du carrousel */
    margin: 80px auto;       /* centré + légèrement en dessous du milieu */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.carousel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* couvre bien la zone */
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* fondu lent */
    border-radius: 15px;
}

.carousel img.active {
    opacity: 1;
}


/* Bloc d’infos aligné avec la catégorie */
.category-info {
    position: absolute;
    left: 80px; /* sort du menu */
    top: 0;
    height: 100%; /* même hauteur que la catégorie */
    width: 250px;
    background: rgba(48, 102, 190, 0.95);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    color: white;
    font-size: 16px;
    line-height: 1.5em;
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
    transition: all 0.4s ease;
    display: flex;
    align-items: center; /* centre le texte verticalement */
}


/* petit ajustement responsive si écran trop petit 
@media (max-height: 520px) {
  .sidebar-left .category { font-size: 16px; }
  .sidebar-left .category-info { font-size: 13px; width: 220px; }
  main { margin-left: 90px; }
}*/



/* ===== FOOTER CONTACT BAR ===== */
footer {
    background: rgba(0,0,0,0.95);
    padding: 15px 20px;
    text-align: center;
    color: white;
    border-radius: 10px 10px 0 0;
}

.footer-container {
    display: flex;
    justify-content: center; /* centre horizontalement les contacts */
    gap: 40px; /* espace entre les contacts */
    flex-wrap: wrap; /* s’adapte aux écrans plus petits */
    align-items: center;
}

.contact-item {
    text-align: center;
}

.contact-item a {
    color: #1ec0ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ffffff;
}
.external-links {
  background: rgba(30, 78, 140, 0.85);
  padding: 20px;
  margin: 40px auto;
  width: 70%;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.external-links h2 {
  margin-bottom: 15px;
  color: #1ec0ff;
  text-shadow: 0 0 8px rgba(30,192,255,0.6);
}

.external-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.external-links li {
  margin: 10px 0;
}

.external-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.external-links a:hover {
  color: #1ec0ff;
  text-shadow: 0 0 10px #1ec0ff;
}

/* ===== SECTION PARCOURS ===== */
.parcours-section {
    width: 80%;
    margin: 80px auto;
    text-align: center;
}

.parcours-title {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1ec0ff;
    text-shadow: 0 0 10px rgba(30,192,255,0.6);
}

/* Conteneur des cartes */
.parcours-container {
    display: flex;
    flex-direction: column;   /* cartes l’une sous l’autre */
    align-items: center;
    gap: 60px;
}

/* Carte individuelle */
/* Carte */
.parcours-card {
    width: 750px;
    max-width: 95%;
    border-radius: 20px;
    background: rgba(30,192,255,0.08);
    border: 1px solid rgba(30,192,255,0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Header cliquable */
.parcours-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 35px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.parcours-header:hover {
    background: rgba(30,192,255,0.15);
}

.parcours-header h3 {
    margin: 0;
    color: #1ec0ff;
}

/* Flèche */
.arrow {
    font-size: 20px;
    transition: transform 0.4s ease;
}

/* Contenu caché */
.parcours-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.4s ease;
    padding: 0 35px;
}

/* Texte */
.parcours-content p {
    font-size: 16px;
    line-height: 1.8em;
    color: #e0f7ff;
    text-align: left;
    margin-bottom: 25px;
}

/* Etat ouvert */
.parcours-card.active .parcours-content {
    max-height: 1000px;
    padding: 20px 35px 35px 35px;
}

.parcours-card.active .arrow {
    transform: rotate(180deg);
}

.search-container {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-container input {
    padding: 8px 14px;
    border-radius: 20px;
    border: none;
    outline: none;
    width: 180px;
    transition: 0.3s ease;
}

.search-container input:focus {
    width: 240px;
    box-shadow: 0 0 10px rgba(30,192,255,0.8);
}

.search-container button {
    background: #ffb703;
    border: none;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}


/* ===== GLOBAL REDUCTION ===== */
/*main {
    padding: 20px; /* réduit l’espace (avant 40px) 
    text-align: center;
}

.carousel {
    height: 400px;  /* réduit (avant 400px) 
    margin: 40px auto; /* réduit (avant 80px auto) 
}*/

