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

:root {
    --primary: #0066cc;
    --secondary: #00a3e0;
    --dark: #1a1a2e;
    --light: #f5f7fa;
    --text: #333;
    --border: #ddd;
}

html {
    scroll-behavior: smooth;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo img {
    max-width:50%;
    height:auto;
    display:block;
    border-radius: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    animation: slideDown 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-date {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero-text p {
    margin-bottom: 1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* ===== PAGE INTRO ===== */
.page-intro {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: 1;
}

.intro-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.intro-text {
    font-size: 1.2rem;
    max-width: 600px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== SECTION CONTENT ===== */
.section-content {
    padding: 80px 0;
    background: white;
}

.section-content.alternate {
    background: var(--light);
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.content-wrapper.alternate {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.content-wrapper.alternate > * {
    direction: ltr;
}

.content-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.content-image:hover img {
    transform: scale(1.05);
}

.content-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.content-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.subsection-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-list {
    list-style: none;
    padding-left: 0;
}

.content-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #666;
}

.content-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===== DAY SECTIONS ===== */
.day-section {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.day-header {
    padding: 30px;
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
}

.day-1 {
    background: linear-gradient(135deg, #0066cc 0%, #00a3e0 100%);
}

.day-2 {
    background: linear-gradient(135deg, #00a3e0 0%, #00d4ff 100%);
}

.day-3 {
    background: linear-gradient(135deg, #0066cc 0%, #003d7a 100%);
}

.day-4 {
    background: linear-gradient(135deg, #00a3e0 0%, #0066cc 100%);
}

.day-content {
    padding: 50px 20px;
    background: white;
}

.day-content .content-wrapper {
    grid-template-columns: 1fr 1fr;
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    border: none;
    margin: 50px 0;
}

/* ===== LIEU SECTIONS ===== */
.lieu-section {
    padding: 80px 0;
    background: white;
}

.lieu-section.alternate {
    background: var(--light);
}

.lieu-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.lieu-section.alternate .lieu-wrapper {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.lieu-section.alternate .lieu-wrapper > * {
    direction: ltr;
}

.lieu-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.lieu-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.lieu-image:hover img {
    transform: scale(1.05);
}

.lieu-content h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.lieu-title {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.lieu-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.lieu-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.lieu-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #666;
}

.lieu-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 1.5rem;
}

.lieu-highlight {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 163, 224, 0.1));
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    margin-top: 2rem;
}

/* ===== INFO BOXES ===== */
.info-boxes {
    padding: 80px 20px;
    background: var(--light);
    max-width: 1200px;
    margin: 0 auto;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--secondary);
    transition: transform 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.info-box h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-box p {
    color: #666;
    line-height: 1.6;
}

/* ===== PROJETS SECTION ===== */
.projets-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    margin: 40px 20px;
}

.projets-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.projets-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.projets-content {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-container {
    width: 100%;
}

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

.intro-paragraph {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.projet-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary);
}

.projet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.projet-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.projet-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.projet-card p {
    color: #666;
    line-height: 1.6;
}

.projets-section {
    margin-top: 60px;
}

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

.objective {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--secondary);
}

.objective h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.objective p {
    color: #666;
    line-height: 1.6;
}

.projets-methodology {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border);
}

.methodology-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 2rem;
    align-items: center;
}

.flow-step {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.flow-step h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.flow-step p {
    color: #666;
    font-size: 0.9rem;
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary);
}

/* ===== GALERIE SECTION ===== */
.galerie-intro {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.intro-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.intro-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.intro-content p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.galerie-description {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.galerie-description h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.galerie-description p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.galerie-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.galerie-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galerie-item:hover img {
    transform: scale(1.1);
}

.galerie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galerie-item:hover .galerie-overlay {
    opacity: 1;
}

.galerie-overlay p {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--dark), #2a2a4e);
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 80px;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

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

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 15px 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .content-wrapper,
    .lieu-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-wrapper.alternate,
    .lieu-wrapper.alternate {
        direction: ltr;
    }

    .content-wrapper.alternate > *,
    .lieu-wrapper.alternate > * {
        direction: ltr;
    }

    .day-content .content-wrapper {
        grid-template-columns: 1fr;
    }

    .methodology-flow {
        grid-template-columns: 1fr;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .galerie-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .galerie-item {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.3rem;
    }

    .nav-menu {
        gap: 0;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

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

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

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

    .hero {
        height: 60vh;
    }
}

/* Toggle */

  #toggle, #toggle1 {
    display: none;
  }

  /* Le lien pleine largeur */
  .toggle-label {
    display: block;
    width: 100%;
    background: #0084D6;
    color: white;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
  }

  .toggle-label:hover {
    background: #91bbd6;
  }

  /* La div à afficher */
  .lasuite {
    display: none;
    background: #eeeeee;
    padding: 15px;
  }

  /* Quand coché → visible */
  #toggle:checked + .toggle-label + .lasuite {
    display: block;
  }

  #toggle1:checked + .toggle-label + .lasuite {
    display: block;
  }