html {
  box-sizing: border-box;
  font-size: 62.5%;
}
*,
*::after,
*::before {
  box-sizing: inherit;
}
a {
    text-decoration: none
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  font-family: "Poppins", Tahoma, Geneva, Verdana, sans-serif;
  background: #eee;
  color: #212121;
  margin: 0;
  padding: 15px;
  font-size: 1.6rem;
}
#container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 300px);
    gap: 15px;
}

/* Bloc commun */
.bloc {
    position: relative;
    border-radius: 15px;
    padding: 20px;
    color: #212121;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    user-select: none;

}

/* Hover effet */
.bloc:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Images */
.bloc img {
    height: 100px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 8px;
}

/* Couleurs pastel individuelles */
.bloc:nth-child(1){ background: #FFD3B6; grid-column: 1 / 2; grid-row: 1 / 3; }
.bloc:nth-child(2){ background: #FFAAA5; grid-column: 2 / 5; grid-row: 1 / 2; }
.bloc:nth-child(3){ background: #A8E6CF; grid-column: 2 / 5; grid-row: 3 / 3; }
.bloc:nth-child(4){ background: #DCE775; grid-column: 2 / 4; grid-row: 2 / 2; }
.bloc:nth-child(5){ background: #81D4FA; grid-column: 4 / 5; grid-row: 2 / 2; }
.bloc:nth-child(6){ background: #F48FB1; grid-column: 1 / 2; grid-row: 3 / 3; }

/* Titres et descriptions */
.bloc .title { font-size: 2rem; margin-bottom: 10px; }
.bloc .desc { font-size: 1.4rem; margin-bottom: 15px; color: #333; }

.bloc .link:hover { background: #3064c8; }


.contact {
    display: block;
    text-align: center;
    margin-top: 50px;
    color: #007fb9;
}
.badge {
    position: absolute;
    top: 25px;
    left: 25px;
  padding: 4px 10px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 12px;
  text-transform: uppercase;
  color: white;
  background: #ff6b81; 
  margin-top: 8px;
  transition: transform 0.2s, background 0.2s;
}
.badge--new {
  background: #28a745; /* vert */
}

.badge--popular {
  background: #ffc107; /* jaune/orangé */
}
.badge--updated {
  background: #17a2b8; /* bleu */
}
.icon {
  background: #ffff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  padding: 10px;
}
.icon img {
  height: 35px;
  width: 35px;
  margin: 0;
}
.bloc ul li a img {
  height: 50px;
}
ul {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 0;
  margin: 0;
  list-style: none;
}