/* Reset et variables base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --font-title: 'Caveat', cursive, sans-serif;
    --font-body: 'Inter', sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    font-family: var(--font-body);
    user-select: none;
}

/* Scroll Snap natif fluide */
.scroll-container {
    width: 100vw;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    /* Cache la barre de scroll */
    scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

/* Design des Sections */
.section-page {
    position: relative;
    width: 100vw;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: var(--bg-img);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.7);
}

.content-box {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    max-width: 800px;
    width: 85%;
    color: #fff;
}

.title {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 6vh, 4.5rem);
    margin-bottom: 1rem;
}

.describ {
    font-size: clamp(1rem, 2vh, 1.3rem);
    line-height: 1.6;
    font-weight: 300;
}

/* Top bar : Visiteurs */
.visitors {
    position: fixed;
    top: 20px;
    right: 25px;
    color: #fff;
    font-size: 0.9rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 14px;
    border-radius: 20px;
}

/* Puces de Navigation latérales */
.page-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-dot:hover {
    background: #ffee00;
}

.nav-dot.active {
    background: #fff;
    transform: scale(1.4);
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Footer / Menu bas de page */
.menu-site {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    flex-wrap: wrap;
}

.menu-site a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.menu-site a:hover {
    color: #ffee00;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .page-nav {
        right: 10px;
    }

    .menu-site {
        gap: 15px;
        font-size: 0.85rem;
    }
}