@charset "windows-1252";

/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .card-image {
    aspect-ratio: 4 / 3;
  }
}
/* Fond g�n�ral */
body {
  font-family: 'Times New Roman', 'Segoe UI', sans-serif;
  background: #0099FF;
  color: #ffffff;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 850px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
} 
 
/* Container */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  color: #0066FF;
}

/* Bloc */
.card {
  background: white;
  color: #0066FF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);

}

/* Image */
.card-image {
  width: 100%;
  aspect-ratio: 16 / 9; /* remplace height */
  .card-image {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.card img {
  width: 100%;
  height: auto;
  display: block;
}
  
/* Texte */
.card-content {
  padding: 15px;
  color: #0066FF;
}

.card h3 {
  margin: 0 0 10px;
}

.card p {
  color: #555;
}

.arrondie {
  border-radius: 0 25px 0 25px;
}

.arrondie2 {
  border-radius: 25px 0 25px 0;
}

