@font-face {
  font-family: 'UpstairSans';
  src: url('../fonts/upstair-sans/UpstairSans.woff2') format('woff2'),
       url('../fonts/upstair-sans/UpstairSans.woff') format('woff'),
       url('../fonts/upstair-sans/UpstairSans.ttf') format('truetype'),
       url('../fonts/upstair-sans/UpstairSans.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Page d'acceuil. Menu de navigation */
/* Page d'acceuil. Menu de navigation */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  background-color: #fff;
  border-top: 1px solid #f3dede;
  padding: 15px 40px;
  font-family: 'Poppins', sans-serif;

  /* Animation d’apparition subtile */
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
/* Classe ajoutée automatiquement via JS */
.navbar.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- LIENS CENTRÉS --- */
.nav-links {
  display: flex;
  justify-content: center;
  flex: 1; /* prend tout l’espace pour centrer */
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #6e6684;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #9b8cf2;
}

/* Bouton à droite */
  .btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #D6CFFF 0%, #ABA0F9 100%);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 13px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
 
  .btn-nav:hover,
  .btn-nav:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(171, 160, 249, 0.4);
  }
 
  .btn-nav svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }






/*section acceuil, première section avec bandeau formation*/

/*Section cards service page acceuil*/
.acceuil_formation h1{
  padding-bottom: 20px;
  color: black;
  text-align: center;
  font-size: 40px;
  font-family: 'Playfair', sans-serif;
    font-weight: 500;
}
.acceuil_formation p{
  padding-bottom: 20px;
  color: #6e6684;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  text-align: center;
}
.acceuil_formation {
    background: #ffffff;
  background: linear-gradient(171deg, rgba(255, 255, 255, 1) 0%, rgba(254, 254, 254, 0.5) 46%, rgba(248, 244, 243, 1) 74%, rgba(235, 227, 245, 1) 100%, rgba(214, 207, 255, 1) 92%);
  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#D6CFFF", endColorstr="#E8E5FF", GradientType=1 );
    padding: 60px;
    margin-bottom: 40px;
}
.acceuil_formation span{
  color: #9b8cf2;
  font-weight: 600;
}
.section-tag{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:#a49cff;
    font-size:14px;
    letter-spacing:1px;
    margin-bottom:30px;
    margin-top: 40px;
    font-family: 'Playfair Display', serif;
}




/*Mainteance catégorie section avec 2 catégories */

body {
  font-family: 'Nunito', sans-serif;
  color: #333;
  width: 100%;
}

.formations {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2rem;
}

.formation-card {
  border: 1px solid #e5e0ff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(150, 130, 255, 0.1);
  width: 530px;
  transition: transform 0.3s ease;
  padding: 40px;
}

.formation-card:hover {
  transform: translateY(-4px);
}

.formations .badge {
  display: inline-block;
  background: #e5e0ff;
  color: #9b8cf2;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  text-transform: uppercase;
}

.formations h2 {
   padding-bottom: 20px;
  color: black;
  text-align: center;
  font-size: 28px;
  font-family: 'Playfair', sans-serif;
    font-weight: 500;
}
.formations h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-top: 1rem;
  color: black;
  font-weight: 300;
}
.description {
  margin: 1rem 0;
  color: #555;
  font-size: 19px;
  line-height: 1.3;
  font-family: 'Playfair Display', serif;
}

.formations hr {
  border: none;
  border-top: 1px solid #e5e0ff;
  margin: 1rem 0;
}
.formations ol {
  counter-reset: item;
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}
.formations li {
  padding: 0.5rem 0;
  position: relative;
  font-family: 'Playfair Display', serif;
  font-size: 19px;
}

.formations ol li::before {
  content: counter(item);
  counter-increment: item;
  background: #dcd6ff;
  color: white;
  font-weight: 500;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}
  .formation-card .footer-container {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
  }

.price strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    color: #ABA0F9;
}
 
.price span {
    font-size: 14px;
    color: #2b2730;
    font-weight: 400;
}

  .btn {
    background: linear-gradient(135deg, #D6CFFF 0%, #ABA0F9 100%);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 14px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
  }
 
  .btn:hover,
  .btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(171, 160, 249, 0.35);
  }
 
  @media (max-width: 860px) {
    .formations {
      grid-template-columns: 1fr;
    }
  }
.formations span{
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
  .formation-card.recommande {
background: #fdf9ff;
    border-color: #ddd0f5;
  }






/*Section avec les formes de formations*/
/*Section avec les formes de formations*/
.training_section {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(164, 142, 242, 0.08);
  padding: 20px 40px;
  text-align: center;
  color: #2b2730;
  font-family: "Poppins", sans-serif;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 100px;
}

.training_section h2 {
  font-size: 30px;
  margin-bottom: 48px;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  color: #201f29;
}

.training_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.training_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  border-radius: 18px;
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.training_item:hover {
  transform: translateY(-4px);
  background-color: #FAF8FC;
}

.icon_box {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #f3efff 0%, #e6ddfb 100%);
  border: 1px solid #dcd4f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: border-color 0.4s ease;
}

.training_item:hover .icon_box {
  border-color: #a48ef2;
}

.icon_box img {
  width: 30px;
  height: 30px;
}

.training_item h3 {
  font-size: 19px;
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: #201f29;
}

.training_item p {
  font-size: 15px;
  line-height: 1.6;
  color: #5f5a78;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  margin: 0;
}

/* 🌸 Responsive */
@media (max-width: 768px) {
  .training_section {
    padding: 44px 24px;
  }
  .training_grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}






/* FOOTER */

.footer {
  background-color: #F8F4F3;
  color: #5f5a78;
  padding: 60px 80px 30px;
  font-family: 'Poppins', sans-serif;
  margin-top: 70px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-logo {
  width: 110px;
  margin-bottom: 8px;
}

.footer-left p {
  line-height: 1.5;
  margin-bottom: 20px;
  font-size: 15px;
  color: #5f5a78;
  font-weight: 300;
}

.footer-links a {
  display: inline-block;
  border: 1px solid #dcd6f8;
  border-radius: 20px;
  padding: 6px 14px;
  margin-right: 8px;
  color: #a48ef2;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px;
  background-color: #fbfaf9;
}

.footer-links a:hover{
    border-color: #ABA0F9;
    color: #4d43a8;
    transform: none;
    box-shadow: none;
    transition: border-color .2s ease, color .2s ease;
  }

.footer-middle h4,
.footer-right h4 {
  color: #a48ef2;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 400;
}

.footer-middle ul,
.footer-right ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
  font-weight: 300;
}

.footer-middle li,
.footer-right li {
  margin-bottom: 8px;
  font-size: 15px;
}

.footer-middle a,
.footer-right a {
  color: #5f5a78;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 15px;
}

.footer-middle a:hover,
.footer-right a:hover {
  color: #a48ef2;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e6e0f8;
  padding: 20px 80px;
  width: 100vw; /* prend toute la largeur de la fenêtre */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

.footer-bottom p{
  font-size: 14px;
  color: black;
  margin: 0;
}
.heart {
  color: #a48ef2;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

