.realisations {
  padding: 3rem 0;
}

.group-title {
  margin-bottom: 20px;
  color: #333;
  font-weight: bold;
  max-width: 700px;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto; /* scroll horizontal */
  -ms-overflow-style: none; /* IE et Edge */
  scrollbar-width: none; /* Firefox */
  margin-bottom: 40px;
}

.table-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari et Opera */
}

table.realisations-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  border-radius: 3px;
}

.realisations-table th,
.realisations-table td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #ddd;
  vertical-align: top;
}

.realisations-table thead {
  background-color: var(--gradient-start); /* couleur du header */
  color: white;
}

.realisations-table tbody tr:nth-child(even) {
  background-color: #f9f9f9; /* lignes alternées */
}

.realisations-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

.realisations-table img {
  max-width: 80px;
  height: auto;
  display: block;
  margin-bottom: 5px;
}

.column-2 {
  width: 50%; /* large colonne pour la portée du marché */
}

.column-1,
.column-3 {
  width: 25%;
}

table tr {
  font-size: 0.9rem;
}

table tr .period {
  color: var(--vibrant-orange);
  margin-bottom: 0.5rem;
}

table tr .company {
  font-weight: 500;
  margin-bottom: 1rem;
}

table tr .description ul {
  margin-left: 1.5rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

@media only screen and (max-width: 900px) {
  table {
    font-size: 0.85rem;
  }

  .group-title {
    font-size: 1.4rem;
  }
}

@media only screen and (max-width: 560px) {
  table tr {
    font-size: 0.8rem;
  }

  .group-title {
    font-size: 1.2rem;
  }
}
