:root, body, body * {
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1; /* Améliore le rendu typographique */
}

/* Version variable si supportée */
@supports (font-variation-settings: normal) {
  :root, body, body * {
    font-family: InterVariable, sans-serif;
  }
}

body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: linear-gradient(to bottom, white, #B38282);
  min-height: 100vh;
  background-attachment: fixed;
}

header nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  list-style: none;
  color: #980000;
  font-size: 18px;
  margin: 0;
  gap: 180px;
}

/* Cible uniquement les li qui contiennent du texte (pas le logo) */
header nav ul li:not(:has(img)) {
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 12px;
}

/* Animation au survol (texte seulement) */
header nav ul li:not(:has(img)):hover {
  transform: translateY(-3px);
  text-shadow: 0 2px 4px rgba(152, 0, 0, 0.3);
}

/* Effet de soulignement animé (texte seulement) */
header nav ul li:not(:has(img))::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #980000;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

header nav ul li:not(:has(img)):hover::after {
  width: 80%;
}

/* Animation au clic (texte seulement) */
header nav ul li:not(:has(img)):active {
  transform: translateY(1px);
  transition: all 0.1s ease;
}

/* Le logo conserve ses animations originales */
header nav ul li .logo {
  transition: transform 1s ease-in-out;
  margin: 0 30px;
}

header nav ul li .logo:hover {
  transform: rotate(560deg) scale(1.5);
  animation: spin 3.5s linear infinite;
}
nav ul li a {
  color: inherit; /* Garde la couleur du texte parent */
  text-decoration: none; /* Supprime le soulignement */
}

.logo {
  height: 80px;
  transition: transform 1s ease-in-out; /* Transition plus douce */
  margin: 0 30px;
}

.logo:hover {
  transform: rotate(560deg) scale(1.5); /* Rotation complète + léger zoom */
  animation: spin 3.5s linear infinite; /* Animation continue */
}

.content-box {
  background: none;
  border-radius: 25px;
  padding: 30px;
  margin: 10px auto;
  width: 90%;
  max-width: 1200px;
  display: flex;
  gap: 30px;
;
}

.home-page .left-panel {
  width: 40%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-page .right-panel {
  width: 60%;
  padding: 20px;
}

.home-image {
  max-width: 100%;
  max-height: 600px;
}

.welcome-section {
  margin-bottom: 30px;
}

.welcome-section h1 {
  color: #980000;
  font-size: 32px;
  margin-bottom: 15px;
}

.welcome-section p {
  font-size: 18px;
  color: #333;
  line-height: 1.5;
  font-weight: bold;
}

