/* ===================== */
/* RESET                 */
/* ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(180deg, #050510 0%, #0b0b2e 100%);
    color: white;
    overflow-x: hidden;
}

/* ===================== */
/* NAVBAR                */
/* ===================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    background: rgba(5, 5, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 20, 0.95);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    flex-shrink: 0;
}

/* ===================== */
/* BURGER                */
/* ===================== */
.burger {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease;
    position: absolute;
    left: 50px;
    flex-shrink: 0;
}

.burger:hover {
    transform: scale(1.1);
}

.burger span {
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================== */
/* MENU LATÉRAL          */
/* ===================== */
.menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    padding-top: 90px;
    background:
        radial-gradient(circle at 50% 20%, rgba(130, 90, 255, 0.4), transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(90, 140, 255, 0.3), transparent 60%),
        linear-gradient(180deg, #050510, #0b0b2e);
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 998;
    box-shadow: 40px 0 80px rgba(0, 0, 0, 0.8);
}

.menu.active {
    left: 0;
}

.close-menu-x {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.close-menu-x:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* ===================== */
/* CATÉGORIES            */
/* ===================== */
.menu li {
    margin: 25px 0;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.menu.active li {
    opacity: 1;
    transform: translateX(0);
}

.menu.active li:nth-child(2) { transition-delay: 0.1s; }
.menu.active li:nth-child(3) { transition-delay: 0.2s; }
.menu.active li:nth-child(4) { transition-delay: 0.3s; }

.menu a {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #a78bfa, #6366f1);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}

.menu a:hover {
    color: #a78bfa;
}

/* ===================== */
/* HERO                  */
/* ===================== */
.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    background: #050510;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(5, 5, 16, 0.7) 100%);
    z-index: 1;
}

.hero video {
    position: absolute;
    width: 1920px;
    height: 1080px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== */
/* SECTION KIBO          */
/* ===================== */
.kibo-bg {
    min-height: 80vh;
    padding: 120px 20px;
    background:
        radial-gradient(circle at 30% 20%, rgba(130, 90, 255, 0.25), transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(90, 140, 255, 0.2), transparent 50%),
        linear-gradient(180deg, #050510 0%, #0b0b2e);
    text-align: center;
    position: relative;
}

.kibo-bg h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kibo-bg p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* ===================== */
/* FEATURES GRID         */
/* ===================== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a78bfa, #6366f1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(167, 139, 250, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #a78bfa;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ===================== */
/* SECTION INTÉRÊTS      */
/* ===================== */
.interests-section {
    min-height: 80vh;
    padding: 120px 20px;
    background:
        radial-gradient(circle at 70% 20%, rgba(90, 140, 255, 0.25), transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(130, 90, 255, 0.2), transparent 50%),
        linear-gradient(180deg, #0b0b2e 0%, #050510);
    text-align: center;
}

.interests-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.interests-section > p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.interest-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.interest-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(167, 139, 250, 0.3);
}

.interest-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.interest-card h3 {
    font-size: 1.2rem;
    color: #a78bfa;
    margin-bottom: 10px;
}

.interest-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===================== */
/* SECTION CONTACT       */
/* ===================== */
.contact-section {
    min-height: 70vh;
    padding: 120px 20px;
    background:
        radial-gradient(circle at 50% 50%, rgba(130, 90, 255, 0.2), transparent 60%),
        linear-gradient(180deg, #050510 0%, #0b0b2e);
    text-align: center;
}

.contact-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-section > p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 900px;
    margin: 50px auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 250px;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(167, 139, 250, 0.3);
}

.contact-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.3rem;
    color: #a78bfa;
    margin-bottom: 15px;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 20px;
}

.contact-link {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    border: 2px solid #a78bfa;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    background: transparent;
}

.contact-link:hover {
    background: linear-gradient(135deg, #7f6bff, #4f5dff);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(127, 107, 255, 0.4);
}

/* ===================== */
/* BOUTON CTA            */
/* ===================== */
.cta-button {
    display: inline-block;
    margin: 40px auto;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: linear-gradient(135deg, #7f6bff, #4f5dff);
    box-shadow: 0 10px 30px rgba(127, 107, 255, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(127, 107, 255, 0.6);
}

/* ===================== */
/* BOUTON MOONFALL       */
/* ===================== */
.Moonfall {
    display: inline-block;
    margin: 40px auto;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: linear-gradient(135deg, #7f6bff, #4f5dff);
    box-shadow: 0 10px 30px rgba(127, 107, 255, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.Moonfall::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.Moonfall:hover::before {
    left: 100%;
}

.Moonfall:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(127, 107, 255, 0.6);
}

.Moonfall:active {
    transform: translateY(0);
    box-shadow: 0 5px 20px rgba(127, 107, 255, 0.4);
}

/* ===================== */
/* SCROLL INDICATOR      */
/* ===================== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator::before {
    content: "↓";
    font-size: 2rem;
    color: white;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* ===================== */
/* FOOTER                */
/* ===================== */
footer {
    padding: 40px 20px;
    text-align: center;
    background: rgba(5, 5, 16, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* ===================== */
/* RESPONSIVE            */
/* ===================== */
@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }
    
    .burger {
        left: 20px;
    }

    .features {
        grid-template-columns: 1fr;
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 1400px) {
    .navbar {
        padding: 0 80px;
    }
}

@media (min-width: 1800px) {
    .navbar {
        padding: 0 120px;
    }
}

/* ===================== */
/* OVERLAY MENU          */
/* ===================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 997;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}