/* === Reset de base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Michroma", sans-serif;
}

/* === Fond & texte global === */
body {
  background-color: #f0f0f2;   /* gris très clair */
  color: #333;                  /* texte sombre */
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: larger;
}

html, body {
  height: 100%;
  margin: 0;
}
.contenu-principal {
  flex: 1;
}

h3 {
  padding-left: 1%;
  padding-top: 3%;
}

p {
  padding-left: 1%;
}

.skills {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 80%;              /* Largeur de la section */
  margin-left: 40px;       /* Décalage depuis la gauche */
  margin-right: auto;      /* Pas besoin de centrage */
  padding: 0;
}

.skill-section h3 {
  margin-bottom: 10px;
  margin-left: 10px;
  color: #e91e63;
  text-align: left;
  font-size: xx-large;
}

span {
  font-size: 150%;
  
}

.skill-bar {
  margin: 10px 0;
  width: 100%;
}

.skill-bar span {
  display: block;
  margin-bottom: 6px;
  margin-left: 10px;
  font-weight: 500;
}

.skill-bar:hover .progress {
  filter: brightness(150%);
}

.bar {
  background-color: #ccc;
  height: 20px;
  border-radius: 5px;
  overflow: hidden;
  width: 100%;
}

.progress {
  background-color: #690b69;
  height: 100%;
  border-radius: 5px;
  transition: width 1s ease;
}

/* === En‑tête === */
.entete {
  background-color: #4f4f57;    
  color: #fdfdfd;
  padding: 40px 20px;
  text-align: center;
  border-bottom: 4px solid #e91e63; 
}
.entete h1 {
  font-size: 2.5rem;
}
.entete h2 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #e0b1c8; 
}

/* === Menu de navigation === */
nav.bandeau {
  background-color: #66666e;    
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 12px 0;
}
nav.bandeau a {
  color: #fdfdfd;
  text-decoration: none;
  padding: 10px 16px;
  margin: 0 8px;
  border-radius: 6px;
  transition: background 0.3s;
}
nav.bandeau a:hover {
  background-color: #e91e63;    
}

/* === Section principale === */
.texte {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}
.texte img {
  float: right;
  max-width: 200px;
  margin-left: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* === Image + Texte page d'accueil === */
.contenu-flex {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 40px auto;
  max-width: 1000px;
  padding: 0 20px;
}

.contenu-flex img {
  max-width: 250px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.texte-droite {
  flex: 1;
  color: #5c2555;
}

/* === Galerie d’images === */
.gallerie {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  gap: 20px;
}
.gallerie img {
  max-width: 45%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

/* === Blocs projet === */
.projet {
  background-color: #d8d8dc;    
  border-left: 4px solid #e91e63;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}
.projet h3 {
  margin-bottom: 10px;
  color: #333;
}
.projet a {
  color: #e91e63;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}
.projet a:hover {
  color: #ad1457; 
}

/* === Pied de page === */
footer {
  clear: both;
  background-color: #4f4f57;
  color: #ccc;
  text-align: center;
  padding: 20px;
  margin-top: auto;
  font-size: 0.9rem;
  border-top: 2px solid #e91e63;
}

/* === Responsive === */
@media (max-width: 768px) {
  .gallerie {
    flex-direction: column;
    align-items: center;
  }
  .gallerie img {
    width: 90%;
  }
  .texte img {
    float: none;
    display: block;
    margin: 0 auto 20px;
  }
}