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

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{
    font-size: 62.5%;
     scroll-behavior: smooth;
     align-items: flex-start;
}

body{
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    background-color: #000033;
    color: #FFFFFF;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


h1, h3 {
    font-family: 'Orbitron', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

h2 {
    font-family: 'Orbitron', Impact, sans-serif;
    letter-spacing: 0.2rem;
}

p, li, .section-description p, .presentation-text, .a-propos-text, .description-block p {
    font-family: 'Poppins', Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
    line-height: 1.6;

}


/* 🎀 Variables globales de couleur et transition 🎀 */
:root {
    --bleu-fond: #000033;
    --bleu-clair:#4141FD;

    --rose-primaire: #FF3EC2;
    --rose-secondaire: #FFC1EA;

    --text: #FFFFFF;
    --transition: 0.2s ease;
}

header {
    padding: 2rem 3rem;
}

.navbar {
    /* 🎀 Barre principale: conteneur blanc arrondi pour contraster avec le fond 🎀 */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: min(1100px, 100%);
    background: var(--text);
    border-radius: 1.1rem;
    
}

.logo a {
    /* 🎀 Le logo combine image + texte en flex pour un alignement propre 🎀 */
    font-family: 'Orbitron', sans-serif;
    color: var(--rose-primaire);
    font-size: 1.7rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
}

.logo-image {
    width: 4.2rem;
    height: 3.2rem;
    object-fit: contain;
    margin-top: 0.5rem;
     margin-left: 1.2rem;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    
}

.user-nav {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.account-switch {
    /* 🎀 Conteneur relatif pour positionner le sous-menu compte 🎀 */
    position: relative;
}

.account-switch summary {
    list-style: none;
}

.account-switch summary::-webkit-details-marker {
    display: none;
}

.account-icon {
    /* 🎀 Bouton icone qui ouvre le sous-menu compte 🎀 */
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    border: 1px solid var(--rose-primaire);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 193, 234, 0.08);
    cursor: pointer;
    transition: transform var(--transition), background var(--transition);
}

.account-icon:hover {
    transform: translateY(-2px);
    background: rgba(255, 193, 234, 0.2);
}

.account-icon svg {
    width: 2rem;
    height: 2rem;
    fill: var(--rose-primaire);
}

.account-menu {
    /* 🎀 Panneau deroulant qui affiche les actions du compte 🎀 */
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    min-width: 18rem;
    padding: 0.8rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--bleu-clair);
    display: grid;
    gap: 0.5rem;
    z-index: 12;
}

.account-label {
    /* 🎀 Texte d'accueil de l'utilisateur connecte 🎀 */
    margin: 0 0 0.2rem;
    padding: 0.4rem 0.6rem;
    font-size: 1.3rem;
    color: var(--text);
}

.account-option {
    /* 🎀 Liens de navigation interne du compte (profil/deconnexion) 🎀 */
    display: block;
    padding: 0.6rem 0.8rem;
    border-radius: 0.8rem;
    color: var(--text);
}

.account-option:hover {
    background: rgba(255, 193, 234, 0.2);
    color: var(--text);
}

.user-greeting {
    font-size: 1.4rem;
    color: var(--rose-secondaire);
}

.nav-pill {
    display: inline-block;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 193, 234, 0.45);
    background: rgba(255, 193, 234, 0.12);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.6rem;
    font-weight: 700;
   
}

nav a {
     color: var(--bleu-fond);
    text-decoration: none;
}
nav a:hover {
    color: var(--rose-primaire);
    transform: var(--transition);
}

.lang-switch {
    /* 🎀 Position relative pour ancrer le menu des langues en absolu 🎀 */
    position: relative;
    margin-right: 1.2rem;
}

.lang-switch summary {
    list-style: none;
}

.lang-switch summary::-webkit-details-marker {
    display: none;
}

.lang-icon {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    border: 1px solid var(--rose-primaire);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 193, 234, 0.08);
    cursor: pointer;
    transition: transform var(--transition), background var(--transition);
}

.lang-icon:hover {
    transform: translateY(-2px);
    background: rgba(255, 193, 234, 0.2);
}

.lang-icon svg {
    width: 2rem;
    height: 2rem;
    fill: var(--rose-primaire);
}

.lang-menu {
    /* 🎀 Menu flottant des langues affiche sous l'icone globe 🎀 */
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    min-width: 7.2rem;
    padding: 0.6rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--bleu-clair);
    display: grid;
    gap: 0.4rem;
    z-index: 12;
}

.lang-option {
    display: block;
    text-align: center;
    padding: 0.5rem 0.8rem;
    border-radius: 0.8rem;
    font-size: 1.3rem;
}

.lang-option:hover,
.lang-option.is-active {
    background: rgba(255, 193, 234, 0.2);
}

.login-icon {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    border: 1px solid var(--rose-primaire);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 193, 234, 0.08);
    transition: transform var(--transition), background var(--transition);
       
}

.login-icon:hover {
    transform: translateY(-2px);
    background: rgba(255, 193, 234, 0.2);
}

.login-icon svg {
    width: 2rem;
    height: 2rem;
    fill: var(--rose-primaire);
    
}


/*🎀 Garder l'input présent mais visuellement caché (doit rester cliquable via le label)🎀 */
.menu-toggle{
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/*🎀 Bouton burger (positionné à droite)🎀 */
.burger{
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: .4rem;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    z-index: 1100;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}
.burger-line{
    display: block;
    height: .3rem;
    background: var(--bleu-fond);
    border-radius: .2rem;
}
.nav-items li a{
    text-decoration: none;
    color: var(--bleu-fond);
    transition: color 0.3s ease;
}
.nav-items li a:hover{
    color: var(--rose-primaire);
}

/*🎀 Animation du burger en X quand le menu est ouvert 🎀*/
#menu-toggle:checked~.burger .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

#menu-toggle:checked~.burger .burger-line:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked~.burger .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}


/* ==========================================
           🎀line de séparation 🎀
   ==========================================*/
.separation{
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--rose-primaire), var(--rose-primaire), transparent);
    margin: 2rem auto;
    border-radius: 50px;

}
/* ==========================================
           🎀footer 🎀
   ==========================================*/
.page-content {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text);
      opacity: 0.3;
      font-size: 14px;
    }
 
    footer {
      margin: 0 100px 60px 100px;
      background: var(--text);
      border-radius: 20px;
      padding: 16px 30px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
 
    .footer-left {
      display: flex;
      align-items: center;
      gap: 12px;
      position: relative;
      z-index: 1;
    }
 
    .footer-right {
      display: flex;
      align-items: center;
      gap: 12px;
      position: relative;
      z-index: 1;
    }
 
    /* 🎀 Texte centré en absolu par rapport au footer, z-index bas 🎀 */
    .footer-center {
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      text-align: center;
      z-index: 0;
      pointer-events: none;
    }

        .footer-logo a {
            pointer-events: auto;
            position: relative;
            z-index: 2;
            color: inherit;
            text-decoration: none;
        }
 
    /* 🎀 Tout le reste passe devant 🎀 */
    .footer-nav,
    .mascot,
    .footer-social {
      position: relative;
      z-index: 1;
    }
 
    .footer-nav {
      display: flex;
      flex-direction: column;
      gap: 10px;
      
    }
 
    .footer-nav a {
      text-decoration: none;
      color: var(--bleu-fond);
      font-size: 13px;
      font-weight: 900;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      transition: color 0.2s;
      
    }
 
    .footer-nav a:hover { color: var(--rose-primaire); }
 
    .mascot {
      height: 120px;
      width: auto;
      object-fit: contain;
      flex-shrink: 0;
      margin-right: 150px;
    }
 
    .footer-logo {
      font-size: 36px;
      font-weight: 900;
      color: var(--rose-primaire);
      letter-spacing: 0.05em;
      font-style: italic;
      line-height: 1;
    }
 
    .footer-copy {
      font-size: 11px;
      color: #555;
      white-space: nowrap;
    }
 
    .footer-social {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      min-width: 36px;
    }
 
    .footer-social a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      text-decoration: none;
      color: var(--bleu-fond);
      transition: opacity 0.2s;
    }
 
    .footer-social a:hover { 
        opacity: 0.7; 
        color: var(--rose-primaire);
    }
    .footer-social svg { width: 22px; height: 22px; }
 
    .social-linkedin {
      background: var(--bleu-fond);
      border-radius: 5px;
      color: white !important;
    }
    .social-linkedin:hover {
      background: var(--rose-primaire);
    }

@media (max-width: 1024px) {
    header {
        padding: 1.6rem 1.8rem;
    }

    .navbar {
        width: 100%;
    }

    footer {
        margin: 0 2rem 3rem;
        padding: 1.4rem 1.8rem;
    }

    .mascot {
        display: none;
        margin-right: 0;
        height: 9rem;
    }
}

@media (max-width: 780px) {
    html {
        font-size: 58%;
    }

    header {
        padding: 1.2rem;
    }

    .navbar {
        position: relative;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem 1.2rem;
        margin: 1.5rem 0;
    }

    .burger {
        display: flex;
    }

    .logo a {
        justify-content: flex-start;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding-top: 1rem;
    }

    #menu-toggle:checked ~ nav {
        display: flex;
    }

    nav ul {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .lang-switch {
        margin-right: 0;
    }

    .footer-center {
        position: static;
        order: -1;
        pointer-events: auto;
    }

    footer {
        margin: 2rem 1rem 4rem;
        border-radius: 1.4rem;
        padding: 1.6rem 1.2rem;
        flex-direction: column;
        gap: 1.4rem;
        
    }

    .footer-left,
    .footer-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-nav {
        align-items: center;
        text-align: center;
    }

    .footer-social {
        flex-direction: row;
        gap: 1rem;
    }

    .mascot {
        height: 7.2rem;
        display: none;
    }
}

@media (max-width: 560px) {
    html {
        font-size: 56%;
    }

    footer {
        margin: 2rem 1rem 3rem;
    }

    .footer-logo {
        font-size: 2.6rem;
    }

    .footer-copy {
        white-space: normal;
    }
    }
/* ==========================================
           🎀 BOUTONS 🎀
   ==========================================*/
.home-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-weight: 700;
}
.home-button a {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 1rem;
    color: var(--text);
    background: var(--bleu-fond);
    box-shadow: var(--rose-primaire) 0px 4px 15px;
    text-decoration: none;
    font-size: 1.4rem;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.home-button a:hover {
    background: var(--rose-primaire);
    color: var(--bleu-fond);
    transform: translateY(-2px);
}

button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 1rem;
    border: 1.5px solid var(--rose-primaire);
    color: var(--text);
    background: var(--bleu-fond);
    box-shadow: var(--rose-primaire) 0px 4px 15px;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

button:hover {
    background: var(--rose-primaire);
    color: var(--bleu-fond);
    transform: translateY(-2px);
}