/* ===== RESET ===== */
html, body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* ===== MENU ===== */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background 0.4s ease;
}

.menu.scrolled {
    background: rgba(0, 0, 0, 0.9);
}

.menu .logo {
    font-size: 24px;
    font-weight: bold;
    color: #00eaff;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 12px #00eaff;
    animation: haloPulse 5s ease-in-out infinite;
}

/* ===== MENU LINKS ===== */
.menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.menu ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.menu ul li a:hover {
    color: #00eaff;
    text-shadow: 0 0 10px #00eaff;
}

/* ===== BURGER MENU ===== */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger div {
    width: 28px;
    height: 3px;
    background: #00eaff;
    box-shadow: 0 0 10px #00eaff;
    transition: 0.3s ease;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {

    .menu ul {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 200px;
        height: calc(100vh - 70px);
        background: rgba(0,0,0,0.9);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding-top: 40px;
        gap: 25px;
        transition: right 0.4s ease;
    }

    .menu ul.open {
        right: 0;
    }

    .burger {
        display: flex;
    }
}

/* ===== HEADER ===== */
header {
    text-align: center;
    padding: 160px 20px 80px;
    background: linear-gradient(to bottom, #000000, #0a0a0a);
}

header h1 {
    font-size: 48px;
    letter-spacing: 3px;
    margin-bottom: 10px;
    color: #00eaff;
    text-shadow: 0 0 25px rgba(0, 234, 255, 0.9),
                 0 0 50px rgba(0, 234, 255, 0.6);
    animation: neonBreath 4s ease-in-out infinite;
}

header p {
    font-size: 18px;
    color: #cccccc;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 20px;
    text-align: center;
}

.section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #00eaff;
    text-shadow: 0 0 12px #00eaff;
    animation: fadeInText 2s ease-out forwards;
}

.section p {
    color: #cccccc;
}

/* ===== CARDS ===== */
.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.card {
    background: #0d0d0d;
    padding: 25px;
    width: 260px;
    border-radius: 10px;
    border: 1px solid rgba(0, 234, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 234, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(0, 234, 255, 0.4);
}

/* ===== PROGRAMME LIST ===== */
.programme-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.programme-list li {
    margin: 10px 0;
    font-size: 18px;
    color: #e6faff;
    text-shadow: 0 0 8px rgba(0, 234, 255, 0.6);
}

/* ===== FAQ ===== */
.faq-item {
    margin-bottom: 30px;
}

.faq-item h3 {
    color: #00eaff;
    text-shadow: 0 0 10px #00eaff;
}

.faq-item p {
    color: #cccccc;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9), rgba(20, 20, 20, 0.8));
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);

    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1.6s ease, transform 1.6s ease;
}

footer.visible {
    opacity: 1;
    transform: translateY(0);
}

footer p,
footer a {
    color: #e6faff;
    text-shadow: 0 0 10px rgba(0, 234, 255, 0.6);
    transition: text-shadow 0.4s ease, color 0.4s ease;
}

footer a {
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 234, 255, 1);
}

/* ===== FOOTER GLOW ===== */
footer.glow-start {
    box-shadow:
        0 0 25px rgba(0, 234, 255, 0.5),
        0 0 50px rgba(0, 234, 255, 0.3),
        0 0 80px rgba(0, 234, 255, 0.2),
        inset 0 0 20px rgba(0, 234, 255, 0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes neonBreath {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

@keyframes haloPulse {
    0% { text-shadow: 0 0 12px #00eaff, 0 0 25px #00eaff; }
    50% { text-shadow: 0 0 25px #00eaff, 0 0 50px #00eaff; }
    100% { text-shadow: 0 0 12px #00eaff, 0 0 25px #00eaff; }
}

@keyframes fadeInText {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ===== neonBreath pour les images ===== */
@keyframes neonBreathImg {
    0% {
        box-shadow: 0 0 10px rgba(0, 234, 255, 0.4),
                    0 0 20px rgba(0, 234, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 234, 255, 0.7),
                    0 0 40px rgba(0, 234, 255, 0.4);
    }
    100% {
        box-shadow: 0 0 10px rgba(0, 234, 255, 0.4),
                    0 0 20px rgba(0, 234, 255, 0.2);
    }
}

/* ===== GALERIE DU PORTFOLIO ===== */
.portfolio-gallery {
    padding: 60px 20px;
}

.serie-block {
    margin-bottom: 50px;
}

.serie-block h3 {
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.serie-block .images {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.serie-block .images img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

/* ===== GALERIE ===== */
.galerie {
  padding: 60px 20px;
  background: #0a0a0a;
  color: #fff;
  text-align: center;
}

.galerie h2 {
  font-size: 2em;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.series {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.serie {
  width: 300px;
}

.serie h3 {
  margin-bottom: 15px;
  font-size: 1.2em;
  color: #00ffff;
}

.serie img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
  animation: neonBreathImg 4s ease-in-out infinite;
}

.serie img:hover {
  transform: scale(1.05);
}

/* ===== ANIMATION GALERIE ===== */
.serie img {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.serie img.visible {
  opacity: 1;
  transform: translateY(0);
}


