* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: 'Open Sans', sans-serif;
  background-color: #fff8f5;
  color: #333;
  line-height: 1.6;

    
}

img {
  max-width: 100%;
  height: auto;
}



.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === HEADER === */
.site-header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}


  
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #c2956d;
}

.logo span {
  color: #000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #c2956d;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #333;
}

/* === HERO SECTION === */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 4rem 0;
  background-color: #fff1e6;
}

.hero-text {
  flex: 1 1 50%;
  padding: 1rem;
}

.hero-text h2 {
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
  color: #c2956d;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #c2956d;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #a7774f;
}

.hero-image {
  flex: 1 1 50%;
  text-align: center;
  padding: 1rem;
}

/* === ANIMATIONS === */
 .fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* === RESPONSIVE === */
 
.nav-links {
  display: none;
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 60px;
  right: 10px;
  width: 200px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  padding: 1rem;
}

.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 10px;
  top: 60px;
  background: white;
  padding: 1em;
  z-index: 1000;
}

.burger {
  display: flex;
}


.ft {
  padding: 60px 20px;
  text-align: center;
  background: #fafafa;
  animation: fadeInUp 1.2s ease-out forwards;
}
    
.ft h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}
    
.fts2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
    
.bf {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  width: 280px;
}
    
.bf:hover {
  transform: scale(1.05);
}
    
.bf img {
  width: 100%;
  height: auto;
  display: block;
}
    
.tbf {
  padding: 15px;
}
    
.tbf h4 {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 8px;
}
    
.tbf p {
  font-weight: bold;
  color: #000;
}
    
.btn {
  margin-top: 40px;
  padding: 12px 24px;
  font-size: 1rem;
  background-color: #d97706;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
    
.btn:hover {
  background-color: #b45309;
}
    
________

    
.eleve {
  padding: 60px 20px;
  background-color: #fefefe;
  text-align: center;
  animation: fadeInUp 1.2s ease-out forwards;
}
    
.eleve h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #222;
}
    
.pose {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
    
.elle {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
    
.elle:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}
    
.elle img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


.apropos {
  background-color: #f9f9f9;
  padding: 60px 20px;
  animation: fadeInUp 1.2s ease-out forwards;
}

.apropos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.propos-img{
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.propos-texte {
  max-width: 600px;
  font-family: 'Open Sans', sans-serif;
  color: #333;
}

.propos-texte h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #d97706;
}

.propos-texte p {
  line-height: 1.7;
  font-size: 1rem;
  text-align: justify;
}

.propos-texte p,
.apropos p,
.eleve p,
section p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}



/* Centrage des titres */
 h1, h2 {
  text-align: center;
}

/* Pose d’élèves - ajustement pour grands écrans */
.pose {
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px;
}



/* === BOUTON APPEL TÉLÉPHONIQUE (section Nous contacter) === */
.call-button {
  display: inline-block;
  background-color: #e91e63;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

/* === VERSION POUR ORDINATEUR (à partir de 1024px) === */

.ft, .eleve, .apropos {
  padding: 80px 40px;
}

.ft h2, .eleve h2, .apropos h2 {
  font-size: 2.5rem;
}

.fts2, .pose, .apropos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.bf, .elle {
  width: 300px;
}

.tbf h4 {
  font-size: 1.4rem;
}

.propos-img img {
  width: 350px;
}

.propos-texte {
  font-size: 1.1rem;
  line-height: 1.8;
}

.btn {
  font-size: 1.1rem;
  padding: 14px 28px;
}




/* === BOUTON RESERVATION === */
.btn-card {
  display: inline-block;
  padding: 12px 24px;
  background-color: #d97706;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-card:hover {
  background-color: #b45309;
}




/* === FOOTER === */
.site-footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}


/* === VERSION MOBILE (moins de 768px) === */
@media (max-width: 767px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  .nav-links {
    position: static;
    width: 100%;
  }

  .bf, .elle {
    width: 100%;
  }

  .tbf h4 {
    font-size: 1rem;
  }

  .propos-img img {
    width: 100%;
  }

  .btn {
    width: 100%;
    padding: 12px;
  }

  .apropos-container {
    flex-direction: column;
    align-items: center;
  }
}


/* === VERSION TABLETTE (entre 768px et 1023px) === */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
  }

  .hero-text h2 {
    font-size: 2.2rem;
  }

  .bf, .elle {
    width: 45%;
  }

  .apropos-container {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    font-size: 1rem;
    padding: 12px 24px;
  }
}

@media (min-width: 1024px) {
  .formation-block img {
    width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

.formation-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
  gap: 20px;
}

.formation-block img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

.formation-text {
  max-width: 600px;
  text-align: center;
}

/* Inverser les blocs (image droite, texte gauche) */
.formation-block.reverse {
  flex-direction: column-reverse;
}

.formation-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* Centre verticalement le texte */
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}

.formation-block.reverse {
  flex-direction: row-reverse;
}

.formation-block img {
  width: 45%;
  border-radius: 12px;
  object-fit: cover;
}

.formation-text {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .formation-block,
  .formation-block.reverse {
    flex-direction: column !important;
    text-align: center;
  }

  .formation-block img,
  .formation-text {
    width: 100%;
  }

  .formation-text {
    align-items: center;
  }
}

.formations-section {
  padding: 60px 0;
}

.formations-grid {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.formation-card {
  background-color: #fff6f0;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  padding: 20px;
  gap: 20px;
}

.formation-card img {
  width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.formation-card h3 {
  margin-top: 0;
}

.formation-card h4 {
  margin-bottom: 10px;
}

.formation-card p {
  margin: 4px 0;
}

.formation-card .btn {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #d97806;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

@media (max-width: 768px) {
  .formation-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .formation-card img {
    width: 100%;
  }
}




.container {
  max-width: 800px; /* tu peux augmenter ou diminuer */
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
}

.form-group {
  width: 100%;
  max-width: 500px; /* largeur maximale de chaque champ */
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}


