:root {
  --base-font-size: 100%; /* par défaut */
}

html {
  font-size: var(--base-font-size);
}

#services,
#tarifs,
#equipe {
  margin: 0;
}

.test {
  background-color: red;
}

#test {
  background-color: red;
}

#myTab2 .nav-item {
  padding: 0;
}

.card {
  height: 100% !important;
}

.photo-avantage {
  max-width: 50%;
}

.list-group-item {
  display: flex !important;
  align-items: center;
  gap: 20px;
}

.conseil-administration .list-group-item {
  display: block !important; /* Enlève le display: flex juste ici */
  gap: 0; /* Reset du gap si nécessaire */
  align-items: unset; /* Enlève l'alignement si jamais */
}

.list-group-item img {
  width: 80px;
}

.team-person {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.person-container {
  border-radius: 50%;
  height: 312px;
  -webkit-tap-highlight-color: transparent;
  transform: scale(0.48);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 400px;
}
.person-container:hover {
  transform: scale(0.54);
}
.person-container-inner {
  position: relative;
  clip-path: path(
    "M 390,400 C 390,504.9341 304.9341,590 200,590 95.065898,590 10,504.9341 10,400 V 10 H 200 390 Z"
  );
  transform-origin: 50%;
  top: -200px;
}
.person-circle {
  border-radius: 50%;
  cursor: pointer;
  height: 380px;
  left: 10px;
  pointer-events: none;
  position: absolute;
  top: 210px;
  width: 380px;
}
.person-img {
  pointer-events: none;
  position: relative;
  transform: translateY(20px) scale(1.16);
  transform-origin: 50% bottom;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 380px;
  left: 22px;
  top: 164px;
}
.person-container:hover .person-img {
  transform: translateY(0) scale(1.2);
}
.person-divider {
  height: 1px;
  width: 160px;
}

.test-img {
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.card-header {
  background-color: white !important;
}

.card-header h6 {
  margin: 0;
}

/* BOUTON SWITCH IN PAGE LOGIN.PHP */

.mode-switch {
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.mode-switch label {
  margin-right: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #e83c3c;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Style pour le ruban "NOUVEAUTÉ !" */
.ribbon {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  width: 135px;
  height: 135px;
}

.ribbon-top-right {
  top: -10px;
  right: -10px;
}

.ribbon-top-right::before,
.ribbon-top-right::after {
  border-top-color: transparent;
  border-right-color: transparent;
}

.ribbon-top-right::before {
  top: 0;
  left: 0;
}

.ribbon-top-right::after {
  bottom: 0;
  right: 0;
}

.ribbon-top-right span {
  position: absolute;
  top: 30px;
  right: -25px;
  transform: rotate(45deg);
  width: 160px;
  padding: 7px 0;
  font-size: 0.8rem;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.slider-inner {
  background: url('../images/bgSemyosis.webp') center 60% no-repeat; 
  background-size: cover;
}

@media (max-width: 768px) {
  .slider-inner {
    background: url('../images/bgSemyosis-mobile.webp') center 60% no-repeat;
    background-size: cover;
  }
}

.font-controls {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.font-controls button {
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-radius: 2rem;
}

.footer-widget-wrap .row .col-md-6 {
  display: flex;
  flex-direction: column;
  align-items: center;
}