/* mini-cart.css - Version Finale Consolidée */


/* Si tu as un espace blanc en haut, ajuste le body */


:root {

    --navbar_dim: "900px";
    --bg: #0b0b0c;
    --panel: #0f0f10;
    --panel2: rgb(20, 20, 20)0;
    --muted: #9aa0a6;
    --accent: #61dafb;
    --accent2: rgb(155, 155, 155)b;
    --accent-2: #a855f7;
    --radius: 12px;
    color-scheme: dark;
    --Color_1: #202020;
    --Color_2: #EAEAEA;
    --Color_3: #9400D3;
    --scrollbar-bg: transparent;

    --bg-color: #000;
    --duree-apparition-cercle: 0.8s;
    /* Temps que met le texte pour sortir entièrement de la grotte */
    --duree-sortie-grotte: 1.5s;
    --duree-sortie-split: 1.0s;

    --ease-smooth: cubic-bezier(0.85, 0, 0.15, 1);

    --start: black;
    --text: #1a1a1a;

    --card: linear-gradient(180deg, #111, #0a0a0a);


}

/* --- THÈME CRÈME (SOFT LIGHT) --- */
body.light-mode {
    --bg: #f7f4f4;
    /* Crème très doux */
    --panel: #f7f4f4;
    /* Cartes en blanc pur pour décoller du fond */
    --panel2: #f4f0e8;/*#f4f1ea;
    /* Nuance crème plus sombre pour les détails */
    --text: #1a1a1a;
    /* Noir léger (pas de noir pur 000) */
    --muted: #666666;
    --Color_1: #ffffff;
    --Color_2: #1a1a1a;
    --start: #fdfaf5;
    color-scheme: light;
    --card: linear-gradient(180deg, #807f7f, #0a0a0a);
}


/* --- THÈME CRÈME (SOFT LIGHT) --- */
body.light-mode {
    --bg: #f7f4f4;
    /* Crème très doux */
    --panel: #f7f4f4;
    /* Cartes en blanc pur pour décoller du fond */
    --panel2: #f4f1ea;
    /* Nuance crème plus sombre pour les détails */
    --text: #1a1a1a;
    /* Noir léger (pas de noir pur 000) */
    --muted: #666666;
    --Color_1: #ffffff;
    --Color_2: #1a1a1a;
    --start: #fdfaf5;
    color-scheme: light;
    --card: linear-gradient(180deg, #807f7f, #0a0a0a);
}



/* --- FIX CARDS COLLECTION & PERSONNALISATION --- */
body.light-mode .grid-item:not(#popup_Jeu .grid-item),
body.light-mode .collection-item,
body.light-mode .box,
body.light-mode .word {
    background: var(--panel) !important;
    color: var(--text);
    /*  border: 1px solid rgba(0, 0, 0, 0.06) !important;*/
    /*box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;*/
}

/* On s'assure que le texte sur l'accent reste lisible */
body.light-mode .text-gradient,
body.light-mode h1,
body.light-mode h2 {
    color: var(--text)
}

.cky-revisit-bottom-left {
    bottom: 65px !important;
    left: 20px !important;
    scale: 0.8 !important;
}


:root {
    --accent: #61dafb;
    /* Couleur JOSY par défaut */
}

body {
    font-family: 'Poppins', sans-serif !important;
}


.switch {
    position: fixed;
    display: inline-block;
    width: 60px;
    height: 34px;
    rotate: 180deg;
    z-index: 10000;
    scale: 0.6;
    bottom: 63px;
    left: -3px;
    border-radius: 17px;
    border: 2px solid var(--accent);
}

.switch #input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2196f3;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    z-index: 0;
    overflow: hidden;
}

.sun-moon {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 2px;
    background-color: yellow;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

#input:checked+.slider {
    background-color: black;
}

#input:focus+.slider {
    box-shadow: 0 0 1px #2196f3;
}

#input:checked+.slider .sun-moon {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    background-color: white;
    -webkit-animation: rotate-center 0.6s ease-in-out both;
    animation: rotate-center 0.6s ease-in-out both;
}

.moon-dot {
    opacity: 0;
    transition: 0.4s;
    fill: gray;
}

#input:checked+.slider .sun-moon .moon-dot {
    opacity: 1;
}

.slider.round {
    border-radius: 34px;
}

.slider.round .sun-moon {
    border-radius: 50%;
}

#moon-dot-1 {
    left: 10px;
    top: 3px;
    position: absolute;
    width: 6px;
    height: 6px;
    z-index: 4;
}

#moon-dot-2 {
    left: 2px;
    top: 10px;
    position: absolute;
    width: 10px;
    height: 10px;
    z-index: 4;
}

#moon-dot-3 {
    left: 16px;
    top: 18px;
    position: absolute;
    width: 3px;
    height: 3px;
    z-index: 4;
}

#light-ray-1 {
    left: -8px;
    top: -8px;
    position: absolute;
    width: 43px;
    height: 43px;
    z-index: -1;
    fill: white;
    opacity: 10%;
}

#light-ray-2 {
    left: -50%;
    top: -50%;
    position: absolute;
    width: 55px;
    height: 55px;
    z-index: -1;
    fill: white;
    opacity: 10%;
}

#light-ray-3 {
    left: -18px;
    top: -18px;
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: -1;
    fill: white;
    opacity: 10%;
}

.cloud-light {
    position: absolute;
    fill: #eee;
    animation-name: cloud-move;
    animation-duration: 6s;
    animation-iteration-count: infinite;
}

.cloud-dark {
    position: absolute;
    fill: #ccc;
    animation-name: cloud-move;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-delay: 1s;
}

#cloud-1 {
    left: 30px;
    top: 15px;
    width: 40px;
}

#cloud-2 {
    left: 44px;
    top: 10px;
    width: 20px;
}

#cloud-3 {
    left: 18px;
    top: 24px;
    width: 30px;
}

#cloud-4 {
    left: 36px;
    top: 18px;
    width: 40px;
}

#cloud-5 {
    left: 48px;
    top: 14px;
    width: 20px;
}

#cloud-6 {
    left: 22px;
    top: 26px;
    width: 30px;
}

@keyframes cloud-move {
    0% {
        transform: translateX(0px);
    }

    40% {
        transform: translateX(4px);
    }

    80% {
        transform: translateX(-4px);
    }

    100% {
        transform: translateX(0px);
    }
}

.stars {
    transform: translateY(-32px);
    opacity: 0;
    transition: 0.4s;
}

.star {
    fill: white;
    position: absolute;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    animation-name: star-twinkle;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

#input:checked+.slider .stars {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

#star-1 {
    width: 20px;
    top: 2px;
    left: 3px;
    animation-delay: 0.3s;
}

#star-2 {
    width: 6px;
    top: 16px;
    left: 3px;
}

#star-3 {
    width: 12px;
    top: 20px;
    left: 10px;
    animation-delay: 0.6s;
}

#star-4 {
    width: 18px;
    top: 0px;
    left: 18px;
    animation-delay: 1.3s;
}

@keyframes star-twinkle {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.2);
    }

    80% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1);
    }
}


/*
        body {
            background-color: #0b0b0c;
            font-family: 'Poppins', sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }*/

/* --- STYLE DE L'ICÔNE LOGIN --- */
.login-status-icon {
    cursor: pointer;
    font-size: 40px;
    color: var(--accent);
    transition: transform 0.3s ease;
    margin-top: 10px;
}

.login-status-icon:hover {
    transform: scale(1.1);
}

/* --- OVERLAY DU POPUP --- */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    /* Caché par défaut */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
}

/* --- TON FORMULAIRE UIVERSE --- */
.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 2em;
    background-color: #171717;
    border-radius: 25px;
    transition: .4s ease-in-out;
    width: 320px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form:hover {
    transform: scale(1.02);
    border: 1px solid var(--accent);
}

#heading {
    text-align: center;
    margin: 1em;
    color: rgb(255, 255, 255);
    font-size: 1.2em;
    font-weight: bold;
}

.field {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    border-radius: 25px;
    padding: 0.6em;
    border: none;
    outline: none;
    color: white;
    background-color: #171717;
    box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
}

.input-icon {
    height: 1.3em;
    width: 1.3em;
    fill: var(--accent);
}

.input-field {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    color: #d3d3d3;
}

.form .btn {
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-top: 2.5em;
    gap: 10px;
}

.button1,
.button2,
.button3 {
    padding: 0.5em;
    border-radius: 5px;
    border: none;
    outline: none;
    transition: .4s ease-in-out;
    background-color: #252525;
    color: white;
    cursor: pointer;
}

.button1:hover {
    background-color: var(--accent);
    color: black;
}

.button2:hover {
    background-color: white;
    color: black;
}

.button3:hover {
    background-color: #ff4d4d;
    color: white;
}

.button1 {
    flex: 1.5;
}

.button2 {
    flex: 1;
}

.button3 {
    margin-top: 10px;
}

:root {
    --accent: #61dafb;
    --success: #00ff88;
    --warning: #ffbb00;
}

.login-status-icon {
    position: fixed;
    top: -10px;
    right: 10px;
    z-index: 1000000;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 8px rgba(97, 218, 251, 0.2));
}

@media (max-width: 768px) {
    .login-status-icon {
        /* top: -1px;*/
        right: 3px;
    }
}

.login-status-icon:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 15px var(--accent));
}

.auth-svg {
    width: 100%;
    height: 100%;
}

.outer-ring {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-dasharray: 283;
    transition: stroke 0.4s;
}

.user-shape {
    fill: none;
    stroke: white;
    stroke-width: 4;
    stroke-linecap: round;
}

.status-badge {
    fill: var(--warning);
    transition: all 0.4s ease;
}

.status-panier {
    fill: var(--accent);
    transition: all 0.4s ease;
}

.badge-symbol {
    fill: #0b0b0c;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    text-anchor: middle;
    pointer-events: none;
}

.badge-panier {
    fill: #0b0b0c;
    font-size: 25px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-anchor: middle;
    pointer-events: none;
}

/* --- ÉTAT CONNECTÉ --- */
.is-authenticated .outer-ring {
    stroke: var(--success);
}

.is-authenticated .status-badge {
    fill: var(--success);
    r: 14;
    /* Un peu plus gros */
}

.is-authenticated .badge-symbol {
    display: none;
}

.is-authenticated .login-status-icon {
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
}

.logout-mini-btn {
    background: #ff4d4d !important;
    /* Rouge */
    color: white !important;
    border-radius: 50% !important;
    width: 25px !important;
    height: 25px !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px !important;
    margin: 0 !important;
    opacity: 0.8;
    cursor: pointer;
    border: none;
    transition: transform 0.2s;
    position: fixed;
    top: 10px;
    right: 10px;
}

.logout-mini-btn:hover {
    transform: scale(1.2);
    opacity: 1;
}

/* On cache le bouton si on n'est pas connecté via une classe sur le body */
body:not(.is-authenticated) #logoutBtn {
    display: none !important;
}



/* NAV */

.nav {
    position: fixed;
    top: -25px;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    background: rgba(15, 15, 16, .95);
    transition: background .3s, box-shadow .3s;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .5);
    transition: background 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.nav.scrolled {
    background: rgba(15, 15, 16, .95);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .5);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    margin-left: 25px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .nav-inner {
        /* padding: 1.35rem 0;
        margin-top: 0px;*/
         margin-left: 0px;
    }

}

/*FOOTER */


.site-footer {
    background: black;
    opacity: 0.8;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, .03)
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    gap: .75rem;
    align-items: center;
    margin-left: 60px;
}

.brand img {
    height: 40px
}

.muted {
    color: var(--muted);
    margin-right: 30px;
}

@media(max-width:800px) {

    .footer-inner {
        flex-direction: column;
        gap: .75rem;
        text-align: center
    }



}


/* Style pour la navigation */
.nav-buttons {
    display: flex;
    position: fixed;
    top: 3px;
    right: 75px;
    flex-direction: row-reverse;
    align-items: center;
    z-index: 10005;
    margin-top: 10px;
    padding-right: 10px;
}

.nav-buttons {
    /* Ton code existant (position, background, etc.) */
    opacity: 0;
    
    /* --- LES DEUX LIGNES MAGIQUES --- */
    visibility: hidden;    /* Empêche le focus et cache l'élément proprement */
    pointer-events: none;  /* Les clics passent à travers, comme s'il n'existait pas */
    
    /* Assure-toi que la transition inclut la visibilité */
    transition: opacity 0.4s ease, visibility 0.4s; 
}

/* Quand le menu est ouvert (la classe active ajoutée par ton JS) */
.nav-active .nav-buttons { 
    opacity: 1;
    visibility: visible;   /* Devient visible */
    pointer-events: auto;  /* Réactive les clics sur les boutons du menu */
}

.nav-buttons button {
    margin: 0 10px;
    padding: 5px 3px;
    background-color: transparent
        /*var(--Color_1)*/
    ;
   /* color: var(--Color_2);*/
    color: white;
    cursor: auto;
    transition: transform 1.0s, opacity 0.8s, border-radius 0.3s ease-in-out;
    position: relative;
    transform: translateX(100px);
    /* Initialement placé à droite */
    opacity: 0;
    /* Initialement invisible */
    visibility: visible;
    z-index: 100100;

    /* Suppression de `border`, remplacé par `box-shadow` */
    border: none;
    /* box-shadow: 0 0 0 20px var(--Color_1); /* Simule un contour */
    border-radius: 10px;
    /* Initialement sans arrondi */
    pointer-events: none;

    box-shadow: 0 0 0 0px var(--Color_1);
    /* Empêche les clics et autres interactions avec l'élément */
}

.nav-buttons button:hover {
    background-color: var(--accent);
    color: var(--text);

}


/* Quand le menu est affiché */
.show-menu .nav-buttons button {
    transform: translateX(0);
    /* Déplacement vers la position finale */
    opacity: 1;
    /* Devenir visible */
    visibility: visible;
    /* Rend les boutons visibles */
    z-index: 1002;
    cursor: pointer;
    pointer-events: auto;
    /* Empêche les clics et autres interactions avec l'élément */
}

/* Ajout des délais de transition */
.show-menu .nav-buttons button:nth-child(1) {
    transition-delay: 0.15s;
}

.show-menu .nav-buttons button:nth-child(2) {
    transition-delay: 0.25s;
}

.show-menu .nav-buttons button:nth-child(3) {
    transition-delay: 0.35s;
}

.show-menu .nav-buttons button:nth-child(4) {
    transition-delay: 0.45s;
}

.show-menu .nav-buttons button:nth-child(5) {
    transition-delay: 0.55s;
}

.show-menu .nav-buttons button:nth-child(6) {
    transition-delay: 0.55s;
}


/* Disparition avec des délais inversés */
.hide-menu .nav-buttons button:nth-child(1) {
    transition-delay: 0.55s;
}

.hide-menu .nav-buttons button:nth-child(2) {
    transition-delay: 0.45s;
}

.hide-menu .nav-buttons button:nth-child(3) {
    transition-delay: 0.35s;
}

.hide-menu .nav-buttons button:nth-child(4) {
    transition-delay: 0.25s;
}

.hide-menu .nav-buttons button:nth-child(5) {
    transition-delay: 0.15s;
}

.hide-menu .nav-buttons button:nth-child(6) {
    transition-delay: 0.15s;
}

.menu-btn {
    top: 5px;
    right: 56px;
    width: 30px;
    height: 22px;
    position: fixed;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 10102;
    margin-top: 10px;
}


/* Media query pour mobile */

@media (max-width: 900px) {
    .nav-buttons {
        flex-direction: column;
        /* Les boutons seront empilés verticalement */
        right: 20px;
        /* Ajuste la position à droite */
        top: 30px;
        /* Ajuste la position en haut */
    }

    .menu-btn {
        /*  top: -5px;*/
        right: 46px;
    }

    .nav-buttons button {
        margin: 8px 0;
        /* Plus d'espace entre les boutons verticalement */
        transform: translateY(70px);
        /* Initialement placé en dessous du bouton principal */
        padding: 8px 8px;
        width: 108px;
        box-shadow: 0 0 0 0px var(--Color_1);
        background-color: rgba(32, 32, 32, 0.7);
        /* Simule un contour */
    }

    .show-menu .nav-buttons button {
        transform: translateY(0);
        /* Déplacement vers la position finale verticale */
    }
}




.menu-btn span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #ffffff;
    /* beige doré comme sur Homency */
    border-radius: 2px;
    left: 0;
    transition: all 0.6s ease;
}

.menu-btn span:nth-child(1) {
    top: 0;
}

.menu-btn span:nth-child(2) {
    top: 9px;
}

.menu-btn span:nth-child(3) {
    top: 18px;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}


.logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    position: relative;
    top: 7px;
    /* left : 50px;*/

}

.logo img {
    height: 40px;
    left: 10px;
    position: relative;

}

.logo span {
    font-weight: 700;
    font-size: 1.25rem;
    left: 10px;
    position: relative;
    color: white;
}

.logo {
    outline: none !important;
    /* Supprime le contour */
    box-shadow: none !important;
    /* Supprime une éventuelle ombre */
    text-decoration: none;
    /* Au cas où c'est un lien <a> */
    -webkit-tap-highlight-color: transparent;
    /* Supprime le flash gris/blanc sur mobile */
}

.logo:focus,
.logo:active {
    outline: none !important;
    box-shadow: none !important;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    /* Force le curseur main */
    text-decoration: none;
    /* Évite le soulignement bleu des liens */
    color: inherit;
    /* Garde la couleur de texte définie initialement */
}

.logo:hover {
    opacity: 0.8;
    /* Optionnel : petit effet visuel au survol */
}

.menu-toggle {
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.25rem;
    display: none
}

.nav-links {
    list-style: none;
    display: none;
    gap: 1rem;
    margin: 0;
    padding: 0
}

.nav-links a {
    color: #ddd;
    text-decoration: none
}

@media(max-width:800px) {
    .theme-switch-wrapper {
        top: -20px;

    }

    .menu-toggle {
        display: none
    }

    .nav-links {
        display: none
    }
}



/* navbar JOSY */

.navbar_background {
    position: fixed;
    top: -5vh;
    left: 0;
    width: 100%;
    height: 3vw;
    opacity: 1;
    /* Devenir visible */
    background-color: var(--Color_1);
    /* rgba(0, 0, 0, 0); /* Fond transparent avec 50% d'opacité */
    display: flex;
    z-index: 990;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 1;
    /* Devenir visible */
    background-color: var(--Color_1);
    /* rgba(0, 0, 0, 0); /* Fond transparent avec 50% d'opacité */
    padding: 0px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 990;
}

.navbar a {
    color: var(--Color_2);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    margin-right: 20px;
}

.slider-wrapper-nav {
    z-index: 100000;
    background: #111;
    background: transparent;
    font-family: 'Warsaw Gothic', sans-serif;
    margin-top: -30px;
}

/* Verticale */

/* Conteneur du slider */
.slider-container2 {

    max-width: 400px;
    /*height: clamp(100px, 10vw, 125px);*/
    height: 100px;
    /*145px*/

    /* margin-top: calc(-74px + (-25 - -17) * ((100vw - 413px) / (875 - 413)));*/
    margin-top: -65px;
    /*33px; /* Monter/descendre tout le scroll */
    overflow: hidden;
    border: none;
    background: transparent;
    transform: translateY(15px);
    /* 15px sur PC */
}


@media (max-width: 768px) {
  .slider-container2 {
    transform: translateY(15px) translateX(-6px);
  }

  .logo span {
    left: 5px;
  }

}

/* Animation du slider */
.slider2 {
    opacity: 1;
    height: 100%;
    animation: slider2 40s infinite ease-in-out;
    transition: background 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}


/* Style des paragraphes à l'intérieur du slider */
.slider2 .words {
    flex-shrink: 0;
    padding: 49.94px 0px;
    /*clamp(22px, 4.15vw, 23px) 0;*/
    /* 17.7px 0px;
    /* Écart entre les textes */
    width: 100%;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    /*font-size: clamp(20px, 2.8vw, 30px);*/
    font-size: 22px;
    color: #f1f1f1;
    margin-left:
        /*clamp(3px, calc(1vw + -1px), 200px);*/
        4px;
    /* Décaler le texte de 107px vers la droite */
    /* margin-top: 33.8px;*/
    margin-top: 0.4px;
    letter-spacing: 2px;
    z-index: 9998;
    /* Ajout de l'espace entre les lettres */
    transition: background 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    white-space: nowrap;
    overflow: hidden;
    /*
    text-overflow: ellipsis;*/
}

/* Ajustement des dimensions des paragraphes */
.slider2 .words {
    max-width: 100%;
    max-height: 50%;
    object-fit: contain;
    color: var(--accent);
    transition: background 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

@media (max-width: 768px) {
    .slider2 .words {
        max-width: 25vw;
    }
}

/* Style de l'image */
.image2 {
    position: fixed;
    /* Position fixe pour l'image */
    top: calc(-1vw + 10px);
    /*  max-width: 108px; /* Taille de l'image */
    width: clamp(60px, (7vw + 8px), 120px);
    opacity: 1;
    transition: opacity 0.5s ease;
    /* Transition d'opacité */
}




/* Animation du slider */
@keyframes slider2 {

    0%,
    5% {
        transform: translateY(0);
    }

    10%,
    15% {
        transform: translateY(-100%);
    }

    20%,
    25% {
        transform: translateY(-200%);
    }

    30%,
    35% {
        transform: translateY(-300%);
    }

    40%,
    45% {
        transform: translateY(-400%);
    }

    50%,
    55% {
        transform: translateY(-500%);
    }

    60%,
    65% {
        transform: translateY(-600%);
    }

    70%,
    75% {
        transform: translateY(-700%);
    }

    80%,
    85% {
        transform: translateY(-800%);
    }

    90%,
    95% {
        transform: translateY(-900%);
    }

    100%,
    105% {
        transform: translateY(-1000%);
    }
}

:root {
    --btn-size: 43px;
    --insta-color: var(--accent);
    --logo-color-default: var(--accent);
    --logo-color-hover: #000;
}

.social-btns {
    /*height: var(--btn-size);
  display: flex;
  justify-content: center;
  align-items: center;*/
    /* position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;*/
}

.btn_insta {
    position: fixed;
    bottom: 10px;
    left: 5px;
    z-index: 10102;

    width: var(--btn-size);
    height: var(--btn-size);
    background: #000;
    border-radius: 28%;
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.cky-btn-revisit-wrapper {
    /* left: auto !important; */
    bottom: 102px !important;
    left: 4px !important;
}

.btn_insta svg {
    width: 60px;
    height: 60px;
    fill: var(--logo-color-default);
    transform: scale(0.8);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), fill 0.3s ease-in-out;
    z-index: 1;
    position: relative;
    top: -20%;
    left: -20%;
}

.btn_insta:hover svg,
.btn_insta:focus svg {
    fill: var(--logo-color-hover);
    /* passe en noir */
    transform: scale(1.1);
    /* rebond */
}

.btn_insta::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    top: 90%;
    left: -110%;
    background-color: var(--insta-color);
    /* vague violette */
    transform: rotate(45deg);
    transition: all 0.35s cubic-bezier(0.310, -0.105, 0.430, 1.590);
    z-index: 0;
}

.btn_insta:hover::before,
.btn_insta:focus::before {
    top: -10%;
    left: -10%;
}

/* --- CONFIGURATION DU FOOTER --- */
.footer-inner {
    display: flex;
    flex-direction: column;
    /* On empile les blocs Top et Bottom */
    padding: 2rem 5%;
    gap: 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    /* Logo à gauche, Liens à droite sur PC */
    align-items: flex-start;
    width: 100%;
}

/* Empilement des liens légaux */
.footer-legal-stack {
    display: flex;
    flex-direction: column;
    /* L'un au-dessus de l'autre */
    gap: 8px;
    text-align: right;
    /* Aligné à droite pour équilibrer le logo */
}

.footer-legal-stack a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal-stack a:hover {
    color: var(--accent);
}

/* Centrage du Copyright tout en bas */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    width: 100%;
    text-align: center;
}

.footer-bottom .muted {
    margin-right: 0;
    /* On annule la marge existante pour le centrage parfait */
}

/* --- ADAPTATION MOBILE --- */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-legal-stack {
        text-align: center;
        /* Centré sur mobile */
    }

    .brand {
        margin-left: 0;
        flex-direction: column;
    }
}