/* Style pour que le lien ressemble à du texte normal */
h1 a.home-link {
  text-decoration: none; /* supprime le soulignement */
  color: inherit;        /* prend la couleur du h1 */
  cursor: pointer;       /* affiche le curseur main pour indiquer que c'est cliquable */
}

/* Optionnel : ajout d'un léger effet au survol */
h1 a.home-link:hover {
  opacity: 0.8;          /* effet visuel discret au survol */
}

body {
  font-family: "Lato", serif;
  margin: 0;
  background-color: #fafafa;
  color: #333;
}
header {
  background-color: #009999;
  color: white;
  padding: 1rem;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
nav a {
  color: white;
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}
.hero, .content {
  text-align: center;
  padding: 4rem 1rem;
}
.hero h2, .content h2 {
  font-size: 2em;
  color: #002147;
}
.profile-link {
  display: inline-block;
  margin-top: 1rem;
  background-color: #002147;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
}

footer {
  background-color: #009999;
  color: white;
  padding: 1rem;
}
.footer-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer-logo {
  height: 50px;
}
footer p {
  flex-grow: 1;
  text-align: center;
  margin: 0;
}

/* Conteneur principal de la section hero */
.hero-content {
  display: flex;
  align-items: center; /* aligne verticalement la photo et le texte */
  gap: 30px;           /* espace entre photo et texte */
  flex-wrap: wrap;      /* permet de passer sur mobile */
  padding: 40px 20px;   /* espace autour du contenu */
}

/* Bloc photo */
.hero-photo {
  flex: 0 0 200px;      /* largeur fixe pour la photo */
}

.profile-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 2px solid #333;        /* bordure professionnelle */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* ombre douce */
  transition: transform 0.3s, box-shadow 0.3s;
}

.profile-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Bloc texte */
.hero-text {
  flex: 1;
}

/* Paragraphes du hero */
.hero-text p {
  margin-bottom: 1.2em; /* espace entre les paragraphes */
  line-height: 1.6;     /* interligne agréable */
  font-size: 1rem;
  color: #333;
}

/* Titre hero */
.hero-text h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #111;
}

/* Adaptation mobile */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column; /* photo au-dessus du texte */
    align-items: center;
    text-align: center;
  }

  .hero-photo {
    margin-bottom: 20px;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }
  
  .hero-photo-left,
.hero-photo-right {
  flex-shrink: 0;   /* les images ne rétrécissent pas */
  max-width: 200px; /* largeur maximale des images */
}
}

.contact-info p {
  white-space: pre-line; /* respecte \n et compacte espaces successifs */
}
/* === Titres === */
h2, h3 {
  text-align: center; /* titres centrés */
  color: #003366;
  margin-top: 0em;
  margin-bottom: 0.8em;
}

/* === Mise en page spécifique à la page Publications === */
.publications-page .content {
  width: 80%;
  max-width: 1500px;
  margin: 2em auto;
  text-align: left; /* aligne le texte à gauche */
}

/* Si tu veux aussi que les titres et le footer soient alignés à gauche */
.publications-page h1,
.publications-page h2,
.publications-page h3,
.publications-page footer {
  text-align: left;
}

/* (Optionnel) Liste de publications */
.publications-page .publication-list {
  list-style: circle;
  padding-left: 1.6em;
  text-align: left;
}

/* Sous-listes sans puces */
.publications-page .publication-list ul,
.publications-page .publication-list ol {
  list-style: none;
  padding-left: 1.2em; /* optionnel pour l’indentation */
}


h3 {
  font-size: 1.3em;
  font-weight: 600;
  color: #003366;
  margin-top: 1.8em;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.2em;
}




