:root {
  --c-accent: #353d69;
  --c-accent-dark: #5eadd6;
  --c-bg: #ffffff;
  --c-text: #334155;
  --c-prune: #922c40;
  --radius: 10px;
  --shadow: 0 4px 12px rgb(0 0 0 / .08);
  --speed: .25s;
}



body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background: none;
  position: relative;
  overflow-x: hidden;
}

/* 🎨 Image de fond floutée */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  /* top:0; left:0; right:0; bottom:0 */
  background: url("../img/bg-homeparking.png") no-repeat center center / cover;
  filter: blur(6px);
  z-index: -1;
  pointer-events: none;
}

main,
.content-wrapper {
  width: 100vw;
  margin: 0;
  padding: 0;
  padding-top: 80px;
  /* ajuste selon la hauteur réelle de ta navbar */
  box-sizing: border-box;
}

/* HEADER ET NAV */
header {
  position: fixed;
  /* fixe le header */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #f8f9fa !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1rem;
  background-color: #f8f9fa !important;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

/* Logo */
.logo-container img {
  height: 50px;
  width: auto;
  display: block;
}

/* Liste des liens */
nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  color: var(--c-accent, #333);
}

nav ul li a:hover {
  color: var(--c-accent-dark, #555);
  text-decoration: underline;
}


main {
  max-width: 100%;
  background: url("../img/bg-homeparking.png") no-repeat center center / cover;
}

#present {
  text-align: justify;
  padding-top: 5%;
}

form {
  display: grid;
  gap: .7rem;
  background: #fff;
  margin: auto;
  padding: 5%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: min(420px, 100%);
  margin-bottom: 2rem;
}

button,
input,
select {
  font: inherit;
  border: 1px solid #d3d7de;
  border-radius: var(--radius);
  padding: .45rem .8rem;
  width: 100%;
  box-sizing: border-box;
}

label {
  margin-bottom: 0.5rem;
  /* Ajoutez un peu d'espace sous les labels */
  display: block;
  /* Assurez-vous que les labels prennent toute la largeur */
}

button {
  cursor: pointer;
  background: var(--c-accent);
  color: #fff;
  border: none;
  transition: transform var(--speed) ease, box-shadow var(--speed);
}

button:hover {
  background: var(--c-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow)
}

button:active {
  transform: translateY(0)
}


.form-container {
  position: relative;
  width: min(420px, 100%);
  margin: 2rem auto;
  padding-right: 30px;

}

.form-step {
  display: none;
  flex-direction: column;
  gap: 0.7rem;
  background: #fff;
  padding: 5%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 50%;
  box-sizing: border-box;
}

.form-step.active {
  display: flex;
}

.nav-footer {
  position: absolute;
  bottom: 5%;
  right: 7%;
}

.next-btn #next-btn {
  background: var(--c-accent);
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--speed), transform var(--speed), box-shadow var(--speed);
}

.next-btn:hover #next-btn:hover {
  background: var(--c-accent-dark);
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.progress-bar {
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  background: #eee;
  border-radius: 10px;
}

.progress {
  width: 100%;
  height: 0%;
  background-color: var(--c-accent);
  border-radius: 10px;
  transition: height 0.3s ease-in-out;
}


/* Conteneur flexible pour grand écran */
.content-wrapper {
  display: block;
  /* par défaut (mobile) */
}

/* Media query pour grands écrans */
@media (min-width: 900px) {
  .content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    width: 100%;
    padding: 2rem 1rem;
    box-sizing: border-box;
  }


  #present,
  .form-container {
    flex: 1;
    /* les deux prennent chacun 50% de la largeur (ajustable) */
  }
}

footer {
  background-color: #222;
  color: #ddd;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 1rem;
}

.footer-contact,
.footer-legal {
  flex: 1 1 300px;
  margin: 0 1rem;
}

.footer-contact p a {
  color: #fff;
}

.footer-contact h3,
.footer-legal h3 {
  margin-bottom: 0.5rem;
  color: #fff;
}

.footer-legal ul {
  list-style: none;
  padding: 0;
}

.footer-legal li {
  margin-bottom: 0.3rem;
}

.footer-legal a {
  color: #bbb;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 1rem;
  color: #666;
  font-size: 0.8rem;
}

.offres-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  background: url("../img/bg-homeparking.png") no-repeat center center / cover;
  padding: 3rem 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  scrollbar-width: none;
  /* Firefox */
}

.offres-scroll::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.offres-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  width: max-content;
  padding: 0 2rem;
  animation: scrollInfinite 40s linear infinite;
}

.offre {
  min-width: 600px;
  max-width: 700px;
  height: 330px;
  /* 1.5 × 220px */
  display: flex;
  flex-direction: row;
  background-color: var(--c-accent);
  color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease-out;
}

.offre-text {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.offre-text h2 {
  margin-top: 0;
  font-size: 1.8rem;
  color: white;
}

.offre-text p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.offre img {
  height: 80%;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  padding-right: 1rem;
  align-self: center;
}


#pack-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  width: 100%;
  padding: 0 2rem;
}


.pack-description {
  min-width: 500px;
  max-width: 700px;
  min-height: 250px;
  /* ✅ minimum conseillé mais pas bloquant */
  background-color: var(--c-accent);
  color: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  overflow-wrap: break-word;
  /* évite dépassement de mots longs 
  word-break: break-word;*/
  /* évite débordement */
  overflow: hidden;          /* coupe tout ce qui dépasse */
  text-overflow: ellipsis;   /* affiche "..." si texte trop long */
}
.offres-scroll > .pack-description {
  display: none;
}


@media (min-width: 601px) {
  #pack-container {
    animation: scrollInfinite 20s linear infinite;
  }
}

/* Scroll fluide infini */
@keyframes scrollInfinite {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

section p {
  text-align: center;
}

.hero {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(243, 244, 246, 0.8));
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  animation: fadeIn 1s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  /* fond clair semi-transparent */
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.offre.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero section plein écran */
#hero {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: url("../img/bg-homeparking.png") no-repeat center center / cover;
  /* dégradé clair */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 900;
  /* inférieur à celui du header */
  padding: 2rem;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #1d1d1d;
  animation: typing 2s steps(25), blink 0.7s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #1d1d1d;
}

.accent {
  color: var(--c-accent, #007bff);
  font-weight: bold;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInText 1.2s ease 2.5s forwards;
}

.hero-btn {
  background-color: var(--c-accent);
  color: white;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: var(--c-accent-dark);
}

/* Animation */
@keyframes typing {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

@keyframes blink {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: #1d1d1d
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SECTION GUIDE ÉTAPES */
.etape-section {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: url("../img/bg-homeparking.png") no-repeat center center / cover;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9998;
  overflow: hidden;
}

.etape-content {
  background-color: #ffffff;
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 600px;
  text-align: center;
  animation: fadeIn 0.8s ease;
}

.etape-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--c-accent);
}

.etape-content p {
  font-size: 1.1rem;
  color: var(--c-text);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.etape-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

.etape-navigation button {
  flex: 1;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  background-color: var(--c-accent);
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.etape-navigation button:disabled {
  background-color: #ccc;
  cursor: default;
}

.etape-navigation button:hover:not(:disabled) {
  background-color: var(--c-accent-dark);
}

.etape-action-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  background-color: var(--c-prune);
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.etape-action-btn:hover {
  background-color: #b33950;
}

#guide-utilisation {
  position: fixed;
  top: 70px;
  /* adapte si ton header est plus grand ou plus petit */
  left: 0;
  width: 100vw;
  height: calc(100vh - 70px);
  /* toute la hauteur visible sauf le header */
  background: url("../img/bg-homeparking.png") no-repeat center center / cover;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 900;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}


.guide-content {
  max-width: 800px;
  text-align: center;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  animation: fadeIn 0.8s ease-in-out;
}

.guide-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--c-accent);
}

.guide-content p {
  font-size: 1.2rem;
  color: var(--c-text);
  margin-bottom: 2rem;
}

.guide-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.guide-buttons button {
  background-color: var(--c-accent);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.guide-buttons button:disabled {
  opacity: 0.4;
  cursor: default;
}

.guide-buttons button:hover:not(:disabled) {
  background-color: var(--c-accent-dark);
}

.illustration-container {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 8%;
}


.animated-illustration {
  width: 100%;
  max-width: 350px;
  animation: float 4s ease-in-out infinite;
  border-radius: var(--radius);
}

.stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  font-weight: bold;
  text-align: center;
  color: var(--c-accent);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.mascotte-guide {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
  animation: bounce 2s infinite;
}

.mascotte-guide img {
  height: 300px;
  border-radius: var(--radius);
}

.guide-texte {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--c-accent);
  margin-top: 0.5rem;
  animation: blinkText 1.5s infinite;
}

/* Animation rebond */
@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Clignotement du texte */
@keyframes blinkText {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Animations (déjà incluses plus haut) */
@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.presentation-animated {
  padding: 4rem 2rem;
  background: url("../img/bg-homeparking.png") no-repeat center center / cover;
  color: var(--c-text);
}

.presentation-animated h3 {
  text-align: center;
}

.presentation-animated h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--c-accent);
  font-weight: bold;
  animation: fadeIn 1s ease;
  text-align: center;
  /* ✅ Centre le texte horizontalement */

}

.presentation-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.presentation-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(30px);
  animation: slideIn 1s forwards;
}

.presentation-text p:nth-child(1) {
  animation-delay: 0.3s;
}

.presentation-text p:nth-child(2) {
  animation-delay: 0.6s;
}

.presentation-text p:nth-child(3) {
  animation-delay: 0.9s;
}

.presentation-text p:nth-child(4) {
  animation-delay: 1.2s;
}

.presentation-text p:nth-child(5) {
  animation-delay: 1.5s;
}

.presentation-animated ul {
  margin: auto;
  text-align: center;
  width: 30%;
  padding-top: 35px;
}

.offres-scroll {
  overflow: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  height: 20vh;
  /* Par exemple, 2 fois la hauteur d'une offre (330px) */
  background: url("../img/bg-homeparking.png") no-repeat center center / cover;
  padding: 2rem 0;
  position: relative;
  /*margin: 0 auto;*/
  width: 100vw;
}

/* Le conteneur qui défile verticalement */
.offres-container {
  display: flex;
  flex-direction: column;
  /* empilement vertical */
  gap: 2rem;
  width: 100%;
  /*height: 100%;*/
  animation: scrollInfinite 20s linear infinite;
}

/* Animation vertical scroll */
@keyframes scrollInfiniteVertical {
  0% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(-50%);
  }
}

.offre {
  width: 100%;
  max-width: 100%;
  height: 320px;
  display: flex;
  flex-direction: column;
  background-color: var(--c-accent);
  color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.offre-text {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.offre img {
  height: 100%;
  width: auto;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  flex-shrink: 0;
  padding: 0.5rem 0;
  align-self: center;
}

/* Discrètement cacher le doublon (2e groupe) */
.offres-container .offre:nth-child(n + 4) {
  opacity: 0;
  pointer-events: none;
  height: 0;
  margin: 0;
  padding: 0;
}

/* --- LISTE COMPACTE --- */
ul {
  padding-left: 1rem;
  margin: 0;
}

li {
  font-size: 1rem;
  margin: 0.5rem 0;
  padding: 0;
}

/* --- FORM MULTISTEP --- */
.form-step {
  padding: 1rem;
  flex-direction: column;
  align-items: stretch;
  width: 70%;
}

.btn-nav {
  position: static;
  margin-top: 1rem;
  align-self: flex-end;
  transform: none;
}

.next-btn {
  right: -218px;
}

.progress-bar {
  display: none;
}

/* --- FOOTER --- */
footer {
  flex-direction: column;
  text-align: center;
  gap: 1rem;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

.footer-links {
  flex-direction: column;
  gap: 0.5rem;
}

.offres-scroll {
  height: auto;
  /* ou selon le besoin */
  background: url("../img/bg-homeparking.png") no-repeat center center / cover;
  position: relative;
}

.offres-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
  padding: 5px;
}

.offre {
  width: 100%;
  min-width: unset;
  max-width: 900px;
  margin: 0 auto;
  height: auto;
  display: flex;
  flex-direction: row;
  background-color: var(--c-accent);
  color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease-out;
}

.offre img {
  height: 100%;
  width: auto;
  object-fit: contain;
  padding: 1rem;
  align-self: center;
}

.contact-section {
  padding: 4rem 2rem;
  background-color: #f7f7f7;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  color: var(--c-text);
  margin-bottom: 2rem;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  background-color: var(--c-bg);
  /* fond semi-transparent */
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 1000px;
  margin: auto;
  z-index: 2;
  position: relative;
  backdrop-filter: blur(4px);
}

.contact-info,
.contact-form {
  flex: 1 1 300px;
  min-width: 280px;
}

.contact-info {
  font-size: 1.1rem;
  color: #fff;
  text-align: left;
  line-height: 1.6;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  width: 100%;
  background-color: #f9f9f9;
  color: #000;
}

.contact-form button {
  width: 160px;
  align-self: center;
  padding: 0.8rem 1rem;
  background-color: var(--c-accent, #ffd700);
  border: none;
  color: #000000;
  font-weight: bold;
  border-radius: var(--radius);
  cursor: pointer;
}

.contact-section {
  position: relative;
  padding: 6rem 2rem;
  color: var(--c-text);
  background-image: url('../img/bg-homeparking.png');
  /* adapte le chemin si nécessaire */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent
}

.contact-section h2,
.contact-section .contact-info,
.contact-section .contact-form {
  position: relative;
  z-index: 2;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 768px) {

  html,
  body {
    overflow-x: hidden !important;
    max-width: 100vw;
    scroll-behavior: smooth;
  }

  /* --- NAVIGATION FIXE AVEC LOGO & MENU --- */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: white !important;
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    z-index: 9999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .logo {
    font-weight: bold;
    font-size: 1.2rem;
  }

  .hamburger {
    display: block;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #f9f9f9;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  /* --- HERO FULLSCREEN & OPAQUE --- */
  #hero {
    position: fixed;
    top: 60px;
    left: -32px;
    width: 100%;
    height: calc(100vh - 60px);
    overflow-y: auto;
    background-color: white !important;
    /* opaque */
    z-index: 900;
  }

  .hero-content {
    height: 100%;
    padding: 2rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
    /* supprime toute transparence ou flou */
  }

  .hero-title {
    font-size: 1.8rem;
    word-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* --- BOUTON NEXT --- */
  .next-btn {
    /*position: absolute;
    bottom: -25px;
    right: -190px;*/
    padding: 0.5rem 1rem;
    z-index: 10;
    width: 3em;
  }

  /* --- CACHER MASCOTTE ET IMAGES NON ESSENTIELLES --- */
  .mascotte-guide,
  .mascotte-guide img,
  .mascotte-guide .bubble,
  .pack-description img,
  .offre img {
    display: none !important;
  }

  /* --- PACKS CONTAINER EN COLONNE --- */
  .packs-container {
    flex-direction: column;
    flex-wrap: nowrap;
    animation: scrollVertical 60s linear infinite;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    /*overflow-x: hidden;*/
    padding: 0;
    gap: 2rem;
  }

  .pack-description {
    width: 95% !important;
    max-width: 50% !important;
    min-width:
      /*unset*/
      95% !important;
    /*
    box-sizing: border-box;
    flex-shrink: 0;*/
    padding: 1em;
    height: 260px;
    margin: 5px;
    align-self: center;
  }

  #pack-container {
    display: flex;
    flex-direction: column;
    animation: scrollVertical 40s linear infinite;
    padding: 0;
    /*height: 330px;  Hauteur d’un bloc pour défiler en continu 
    overflow: hidden;
    width: 100%;*/
    gap: 0
      /*5px*/
    ;
  }

  .offres-container {
    animation: scrollInfiniteVertical 10s linear infinite;
  }

  .offres-scroll {
    height: fit-content;
  }

  .offre-text {
    padding :0.5em
  }

  /* masquer les 3 blocs dupliqués */
  #pack-container>.pack-description:nth-child(n+4) {
    display: none;
  }

  /* Animation verticale */
  @keyframes scrollVertical {
    0% {
      transform: translateY(0%);
    }

    100% {
      transform: translateY(-50%);
    }
  }
}

.message-flottant {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  color: white;
  z-index: 9999;
}
.message-flottant.success { background-color: #28a745; }
.message-flottant.error { background-color: #dc3545; }
