/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #FF7E67;
    --primary-dark: #e8654f;
    --secondary: #4ECDC4;
    --secondary-dark: #3ab5ad;
    --accent: #FFE66D;
    --accent-dark: #f0d44d;
    --dark: #2C3E50;
    --light: #FFF9F0;
    --gray: #F0F0F0;
    --text: #444;
    --text-light: #888;
    --white: #FFFFFF;
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    --font-main: 'Nunito', 'Segoe UI', Tahoma, sans-serif;
    --font-display: 'Fredoka One', 'Nunito', cursive;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--dark);
    line-height: 1.3;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 126, 103, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 126, 103, 0.5);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== HEADER / NAVIGATION ===== */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 24px;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    /* mix-blend-mode: multiply; */ /* Retiré pour mieux supporter les futurs PNG transparents */
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: rotate(-10deg) scale(1.1);
}

.logo span {
    color: var(--dark);
}

/* Ancien style logo-icon (gardé pour compatibilité footer) */
.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    flex-shrink: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav a {
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
    background: rgba(255, 126, 103, 0.1);
}

.nav a.active {
    color: var(--primary);
    background: rgba(255, 126, 103, 0.15);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #FFF5F0 0%, #F0FFFE 50%, #FFFDF0 100%);
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 126, 103, 0.08) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-logo {
    width: 180px;
    height: 180px;
    border-radius: 24px;
    object-fit: cover;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    mix-blend-mode: multiply;
    border: 4px solid white;
    background-color: white;
    display: inline-block;
    vertical-align: middle;
    margin-left: 15px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: white;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 126, 103, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.hero-illustration .emoji-big {
    font-size: 4rem;
    margin-bottom: 15px;
}

.hero-illustration-logo {
    width: 140px;
    height: 140px;
    border-radius: 30px;
    object-fit: cover;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 5px solid white;
    background-color: white;
    transform: rotate(-5deg);
    transition: var(--transition);
}

.hero-illustration:hover .hero-illustration-logo {
    transform: rotate(0deg) scale(1.05);
}

.hero-illustration h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 8px;
}

.hero-illustration p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

/* ===== FEATURES / CARDS ===== */
.section {
    padding: 80px 24px;
}

.section-alt {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.feature-icon.green { background: rgba(78, 205, 196, 0.15); }
.feature-icon.coral { background: rgba(255, 126, 103, 0.15); }
.feature-icon.yellow { background: rgba(255, 230, 109, 0.3); }
.feature-icon.blue { background: rgba(108, 99, 255, 0.12); }

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== SCHEDULE TABLE ===== */
.schedule-section {
    background: var(--white);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.schedule-card {
    background: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.schedule-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.schedule-card-header {
    padding: 24px 28px;
    color: white;
    font-family: var(--font-display);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.schedule-card-header.blue { background: linear-gradient(135deg, #6C63FF, #4ECDC4); }
.schedule-card-header.green { background: linear-gradient(135deg, #4ECDC4, #26A69A); }
.schedule-card-header.coral { background: linear-gradient(135deg, #FF7E67, #FFB74D); }
.schedule-card-header.purple { background: linear-gradient(135deg, #AB47BC, #6C63FF); }
.schedule-card-header.orange { background: linear-gradient(135deg, #FFB74D, #FF7E67); }

.schedule-card-body {
    padding: 24px 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.08);
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-row .label {
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.schedule-row .value {
    color: var(--text-light);
    font-weight: 500;
    text-align: right;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .schedule-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .schedule-row .value {
        text-align: left;
    }
}

.schedule-note {
    margin-top: 20px;
    padding: 16px;
    background: rgba(255, 230, 109, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text);
    border-left: 4px solid var(--accent);
}

/* ===== TEAM SECTION ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.team-card .role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.team-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== NUMBERS / STATS ===== */
.stats-section {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    padding: 60px 24px;
    color: white;
    text-align: center;
}

.stats-section .section-title {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(78, 205, 196, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.contact-detail p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 24px 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    padding: 4px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.footer-col a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, #FFF5F0, #F0FFFE);
    padding: 60px 24px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-illustration {
        max-width: 360px;
    }

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

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 32px 32px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        gap: 4px;
        z-index: 999;
    }

    .nav.open {
        right: 0;
    }

    .nav a {
        padding: 14px 18px;
        width: 100%;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

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

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

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

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

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

    .page-header h1 {
        font-size: 2rem;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 16px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-illustration {
        max-width: 280px;
        padding: 24px;
    }

    .hero-illustration .emoji-big {
        font-size: 3.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .section {
        padding: 50px 16px;
    }

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

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

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

    .stat-number {
        font-size: 2.2rem;
    }

    .contact-form {
        padding: 24px;
    }
}

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

.animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== ACTIVITIES SECTION ===== */
.activities-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.activity-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 24px;
    transition: var(--transition);
    border-left: 5px solid var(--secondary);
}

.activity-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(8px);
}

.activity-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 64px;
    text-align: center;
}

.activity-item h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.activity-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
    padding-top: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

/* ===== MAP PLACEHOLDER ===== */
.map-placeholder {
    background: var(--gray);
    border-radius: var(--radius);
    padding: 60px;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 20px;
    border: 2px dashed var(--text-light);
}

/* ===== REGISTRATION FORM ===== */
.registration-steps {
    margin-top: 40px;
}

.step {
    display: flex;
    gap: 24px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ======== NEWSLETTER ======== */
.newsletter {
    background: linear-gradient(135deg, var(--secondary), #6C63FF);
    padding: 60px 24px;
    text-align: center;
    color: white;
}

.newsletter h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 12px;
}

.newsletter p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border-radius: 50px;
    border: none;
    font-family: var(--font-main);
    font-size: 1rem;
    min-width: 0;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.3);
}

.newsletter-form .btn {
    background: var(--dark);
    color: white;
    box-shadow: none;
}

.newsletter-form .btn:hover {
    background: #1a252f;
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
}
