/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* =========================
   FONT
========================= */
@font-face {
    font-family: 'Momcake';
    src: url('Asset/FONT/MomcakeBold-WyonA.otf') format('opentype');
}

/* =========================
   BODY
========================= */
body {
    min-height: 100vh;
    background: #050b23;
    overflow-x: hidden;
    overflow-y: auto;

    color: white;
    position: relative;
    font-family: 'Momcake', sans-serif;
}

/* 🌌 HALO */
body::before,
body::after {
    content: "";
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 132, 255, 0.18), transparent 60%);
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
}

body::before {
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
}

body::after {
    top: 50%;
    left: 80%;
    transform: translate(-50%, -50%);
}

/* =========================
   ✨ STARS
========================= */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.stars span {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0.7;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.4);
    }
}

/* =========================
   HEADER
========================= */
.header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 45px;

    background: rgba(8, 12, 35, 0.65);
    backdrop-filter: blur(12px);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 132, 255, 0.12);

    border-bottom: 1px solid rgba(0, 162, 255, 0.08);
}
.header a {
    font-family: 'Momcake', sans-serif;
    font-size: 18px !important;
}

/* =========================
   LOGO
========================= */
.logo-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;

    box-shadow:
        0 0 18px rgba(0, 162, 255, 0.35),
        0 0 40px rgba(0, 162, 255, 0.12);

    transition: 0.3s ease;
}

.logo-circle:hover {
    transform: scale(1.06);
}

.burger {
    display: none;

    width: 30px;
    height: 22px;

    position: relative;

    cursor: pointer;

    z-index: 2000;
}

.burger span {
    position: absolute;

    width: 100%;
    height: 3px;

    background: white;

    border-radius: 20px;

    transition: 0.3s ease;
}

/* POSITIONS */
.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 9px;
}

.burger span:nth-child(3) {
    top: 18px;
}

/* ANIMATION */
.burger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* =========================
   MENU
========================= */
.right-menu ul {
    display: flex;
    align-items: center;
    gap: 35px;

    list-style: none;
}

.right-menu ul li a {
    position: relative;

    color: white;
    text-decoration: none;

    font-size: 13px;
    letter-spacing: 1px;

    display: flex;
    align-items: center;
    gap: 8px;

    transition: 0.3s ease;
}

/* Hover Glow */
.right-menu ul li a:hover {
    color: #00a2ff;
    text-shadow: 0 0 12px rgba(0, 162, 255, 0.7);
}

/* Underline Animation */
.right-menu ul li a::after {
    content: "";
    position: absolute;

    bottom: -7px;
    left: 0;

    width: 0%;
    height: 2px;

    background: #00a2ff;
    border-radius: 10px;

    box-shadow: 0 0 10px rgba(0, 162, 255, 0.8);

    transition: 0.3s ease;
}

.right-menu ul li a:hover::after {
    width: 100%;
}

/* ICON */
.right-menu ul li a i {
    font-size: 20px;
}

/* SECTION ACCUEIL */
.section1 {
 width: 100%;
    height: calc(100vh - 85px);

    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 85px;

    position: relative;
    z-index: 2;
}

/* IMAGE */
.section1 img {
    width: 85%;
    max-width: 1400px;

    height: auto;

    display: block;

    object-fit: contain;

    animation: float 5s ease-in-out infinite;
}

/* ANIMATION FLOTTANTE */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0px);
    }
}



/* =========================
   SECTION 2
========================= */
/* SECTION 2 */
.section2 {
    width: 100%;

    

    position: relative;
    z-index: 2;

    padding: 60px 8% 120px;

    display: flex;
    flex-direction: column;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            to bottom,
            rgba(15, 22, 60, 0.55),
            rgba(10, 16, 45, 0.88)
        );

    backdrop-filter: blur(6px);
}


.section2::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 1000px;
    height: 1000px;

    background:
        radial-gradient(
            circle,
            rgba(90, 120, 255, 0.12),
            transparent 70%
        );

    filter: blur(100px);

    z-index: -2;
}

/* ✨ ÉTOILES SECTION 2 */
.section2::after {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(2px 2px at 5% 10%, rgba(255,255,255,0.95), transparent),
        radial-gradient(2px 2px at 15% 30%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 25% 70%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 35% 20%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 45% 85%, rgba(255,255,255,0.75), transparent),
        radial-gradient(2px 2px at 55% 40%, rgba(255,255,255,0.85), transparent),
        radial-gradient(1px 1px at 65% 15%, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 75% 60%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 85% 25%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 95% 75%, rgba(255,255,255,0.85), transparent),
        radial-gradient(1px 1px at 10% 90%, rgba(255,255,255,0.75), transparent),
        radial-gradient(2px 2px at 30% 50%, rgba(255,255,255,0.95), transparent),
        radial-gradient(1px 1px at 50% 5%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 70% 90%, rgba(255,255,255,0.85), transparent),
        radial-gradient(1px 1px at 90% 45%, rgba(255,255,255,0.75), transparent);

    background-repeat: repeat;

    opacity: 0.65;

    animation: starsMove 18s linear infinite;

    z-index: -1;

    filter:
        drop-shadow(0 0 4px rgba(255,255,255,0.5))
        drop-shadow(0 0 8px rgba(0,162,255,0.25));
}

/* ANIMATION */
@keyframes starsMove {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-25px);
    }
}

/* TITRE */
.section2-title {
    text-align: center;
    margin-bottom: 70px;
}

.section2-title h1 {
    font-size: 42px;
    color: white;
    margin-bottom: 15px;

    text-shadow:
        0 0 20px rgba(0, 132, 255, 0.35);
}

.section2-title hr {
    width: 420px;
    height: 2px;

    margin: 20px auto 25px;

    border: none;
    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.7),
            transparent
        );

    box-shadow:
        0 0 15px rgba(255,255,255,0.15);
}

.section2-title p {
    color: rgba(255,255,255,0.65);
    font-size: 15px;
    letter-spacing: 1px;
}

.cards {
    width: 100%;
    position: relative;
    z-index: 5;

    display: flex;
    justify-content: center;
    align-items: stretch;

    gap: 30px;

    flex-wrap: wrap;
    
}

/* CARD */
.card {
    width: 300px;
    min-height: 310px;

    flex: 0 0 300px;

    background:
        linear-gradient(
            180deg,
            rgba(14, 22, 60, 0.72),
            rgba(8, 14, 40, 0.92)
        );

    border: 1px solid rgba(0, 162, 255, 0.12);

    border-radius: 30px;

    backdrop-filter: blur(18px);

    padding: 50px 32px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    transition: 0.4s ease;

    position: relative;
    z-index: 5;
    overflow: hidden;

    box-shadow:
        0 0 50px rgba(0, 132, 255, 0.08),
        inset 0 0 30px rgba(255,255,255,0.02);
            opacity: 0;
    transform: translateY(80px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.card.show {
    opacity: 1;
    transform: translateY(0);
}


/* LIGHT EFFECT */
.card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at top,
            rgba(0, 162, 255, 0.14),
            transparent 70%
        );

    opacity: 0;

    transition: 0.4s ease;
}

/* HOVER */
.card:hover {
    transform: translateY(-8px);

    border-color: rgba(0, 162, 255, 0.28);

    box-shadow:
        0 0 60px rgba(0, 132, 255, 0.16),
        0 0 120px rgba(0, 132, 255, 0.05);
}

.card:hover::before {
    opacity: 1;
}
/* ICON */
.card i {
    font-size: 62px;
    color: #00a2ff;

    margin-bottom: 30px;

    text-shadow:
        0 0 25px rgba(0, 162, 255, 0.6),
        0 0 50px rgba(0, 162, 255, 0.25);
}

/* TITRE */
/* TITRE */
.card h2 {
    font-size: 24px;

    margin-bottom: 20px;

    text-transform: uppercase;

    color: white;

    line-height: 1.2;
}

/* TEXTE */
.card p {
    color: rgba(255,255,255,0.72);

    font-size: 15px;

    line-height: 2;

    text-transform: none;

    max-width: 240px;
}


/* SECTION 3 */
/* SECTION 3 */
.section3 {
    width: 100%;

    position: relative;
    z-index: 2;

    padding: 90px 8% 70px;

    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(circle at center,
        rgba(40, 70, 255, 0.12),
        transparent 60%);
}

/* IMAGES */
/* =========================
   IMAGES DÉCORATIVES
========================= */
.side-img {
    position: absolute;

    pointer-events: none;

    opacity: 0.95;

    z-index: 1;

    filter:
        drop-shadow(0 0 30px rgba(98, 0, 255, 0.22))
        drop-shadow(0 0 60px rgba(0, 162, 255, 0.15));

    animation: floating 6s ease-in-out infinite;
}

/* IMAGE GAUCHE HAUT */
/* IMAGE GAUCHE */
.side-left-top {
    top: 50%;
    left: -90px;

    width: 420px;

    transform: translateY(-50%);
}

/* IMAGE DROITE */
.side-right-top {
    top: 50%;
    right: -90px;

    width: 420px;

    transform: translateY(-50%);
}



.cta-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 16px 42px;

    border-radius: 50px;

    background:
        linear-gradient(
            90deg,
            #4f46e5,
            #9333ea
        );

    color: white;
    text-decoration: none;

    font-size: 15px;
    letter-spacing: 1px;

    transition: 0.35s ease;

    box-shadow:
        0 0 25px rgba(147, 51, 234, 0.35),
        0 0 60px rgba(79, 70, 229, 0.2);
}

.cta-btn:hover {
    transform: translateY(-4px) scale(1.03);

    box-shadow:
        0 0 35px rgba(147, 51, 234, 0.5),
        0 0 90px rgba(79, 70, 229, 0.35);
}

/* =========================
   SECTION 4
========================= */
.section4 {
    width: 100%;

    position: relative;
    z-index: 2;

    padding: 40px 8% 120px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    text-align: center;
}

/* TITRE */
.section4-title {
    position: relative;
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 18px;
}

/* H1 */
.section4-title h1 {
    font-size: 42px;

    text-transform: uppercase;

    color: white;

    text-shadow:
        0 0 25px rgba(0,162,255,0.15);
}

/* HR */
.section4-title hr {
    width: 320px;
    height: 1px;

    border: none;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.7),
            transparent
        );
}

/* P */
.section4-title p {
    color: rgba(255,255,255,0.65);

    font-size: 15px;
}

/* IMAGE BAS GAUCHE */
.side-left-bottom {
    position: absolute;

    bottom: 0;
    left: -40px;

    width: 360px;

    opacity: 0.95;

    pointer-events: none;

    z-index: 1;

    filter:
        drop-shadow(0 0 30px rgba(98, 0, 255, 0.22))
        drop-shadow(0 0 60px rgba(0, 162, 255, 0.15));
}





/* =========================
   MOBILE
========================= */
/* =========================
   MOBILE MENU
========================= */
@media (max-width: 900px) {

    .burger {
        display: block;
    }

    /* MENU FULLSCREEN */
    .right-menu {
        position: fixed;

        top: 0;
        left: 0;

        width: 100%;
        height: 100vh;

        display: flex;
        justify-content: center;
        align-items: center;

        opacity: 0;
        visibility: hidden;

        transition: 0.4s ease;

        z-index: 1500;

        /* FOND TRANSPARENT */
        background: rgba(5, 10, 35, 0.35);

        backdrop-filter: blur(14px);
    }

    /* ACTIVE */
    .right-menu.active {
        opacity: 1;
        visibility: visible;
    }

    /* MENU */
    .right-menu ul {
        flex-direction: column;

        gap: 45px;

        text-align: center;
    }

    /* LIENS */
    .right-menu ul li a {
        font-size: 30px;

        color: white;

        text-transform: uppercase;

        letter-spacing: 2px;

        font-family: 'Momcake', sans-serif;

        text-shadow:
            0 0 20px rgba(0,162,255,0.25);
    }

    /* BURGER */
    .burger {
        position: relative;
        z-index: 2000;
    }
}