* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.7;
}

h1 { font-size: 2.2rem; color: #1a1a2e; }
h2 { font-size: 1.2rem; font-weight: 400; color: #0077b6; }
h3 { font-size: 1.5rem; color: #1a1a2e; margin-bottom: 1.5rem; }
h4 { font-size: 1rem; color: #0077b6; margin-bottom: 0.6rem; }
p  { color: #555; margin-bottom: 0.6rem; }
a  { color: #0077b6; text-decoration: none; }
a:hover { color: #00b4d8; text-decoration: underline; }

.en-tete {
  background: #f5f7fa;
  color: #333;
  padding: 2.5rem 2rem 0;
}

.en-tete__contenu {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2rem;
}

.photo-profil {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00b4d8;
}

.en-tete__sous-titre {
  color: #0077b6;
  margin: 0.3rem 0 0.5rem;
}

.en-tete__accroche {
  color: #555;
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.coordonnees {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.coordonnees__element {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 0.25rem 0.7rem;
  border-radius: 15px;
  font-size: 0.8rem;
  color: #555;
}

.navigation {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navigation__liste {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.navigation__liste li a {
  display: block;
  padding: 0.8rem 1.2rem;
  color: #555;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.navigation__liste li a:hover {
  color: #00b4d8;
  text-decoration: none;
}

.section {
  padding: 3.5rem 2rem;
}

.section--alternee {
  background-color: #edf2f7;
}

.section__interieur {
  max-width: 900px;
  margin: 0 auto;
}

.section__titre {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid #0077b6;
}

.point-accent {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0077b6;
  display: inline-block;
}

.apropos__grille {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: start;
}

.photo-a-propos {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #ddd;
}

.infos-personnelles {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.infos-personnelles__element {
  display: flex;
  gap: 0.8rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 0.5rem 0.8rem;
}

.infos-personnelles__etiquette {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0077b6;
  text-transform: uppercase;
  min-width: 130px;
}

.infos-personnelles__valeur {
  font-size: 0.88rem;
  color: #333;
}

.grille-competences {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

.carte-competence {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 1.2rem;
}

.carte-competence:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.carte-competence__titre {
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.liste-competences {
  padding-left: 1.1rem;
}

.liste-competences li {
  font-size: 0.85rem;
  color: #555;
  padding: 0.15rem 0;
}

.liste-competences--numerotee {
  list-style: decimal;
}

.tableau-cv {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tableau-cv__legende {
  text-align: left;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.tableau-cv__entete tr {
  background: #0077b6;
}

.tableau-cv th {
  padding: 0.8rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
}

.tableau-cv td {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #555;
  border-bottom: 1px solid #eee;
}

.tableau-cv tr:hover td {
  background: #f0f8ff;
}

.tableau-cv__ligne-alternee td {
  background: #fafafa;
}

.tableau-cv__date {
  white-space: nowrap;
  color: #0077b6;
  font-weight: 500;
}

.tableau-cv__poste {
  font-weight: 600;
  color: #333;
}

.pied-page {
  background: #f5f7fa;
  color: #333;
  padding: 2.5rem 2rem;
  border-top: 1px solid #e0e0e0;
}

.pied-page__interieur {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.pied-page__titre {
  font-size: 1.4rem;
  color: #1a1a2e;
}

.pied-page__grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  width: 100%;
  max-width: 600px;
}

.coordonnees-contact {
  font-style: normal;
}

.coordonnees-contact p {
  color: #555;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.coordonnees-contact a {
  color: #0077b6;
}

.coordonnees-contact a:hover {
  color: #00b4d8;
}

.liens-reseaux {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.lien-reseau {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #fff;
  text-decoration: none;
}

.lien-reseau:hover {
  opacity: 0.85;
  text-decoration: none;
}

.lien-reseau__icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255,255,255,0.15);
  font-weight: 700;
  font-size: 0.8rem;
}

.lien-reseau--linkedin  { background: #0077b5; }
.lien-reseau--github    { background: #333; }
.lien-reseau--whatsapp  { background: #25d366; }
.lien-reseau--facebook  { background: #1877f2; }

.pied-page__copyright {
  font-size: 0.8rem;
  color: #888;
  margin: 0;
}

.retour-haut {
  color: #0077b6;
  font-size: 0.8rem;
  border: 1px solid #ccc;
  padding: 0.4rem 1rem;
  border-radius: 15px;
}

.retour-haut:hover {
  border-color: #0077b6;
  color: #00b4d8;
  text-decoration: none;
}

@media (max-width: 768px) {
  .en-tete__contenu {
    flex-direction: column;
    text-align: center;
  }

  .coordonnees {
    justify-content: center;
  }

  .apropos__grille {
    grid-template-columns: 1fr;
  }

  .apropos__photo-colonne {
    text-align: center;
  }

  .infos-personnelles__element {
    flex-direction: column;
    gap: 0.2rem;
  }

  .pied-page__grille {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .liens-reseaux {
    align-items: center;
  }

  .grille-competences {
    grid-template-columns: 1fr;
  }
}
