body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fefefe;
  color: #C2C3FC;
}

.promo {
  position: center;
  text-align: center;
  color : #FF7C61
}

header {
  position: relative;
  color: black;
  padding: 20px;
  text-align: center;
  background-image: 
    linear-gradient(to right, rgba(252, 249, 194, 0.5) 5%, rgba(194, 195, 252, 0.5) 50%, rgba(194, 220, 252, 0.5) 75%, rgba(252, 249, 194, 0.5) 95%), 
    url('../../../assets/images/bannier.png'); /* image derrière le gradient */
  background-size: cover;
  background-position: center; /* image légèrement relevée */
  background-repeat: no-repeat;
  z-index: 0;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Image de fond et particules derrière le contenu */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/ton_image.png'); /* fond */
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  z-index: -2; /* <- derrière tout */
  pointer-events: none; /* important ! */
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(white 2px, transparent 2px);
  background-size: 50px 50px;
  opacity: 0.3;
  z-index: -1; /* <- derrière tout */
  animation: moveParticles 25s linear infinite, pulseParticles 10s ease-in-out infinite;
  pointer-events: none; /* important ! permet de cliquer à travers */
}


/* Particules */
body::before,
body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(white 2px, transparent 2px);
  opacity: 0.3;
  animation: moveParticles 25s linear infinite, pulseParticles 10s ease-in-out infinite;
}

body::before {
  background-size: 50px 50px;
}

body::after {
  background-size: 60px 60px;
  opacity: 0.2;
  animation-delay: 5s; /* décalage pour effet aléatoire */
}

/* Animation de mouvement */
@keyframes moveParticles {
  0% { transform: translate(0,0); }
  25% { transform: translate(10px,-25%); }
  50% { transform: translate(-10px,-50%); }
  75% { transform: translate(15px,-75%); }
  100% { transform: translate(0,-100%); }
}

/* Animation de “pulsation” du nombre de particules */
@keyframes pulseParticles {
  0%, 100% { opacity: 0.2; background-size: 70px 70px; }  /* peu de particules */
  50% { opacity: 0.5; background-size: 30px 30px; }       /* beaucoup de particules */
}


/* Container principal */
.shop-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  gap: 30px;
}

/* Sidebar */
.sidebar {
  width: 200px;
  border-right: 1px solid #ddd;
  padding-right: 20px;
}

.sidebar h2 {
  margin-top: 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin-bottom: 10px;
}

.sidebar ul li button {
  width: 100%;
  padding: 10px;
  border: none;
  background: #f0f0f0;
  cursor: pointer;
  font-size: 16px;
  text-align: left;
}

.sidebar ul li button:hover {
  background: #ddd;
}

/* Produits */
.product-list {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.product-item {
  width: 250px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  background: #fff;
  transition: 0.3s;
}

.product-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.product-item img {
  width: 100%;
  border-radius: 8px;
}

.product-item h2 {
  margin: 10px 0 0 0;
}

/* Responsive */
@media (max-width: 768px) {
  .shop-container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
  }
  .product-list {
    justify-content: center;
  }
}
/* Header minimaliste avec logo et nom */
header.site-header {
    display: flex;
    align-items: left;
    padding: 10px 20px;
    background: linear-gradient(to right, #3290FC, #8CB1FF);
}

header .header-left {
    display: flex;
    align-items: left;
    gap: 10px;
}

header .site-name {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

header .logo {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

/* ===== Corps de la page ===== */
.about-page {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #3290FC 20%, #8CB1FF 80%);
  color: #1a1a1a;
}

/* ===== Contenu principal ===== */
.about-content {
  max-width: 700px;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
}

.about-content h1 {
  font-size: 32px;
  color: black;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 18px;
  line-height: 1.6;
  color: black;
  margin-bottom: 20px;
}

/* ===== Lien retour ===== */
.back-link {
  display: inline-block;
  padding: 10px 15px;
  background: #3290FC;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.back-link:hover {
  background: #1a66cc;
}





/* Footer centré */
.site-footer {
    text-align: center;       /* centre le texte horizontalement */
    padding: 20px;
    border-top: 1px solid #eee;
    margin-top: 40px;
    font-size: 14px;
    color: #333;
}


/* Container principal centré */
.product-page {
  display: flex;               /* met la vidéo et le texte côte à côte */
  align-items: flex-start;     /* aligne en haut */
  gap: 40px;                   /* espace entre vidéo et texte */
  max-width: 900px;            /* largeur max du bloc central */
  margin: 40px auto;           /* centrer le bloc sur la page */
  justify-content: center;     /* centre les enfants horizontalement */
  text-align: left;            /* texte aligné à gauche du bloc texte */
}

/* Galerie vidéo à gauche */
.product-gallery {
  flex-shrink: 0;              /* empêche la vidéo de rétrécir */
}

.product-gallery video {
  width: 300px;                /* largeur de la vidéo */
  max-width: 100%;             /* responsive */
  border-radius: 10px;         /* coins arrondis */
  display: block;              /* évite l’inline par défaut */
}

/* Infos produit à droite */
.product-info {
  flex: 1;                     /* prend le reste de l’espace */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Bouton commission */
.buy-btn {
  display: inline-block;       /* prend seulement la largeur du texte */
  padding: 10px 20px;          /* espace autour du texte */
  background: #3290FC;         /* couleur du bouton */
  color: #fff;                 /* texte blanc */
  border-radius: 6px;          /* coins arrondis */
  text-decoration: none;       /* supprime le soulignement */
  text-align: center;           /* centre le texte à l’intérieur */
  font-weight: bold;
  transition: 0.3s;
  width: auto;                  /* ne pas prendre toute la largeur */
  max-width: 100%;              /* responsive si bloc trop petit */
}

.buy-btn:hover {
  background: #1a66cc;          /* effet au survol */
}
