/* =====================================================================
   entreprisev1-fusion.css
   Fusion de entreprisev1.css + entreprisev1bis.css (doublons supprimés)
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. Mise en page de la recherche (filtres + résultats)
   --------------------------------------------------------------------- */

.recherche {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 1fr 3fr;
  gap: 60px;
}

.recherche .filter {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recherche .filter-container {
  background-color: #eaeef4;
  padding: 15px;
  border-radius: 10px;
  min-height: 100%;
  overflow: hidden;
  transition: min-height 0.3s ease;
}

.recherche .filter-container.collapsed {
  min-height: 0;
  padding: 0;
}

span.line {
  display: block;
  width: 90%;
  height: 1px;
  background-color: rgb(0 84 234);
  padding: auto;
  margin-inline: auto;
}

.recherche .filter-container-search {
  position: relative;
}

.recherche .filter-container-search-button {
  cursor: pointer;
  position: absolute;
  right: 1px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgb(21, 71, 158);
  border-radius: 50%;
  border: 0 solid transparent;
  padding: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recherche .filter-container-search-button__img,
.recherche .filter-container-search-clean__img {
  width: 20px;
  height: 20px;
}

.recherche .filter-container-search-clean {
  cursor: pointer;
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 40px;
  background-color: transparent;
  border: 0;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.recherche .filter-container-search__input {
  width: 100%;
  height: 50px;
}

.recherche .filter-container-search__input:not(:-moz-placeholder-shown)+.filter-container-search-clean {
  display: flex;
}

.recherche .filter-container-search__input:not(:placeholder-shown)+.filter-container-search-clean {
  display: flex;
}

.recherche .filter-container-search__input::-moz-placeholder {
  color: rgb(21, 71, 158);
}

.recherche .filter-container-search__input::placeholder {
  color: rgb(21, 71, 158);
}

.recherche .filter-container-row {
  padding-block: 10px;
}

.recherche .filter-container-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-container-row-header__button {
  color: transparent;
  border: none;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  transition: background-color 0.3s, transform 0.3s;
}

.filter-container-row-header__button:hover {
  transform: scale(1.1);
}

.filter-container-row-header__button img {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

/* CONFLIT : valeurs de entreprisev1bis.css retenues
   (entreprisev1.css avait gap: 5px et padding-block: 10px) */
.recherche .filter-container-row-choices {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding-block: 20px;
}

.recherche .filter-container-row-choices-more {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  cursor: pointer;
}

.recherche .filter-container-row-choices-choice {
  display: flex;
  align-items: center;
  gap: 10px;
}

.recherche .filter-container-row-choices-choice__input {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgb(21, 71, 158);
  border-radius: 3px;
  background-color: white;
  position: relative;
}

.recherche .filter-container-row-choices-choice__input:checked {
  background-color: rgb(21, 71, 158);
}

.recherche .filter-container-row-choices-choice__input:checked::after {
  content: "✔";
}

.recherche .filter-container-row-choices-choice__input:after {
  content: "";
  color: white;
  position: absolute;
  left: 0;
  bottom: 1.5px;
  border: 1px solid transparent;
  border-radius: 2.5px;
  width: inherit;
  height: inherit;
}

.recherche .filter-container-row-choices-choice__input[type=radio] {
  padding: 0;
  width: 20px;
  height: 20px;
}

.recherche .filter-container-row-choices-choice__input[type=radio]:after {
  left: 3px;
  bottom: 1px;
}

.recherche .filter-container-row-choices-choice__input[type=checkbox] {
  width: 15px;
  height: 15px;
}

.recherche .filter-container-row-choices-choice__input[type=checkbox]:after {
  left: 0;
  bottom: 1.5px;
}

/* background-color: white vient de entreprisev1.css uniquement */
.recherche .resultat {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: white;
}

/* CONFLIT : valeur de entreprisev1bis.css retenue
   (entreprisev1.css avait flex-direction: row) */
.recherche .resultat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

.recherche .resultat-header h3 {
  font-size: 30px;
}

.recherche .resultat-header-tri {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.recherche .resultat-header-tri__select {
  cursor: pointer;
  background-color: rgb(21, 71, 158);
  color: white;
  border-radius: 30px;
  padding: 10px 20px;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  z-index: 2;
}

.recherche .resultat-header-tri__select::before {
  content: "Trier par";
  position: absolute;
  right: 110%;
  color: black;
  white-space: nowrap;
}

.recherche .resultat-header-tri__select::after {
  content: url(../img/chevron-down.svg?7672c0a20110528f01f9e3c53ff445fc);
  display: block;
  width: 10px;
  height: 15px;
}

.recherche .resultat-header-tri .custom-select-options {
  position: absolute;
  top: 50%;
  left: 0;
  height: -moz-fit-content;
  height: fit-content;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background-color: #0f3371;
  color: white;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  z-index: 1;
  padding-block: 25px;
  overflow: hidden;
}

.recherche .resultat-header-tri .custom-select-options__option {
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding-inline: 20px;
  padding-block: 10px;
}

.recherche .resultat-header-tri .custom-select-options__option:hover {
  background-color: #1b5bcb;
}

.recherche .resultat-header-tri .custom-select-options:last-child {
  padding-bottom: 10px;
}

.recherche .resultat-filtres {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 15px;
  background-color: #eaeef4;
}

.recherche .resultat-filtres .Filters {
  display: flex;
  flex-direction: row;
  gap: 5px;
  padding: 10px;
  border-radius: 15px;
  background-color: #eaeef4;
}

.recherche .resultat-filtres-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.recherche .resultat-filtres-container__span {
  padding: 10px;
  background-color: rgb(21, 71, 158);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  border-radius: 15px;
  font-size: 15px;
  margin: 5px;
}

.recherche .resultat-filtres-container__span__close {
  cursor: pointer;
  border: 0 solid transparent;
  border-right: 1px solid white;
  padding-right: 5px;
  background-color: transparent;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.recherche .resultat-filtres-container__span__close img {
  width: 100%;
  height: 100%;
}

.recherche .resultat-filtres-container__span__label {
  padding-left: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recherche .resultat-posts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 20px;
  -moz-column-gap: 75px;
  column-gap: 75px;
  position: relative;
  padding-bottom: 50px;
}

.recherche .resultat-posts-post {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
  height: 270px;
  transition: all 0.4s ease;
  border-radius: 15px;
  padding-bottom: 15px;
  text-decoration: none;
  color: black;
}

.recherche .resultat-posts-post__img {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: inherit;
  transition: inherit;
  border-bottom: 5px solid transparent;
}

.recherche .resultat-posts-post p {
  transition: all 0.3s ease-out;
  padding-inline: 10px;
}

.recherche .resultat-posts-post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: inherit;
  padding-inline: 10px;
}

.recherche .resultat-posts-post-footer__type {
  background-color: rgba(21, 71, 158, 0.3411764706);
  color: rgb(21, 71, 158);
  padding-inline: 5px;
  padding-block: 2px;
  border-radius: 3px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: bold;
}

.recherche .resultat-posts-post:hover {
  scale: 1.05;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.recherche .resultat-posts-post:hover .resultat-posts-post__img {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: rgb(21, 71, 158);
}

.recherche .resultat-posts-pagination {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  height: -moz-fit-content;
  height: fit-content;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.recherche .resultat-posts-pagination__label {
  color: black;
  font-weight: bold;
  padding-right: 20px;
}

.recherche .resultat-posts-pagination__button {
  cursor: pointer;
  border: 0;
  background-color: transparent;
  transition: all 0.3s ease-out;
  padding: 5px;
}

.recherche .resultat-posts-pagination__button img {
  width: 20px;
  height: 20px;
}

.recherche .resultat-posts-pagination__button:hover {
  border-radius: 5px;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.2);
}

.recherche .resultat-posts-pagination__page {
  cursor: pointer;
  border: 0;
  background-color: transparent;
  width: 30px;
  height: 30px;
  font-size: 16px;
  margin-inline: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-out;
  border-radius: 5px;
}

.recherche .resultat-posts-pagination__page[selected] {
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.2);
}

.recherche .resultat-posts-pagination__page:hover {
  scale: 1.1;
  background-color: rgb(21, 71, 158);
  color: white;
}

.recherche .resultat-posts-pagination__select {
  cursor: pointer;
  height: 100%;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: 20px;
  border: 0;
  background-color: transparent;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.2);
  padding: 10px;
}

.hide {
  display: none !important;
}


/* ---------------------------------------------------------------------
   2. Listes, résultats, utilitaires
   --------------------------------------------------------------------- */

#AlphaCommune {
  background: #cecaca;
}

#listItem {
  background-color: #929292;
}

.list-group-item {
  border-radius: none;
  background: #fdf7f7;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

/* .list-group-item:hover{
  transform: scaleX(1.1);
} */

.check {
  opacity: 0;
  transition: all 0.6s ease-in-out;
}

.list-group-item:hover .check {
  opacity: 1;
}

.reponse:hover {
  background-color: #007bff;
  color: white;
}

/* d-flex flex-nowrap justify-content-center align-items-center w-100 */
.divPerso,
.divPersoEntre {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.btnMasque {
  display: none;
}

#listeResultat,
#pagination,
#paginationE {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style-type: none;
}

#listeResultat>li {
  width: 100%;
}

.divResultat {
  display: contents;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#listeRechercheEPCI,
#listeRechercheER {
  max-height: 30vh;
  z-index: 4;
}

.listeRechercheFiltre {
  max-height: 40vh;
  z-index: 5;
}

#barRechercheMobile {
  display: flex;
}

.taille-max { width: 100%; }
.taille-75  { width: 75%; }
.taille-50  { width: 50%; }
.taille-40  { width: 40%; }
.taille-30  { width: 30%; }
.taille-25  { width: 25%; }
.taille-20  { width: 20%; }

#resultat {
  display: flex;
}


/* ---------------------------------------------------------------------
   3. Section filtres (menu déroulant)
   --------------------------------------------------------------------- */

.filter-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

.filter-section .container {
  margin-right: 100px;
  margin-left: 100px;
  padding: 0px;
}

.filter-section #showmenu {
  margin: 0px;
  margin-right: 34px;
  margin-bottom: 25px;
}

.filter-section #showmenu a {
  color: #3f3f3f;
  width: 102px;
  font-size: 18px;
  font-weight: 600;
  margin: 0px;
  padding: 0px;
  cursor: pointer;
}

.filter-section #showmenu a img {
  width: 35px;
}

.filter-section .menu {
  margin-bottom: 25px;
  display: none;
}

.filter-section .menu .nav {
  border-left: 1px solid #3f3f3f;
}

.filter-section .nav {
  display: block;
  margin: 0;
  padding: 0;
  height: 24px;
}

.filter-section .nav li {
  display: inline-block;
  list-style: none;
}

.filter-section .menu .nav .button-dropdown {
  position: relative;
  margin-left: 24px;
  height: 24px;
}

.filter-section .menu .nav li a {
  color: #000;
  background-color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.filter-section .menu .nav li a span {
  font-size: 26px;
  line-height: 0;
  height: 24px;
  margin-right: 10px;
  color: #fff;
}

.filter-section .menu .nav li .dropdown-toggle::after {
  display: inline-block;
  margin-left: 12px;
  vertical-align: 2px;
  content: "";
  border-top: 6px solid;
  border-right: 3px solid transparent;
  border-bottom: 0;
  border-left: 3px solid transparent;
}

.filter-section .menu .nav li .dropdown-menu .dropdown-toggle::after {
  display: none;
}

.filter-section .menu .nav li .dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  margin: 0;
  margin-top: 10px;
  margin-left: 22px;
  text-align: left;
  width: 500px;
  padding: 10px 24px;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
}

.filter-section .menu .nav li .dropdown-menu div {
  border-bottom: 1px solid #000;
  padding: 12px 0px;
}

.filter-section .menu .nav li .dropdown-menu div:nth-last-child(2) {
  border-bottom: none;
}

.filter-section .menu .nav li .dropdown-menu div:last-child {
  border-bottom: none;
  padding-bottom: 10px;
  padding-top: 20px;
}

.filter-section .menu .nav li .dropdown-menu div label {
  margin-bottom: 0px;
  line-height: 0px;
}

.filter-section .menu .nav li .dropdown-menu.active {
  display: block;
}

.hidden-menu {
  display: none;
}

.listofslect {
  padding: 0px;
}

.listofslect li {
  padding: 10px;
  font-size: 14px;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.name {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  margin: 0;
  padding-bottom: 14px;
  padding-top: 10px;
}

.name input {
  margin-right: 12px;
}

.hidden {
  display: none;
}

.button {
  border: none;
  color: white;
  padding: 14px 0px;
  text-align: center;
  font-size: 16px;
  width: 100%;
  cursor: pointer;
  border-radius: 4px;
  background-color: #000000;
}

button:focus {
  outline: 0px dotted;
  outline: 0px auto -webkit-focus-ring-color;
}

.filter-section #results {
  display: none;
}

.filter-section .hidden-menu {
  list-style: none;
  display: inline-block;
  padding: 0px;
  margin: 0px;
  margin-bottom: 25px;
}

.filter-section .hidden-menu li {
  padding: 16px 15px;
  margin: 0px;
  line-height: 0px;
  margin-right: 16px;
  margin-bottom: 16px;
  float: left;
  border-radius: 4px;
  border: solid 1px #ECECEC;
  background-color: #ECECEC;
}

.filter-section .hidden-menu li a img {
  margin-left: 15px;
  width: 10px;
}

.filter-section .clear-all {
  padding: 8px 0px;
  border: none;
  background: #fff;
  display: none;
}

.filter-section .clear-all a {
  color: #26d400;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

.nav .button-dropdown .dropdown-menu label {
  display: block;
}

.nav .button-dropdown .dropdown-menu input[type="checkbox"] {
  position: relative;
  top: 0px;
  margin-right: 12px;
  -moz-appearance: none;
  background-color: #dddddd !important;
}

.nav .button-dropdown .dropdown-menu input[type='checkbox']:after {
  content: "";
  vertical-align: middle;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background: #fff;
  background-color: #fff !important;
  border: 1px solid #000;
  color: #fff;
  text-align: center;
  line-height: 15px;
  position: absolute;
  cursor: pointer;
  height: 15px;
  width: 15px;
  left: 0;
  top: 0;
  font-size: 11px;
}

.nav .button-dropdown .dropdown-menu input[type='checkbox']:checked:after {
  background: #000;
  /*content:'\f00c';*/
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #000 !important;
  color: #fff;
  font-family: FontAwesome;
}


/* ---------------------------------------------------------------------
   4. Cases à cocher personnalisées (.mainlist et .mainlist2 sont identiques)
   --------------------------------------------------------------------- */

.mainlist,
.mainlist2 {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgb(21, 71, 158);
  border-radius: 3px;
  background-color: white;
  position: relative;
}

.mainlist:checked,
.mainlist2:checked {
  background-color: rgb(21, 71, 158);
}

.mainlist:checked::after,
.mainlist2:checked::after {
  content: "✓";
  top: 0%;
  left: 100%;
  transform: translate(0, -50%);
}

.mainlist:after,
.mainlist2:after {
  content: "";
  color: white;
  position: absolute;
  left: 0;
  bottom: 1.5px;
  border: 1px solid transparent;
  border-radius: 2.5px;
  width: inherit;
  height: inherit;
}

.mainlist[type=radio],
.mainlist2[type=radio] {
  padding: 0;
  width: 20px;
  height: 20px;
}

.mainlist[type=radio]:after,
.mainlist2[type=radio]:after {
  left: 3px;
  bottom: 1px;
}

.mainlist[type=checkbox],
.mainlist2[type=checkbox] {
  width: 15px;
  height: 15px;
}

.mainlist[type=checkbox]:after,
.mainlist2[type=checkbox]:after {
  left: 0;
  bottom: 1.5px;
}

.effictifHS,
.filierHS,
.SecteurHS {
  display: block;
  transition: all 0.3s ease;
}

.effictifHS.show,
.filierHS.show,
.SecteurHS.show {
  display: none;
}


/* ---------------------------------------------------------------------
   5. Tableau de résultats
   --------------------------------------------------------------------- */

/* CONFLIT : width: 100% (entreprisev1bis.css) retenu
   (entreprisev1.css avait width: max-content) */
.table-bordered {
  width: 100%;
  border-collapse: collapse;
}

.table-bordered th,
.table-bordered td {
  border: 1px solid #ddd;
  padding: 8px;
}

.table-bordered tr:nth-child(even) {
  background-color: #f2f2f2; /* Couleur claire pour les lignes paires */
}

.table-bordered tr:nth-child(odd) {
  background-color: #ffffff; /* Couleur pour les lignes impaires */
}

.clickable-row {
  cursor: pointer;
}

.clickable-row:hover {
  background-color: #ddd; /* Couleur de survol pour les lignes */
}


/* ---------------------------------------------------------------------
   6. Boutons divers
   --------------------------------------------------------------------- */

.sss {
  right: 10px;
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
  align-items: start;
  transform: translate(-6px, -6px);
}

.hamburger-menu {
  top: 0%;
  left: 0%;
  font-size: 2em;
  background: none;
  cursor: pointer;
  position: absolute;
  border-radius: 100%;
  border: 0 solid transparent;
  padding: 10px;
  align-items: center;
  justify-content: center;
  display: none;
}

.remove-filter,
.item {
  background-color: transparent;
  color: #dddddd;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
}

.remove-filter:hover,
.item:hover {
  color: black;
  background-color: white;
}

#btnEffacer {
  display: none;
  padding: 8px;
  font-size: 16px;
  color: #ffffff;
  background-color: #ff5733;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#btnEffacer:hover {
  background-color: #e04b28;
}

#btnEffacer:active {
  background-color: #c94423;
}


/* ---------------------------------------------------------------------
   7. Loader (barres animées)
   --------------------------------------------------------------------- */

.loader {
  left: 25%;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 40px;
  width: 80px;
  box-sizing: border-box;
}

.loader .loader-item {
  position: relative;
  float: left;
  height: 40px;
  width: 4px;
  margin: 0 2px;
  background-color: #868e96;
}

.loader .loader-item:nth-child(1)  { animation: loader-item-1 2s linear infinite; }
.loader .loader-item:nth-child(2)  { animation: loader-item-2 2s linear infinite; }
.loader .loader-item:nth-child(3)  { animation: loader-item-3 2s linear infinite; }
.loader .loader-item:nth-child(4)  { animation: loader-item-4 2s linear infinite; }
.loader .loader-item:nth-child(5)  { animation: loader-item-5 2s linear infinite; }
.loader .loader-item:nth-child(6)  { animation: loader-item-6 2s linear infinite; }
.loader .loader-item:nth-child(7)  { animation: loader-item-7 2s linear infinite; }
.loader .loader-item:nth-child(8)  { animation: loader-item-8 2s linear infinite; }
.loader .loader-item:nth-child(9)  { animation: loader-item-9 2s linear infinite; }
.loader .loader-item:nth-child(10) { animation: loader-item-10 2s linear infinite; }

.loader:after {
  font-size: 16px;
  font-family: "Arial";
  color: #868e96;
  text-align: center;
  left: 0;
  right: 0;
  bottom: -32px;
  margin: auto;
}

@keyframes loader-item-1  { 1%  { transform: scaleY(1); } 11% { transform: scaleY(1.4); } 21% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes loader-item-2  { 7%  { transform: scaleY(1); } 17% { transform: scaleY(1.4); } 27% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes loader-item-3  { 13% { transform: scaleY(1); } 23% { transform: scaleY(1.4); } 33% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes loader-item-4  { 19% { transform: scaleY(1); } 29% { transform: scaleY(1.4); } 39% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes loader-item-5  { 25% { transform: scaleY(1); } 35% { transform: scaleY(1.4); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes loader-item-6  { 31% { transform: scaleY(1); } 41% { transform: scaleY(1.4); } 51% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes loader-item-7  { 37% { transform: scaleY(1); } 47% { transform: scaleY(1.4); } 57% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes loader-item-8  { 43% { transform: scaleY(1); } 53% { transform: scaleY(1.4); } 63% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes loader-item-9  { 49% { transform: scaleY(1); } 59% { transform: scaleY(1.4); } 69% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes loader-item-10 { 55% { transform: scaleY(1); } 65% { transform: scaleY(1.4); } 75% { transform: scaleY(1); } 100% { transform: scaleY(1); } }


/* ---------------------------------------------------------------------
   8. Responsive
   --------------------------------------------------------------------- */

@media (min-width: 727px) {
  #filter {
    display: flex !important;
  }
  .resultat {
    display: flex !important;
  }
}

/* .taille-100 était déclaré à 835px, 768px et 727px : 835px suffit */
@media (max-width: 835px) {
  .taille-100 {
    width: 100%;
  }
}

@media (max-width: 727px) {
  #nbResultat {
    margin-left: 15px;
  }
  .loader {
    left: 0 !important;
  }
  .recherche {
    display: flex;
    gap: 20px;
  }
  .recherche .resultat-header h3 {
    font-size: x-large;
  }
  #optionsAffichage {
    display: grid !important;
  }
  #BUTTONSBIG {
    padding-top: 10% !important;
  }
  .btn-group {
    width: -webkit-fill-available;
    position: relative;
    display: inline-flex;
    vertical-align: middle;
  }
  .hamburger-menu {
    display: block;
  }
  #listeResultat {
    width: 100%;
  }
  #filter {
    display: none;
    width: max-content;
  }
  .resultat {
    flex: 1 0 100%;
    padding-left: 17%;
  }
  .resultat table {
    width: 100%;
    font-size: 0.8em;
    overflow-x: auto;
    display: flex;
    flex-direction: column;
  }
  .resultat table thead {
    display: none;
  }
  .resultat table tbody tr {
    display: grid;
    margin-bottom: 1em;
    border-bottom: 1px solid #ccc;
  }
  .resultat table tbody tr td {
    display: grid;
    padding: 0.5em;
    border-bottom: 1px solid #eee;
    justify-content: center;
  }
  .resultat table tbody tr td::before {
    content: attr(data-label);
    flex-basis: 50%;
    font-weight: bold;
    text-align: left;
  }
  .recherche .resultat-filtres-container {
    flex-direction: column;
  }
  .recherche .filter-container {
    min-height: 932px;
  }
}


/* ---------------------------------------------------------------------
   9. Animation "livre" (venant de entreprisev1bis.css)
   --------------------------------------------------------------------- */

:root {
  --hue: 223;
  --bg: hsl(var(--hue),10%,90%);
  --fg: hsl(var(--hue),10%,10%);
  --primary: hsl(var(--hue),90%,55%);
  --primary-l: hsl(var(--hue),90%,65%);
  --primary-d: hsl(var(--hue),90%,45%);
  --white: hsl(var(--hue),10%,100%);
  --white-d: hsl(var(--hue),10%,45%);
}

.book,
.book__pg-shadow,
.book__pg {
  animation: cover 7s ease-in-out infinite;
}

.book {
  background-color: var(--primary-l);
  border-radius: 0.25em;
  box-shadow:
    0 0.25em 0.5em hsla(0,0%,0%,0.3),
    0 0 0 0.25em var(--primary) inset;
  padding: 0.25em;
  perspective: 37.5em;
  position: relative;
  width: 8em;
  height: 6em;
  transform: translate3d(0,0,0);
  transform-style: preserve-3d;
  align-self: center;
}

.book__pg-shadow,
.book__pg {
  position: absolute;
  left: 0.25em;
  width: calc(50% - 0.25em);
}

.book__pg-shadow {
  animation-name: shadow;
  background-image: linear-gradient(-45deg,hsla(0,0%,0%,0) 50%,hsla(0,0%,0%,0.3) 50%);
  filter: blur(0.25em);
  top: calc(100% - 0.25em);
  height: 3.75em;
  transform: scaleY(0);
  transform-origin: 100% 0%;
}

.book__pg {
  animation-name: pg1;
  background-color: var(--white);
  background-image: linear-gradient(90deg,hsla(var(--hue),10%,90%,0) 87.5%,hsl(var(--hue),10%,90%));
  height: calc(100% - 0.5em);
  transform-origin: 100% 50%;
}

.book__pg--2,
.book__pg--3,
.book__pg--4 {
  background-image:
    repeating-linear-gradient(hsl(var(--hue),10%,10%) 0 0.125em,hsla(var(--hue),10%,10%,0) 0.125em 0.5em),
    linear-gradient(90deg,hsla(var(--hue),10%,90%,0) 87.5%,hsl(var(--hue),10%,90%));
  background-repeat: no-repeat;
  background-position: center;
  background-size: 2.5em 4.125em, 100% 100%;
}

.book__pg--2 { animation-name: pg2; }
.book__pg--3 { animation-name: pg3; }
.book__pg--4 { animation-name: pg4; }
.book__pg--5 { animation-name: pg5; }

@keyframes cover {
  from, 5%, 45%, 55%, 95%, to {
    animation-timing-function: ease-out;
    background-color: var(--primary-l);
  }
  10%, 40%, 60%, 90% {
    animation-timing-function: ease-in;
    background-color: var(--primary-d);
  }
}
@keyframes shadow {
  from, 10.01%, 20.01%, 30.01%, 40.01% {
    animation-timing-function: ease-in;
    transform: translate3d(0,0,1px) scaleY(0) rotateY(0);
  }
  5%, 15%, 25%, 35%, 45%, 55%, 65%, 75%, 85%, 95% {
    animation-timing-function: ease-out;
    transform: translate3d(0,0,1px) scaleY(0.2) rotateY(90deg);
  }
  10%, 20%, 30%, 40%, 50%, to {
    animation-timing-function: ease-out;
    transform: translate3d(0,0,1px) scaleY(0) rotateY(180deg);
  }
  50.01%, 60.01%, 70.01%, 80.01%, 90.01% {
    animation-timing-function: ease-in;
    transform: translate3d(0,0,1px) scaleY(0) rotateY(180deg);
  }
  60%, 70%, 80%, 90%, to {
    animation-timing-function: ease-out;
    transform: translate3d(0,0,1px) scaleY(0) rotateY(0);
  }
}
@keyframes pg1 {
  from, to {
    animation-timing-function: ease-in-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(0.4deg);
  }
  10%, 15% {
    animation-timing-function: ease-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(180deg);
  }
  20%, 80% {
    animation-timing-function: ease-in;
    background-color: var(--white-d);
    transform: translate3d(0,0,1px) rotateY(180deg);
  }
  85%, 90% {
    animation-timing-function: ease-in-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(180deg);
  }
}
@keyframes pg2 {
  from, to {
    animation-timing-function: ease-in;
    background-color: var(--white-d);
    transform: translate3d(0,0,1px) rotateY(0.3deg);
  }
  5%, 10% {
    animation-timing-function: ease-in-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(0.3deg);
  }
  20%, 25% {
    animation-timing-function: ease-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(179.9deg);
  }
  30%, 70% {
    animation-timing-function: ease-in;
    background-color: var(--white-d);
    transform: translate3d(0,0,1px) rotateY(179.9deg);
  }
  75%, 80% {
    animation-timing-function: ease-in-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(179.9deg);
  }
  90%, 95% {
    animation-timing-function: ease-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(0.3deg);
  }
}
@keyframes pg3 {
  from, 10%, 90%, to {
    animation-timing-function: ease-in;
    background-color: var(--white-d);
    transform: translate3d(0,0,1px) rotateY(0.2deg);
  }
  15%, 20% {
    animation-timing-function: ease-in-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(0.2deg);
  }
  30%, 35% {
    animation-timing-function: ease-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(179.8deg);
  }
  40%, 60% {
    animation-timing-function: ease-in;
    background-color: var(--white-d);
    transform: translate3d(0,0,1px) rotateY(179.8deg);
  }
  65%, 70% {
    animation-timing-function: ease-in-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(179.8deg);
  }
  80%, 85% {
    animation-timing-function: ease-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(0.2deg);
  }
}
@keyframes pg4 {
  from, 20%, 80%, to {
    animation-timing-function: ease-in;
    background-color: var(--white-d);
    transform: translate3d(0,0,1px) rotateY(0.1deg);
  }
  25%, 30% {
    animation-timing-function: ease-in-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(0.1deg);
  }
  40%, 45% {
    animation-timing-function: ease-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(179.7deg);
  }
  50% {
    animation-timing-function: ease-in;
    background-color: var(--white-d);
    transform: translate3d(0,0,1px) rotateY(179.7deg);
  }
  55%, 60% {
    animation-timing-function: ease-in-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(179.7deg);
  }
  70%, 75% {
    animation-timing-function: ease-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(0.1deg);
  }
}
@keyframes pg5 {
  from, 30%, 70%, to {
    animation-timing-function: ease-in;
    background-color: var(--white-d);
    transform: translate3d(0,0,1px) rotateY(0);
  }
  35%, 40% {
    animation-timing-function: ease-in-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(0deg);
  }
  50% {
    animation-timing-function: ease-in-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(179.6deg);
  }
  60%, 65% {
    animation-timing-function: ease-out;
    background-color: var(--white);
    transform: translate3d(0,0,1px) rotateY(0);
  }
}


/* ---------------------------------------------------------------------
   10. Règles générales (laissées en fin de fichier comme dans les
       originaux : elles écrasent .resultat { flex / padding-left }
       du @media (max-width: 727px))
   --------------------------------------------------------------------- */

.option .checkmark {
  padding-left: 5px;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
}

.filter, .resultat {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
}

.filter {
  background-color: #eaeef4;
  padding: 15px;
  border-radius: 10px;
  min-height: 100%;
  overflow: hidden;
  transition: min-height 0.3s ease;
}

.resultat {
  background-color: #eaeef4;
}


/* ---------------------------------------------------------------------
   11. Fiche ZA : carte + encart (venant de entreprisev1bis.css)
   --------------------------------------------------------------------- */

/* Ordinateur : carte et encart côte à côte */
.fiche-za-contenu {
  display: flex !important;
  flex-direction: row !important;
  gap: 10px;
  padding: 10px;
}

.fiche-za-contenu .map-container {
  flex: 1;
  min-width: 0;
}

.fiche-za-contenu arcgis-embedded-map {
  display: block;
  width: 100%;
  height: 400px;
}

.fiche-za-contenu .card-container {
  flex: 1;
}

.fiche-za-contenu .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #eaeef4;
  padding: 15px;
}

/* Mobile et tablette portrait : l'un au-dessus de l'autre */
@media (max-width: 768px) {
  .fiche-za-contenu {
    flex-direction: column !important;
  }

  .fiche-za-contenu arcgis-embedded-map {
    height: 350px;
  }
}