:root {
    --bleu-ciel: #6B76FF;
    --violet: #9F35FF;
    --bleu-fonce: #3344FF;
    --vert-lime: #CDFF66;
    --magenta: #FC33FF;
    --blanc: #FFFFFF;
    --noir: #000000;
}

@font-face {
    font-family: 'SimplyRounded';
    src: url('fonts/Simply Rounded.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.nav-logo {
    display: none;
}

.nav-logo img {
    height: 120px;
    width: auto;
}

@media (max-width: 768px) {
    .navbar {
        background: linear-gradient(135deg, var(--bleu-ciel), var(--violet));
    }
    
    .nav-logo {
        display: none;
        position: absolute !important;
        left: 5px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        padding: 0 !important;
        margin: 0 !important;
        line-height: 0 !important;
        z-index: 1002 !important;
    }
    
    .nav-logo img {
        height: 120px !important;
        width: auto !important;
        vertical-align: middle !important;
    }
    
    .nav-logo.visible {
        display: inline-block !important;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'SimplyRounded', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--noir);
    background-color: var(--noir);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--blanc);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bleu-ciel), var(--violet));
    color: var(--blanc);
    position: sticky;
    top: 0;
    height: 60px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 1rem;
    position: relative;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 24px;
    padding: 0;
    box-sizing: border-box;
    z-index: 1001;
}

.burger div {
    width: 28px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    border-radius: 2px;
}

.burger div {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    flex-shrink: 0;
}

.logo {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0 auto;
    padding: 0;
    justify-content: center;
}

.nav-links a {
    color: var(--blanc);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* HOVER - temporaire au survol de la souris */
.nav-links li a.menu-link:hover {
    font-weight: bold;
    color: var(--vert-lime);
    opacity: 1;
}

/* ACTIVE (Scroll Spy) - reste activé quand on scroll dans la section */
.nav-links li a.menu-link.active,
a.menu-link.active {
    font-weight: bold !important;
    color: var(--vert-lime) !important;
    opacity: 1 !important;
}

.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.burger div {
    width: 28px;
    height: 3px;
    background-color: white;
    margin: 6px 0;
    border-radius: 2px;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, var(--bleu-ciel), var(--violet));
    color: var(--blanc);
}

.hero h1 {
    margin-bottom: 1rem;
}


.content-section {
    padding: 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 5rem;
}

.content-section h2 {
    color: var(--bleu-fonce);
    margin-bottom: 1rem;
}

.content-section h3 {
    color: var(--violet);
    margin-bottom: 0.5rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.activity-card {
    background: linear-gradient(135deg, rgba(107, 118, 255, 0.1), rgba(159, 53, 255, 0.1));
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--violet);
}

.activity-card h3 {
    color: var(--bleu-fonce);
    margin-bottom: 1rem;
}

.activity-card p {
    margin-bottom: 0.5rem;
}

.support-list {
    margin-top: 1.5rem;
    padding-left: 1.5rem;
}

.support-list li {
    margin-bottom: 0.75rem;
    color: var(--bleu-fonce);
}

.caroussel {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    padding: 6rem 0 3rem;;
}

.carousel-stage {
    position: relative;
    height: 300px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    max-width: 400px;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-item[data-pos="center"] {
    transform: translate(-50%, -50%) scale(1);
    z-index: 3;
    filter: brightness(1);
    opacity: 1;
}

.carousel-item[data-pos="left"] {
    transform: translate(-110%, -50%) scale(0.78);
    z-index: 2;
    filter: brightness(0.5);
    opacity: 0.8;
}

.carousel-item[data-pos="right"] {
    transform: translate(10%, -50%) scale(0.78);
    z-index: 2;
    filter: brightness(0.5);
    opacity: 0.8;
}

.carousel-item[data-pos="hidden-left"] {
    transform: translate(-160%, -50%) scale(0.6);
    z-index: 1;
    filter: brightness(0.3);
    opacity: 0;
}

.carousel-item[data-pos="hidden-right"] {
    transform: translate(60%, -50%) scale(0.6);
    z-index: 1;
    filter: brightness(0.3);
    opacity: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease;
    opacity: 0.8;
}

.carousel-btn:hover {
    background: #6B76FF;
    border-color: #6B76FF;
    color: white;
    opacity: 1;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

@media (max-width: 768px) {
    .carousel-container {
        height: 250px;
    }
}

/* =============================================
   FORMULAIRE DE CONTACT
   ============================================= */

.contact {
    padding: 3rem 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact h2 {
    color: var(--bleu-fonce);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.form-group label .required {
    color: var(--vert-lime);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 0.6rem;
    border: 2px solid var(--bleu-ciel);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

/* CUSTOM SELECT */
.custom-select {
    position: relative;
    width: 100%;
}

.select-selected {
    display: block;
    width: 100%;
    padding: 0.6rem;
    border: 2px solid var(--bleu-ciel);
    border-radius: 4px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    font-family: inherit;
    box-sizing: border-box;
    color: black;
}

.select-selected::after {
    content: "▼";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
}

.select-items {
    display: none;
    position: absolute;
    background: white;
    width: 100%;
    border: 2px solid var(--bleu-ciel);
    border-top: none;
    border-radius: 0 0 4px 4px;
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    box-sizing: border-box;
}

.select-items div {
    padding: 0.6rem;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    margin: 0;
}

.select-items div:hover {
    background: #f0f0f0;
}

.select-items div.selected {
    background: #e0e0e0;
}

.custom-select.show .select-items {
    display: block;
}

.custom-select.show .select-selected {
    border-radius: 4px 4px 0 0;
    border-bottom: none;
}

select::-ms-expand {
    display: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--bleu-fonce);
}

button[type="submit"] {
    display: block;
    background: var(--bleu-ciel);
    color: var(--blanc);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

button[type="submit"]:hover {
    background: var(--bleu-fonce);
}

button[type="submit"]:disabled {
    background: #aaa;
    cursor: not-allowed;
}

.error-msg {
    display: block;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.form-feedback {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    text-align: center;
}

.form-feedback-success {
    background: #d4edda;
    color: #155724;
}

.form-feedback-error {
    background: #f8d7da;
    color: #721c24;
}

.footer {
    background: var(--bleu-fonce);
    color: var(--blanc);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--vert-lime);
}

.social-links {
    display: flex;
    justify-content: flex-end;
}

.footer-section a {
    color: var(--blanc);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom a {
    color: var(--blanc);
    text-decoration: none;
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .content-section {
        padding: 2rem 1rem;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact {
        padding: 2rem 1rem;
    }

    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        right: 0;
        height: calc(100vh - 60px);
        background: linear-gradient(135deg, var(--bleu-ciel), var(--violet));
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 3rem;
        padding-left: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        list-style: none;
        margin: 0;
        width: 30%;
        min-width: 250px;
    }

    .nav-links.nav-active {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.3s ease;
    }

    .nav-links.nav-active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.nav-active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.nav-active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.nav-active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.nav-active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.nav-active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links.nav-active li:nth-child(6) { transition-delay: 0.35s; }

    .nav-links a {
        color: var(--blanc);
        font-size: 1.3rem;
        font-weight: 400;
        transition: all 0.3s ease;
    }
    
    /* HOVER - temporaire au survol */
    .nav-links a:hover {
        font-weight: bold;
        color: var(--vert-lime);
    }
    
    /* ACTIVE (Scroll Spy) - reste activé */
    .nav-links a.active {
        font-weight: bold;
        color: var(--vert-lime);
        padding-left: 10px;
    }
	.carousel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    
    max-width: 400px;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
}
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0.5rem;
    }

    .hero h1 {
        font-size: 1.2rem;
    }

    .activity-card {
        padding: 1rem;
    }
	.carousel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    max-width: 400px;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
}
}