/* --- Base layout --- */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  display: flex;               /* 2 colonnes */
  min-height: 100vh;
  background-color: #fafafa;
}

/* Colonne gauche : image plein écran + zoom subtil */
.left-image {
  flex: 1.2;
  background-image: url('img1.webp');
  background-size: cover;      /* sera animé */
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  animation: subtleZoom 18s ease-in-out infinite alternate;
}

/* Colonne droite : contenu en haut */
.content {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* place le contenu en haut */
}

h1 {
  font-size: 2.5rem;
  margin: 0 0 1rem 0;
  color: #1a1a1a;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 500px;
  color: #444;
}

/* Liens sous le titre */
.links { margin-top: 1rem; }

.links a {
  display: inline-block;
  margin-right: 1.5rem;
  text-decoration: none;
  color: #0066cc;
  font-weight: 500;
  transition: color 0.2s;
}
.links a:hover { color: #003366; }

/* --- Animations légères (CSS only) --- */

/* 1) Apparition en fondu vers le haut */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 900ms ease-out forwards;
}

/* 2) Glissement doux depuis la droite */
.slide-in {
  opacity: 0;
  transform: translateX(20px);
  animation: slideInRight 900ms ease-out forwards;
}

/* Petits utilitaires de délai (faciles à réutiliser) */
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .30s; }
.delay-3 { animation-delay: .45s; }

/* Keyframes */
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  to { opacity: 1; transform: translateX(0); }
}

/* Zoom très subtil de l’image de gauche (sans assombrir) */
@keyframes subtleZoom {
  from { background-size: 100%; }
  to   { background-size: 104%; }
}

/* Accessibilité : si l’utilisateur préfère moins d’animations */
@media (prefers-reduced-motion: reduce) {
  .fade-in, .slide-in { animation: none; opacity: 1; transform: none; }
  .left-image { animation: none; }
}

/* --- Mobile --- */
@media (max-width: 900px) {
  body { flex-direction: column; }
  .left-image { height: 40vh; min-height: 300px; }
  .content {
    padding: 2rem;
    text-align: center;
    align-items: center;
  }
  .links a { margin-right: 0.8rem; }
}
.subtitle {
  font-size: 0.7em;       /* plus petite taille */
  font-style: italic;     /* italique */
  font-weight: 400;       /* allège le texte */
  color: #555;            /* gris doux */
  line-height: 1.4;       /* un peu plus d’espace */
}
/* ---- Publication list ---- */
.pub-list {
  list-style-type: none;
  padding: 0;
  margin: 1rem 0 2rem;
}

.pub-list li {
  margin-bottom: 0.6rem;
}

.pub-list a {
  color: #0b63d1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.pub-list a:hover {
  color: #003366;
  text-decoration: underline;
}