/*
****************************************
 DESCRIPTION
****************************************
 */
.description {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}
.description-paragraphe h2 {
  margin-bottom: 1rem;
}
.description-paragraphe {
  max-width: 500px;
}

.description-texte {
  border-left: 2px solid var(--accent-color);
  padding-left: 1.5rem;
}

.description-paragraphe p {
  margin-top: 1rem;
}
.photo-desc {
  height: 15rem;
  width: 15rem;
  border-radius: 0;
}

/*
****************************************
 EXPERIENCES
****************************************
 */
.experiences-pro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-margin-top: 4rem;
}
.experiences-pro-card {
  background-color: var(--bg-color-alt);
}

.experiences-pro-container {
  margin-top: 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.experiences-pro-date {
  color: var(--accent-color);
}

.experiences-pro p {
  width: 20rem;
  padding: 2rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
}
.experiences-pro p:hover {
  transform: scale(0.95);
  border: 0.1rem solid (var(--bg-color));
  font-size: 1.2rem;
  transition: var(--transition) ease;
}

/*
****************************************
 COMPETENCES ET QUALITES
****************************************
 */
.competences-qualites {
  display: flex;
  justify-content: center;
  align-items: center;
}
/*Wrapper (ou conteneur) des cartes compétences et qualités */
.competences-qualites-wrapper {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
}

.competences-qualites-card {
  background-color: var(--bg-color-alt);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  flex: 1;
  max-width: 30rem;
  border: 1px solid transparent;
}

.competences-qualites-card:hover {
  border: 1px solid var(--accent-color);
}

.competences-qualites-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.competences-qualites-icon {
  font-size: 1.4rem;
}

.competences-qualites-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.competences-qualites-list li {
  padding-left: 1rem;
  position: relative;
  font-size: 0.95rem;
}

.competences-qualites-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/*
****************************************
 FORMATIONS
****************************************
 */
.formations {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.formations-container {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.formation-card {
  background-color: var(--bg-color-alt);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  min-width: 12.5rem;
  max-width: 17.5rem;
  border-top: 0.5rem solid var(--accent-color);
}

.formation-annee {
  display: block;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.formation-titre {
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.formation-lieu {
  font-size: 0.85rem;
  color: var(--text-color-alt);
  margin-bottom: 0.5rem;
}

.formation-detail {
  font-size: 0.85rem;
  color: var(--text-color);
}

/*
****************************************
 CONTACT
****************************************
 */

.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
  margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
  background-color: var(--bg-color-alt);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  color: var(--text-color);
  font-family: Inter;
  font-size: 1rem;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border: 1px solid var(--accent-color);
}

.contact-form button {
  background-color: var(--accent-color);
  color: var(--bg-color);
  border: none;
  border-radius: var(--radius);
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: var(--text-color);
}

@media screen and (max-width: 1055px) {
  /*Passage en colonne des competence et qualités*/
  .competences-qualites {
    flex-direction: column;
    align-items: center;
  }
  /* */
  .competences-qualites-wrapper {
    flex-direction: column;
    width: 100%;
  }
  .competences-qualites-card {
    max-width: 100%;
    width: 100%;
  }
  .formations-container {
    flex-direction: column;
    align-items: center;
  }

  .formation-card {
    max-width: 100%;
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .photo-desc {
    display: none;
  }

  .description {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .nom {
    font-size: 2.2rem;
  }
}
