* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

:root {
  --color-foreground: #f5f5f5;
  --color-primary: #5d67e8;
}

body {
  background-color: #101017;
  background-image:
    linear-gradient(135deg, #370a62 0%, transparent 50%),
    linear-gradient(315deg, #0a0a58 0%, transparent 50%);
  background-blend-mode: screen;
  color: #f5f5f5;
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
}


.navigateur {
  background: rgba(16, 16, 23, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.bouton{
  background-color: #5d67e8;
}

.navigateur .nav-link,
.navigateur .navbar-brand {
  color: #fff !important;
  /* Force le blanc */
}

.navigateur .nav-link:hover {
  color: #c084fc !important;
  /* violet clair au survol */
}

.navigateur .nav-link.active {
  color: #f72585 !important;
  /* rose d’accent pour l’onglet actif */
}

.navigateur {
  background: rgba(16, 16, 23, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}




.navigateur .nav-link,
.navigateur .navbar-brand {
  color: #fff !important;
  /* Force le blanc */
}

.navigateur .nav-link:hover {
  color: #c084fc !important;
  /* violet clair au survol */
}

.navigateur .nav-link.active {
  color: #f72585 !important;
  /* rose d’accent pour l’onglet actif */
}




.hero {
  width: 100%;
  /* occupe toute la largeur */
  min-height: 90vh;
  /* prend presque tout l’écran */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero p{
  font-size: 1.2rem;
}

small{
  font-style: italic;
}

.text {
  max-width: 500px;
  margin-left: auto;
  margin-top: 40px;
  margin-right: auto;
  /* <-- centre horizontalement */
}


.text h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  background: linear-gradient(90deg, #856ac4, #7209b7, #f72585);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}



.text h1 span {
  color: #0056ff;
}

.card-img-overlay.text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 2;
  padding-top: 40px;
}



.text p {
  margin: 20px 0;
  color: #e0e2e7;
  line-height: 1.6;
}

.hero .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}



.image-container {
  position: relative;
  width: 50%;
}

.btn {
  background: #0056ff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn:hover {
  background: #0041c2;
}

.car {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  transform: translateX(50px);
}


.container_main {
  margin: 0 auto;
  max-width: 1000px;
}

.cards {
  height: 100%;
}

.cards img {
  width: 100%;
  height: 100%;
  object-fit: cover
}


.shadow {
  width: 450px;
  height: 20px;
  margin: -5px auto;
  background: radial-gradient(ellipse at center, rgba(7, 7, 7, 0.4) 5%, transparent 20%);
  filter: blur(8px);
}

.cart-button {
  position: relative;
  padding: 8px;
  border-radius: 9999px;
  transition: background-color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.cart-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  transform: translate(50%, -50%);
  background-color: var(--color-primary);
  border-radius: 9999px;
}


.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: #4d0462;
}

/* --- Animation du menu mobile --- */
.navbar-toggler {
  border: none;
  outline: none;
  box-shadow: none;
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.8em;
  height: 1.8em;
  background-size: contain;
  background-repeat: no-repeat;
}


@media (max-width: 768px) {

  .hero {
    align-items: flex-start;
    min-height: auto;
  }

  .hero .card-img {
    height: 55vh;         
    width: 100%;
    object-fit: cover;   
    object-position: center 10%;
    display: block;
  }

  .card-img-overlay.text {
    top: 15px;
    padding-top: 0;
  }
  .hero p{
  font-size: 0.9rem;
}
}




