/**********************************************************************************************************************************************************

Present

*********************************************************************************************************************************************************************************************************/


body.present footer {
    background-color: #0C0C0D;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 30px 0;
    overflow: hidden;
}

body.present footer .line {
    width: 100%;
    height: 1px;
    background-color: white;
}

body.present footer a {
    color: white;
    text-decoration: none;
    font-family: elza, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}

body.present footer .top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}



/*****************            ANIMATION LOGO                **********************/


body.present footer #nextus {
    width: 120px;
    margin: 0 auto;
    display: block;
    position: relative;
}

/* Conteneur + glow */
.logo-glitch {
    width: 100%;
    height: 100px; /* adapte si besoin */
    background-image: url("https://nextus.yanis-singer.com/wp-content/uploads/2025/12/logo-blanc-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    animation: glitch 5s 5s infinite;

    /* Glow réel */
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.4))
            drop-shadow(0 0 25px rgba(255,255,255,0.3))
            drop-shadow(0 0 40px rgba(255,255,255,0.2));
}

/* Copies */
.logo-glitch::before,
.logo-glitch::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: inherit;
    background-repeat: inherit;
    background-position: inherit;
    overflow: hidden;
}

/* Déplacements réduits (moins large) */
.logo-glitch::before {
    left: -1px; /* avant : -2px */
    filter: drop-shadow(-3px 0 rgba(0, 0, 0, 0)); /* avant : -5px */
    animation: noise-1 3s linear infinite alternate-reverse, glitch 5s 5.05s infinite;
}

.logo-glitch::after {
    left: 1px; /* avant : 2px */
    filter: drop-shadow(-3px 0 rgba(0, 0, 0, 0));
    animation: noise-2 3s linear infinite alternate-reverse, glitch 5s 5s infinite;
}

/* Animation glitch */
@keyframes glitch {
  1% {
    transform: rotateX(8deg) skewX(60deg); /* moins violent aussi */
  }
  2% {
    transform: rotateX(0deg) skewX(0deg);
  }
}

/* Noise (inchangé) */
@keyframes noise-1 {
  0%   { clip-path: inset(10% 0 60% 0); }
  20%  { clip-path: inset(40% 0 20% 0); }
  40%  { clip-path: inset(70% 0 5% 0); }
  60%  { clip-path: inset(30% 0 50% 0); }
  80%  { clip-path: inset(5% 0 70% 0); }
  100% { clip-path: inset(60% 0 15% 0); }
}

@keyframes noise-2 {
  0%   { clip-path: inset(60% 0 20% 0); }
  20%  { clip-path: inset(20% 0 40% 0); }
  40%  { clip-path: inset(10% 0 70% 0); }
  60%  { clip-path: inset(50% 0 25% 0); }
  80%  { clip-path: inset(70% 0 5% 0); }
  100% { clip-path: inset(25% 0 60% 0); }
}


/*****************                                           **********************/





body.present footer .liens {
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 15px;
}

body.present footer .liens .titres,
body.present footer .liens .details {
    display: flex;
    justify-content: space-between;
}

body.present footer .liens .titres>* {
    width: 20%;
}


body.present footer .liens .details>* {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 20%;

}

body.present footer .bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding:  0 30px;
}








/**********************************************************************************************************************************************************

Passe

*********************************************************************************************************************************************************************************************************/


body.passe footer {
    background-color: white;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 30px 0;
    overflow: hidden;
}

body.passe footer .line {
    width: 100%;
    height: 1px;
    background-color: black;
}

body.passe footer a {
    color: black;
    text-decoration: none;
    font-family: elza, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}

body.passe footer .top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}



/*****************            ANIMATION LOGO                **********************/


body.passe footer #nextus {
    width: 120px;
    margin: 0 auto;
    display: block;
    position: relative;
}


/*****************                                           **********************/





body.passe footer .liens {
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 15px;
}

body.passe footer .liens .titres,
body.passe footer .liens .details {
    display: flex;
    justify-content: space-between;
}

body.passe footer .liens .titres>* {
    width: 20%;
}


body.passe footer .liens .details>* {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 20%;

}

body.passe footer .bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding:  0 30px;
}