/* ---------------------------
   STRUCTURE GÉNÉRALE
---------------------------- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #0a0a23;
    color: white;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    cursor: none;
}

/* ---------------------------
   HEADER & LOGO
---------------------------- */
header {
    text-align: center;
    background-color: #000c2f;
    padding: 2rem 1rem;
}

.logo {
    max-height: 80px;
}

/* ---------------------------
   NAVIGATION
---------------------------- */
nav ul {
    display: flex;
    gap: 1rem;
    justify-content: center;
    list-style: none;
    padding: 1rem;
    margin: 0;
    background-color: #000c2f;
}

nav ul li a {
    cursor: none;
    color: white;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Effet survol animé fond bleu */
nav ul li a::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, #00aaff, transparent);
    transition: left 0.4s ease-in-out;
    z-index: -1;
}

nav ul li a:hover::after {
    left: 100%;
}

nav ul li a:hover {
    color: #00aaff;
    background: linear-gradient(90deg, transparent, #00aaff, transparent);
    background-size: 200%;
    background-position: left;
    animation: neonSlide 0.6s linear forwards;
}

@keyframes neonSlide {
    0%   { background-position: left; }
    100% { background-position: right; }
}

/* Animation au clic bleu électrique */
nav ul li a.active-click {
    animation: flashBlue 0.3s;
}

@keyframes flashBlue {
    0%, 100% { box-shadow: 0 0 0px #00aaff; }
    50%      { box-shadow: 0 0 10px #00aaff; }
}

/* ---------------------------
   LIENS CONTEXTUELS (hors menu)
---------------------------- */
a {
    cursor: none;
    color: #00aaff;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

a:hover {
    color: #ffffff;
    background: linear-gradient(90deg, transparent, #00aaff, transparent);
    background-size: 200%;
    background-position: left;
    animation: neonSlide 0.6s linear forwards;
}

a.active-click {
    animation: flashBlue 0.3s;
}

/* ---------------------------
   CONTENU
---------------------------- */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

h1, h2 {
    color: #00aaff;
}

ul {
    list-style-type: square;
    margin-left: 2rem;
}

/* ---------------------------
   PIED DE PAGE
---------------------------- */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #000c2f;
    color: #ccc;
}

/* ---------------------------
   EFFET CURSEUR - SPARK
---------------------------- */
.spark {
    position: fixed;
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 6px 2px rgba(255, 0, 0, 0.6);
    animation: fadeOut 0.5s forwards;
    z-index: 9999;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0.5);
    }
}

/* ---------------------------
   CARTES DE FORMULES TARIFS
---------------------------- */
.pack-box {
    background-color: #000c2f;
    padding: 1.5rem;
    border-radius: 10px;
    width: 280px;
}