
html body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* occupe tout le viewport */
  margin: 0;


  background: linear-gradient(120deg, #ff5722, #03a9f4);
  background-size: 200% 200%;
  animation: gradientMove 6s infinite;
}

main {
  flex: 1 0 auto;
} /* grandit + rétrécit */


footer {
  margin-top: auto; /* colle en bas */
  background: #343a40;
  padding: 0;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.content {
  flex: 1;
}


.dynamic-shapes {
  position: fixed; /* hors du flux et ne scroll pas */
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0; /* derrière le contenu (footer a z-index:1) */
}
.shape {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  animation: float 8s ease-in-out infinite;
  transform: translate(-50%, -50%);
}
@keyframes float {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-20px);
  }
}

.dynamic-header {
  position: relative;
  height: 100px;
  display: flex;
}
.dynamic-header .background {
  background-color: black;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.dynamic-header .row {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
}
.dynamic-header .left-block {
  flex: 0 0 auto;
  height: 100%;
}
.dynamic-header .left-block img {
  height: 100%;
  width: auto;
}
.dynamic-header .right-block {
  flex: 1;
  height: 100%;
  position: relative;
}
.dynamic-header .right-block div {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}
.progrtitle {
  font-size: 0.5em;
}
.progress-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 100px;
  position: relative;
}
.progress-bar {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 800px;
  position: relative;
}
.progress-step {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  z-index: 1;
  transition: all 0.3s ease-in-out;
  font-size: 1.2em;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.progress-step:hover {
  transform: scale(1.2);
  box-shadow: 0px 0px 15px rgba(255, 165, 0, 0.8);
}
.progress-step.completed {
  background: radial-gradient(circle, #03a9f4, #0288d1);
  color: white;
  box-shadow: 0px 0px 15px rgba(3, 169, 244, 0.8);
  animation: pop 0.5s ease-in-out;
}
@keyframes pop {
  0% {
    transform: scale(0.8);
    box-shadow: 0px 0px 5px rgba(3, 169, 244, 0.5);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0px 0px 20px rgba(3, 169, 244, 1);
  }
  100% {
    transform: scale(1);
    box-shadow: 0px 0px 15px rgba(3, 169, 244, 0.8);
  }
}
.progress-line {
  height: 8px;
  background-color: #e0e0e0;
  flex-grow: 1;
  margin: 0 10px;
  position: relative;
  transition: all 0.3s ease-in-out;
}
.progress-line.completed {
  background: linear-gradient(90deg, #ff5722, #03a9f4) !important;
  height: 10px;
  box-shadow: 0px 0px 5px rgba(3, 169, 244, 0.5);
}
.progress-step::after {
  content: attr(data-title);
  position: absolute;
  top: 60px;
  font-size: 0.8em;
  color: #555;
  text-align: center;
  width: 100px;
  transform: translateX(-25%);
}
.nav-menu {
  display: flex;
  gap: 1rem;
}
.menu-btn {
  position: absolute;
  width: 70px;
  height: 70px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.menu-btn img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}
.menu-btn:hover img {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.menu-1 {
  top: 4px;
  left: 173px;
}
.menu-2 {
  top: -6px;
  left: 387px;
}
.menu-3 {
  top: -11px;
  left: 588px;
}
.menu-4 {
  top: 0px;
  left: 750px;
}
.menu-5 {
  top: -18px;
  left: 45px;
}
.decorations {
  position: absolute;
  top: 0;
  left: 25px;
  height: 100%;
  z-index: -1;
}
.dynamic-header .right-block .hamburger {
  display: none;
  margin-left: auto;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}
.dynamic-header .right-block .hamburger.active {
  color: #ff7e5f;
}
.hamburger {
  margin-top: 15px;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 250px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
  transform: translateX(-100%);
  transition: transform 0.3s ease-out;
  z-index: 1000;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  padding: 2rem 1rem;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu .menu-btn {
  padding: 0.75rem 1rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  color: #333;
  margin-bottom: 1rem;
}
.mobile-menu .menu-btn.primary {
  background-color: #007bff;
  color: #fff;
}
.mobile-menu .menu-btn.primary:hover {
  background-color: #0056b3;
}
.mobile-menu .menu-btn.secondary {
  background-color: #6c757d;
  color: #fff;
}
.mobile-menu .menu-btn.secondary:hover {
  background-color: #5a6268;
}
.typed-container {
  display: inline-block;
  position: relative;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  min-width: 1px;
  height: 50px;
}
.typed-container h1 {
  font-size: 2.5rem;
  margin: 0;
  padding-bottom: 0.5rem;
}
.prefix {
  color: rgb(121, 29, 8);
  font-weight: bold;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  display: inline-block;
}
.underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(to right, #ff7e5f, #feb47b);
  transform-origin: left;
  width: 0%;
  transition: width 0.1s ease-in-out;
}

/* .typed-container:hover .underline {
  width: 100%;
} */

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
#typed-text {
  border-right: 2px solid black;
  animation: blink 0.7s step-end infinite;
}
@keyframes scroll-up-down {
  0% {
    transform: translateY(10%);
  }
  25% {
    transform: translateY(-40%);
  }
  50% {
    transform: translateY(-90%);
  }
  75% {
    transform: translateY(-40%);
  }
  100% {
    transform: translateY(10%);
  }
}

.progress-bar {
  background: linear-gradient(90deg, #ff5722, #03a9f4);
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.pulse-img {
  animation: pulse 2s infinite ease-in-out;
}
.pulse-text {
  font-weight: bold;
  color: #ff5722;
  animation: pulse 2s infinite ease-in-out;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

#stepper-content h5 {
  color: #007bff;
  font-weight: bold;
}

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1030;
  display: flex;
  background: #f8f9fa;
  border-top: 1px solid #ddd;
}

.menu-item {
  position: relative;
}

.sub-menu {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  display: none;
  min-width: 150px;
  z-index: 1040;
}

.sub-menu .dropdown-item {
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  display: block;
}

.sub-menu .dropdown-item:hover {
  background: #f0f0f0;
  color: #000;
}
.menu-card {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.user-info-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.user-greeting {
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
}

.user-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.menu-link.small {
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 6px;
  text-align: left;
}

.menu-link.small.danger {
  color: #d33;
  background-color: rgba(255, 0, 0, 0.05);
}
#btnRecherche[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 850px) {
  .nav-menu {
    display: none;
  }
  .dynamic-header .right-block .hamburger {
    display: block;
  }
  .mobile-menu {
    width: 80%;
  }
  .forfait-card h5 {
    font-size: 14px;
  }
  .forfait-card {
    padding: 0px !important;
  }
}
@media (max-width: 576px) {
  .progress-container {
    margin: 20px 10px;
  }

  #leftContent {
    min-height: 100px !important;
    height: 100px;
    overflow: hidden;
    position: relative;
  }

  #leftContent h5 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    margin: 0;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.75);
  }

  .leftext {
    font-size: 12px !important;
    position: absolute;
    margin-top: 0px;
  }
  .scrollud {
    animation: scroll-up-down 25s linear infinite;
  }
  #rightContent {
    min-height: 100px !important;
  }
  .dynamic-header {
    height: 50px;
  }
  h1 {
    font-size: 19px !important;
    padding-bottom: 0rem;
    line-height: 1.25rem !important;
  }
  /* test */
  h2 {
    font-size: 18px !important;
    padding-bottom: 0rem;
  }
  /* test */
  .forfait-card h5 {
    font-size: 14px;
  }
  .forfait-card {
    padding: 0px !important;
  }
  .typed-container {
    height: 50px;
  }
  .artdeta h3 {
    font-size: 19px;
  }
  #stepper-content h5 {
    font-size: 14px;
  }
}

@media (min-width: 450px) {
  .bottom-bar {
    display: none !important;
  }
  .content-footer {
    display: block !important;
  }
}

@media (max-width: 450px) {
  .bottom-bar {
    display: flex !important;
  }
}
body.no-scroll {
  overflow: hidden;
}
