body {
    font-family: 'Nunito', sans-serif;
    margin: auto;
    background: #ffffff;
    color: #000;
        max-width: 1200px;
}

/* HEADER */
header {
    background: white;
    color: #fea807;
    text-align: center;

}

header h1 {
    margin: 0;
    font-size: 2.2em;
}

.header-bar {
    background-color: #fea807;
    color: white;
    font-weight: bold;
    display: FLEX;
    justify-content: space-around;
}
header p {
    font-size: 1.2em;
}

header img {
    margin-top: 20px;
}

.header-bar {
    margin-top: 15px;
 
}

/* SECTIONS */
section {
    padding: 30px 20px;

    margin: auto;
}

.hero {
    background: #ffde59;
justify-content: center;
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 40px 20px;
    
}

.hero_title {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.hero .col_1 {
        font-family: 'handlee', sans-serif;
    flex: 2;
    font-size: 1.2em;
    text-align: center;
        background-color: #fea807;
        padding: 20px;
}

.hero .col_1 h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.hero .col_1 p {
    padding: 10px 15px;
    border-radius: 8px;
    margin: 10px 0;
    font-weight: 600;
}

.hero .col_2 {
    flex: 1;

}

.hero .line_1 {
    background: white;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.hero h3 {
    color: #fea807;
    margin-bottom: 10px;
}

.cta {
    display: inline-block;
    margin-top: 20px;
    background: white;
    color: #fea807;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.5s;
    align-self: center;
}

.cta:hover {
   
    transform: scale(1.2);
}

.info_inscription {
    font-family: 'Nunito', sans-serif;
    font-size: medium;
}

.hero h2 {
    color: white;

}

.details {
    display: flex;
    justify-content: center;
    color: #fea807;
    gap: 30px;
    flex-wrap: wrap; /* 🔥 IMPORTANT */
    padding: 20px;
}

.details h2 {
    font-family: 'handlee', sans-serif;
    justify-self: center;
        text-align: center;
    margin-bottom: 15px;
    
}



.details_col_1,
.details_col_2,
.details_col_3 {
    flex: 1 1 300px; /* 🔥 magique */
    max-width: 350px;
}
/* BOX */
.box {
    display: flex;
    flex-direction: column;
    gap: 15px;

    background: linear-gradient(135deg, #fea807, #ffde59);
    color: #000;

    padding: 25px;
    border-radius: 15px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.1);

    max-width: 320px;
    margin: auto;
}


.box {
    transition: 0.3s;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.box.contact {
    max-width: 600px;
    gap:0px;
    padding: 20px;
    color: white;
}

.box.semaine:hover {
    transform: none;
}

.box.semaine {
    display: flex;
    max-width: 1200px;
    background: none;
    flex-direction: column;
    color: #fea807;
}

.sessions {
    display: flex;
    flex-direction: row;
}

.box.session {
    background: none;
    background-color: #fea807;
    color: white;
}
.location-mini {
    margin-top: 15px;
    padding: 12px 15px;

    background: #fff8d6;


    font-size: 0.9em;
}

.location-mini p {
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
}

.location-mini {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.item {
    display: flex;
    align-items: center;
    gap: 12px;

    background: rgba(255,255,255,0.7);
    padding: 10px 12px;
    border-radius: 8px;

    font-weight: 600;
}

.item i {
    color: #fea807;
    background: white;
    padding: 8px;
    border-radius: 50%;
}

.item i {
    color: white;
    background: #000;
    padding: 10px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

.item:nth-child(1) i { background: #38f916; }
.item:nth-child(2) i { background: #b678f4; }
.item:nth-child(3) i { background: #4ecdc4; }
.item:nth-child(4) i { background: #1a535c; }

.price {
    margin-top: 10px;
    padding: 15px;

    background: white;
    color: #fea807;

    text-align: center;
    font-size: 1.3em;
    font-weight: bold;

    border-radius: 10px;
}


/* BENEFICES */
.benefits li {
    margin-bottom: 10px;
}

.box.benefits {
    background: white;
    border: 2px solid #ffde59;
}

.benefits .item {
    background: #fff8d6;
}

.benefits .item i {
    background: #fea807;
    color: white;
}

.pictures, .planning {
    color: #fea807;
}
/* IMAGES */
.images, .images-projet {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.projet {
    height: 200px;
}

.img {
    height:200px ;
}

.image-legend {
    flex: 1;
    height: 250px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    border-radius: 10px;
    padding-top: 20px;
    flex-direction: column;
}
.image-placeholder {
    flex: 1;
    height: 200px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    border-radius: 10px;
    max-width: 100%;
}


/* CONTACT */

.contact p {
    display: flex;
    justify-content: center;
    font-size: large;

}

     .contact   h2  {
        color: #fea807;

}

button {
    background: #fea807;
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
}

footer a {
    text-decoration: none;
    color: #fea807;;
}

footer {
    background: white;
    color: #fea807;
    padding: 30px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

footer p {
    margin: 8px 0;
    font-size: 0.9em;
}

footer .legal {
    margin-top: 15px;
    font-size: 0.8em;
    opacity: 0.7;
}

#email {
    max-height: 0;
    overflow: hidden;
    margin-top: 20px;
    opacity: 0;
    transition: all 0.3s ease;
    
}

#email.show {
    max-height: 150px;
    opacity: 1;
    background-color: #fff8d6;
}

#btn-contact.show {
 background-color: #fff8d6;
}

@media (max-width: 768px) {
    .details {
        flex-direction: column;
        align-items: center;
    }

    .details_col_1,
    .details_col_2,
    .details_col_3 {
        width: 100%;
        max-width: 400px;
    }

     .hero {
        flex-direction: column;
    }

    .hero .col_1,
    .hero .col_2 {
        width: 100%;
    }

    .hero .col_1 {
        text-align: center;
    }

.sessions {
    flex-direction: column;
    gap:20px;
}
.img {
    height:150px ;
}

}

/* small animations */
.reveal{opacity:0;transform:translateY(10px);transition:all 700ms cubic-bezier(.16,.84,.24,1)}
.reveal.active{opacity:1}



#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.5rem;
  background: linear-gradient(90deg, #fea807, #fea807);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
}

/* Affichage du bouton */
#backToTop.show {
  opacity: 0.5;
  pointer-events: auto;
}

/* Effet au hover */
#backToTop:hover {
  transform: translateY(-4px) scale(1.1);
  opacity: 1;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.logo-planyggo img {height:30px;width:auto;display:flex;}

.header-top {
    display: flex;
}



header .titre {
    margin: auto;
}

@media (max-width: 768px) {
    .header-top {
        display: block;

    }
}

.video-demo {
    max-width: 500px;
    margin: 0 auto 2rem;
    text-align: center;
}

.video-demo video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}