﻿/* presentation_contenu.css */

/* ============================ */
/*       VARIABLES GLOBALES     */
/* ============================ */
:root {
  --primary-color: #9579f2;       /* Violet principal */
  --secondary-color: #6e4fce;     /* Violet foncé / secondaire */
  --background-color: #1c1c1c;    /* Fond sombre */
  --text-color: #ffffff;          /* Texte en blanc */
  --highlight-color: #f7c945;     /* Jaune doré pour les labels */
  --button-gradient: linear-gradient(to right, #9579f2, #6e4fce);
  --button-hover-gradient: linear-gradient(to right, #6e4fce, #9579f2);
  --primary-cta-color: #28a745;   /* Vert pour bouton CTA principal */
  --secondary-cta-color: #17a2b8; /* Bleu pour bouton CTA secondaire */
}

/* Le conteneur des particules */
/* On le place en arrière-plan, sur toute la page */
#tsparticles {
    position: fixed;  /* ou absolute, selon ton besoin */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;      /* Derrière le contenu principal */
    overflow: hidden;
}


/* ============================ */
/*        STYLE GLOBAL          */
/* ============================ */
body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  padding: 20px;
  text-align: center;
}

.container {
  max-width: 1200px; /* Largeur du conteneur principal */
  margin: 0 auto;
  padding: 20px;
  overflow-x: hidden; /* Empêche le débordement horizontal */
}

/* ============================ */
/*        BOUTON RETOUR         */
/* ============================ */
.back-link {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--primary-color);
  text-decoration: none;
  font-family: 'Bebas Neue', Arial, sans-serif;
  padding: 10px 20px;
  border-radius: 50px;
  background: #222;
  border: 1px solid var(--primary-color);
  transition: background 0.3s, color 0.3s;
}

.back-link:hover {
  text-decoration: underline;
  background: #333;
}

/* ============================ */
/*       BARRE VIOLETTE        */
/* ============================ */
.top-bar {
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #9579f2, #6e4fce);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

/* ============================ */
/*   DÉGRADÉ BAS DE PAGE       */
/* ============================ */
.bottom-gradient {
  width: 100%;
  height: 120px;
  background: linear-gradient(
    to top,
    rgba(149, 121, 242, 0.2),
    rgba(28, 28, 28, 0)
  );
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9998;
  pointer-events: none;
}


/* ============================ */
/*            LOGO              */
/* ============================ */
.logo {
  width: 350px;
  height: auto;
  margin: 10px auto;
  background: transparent;
}

/* ============================ */
/*       TITRE PRINCIPAL        */
/* ============================ */
.title {
  font-family: 'Bebas Neue', cursive;
  font-size: 36px;
  background: var(--button-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 10px 0;
  animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.separator {
  height: 2px;
  width: 80%;
  margin: 10px auto 30px auto;
  background: var(--button-gradient);
  border: none;
}

/* ============================ */
/*       SECTION VIDÉO          */
/* ============================ */
.video-section {
  margin-bottom: 40px;
  position: relative;
  padding: 20px;
  background: rgba(149, 121, 242, 0.1);  /* Légère teinte violette */
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.video-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
  margin: 20px 0 10px 0;
  color: var(--highlight-color);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.section-description {
  font-size: 16px;
  margin-bottom: 20px;
  color: #bbb;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* Ratio 16:9 */
  height: 0;
  overflow: hidden;
  border: 5px solid var(--primary-color);
  border-radius: 15px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
  background: linear-gradient(135deg, rgba(149,121,242,0.2), rgba(110,79,206,0.2));
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

/* ============================ */
/*    SECTION POINTS FORTS      */
/* ============================ */
.highlights {
  margin-bottom: 40px;
}

.highlight-list {
  list-style: none;
  padding: 0;
  max-width: 800px; /* Augmenté pour mieux s'adapter aux icônes et au texte */
  margin: 0 auto;
  text-align: left;
}

.highlight-list li {
  background: #2a2a2a;
  margin: 10px 0;
  padding: 15px 20px; /* Augmenté pour mieux accueillir les icônes */
  border-radius: 8px;
  font-size: 16px;
  color: #ccc;
  display: flex;
  align-items: center;
  transition: background 0.3s, transform 0.3s;
}

.highlight-list li:hover {
  background: #3a3a3a;
  transform: translateX(5px);
}

.highlight-list li i {
  margin-right: 12px; /* Augmenté pour mieux espacer l'icône du texte */
  color: var(--primary-color);
  font-size: 20px; /* Agrandi les icônes pour meilleure visibilité */
}

/* ============================ */
/*    SECTION TÉMOIGNAGES       */
/* ============================ */
.testimonials-section {
  margin-bottom: 40px;
}

.testimonials-section .testimonial {
  background: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: background 0.3s, transform 0.3s;
}

.testimonials-section .testimonial:hover {
  background: #3a3a3a;
  transform: translateY(-3px);
}

.testimonials-section .testimonial p {
  font-size: 16px;
  color: #ccc;
  font-style: italic;
}

.testimonials-section .testimonial strong {
  color: var(--highlight-color);
}

.stars {
  color: #FFD700; /* Or */
  margin-bottom: 10px;
  font-size: 18px;
}

.stars i {
  margin-right: 2px;
}

/* ============================ */
/*  SECTION CAROUSEL VEDETTE    */
/* ============================ */
.carousel-section {
  margin-bottom: 40px;
}

.carousel-section .swiper-container {
  width: 100%;
  padding: 20px 0;
}

.carousel-section .swiper-slide {
  box-sizing: border-box;
  padding: 10px;
  display: flex; /* Utilisation de Flexbox pour centrer */
  justify-content: center; /* Centre horizontalement */
  align-items: center; /* Centre verticalement */
}

.carousel-item {
  display: flex; /* Utilisation de Flexbox */
  justify-content: center; /* Centre horizontalement */
  align-items: center; /* Centre verticalement */
  width: 100%;
  height: 100%;
}

.carousel-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* Assure que l'image est entièrement visible */
  border-radius: 12px;
}

/* ============================ */
/*    SECTION ESSAI GRATUIT     */
/* ============================ */
.trial-section {
  margin-bottom: 40px;
  background: rgba(149, 121, 242, 0.1);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.trial-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

.trial-section .section-title {
  color: var(--highlight-color);
}

.trial-section .section-description {
  color: #bbb;
}

.trial-section .cta-button {
  background: var(--button-gradient);
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 20px;
  font-family: 'Bebas Neue', cursive;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.trial-section .cta-button i {
  margin-right: 10px;
  font-size: 1.2em;
}

.trial-section .cta-button:hover {
  background: var(--button-hover-gradient);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* ============================ */
/*          SECTION CTA         */
/* ============================ */
.cta {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.cta .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  background: var(--button-gradient);
  color: #fff;
  font-size: 20px;
  font-family: 'Bebas Neue', cursive;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  border: none;
}

.cta .cta-button.primary-cta {
  background: var(--button-gradient);
}

.cta .cta-button.secondary-cta {
  background: var(--secondary-cta-color);
}

.cta .cta-button i {
  margin-right: 10px;
  font-size: 1.2em;
}

.cta .cta-button:hover {
  background: var(--button-hover-gradient);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* ============================ */
/*          SWIPER CSS          */
/* ============================ */
/* Masquer visuellement les flèches et la pagination sans utiliser display: none */
.swiper-button-next,
.swiper-button-prev,
.swiper-pagination {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

/* ============================ */
/*    SECTION POINTS FORTS      */
/* ============================ */
.highlights {
  margin-bottom: 40px;
}

.highlight-list {
  list-style: none;
  padding: 0;
  max-width: 800px; /* Augmenté pour mieux s'adapter aux icônes et au texte */
  margin: 0 auto;
  text-align: left;
}

.highlight-list li {
  background: #2a2a2a;
  margin: 10px 0;
  padding: 15px 20px; /* Augmenté pour mieux accueillir les icônes */
  border-radius: 8px;
  font-size: 16px;
  color: #ccc;
  display: flex;
  align-items: center;
  transition: background 0.3s, transform 0.3s;
}

.highlight-list li:hover {
  background: #3a3a3a;
  transform: translateX(5px);
}

.highlight-list li i {
  margin-right: 12px; /* Augmenté pour mieux espacer l'icône du texte */
  color: var(--primary-color);
  font-size: 20px; /* Agrandi les icônes pour meilleure visibilité */
}

/* ============================ */
/*         RESPONSIVITÉ         */
/* ============================ */
@media (max-width: 768px) {
  .title {
    font-size: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .highlight-list li {
    font-size: 14px;
    padding: 10px 15px; /* Réduit le padding pour les petits écrans */
  }

  .carousel-section .swiper-slide {
    /* Ajustements si nécessaire */
  }

  .cta-button {
    font-size: 18px;
    padding: 12px 25px;
  }

  .video-wrapper {
    border: 3px solid var(--primary-color);
  }

  /* Ne pas utiliser display: none; pour préserver le swipe */
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination {
    opacity: 0;
    pointer-events: none;
  }

  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }

  .testimonials-section .testimonial p {
    font-size: 14px;
  }

  .trial-section .section-title {
    font-size: 24px;
  }

  .trial-section .section-description {
    font-size: 14px;
  }

  .cta {
    flex-direction: column;
  }

  .cta .cta-button.secondary-cta {
    width: 80%;
  }

  /* Centrage des images sur petits écrans */
  .carousel-item img {
    max-height: 150px; /* Ajustez cette valeur selon vos besoins */
  }

  /* Ajustements pour la section "Points Forts" sur petits écrans */
  .highlight-list {
    max-width: 100%;
  }

  .highlight-list li i {
    font-size: 18px; /* Réduit la taille des icônes sur petits écrans */
    margin-right: 8px;
  }
}

