/* 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 principal main*/
.main-section{
    background-color: white;
    margin-left: 70px;
    margin-top: 110px;
}
.header-contact{
    gap: 20px;
    margin-left: 20px;
}
.section-tag{
    display:flex;
    color:#a49cff;
    font-size:14px;
    letter-spacing:1px;
    margin-bottom:30px;
    margin-top: 40px;
    font-family: 'Playfair Display', serif;
}
  .header-contact h1 {
  padding-bottom: 10px;
  color: black;
  text-align: left;
  font-size: 40px;
  font-family: 'Playfair', sans-serif;
    font-weight: 500;
  }
 
  .header-contact h1 span {
    color: #9b8cf2;
    font-weight: 600;
  }
 
  .header-contact p {
    font-size: 16px;
    line-height: 1.6;
    color: #6e6684;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    margin: 0;
  }
.contact-item {
    display: flex;
    align-items: center; /* aligne icône + texte */
    margin-bottom: 18px;
    margin-left: 20px;
    gap: 10px;
}
.contact-info {
    display: flex;
    flex-direction: column;
}
   .contact-item .icon {
    width: 55px;
    height: 55px;
    background-color: #EDE8FB;
    border: none;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease, background-color 0.5s ease;
    cursor: pointer;
    margin-right: 10px;
  }
.contact-item .icon  img {
    width: 34px;
    height: 34px;
    transition: transform 0.6s ease;
}

 .contact-item h3 {
    font-size: 15px;
    color: #6e6684;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    margin: 0 0 4px;
  }
  .contact-item p {
    font-size: 16px;
    color: #201f29;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin: 0;
  }
.main-section hr {
  border: none;
  border-top: 1px solid #e5e0ff;
  margin: 1rem 0;
}
.main-section p{
    font-size: 17px;
    color: black;
    font-family: 'Playfair Display', serif;
}
@media (max-width: 768px) {

  /* Hero / section d'accueil */
  #container {
    flex-direction: column-reverse;
    text-align: center;
  }

  /* Services (.cards) */
  .cards {
    grid-template-columns: 1fr;
    align-items: center;
  }

  /* Formations en visio (.training_grid) */
  .training_grid {
    grid-template-columns: 1fr;
    align-items: center;
  }

  /* Section contact (.contact-wrapper) */
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .left-contact {
    max-width: 100%;
  }

}



/* Formulaire de contact */
  form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: white;
    padding: 44px;
    border-radius: 30px;
    border: 1px solid #e5e0ff;
    box-shadow: 0 20px 50px rgba(164, 142, 242, 0.08);
    width: 100%;
    max-width: 520px;
    margin-right: 100px;
  }
 
  form h2 {
    font-size: 26px;
    color: #201f29;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    margin-bottom: 4px;
  }
 
  form p {
    font-size: 16px;
    color: #5f5a78;
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    margin-bottom: 12px;
  }
 
  form label {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 500;
    color: #2b2730;
    margin-bottom: -10px;
  }
 
  form input,
  form select,
  form textarea {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 300;
    color: #2b2730;
    background-color: #FAF8FC;
    border: 1px solid #e5e0f5;
    border-radius: 14px;
    padding: 13px 16px;
    width: 100%;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  }
 
  form input::placeholder,
  form textarea::placeholder {
    color: #b5afc9;
    font-weight: 300;
  }
 
  form input:focus,
  form select:focus,
  form textarea:focus {
    border-color: #ABA0F9;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(171, 160, 249, 0.15);
  }
 
  form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ABA0F9' stroke-width='1.6' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
  }
 
  form textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.6;
  }
 
  form button[type="submit"] {
    margin-top: 8px;
    background: linear-gradient(135deg, #D6CFFF 0%, #ABA0F9 100%);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 15px 28px;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
 
  form button[type="submit"]:hover,
  form button[type="submit"]:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(171, 160, 249, 0.35);
  }
 
  @media (max-width: 560px) {
    form { padding: 32px 24px; border-radius: 24px; }
  }

/*faire en sorte que les parties soient côte à côte*/
.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* Partie gauche */
.left-contact {
    width: 100%;
}

/* Formulaire à droite */
.main-contact-form {
    width: 100%;
}




/*SECTION AVIS*/

 
  .avis-section {
    padding: 90px 50px;
    margin-top: 90px;
    background: #EBE3F5;
background: linear-gradient(183deg, rgba(235, 227, 245, 1) 0%, rgba(255, 255, 255, 1) 47%, rgba(255, 255, 255, 1) 77%);
  }
 
  .section-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #a49cff;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
  }
 
  .section-tag span {
    width: 22px;
    height: 2px;
    background: #a49cff;
  }
 
  .avis-section h2 {
    text-align: center;
    font-size: 28px;
    color: #201f29;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    margin-bottom: 14px;
  }
 
  .avis-intro {
    text-align: center;
    font-size: 19px;
    font-weight: 300;
    color: #5f5a78;
    max-width: 480px;
    margin: 0 auto 56px;
    line-height: 1.6;
    font-family: 'Playfair Display', serif;
  }
 
  .avis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
  }
 
  .avis-card {
    background: white;
    border: 1px solid #ece6fa;
    border-radius: 26px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
  }
 
  .avis-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(171, 160, 249, 0.18);
    border-color: #c6b8f8;
  }
 
  .stars {
    color: #ABA0F9;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 18px;
  }
 
  .avis-text {
    font-size: 17px;
    line-height: 1.75;
    color: #3d3c44;
    font-weight: 300;
    margin-bottom: 28px;
    flex-grow: 1;
    font-family: 'Playfair Display', serif;
  }
 
  .avis-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #f0ebfb;
  }
 
  .avis-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D6CFFF 0%, #ABA0F9 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
  }
 
  .avis-author-info h4 {
    font-size: 16px;
    color: #201f29;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    margin-bottom: 2px;
  }
 
  .avis-author-info span {
    font-size: 14px;
    color: #9089a3;
    font-weight: 300;
    font-family: 'Playfair Display', serif;
  }
 
  @media (max-width: 900px) {
    .avis-grid {
      grid-template-columns: 1fr;
    }
    .avis-section {
      padding: 70px 24px;
    }
  }






/* FOOTER */

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

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.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;
    font-family: 'Playfair Display', serif;
}

.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;
    font-family: 'Playfair Display', serif;
}

.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;
  }
}
