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

body {
    font-family: 'Patrick Hand', 'Comic Sans MS', cursive;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(to bottom, #FFF9E5 0%, #FFF5DC 100%);
    background-image: 
        repeating-linear-gradient(
            transparent,
            transparent 30px,
            rgba(200, 200, 200, 0.2) 30px,
            rgba(200, 200, 200, 0.2) 31px
        );
}

/* Padding pour la page d'accueil uniquement (avec sidebar) */
body.home-page {
    padding-right: 220px;
}

/* Menu latéral style agenda */
.sidebar-menu {
    position: fixed;
    right: 0;
    top: 0;
    width: 220px;
    height: 100vh;
    background: linear-gradient(to left, #E8E8E8 0%, #F5F5F5 100%);
    box-shadow: -3px 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    overflow-y: auto;
}

.menu-tab {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.menu-tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 100%;
    border-radius: 0 15px 15px 0;
}

.menu-tab.lundi { background: linear-gradient(to right, #FF6B6B, #FF8E8E); }
.menu-tab.lundi::before { background: #FF4545; }

.menu-tab.mardi { background: linear-gradient(to right, #4ECDC4, #6FE7DD); }
.menu-tab.mardi::before { background: #2DB5AC; }

.menu-tab.mercredi { background: linear-gradient(to right, #95E1D3, #B3EBE0); }
.menu-tab.mercredi::before { background: #74D6C5; }

/* Amélioration contraste pour le jaune */
.menu-tab.jeudi { background: linear-gradient(to right, #FFB800, #FFD93D); }
.menu-tab.jeudi::before { background: #FF9800; }

.menu-tab.vendredi { background: linear-gradient(to right, #A8E6CF, #C1F0DB); }
.menu-tab.vendredi::before { background: #87DBBD; }

.menu-tab.samedi { background: linear-gradient(to right, #B8B8B8, #D0D0D0); }
.menu-tab.samedi::before { background: #999; }

.menu-tab a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    padding: 0 20px;
    display: block;
    width: 100%;
}

.menu-tab:hover {
    transform: translateX(-5px);
}

.menu-tab.surprise {
    font-size: 1rem;
    font-weight: bold;
    color: white;
    padding: 0 20px;
}

/* Container principal */
.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.hero img {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
    border: 3px solid white;
}

.hero h1 {
    font-family: 'Cabin Sketch', cursive;
    font-size: 3rem;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4, #95E1D3, #FFD93D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    transform: rotate(-2deg);
}

.hero .tagline {
    font-family: 'Indie Flower', cursive;
    font-size: 1.5rem;
    color: #666;
    transform: rotate(1deg);
    margin-bottom: 1.5rem;
}

.hero .tagline .crossed-out {
    position: relative;
    display: inline-block;
}

.hero .tagline .crossed-out::before,
.hero .tagline .crossed-out::after {
    content: '';
    position: absolute;
    width: 110%;
    height: 1.5px;
    background: #FF0000;
    left: -5%;
    transform-origin: center;
}

.hero .tagline .crossed-out::before {
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
}

.hero .tagline .crossed-out::after {
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
}

/* Sections */
.section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
    border-left: 8px solid;
}

.section.accueil { border-left-color: #FF6B6B; }
.section.projet { border-left-color: #4ECDC4; }
.section.equipe { border-left-color: #95E1D3; }
.section.rejoindre { border-left-color: #FFD93D; }

.section h2 {
    font-family: 'Cabin Sketch', cursive;
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1rem;
    transform: rotate(-1deg);
}

.section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #555;
}

/* Manifeste */
.manifesto .highlight {
    background: linear-gradient(135deg, #FFF4E0 0%, #FFE8B3 100%);
    border-left: 4px solid #FFD93D;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    font-weight: bold;
}

/* Audio players */
.audio-box {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
}

.audio-box h3 {
    margin-bottom: 1rem;
    color: #1976D2;
    font-size: 1.3rem;
}

audio {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

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

.bio-card {
    background: linear-gradient(135deg, #F5F5F5, #FAFAFA);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #E0E0E0;
}

.bio-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 1rem;
    border: 3px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.bio-card h3 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-family: 'Cabin Sketch', cursive;
    font-size: 1.6rem;
}

.bio-card h4 {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.bio-card ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.bio-card li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Newsletter */
.newsletter {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.form-group input {
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid #FFD93D;
    border-radius: 8px;
    font-family: 'Patrick Hand', cursive;
}

.btn {
    background: linear-gradient(135deg, #FFD93D, #FFC700);
    color: #333;
    font-family: 'Cabin Sketch', cursive;
    font-size: 1.3rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Message de confirmation */
.success-message {
    background: linear-gradient(135deg, #C8E6C9, #A5D6A7);
    border: 2px solid #66BB6A;
    color: #1B5E20;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease-in;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 240px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    margin-right: 220px;
    color: #666;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    body.home-page {
        padding-right: 0;
        padding-top: 60px;
    }

    .sidebar-menu {
        width: 100%;
        height: auto;
        position: fixed;
        top: 0;
        display: flex;
        flex-wrap: wrap;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }

    .menu-tab {
        flex: 1 1 33.33%;
        min-width: 120px;
        height: 60px;
        font-size: 0.9rem;
    }

    .menu-tab a {
        font-size: 1rem;
        padding: 0 10px;
    }

    .main-content {
        padding: 1rem;
    }

    .section {
        padding: 1.5rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .section p {
        font-size: 1.1rem;
    }

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

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

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

    .back-to-top {
        right: 20px;
        bottom: 20px;
    }

    footer {
        margin-right: 0;
    }

    /* Améliorer les espacements mobile */
    .audio-box {
        padding: 1.2rem;
        margin: 1.5rem 0;
    }

    .audio-box h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    audio {
        margin-top: 1rem;
    }

    .form-group input,
    .btn {
        font-size: 1rem;
        padding: 0.9rem;
    }

    .bio-card li {
        font-size: 1rem;
        line-height: 1.6;
    }
}

html {
    scroll-behavior: smooth;
}
