/* Import d'une police moderne depuis Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 2rem 4rem;
  background: #f4f5f7; /* gris clair tamisé */
  color: #2c2c2c;
  line-height: 1.75;
  font-size: 1.05rem;
}

/* En-tête */
header {
  background: #1e40af; /* bleu profond, moins flashy */
  color: white;
  padding: 3rem 4rem; /* un peu plus haut */
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  text-align: center;
  border-radius: 0 0 16px 16px;
}

/* Container du header */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* espace maximal entre photo et texte */
  max-width: 1000px;
  margin: 0 auto;
  gap: 2rem;
}

/* Photo profil */
.header-photo {
  width: 175px;          /* largeur max du conteneur */
  height: 175px;         /* hauteur max du conteneur */
  border-radius: 50%;    /* cercle parfait */
  overflow: hidden;      /* couper l’image si elle dépasse */
  flex-shrink: 0;        /* éviter que le conteneur se réduise */
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* recadrage automatique pour remplir le cercle */
}


/* Texte à gauche de la photo */
.header-text {
  text-align: left;
  flex: 1; /* prend l'espace disponible */
}

header h1 {
  margin: 0;
  font-weight: 600;
  font-size: 2.3rem;
}

header .subtitle {
  font-weight: 400;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-top: 0.5rem;
}

/* Navigation */
nav {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-start;
  gap: 2.5rem;
}

nav a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.05rem;
  position: relative;
  padding-bottom: 0.25rem;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #93c5fd; /* bleu clair doux */
}

nav a::after {
  content: "";
  display: block;
  height: 2px;
  background: #93c5fd;
  width: 0%;
  transition: width 0.3s ease;
  margin: 0 auto;
}

nav a:hover::after {
  width: 100%;
}

/* Contenu */
main, .content-wrapper {
  max-width: 950px;
  margin: 3rem auto;
  padding: 3rem 3rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 26px rgba(0,0,0,0.08);
}

/* Titres */
main h2 {
  margin-top: 2.5rem;
  font-size: 1.7rem;
  font-weight: 600;
  color: #111;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.35rem;
}

/* Texte */
main p, main li {
  margin: 1.2rem 0;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
}

/* Liens */
a {
  color: #1e40af;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  padding: 2.5rem 1rem;
  border-top: 1px solid #e5e7eb;
  margin-top: 3.5rem;
  background: #f4f5f7;
  border-radius: 12px 12px 0 0;
}

/* Listes */
ul {
  padding-left: 1.5rem;
}

/* Sections */
section {
  margin-bottom: 2.5rem;
}
