body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, #551641, #2D194E, #302b63, #24243e, #551641);
  color: white;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(0, 0, 0, 0.8);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #e63946;
}



/* ----- RESET DE BASE ----- */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, #551641, #2D194E, #302b63, #24243e, #551641);
  color: white;
  margin: 0;
  padding: 0;
  font-size: 18px;
}

/* ----- CALENDRIER ----- */
.calendar {
  max-width: 800px;
  margin: 4rem auto;
  background: #1a1a2e;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
}

.calendar h2 {
  font-size: 2rem;
  font-family: 'Barlow Condensed', sans-serif;
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: 2px solid #e63946;
  padding-bottom: 0.5rem;
}

.calendar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.calendar li {
  display: flex;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #2a2a40;
  border-left: 6px solid #e63946;
  border-radius: 8px;
}

.date {
  background: #e63946;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.info {
  font-size: 1rem;
  line-height: 1.4;
}

.info span {
  font-size: 0.9rem;
  color: #ccc;
}

.edit-link {
  text-align: center;
  margin-top: 2rem;
}

.edit-link a {
  color: #e63946;
  font-weight: bold;
  text-decoration: none;
}

/* ----- RESPONSIVE TABLETTES & MOBILES ----- */
@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .calendar {
    padding: 1.5rem;
    margin: 2rem 1rem;
  }

  .calendar h2 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .calendar li {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.5rem;
  }

  .date {
    margin: 0 0 0.5rem 0;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .info {
    font-size: 0.95rem;
  }

  .info span {
    font-size: 0.85rem;
  }

  .edit-link {
    font-size: 0.9rem;
    padding: 0 1rem;
  }
}

@media screen and (max-width: 480px) {
  .calendar {
    margin: 2rem 0.5rem;
    padding: 1rem;
  }

  .calendar h2 {
    font-size: 1.4rem;
  }

  .date {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .info {
    font-size: 0.9rem;
  }

  .edit-link {
    font-size: 0.85rem;
    text-align: center;
  }
}

.crew-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.crew-card {
  background: #2a2a40;
  border-left: 6px solid #e63946;
  border-radius: 10px;
  padding: 1.5rem;
  width: 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.crew-card:hover {
  transform: scale(1.03);
}

.crew-card h3 {
  margin-top: 0;
  color: #e63946;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
}

.crew-card p {
  margin: 0.5rem 0 0 0;
  font-size: 1rem;
  color: white;
}

.crew-photo {
  width: 100%;
  aspect-ratio: 1 / 1;            /* rend l'image parfaitement carrée */
  object-fit: cover;              /* recadre proprement */
  border-radius: 8px;
  margin-bottom: 1rem;
}

.infra-photo {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  margin: 0 auto 1rem;
  display: block;
}