/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

@media (min-width: 769px) {
    html {
        scroll-snap-type: y proximity;
    }
}

body {
    font-family: 'Quicksand', sans-serif;
    line-height: 1.7;
    color: #2d3436;
    background: #0a1628;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #b8d4c8;
    margin-top: 1.5rem;
    font-weight: 400;
}
h1 strong {        
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.5);
    display: block;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #1a5f4a;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: #2d7a5f;
}

p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    margin-bottom: 1rem;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 0.5rem 2rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #7dd3b0;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: #7dd3b0;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #b8d4c8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7dd3b0;
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: #7dd3b0;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ===== SECTIONS / SLIDES ===== */
.slide {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    scroll-snap-align: start;
    padding:76px 20px 20px;
}

@media (max-width: 768px) {
    .slide {
        scroll-snap-align: none;
    }
}

.slide-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 2rem;
    text-align: center;
}

/* ===== PARALLAX LAYERS ===== */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.parallax-character {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: bottom left;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 5;
}

/* ===== SLIDE VIDÉO ===== */
#video-teaser {
    background: #060e1c;
}
#video-teaser iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* ===== SLIDE HERO ===== */
#hero {
    background: linear-gradient(135deg, #23295e 0%, #0b5081 100%) no-repeat center center;
    background-size: cover;
    background-image: url('images/foret-nuit.webp');
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1400px;
    position: relative;
    z-index: 10;
}

.hero-affiche {
    flex: 0 0 auto;
}

.hero-affiche img {    
    width: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

#hero .hero-content {
    flex: 1;
    max-width: 700px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    background: rgba(10, 22, 40, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

/* Hero responsive */
@media (max-width: 1024px) {
    .hero-wrapper {
        flex-direction: column;
    }
    
    #hero .hero-content,
    #lelivre .hero-content {
        max-width: 100%;
    }
}



.hero-resume {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(125, 211, 176, 0.1);
    border-left: 4px solid #7dd3b0;
    border-radius: 0 10px 10px 0;
    text-align: left;
}

.hero-resume p {
    color: #d4e5dc;
    margin-bottom: 0.5rem;
}

/* ===== SLIDE SCENOGRAPHIE ===== */
#scenographie {
    background: #000;
    display: block;
}
#accordion-sonore {
    background: url('images/musique.webp') no-repeat center center;
}
#accordion-video {
    background: url('images/ecran.webp') no-repeat center center;
}
#accordion-improvisation {
    background: url('images/theatre.webp') no-repeat center center;
}
#accordion-illustration {
    background: url('images/dessin.webp') no-repeat center center;
}
#scenographie.decoupe h2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: linear-gradient(180deg, #000000e0 50%, #0000 100%);
    z-index: 10;
    padding: 76px 0 70px;
    color: #FFF;
}
#scenographie .accordion {

}
#scenographie.decoupe .accordion {
    position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
  max-width: 1920px;
  width: 100%;
  transform: translateX(-50%);
}
#scenographie .accordion-header {
    position: absolute;
  bottom: 0;
  background: linear-gradient(0, #000000e0 40%, #0000 100%);
  color: #FFF;
  text-align: left;
  padding: 57px 12px 12px;
  left: 0;
  right: 0;
}
#scenographie.decoupe .accordion-header {
  padding-top: 180px;
  padding-bottom: 30px;
}
#scenographie.decoupe .accordion-header {

  text-align: center;
}
#scenographie .accordion-header h3 {
    color:#FFF;
}
#scenographie.decoupe .accordion-item {
    position: absolute;
    top: 56px;
    bottom: 0;
    overflow: hidden;
    max-height: 100%;
    margin-bottom: 0;
    transition: all 0.3s ease;
}
#scenographie .accordion-item { 
    background-size: cover;
    max-height: 270px;
    background-position-y: top;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
}
#scenographie.decoupe #accordion-sonore {
    background-position-x: -16px;
}
#scenographie.decoupe #accordion-sonore .accordion-body {
    background: #1C2C19d4;
}
#scenographie.decoupe #accordion-video {
    background-position-x: 48%;
}
#scenographie.decoupe #accordion-improvisation {
    background-position-x: 15%;
}
#scenographie.decoupe #accordion-illustration {
    background-position-x: right;
}
#scenographie .accordion-body {
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
    /* Non selectable pour éviter les bugs de sélection sur mobile */
    user-select: none;
}
#scenographie .accordion-body-image {
    text-align: center;
}
#scenographie .accordion-body-image img {
    max-height: 200px;
    transform: rotate(-2deg);
}
.btn-retour {
    display: none;
    cursor: pointer;
    margin-left: 20px;
    font-size: 0.8em;
    opacity: 0.7;
    vertical-align: auto;
    line-height: 1;
    background: #FFF;
    color: #000;
    padding: 9px;
    border-radius: 13px;
}
.btn-retour:hover {
    opacity: 1;
}
#scenographie.decoupe .accordion-item.open .btn-retour {
    display: inline-block;
}

#accordionSortie {
    position: fixed;
    top: 80px;
    left: 20px;
    background: #000000d1;
    color: #FFF;
    z-index: 10;
    font-size: 37px;
    font-weight: bold;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 46px;
    cursor: pointer;
}
/* Si ecran -800 de hauteur, on réduit la taille des images */
@media (max-height: 800px) {
    #scenographie .accordion-body-image img {
        max-height: 150px;
    }
}
#scenographie .accordion-body.active {
    display: block;
  color: #FFF;
  padding: 20px;
}
#scenographie.decoupe .accordion-body.active {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 1;
  background: #030cd1d4;
  transform: translate(-50%, -50%);
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 90%;
}
#scenographie.decoupe #accordion-sonore .accordion-body.active {
    max-width: 1000px;
}
/* ===== SLIDE PEDAGOGIE ===== */
#pedagogie {
    background: url('images/pedagogie.webp') no-repeat center center;
    background-size: cover;
}
#pedagogie h2 {
    color: #FFF;
    text-shadow: 0 0 11px #000;
}

@keyframes abeilleAiles {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(0.3); }
}

@keyframes abeilleVol {
    0%   { top:50%; left:-166px; transform: scaleX(100%)  }
    25%  { top:60%; left:50%; transform: scaleX(100%) }
    50%  { top:50%; left:110%; transform: scaleX(100%) }
    51%  { top:60%; left:110%; transform: scaleX(-100%) }
    75%  { top:50%; left:50%; transform: scaleX(-100%) }
    100% { top:40%; left:-166px; transform: scaleX(-100%) }

}

#abeille {
    position: absolute;
    animation: abeilleVol 10s ease-in-out infinite;
}
#abeilleCorp {
    background: url('images/abeilleCorp.webp');
    width:166px;
    height: 150px;
    position: absolute;
    top:0;
    left:0;
}
#abeilleAiles {
    position: absolute;
    top: 0;
    left: 74px;
    animation: abeilleAiles 0.12s linear infinite;
    transform-origin: center center;
}
#abeilleAilleImg {
    background: url('images/abeilleAil.webp');
    width:166px;
    height: 150px;    
    position: absolute;
    top:0;
    left: -74px;
}

#pedagogie .parallax-bg {
    /* background-image: url('images/03-pedagogique-ou-arbre.webp'); */
}

.pedagogy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pedagogy-card {
    background: rgba(255,255,255,0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.pedagogy-card.visible {
    animation: fadeSlideUp 0.6s ease forwards;
}

.pedagogy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.pedagogy-card h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pedagogy-icon {
    font-size: 1.5rem;
}

/* ===== SLIDE ARBRE DE NOEL ===== */
#arbre-noel {
    background: radial-gradient(circle at 50% 15%, #2e3f74 0%, #1f2f59 35%, #101e3b 65%, #081124 100%);
}

#arbre-noel .parallax-bg {
    background-image: url('images/lune-fond.webp'); 
    background-position: center bottom;
    opacity: 1;
}

#arbre-noel .parallax-moon {
    background-image: url('images/lune-seul.webp'); 
    background-repeat: no-repeat;
    background-position: center -9vw;
    background-size: clamp(980px, 110vw, 1800px);
    opacity: 1;
    filter: drop-shadow(0 0 55px rgba(246, 239, 204, 0.42));
    z-index: 2;
    height: 150%;
    top: -18%;
}

#arbre-noel .slide-content {
    max-width: 1080px;
}

#arbre-noel h2 {
    color: #f8f3dc;
    text-shadow: 0 8px 30px rgba(10, 17, 36, 0.65);
}

#arbre-noel p {
    color: #e6edf8;
}

.noel-box {
    background: linear-gradient(145deg, rgba(9, 19, 42, 0.82) 0%, rgba(19, 33, 70, 0.72) 100%);
    padding: 2.2rem;
    border-radius: 24px;
    backdrop-filter: blur(7px);
    border: 1px solid rgba(248, 243, 220, 0.35);
    box-shadow: 0 24px 80px rgba(3, 7, 20, 0.55);
}

.livre-promo {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(280px, 1fr);
    align-items: center;
    gap: 2.3rem;
    margin-top: 2rem;
    justify-items: center;
    background: linear-gradient(140deg, rgba(255, 251, 233, 0.12) 0%, rgba(255, 251, 233, 0.06) 100%);
    border: 1px solid rgba(248, 243, 220, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
}

.livre-promo img {
    width: min(100%, 340px);
    height: auto;
    border-radius: 14px;
    box-shadow: 0 22px 60px rgba(0,0,0,0.5);
    border: 2px solid rgba(248, 243, 220, 0.45);
    transition: transform 0.3s;
}

.livre-promo img:hover {
    transform: scale(1.04) rotate(-1deg);
}

.livre-promo-copy {
    text-align: left;
    max-width: 560px;
}

.livre-promo-copy p {
    margin-bottom: 0.8rem;
}

/* ===== SLIDE LE LIVRE ===== */
#lelivre {
    background: linear-gradient(135deg, #0b1e3d 0%, #1a3a2f 100%) no-repeat center center;
    background-image: url('images/decor_dent_du_chat.webp');
    background-size: cover;
}

#lelivre h2 {
    color: #fff;
}

#lelivre .hero-affiche {
    max-width: min(100%, 380px);
}

#lelivre .hero-affiche img {
    max-height: calc(100vh - 140px);
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#lelivre .hero-content {
    max-width: 700px;
}

/* ===== SLIDE EQUIPE ===== */
#equipe {
    background: linear-gradient(180deg, #fef3e2 0%, #fde5c8 100%);
    padding: 100px 0;
}

#equipe .parallax-bg {
    background-image: url('images/04-equipe-fond.webp'); 
}

#equipe .parallax-arbre {
    background-image: url('images/04-equipe-arbre.webp');
    background-size: cover;
    background-position: bottom left;
    opacity: 0.9;
    z-index: 2;
}

#equipe h2 {
    color: #8b4513;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.team-card {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

.team-card.visible {
    animation: fadeScaleUp 0.8s ease forwards;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.3s; }
.team-card:nth-child(3) { animation-delay: 0.5s; }

.team-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s, transform 0.3s;
}

.team-card:hover .team-photo {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    margin-bottom: 0.5rem;
    color: #7a3d12;
}

.team-role {
    color: #d97706;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.team-socials a {
    color: #b45309;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s, transform 0.3s;
}

.team-socials a:hover {
    color: #92400e;
    transform: translateY(-2px);
}

/* ===== SLIDE CONTACT ===== */
#contact {
    background: linear-gradient(180deg, #0a1628 0%, #1a3a2f 100%);
}

#contact .parallax-bg {
    background-image: url('images/06-contact-fond.webp');  
    opacity: 0.25;
}

#contact h2 {
    color: #7dd3b0;
}

#contact p {
    color: #d4e5dc;
}

.contact-box {
    background: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(125, 211, 176, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.tech-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.spec-icon {
    font-size: 1.5rem;
    color: #7dd3b0;
}

.spec-text strong {
    color: #7dd3b0;
    display: block;
    margin-bottom: 0.25rem;
}

.spec-text span {
    color: #b8d4c8;
    font-size: 0.95rem;
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #7dd3b0 0%, #5cb896 100%);
    color: #0a1628;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(125, 211, 176, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(125, 211, 176, 0.4);
}

/* ===== LIGHTBOX ===== */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

#lightbox.active {
    display: flex;
}

#lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

#lightbox-img {
    position: relative;
    z-index: 1;
    max-width: 92vw;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7);
    object-fit: contain;
    animation: fadeSlideUp 0.25s ease;
}

#lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 2.2rem;
    line-height: 1;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#lightbox-close:hover {
    background: rgba(125, 211, 176, 0.3);
}

/* ===== SECTION AVIS ===== */
#avis {
    background: #0d1f38;
}

#avis .parallax-avis-plage {
    background-image: url('images/commentairePlage.webp');
    background-size: cover;
    background-position: center;
}

#avis .parallax-avis-arbre {
    background-image: url('images/commentaireArbre.webp');
    background-size: cover;
    background-position: right center;
    z-index: 1;
}

#avis .slide-content {
    z-index: 10;
}

#avis h2 {
    color: #e8f4ef;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.avis-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.avis-track {
    display: flex;
    transition: transform 0.5s ease;
}

.avis-slide {
    min-width: 100%;
    padding: 0 3rem;
}

.avis-card {
    background: rgba(59, 125, 159, 0.88);
    border: 1px solid rgba(59, 125, 159, 0.2);
    border-radius: 16px;
    padding: 2.5rem 3rem;
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.avis-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 6rem;
    line-height: 1;
    color: #7dd3b0;
    opacity: 0.3;
    position: absolute;
    top: 0.2rem;
    left: 1.2rem;
    pointer-events: none;
}

.avis-star {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #f4c542;
    font-size: 1.4rem;
}

.avis-contenu {
    font-size: 1.15rem;
    color: #d0e8df;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.avis-auteur {
    color: #7dd3b0;
    font-weight: 600;
}

.avis-structure {
    color: #6b9c8a;
    font-weight: 400;
    margin-left: 0.25rem;
}

.avis-prev,
.avis-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(125, 211, 176, 0.12);
    border: 1px solid rgba(125, 211, 176, 0.3);
    color: #7dd3b0;
    font-size: 2.2rem;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
    padding: 0;
    line-height: 1;
}

.avis-prev { left: 0; }
.avis-next { right: 0; }

.avis-prev:hover,
.avis-next:hover {
    background: rgba(125, 211, 176, 0.28);
}

.avis-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.avis-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(125, 211, 176, 0.25);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

.avis-dot.active {
    background: #7dd3b0;
}

@media (max-width: 768px) {
    .avis-slide {
        padding: 0 0.5rem;
    }

    .avis-card {
        padding: 2rem 1.5rem;
    }

    .avis-prev { left: -0.3rem; }
    .avis-next { right: -0.3rem; }
}

/* ===== FOOTER ===== */
.footer {
    background: #0a1628;
    padding: 2rem;
    text-align: center;
    color: #6b7c8a;
    font-size: 0.9rem;
}

.footer a {
    color: #7dd3b0;
    text-decoration: none;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeScaleUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.menuPetitEcran .nav-toggle {
    display: flex;
}

.menuPetitEcran .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #0a1628;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
}

.menuPetitEcran .nav-menu.active {
    right: 0;
}

.menuPetitEcran .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menuPetitEcran .nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menuPetitEcran .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    
    
    /* Parallax partiel sur mobile: on garde les fonds animés, on fige les calques lourds */
    .parallax-character,
    .parallax-arbre {
        position: absolute;
        transform: none !important;
    }
    
    .hero-content {
        padding: 1.5rem;
        margin: 1rem;
        background: rgba(10, 22, 40, 0.85);
    }
    
    .hero-resume {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .slide-content {
        padding: 1.5rem;
    }
    
    /* Section Scénographie mobile */
    .scenographie-intro {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
    
   
    
    /* Section Pédagogie mobile */
    .pedagogy-grid {
        gap: 1rem;
    }
    
    .pedagogy-card {
        padding: 1.5rem;
    }
    
    /* Section Arbre de Noël mobile */
    #arbre-noel .parallax-bg {
        opacity: 1;
    }

    #arbre-noel .parallax-moon {
        background-position: center -18vw;
        background-size: clamp(620px, 190vw, 1050px);
        opacity: 1;
        height: 140%;
        top: -10%;
    }

    .noel-box {
        padding: 1.4rem;
    }
    
    .livre-promo {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.25rem;
        padding: 1.1rem;
    }
    
    .livre-promo > div,
    .livre-promo-copy {
        text-align: center !important;
    }

    .livre-promo img {
        width: min(80vw, 300px);
    }
    
    /* Section Équipe mobile */
    #equipe {
        padding: 60px 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .team-photo {
        height: 220px;
    }
    
    .team-info {
        padding: 1.25rem;
    }
    
    /* Section Formules mobile */
    .formules-grid {
        gap: 1.5rem;
    }
    
    .formule-card {
        padding: 1.5rem;
    }
    
    /* Section Contact mobile */
    .contact-box {
        padding: 1.5rem;
    }
    
    .tech-specs {
        gap: 1rem;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .parallax-character {
        background-size: 80%;
        background-position: bottom center;
    }
    
    /* Titres plus compacts sur mobile */
    h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 0.75rem 1rem;
    }
    
    .slide-content {
        padding: 1rem;
    }
    
    .accordion-header {
        padding: 1rem;
    }
    
    .accordion-header h3 {
        font-size: 0.95rem;
    }
    
    .tech-specs {
        grid-template-columns: 1fr;
    }
    
    h1 strong {
        font-size: 1.6rem;
    }
    
    h1 {
        font-size: 0.95rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-resume {
        padding: 0.875rem;
    }
    
    .hero-resume p {
        font-size: 0.9rem;
    }
    
    .pedagogy-card,
    .formule-card,
    .noel-box,
    .contact-box {
        padding: 1.25rem;
    }
    
    .team-photo {
        height: 180px;
    }
    
    .livre-promo img {
        width: min(86vw, 260px);
    }
}