/* ------------------------------
   Variables globales (Base)
------------------------------ */
:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f7f9ff;
  --color-dark: #1C2638;
  --color-text: #1C2638;
  --color-muted: #6b7280;

  --color-primary: #1C2638;       /* Violet principal #7357ff */
  --color-primary-alt: #2a3550;   /* Variante pour gradients #6b64ff */
  --color-secondary: #50a9ff; 
  --color-green: #31d58d;
  --color-green-dark: #28be7c;

  --radius-pill: 999px;

  --font-main: 'Poppins', sans-serif;
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* ------------------------------
   Body
------------------------------ */
body {
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  background: var(--color-bg-soft);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ------------------------------
   Container utilitaire
------------------------------ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1rem;
  text-align: center;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding: 2rem 1rem;
    max-width: 100%;
  }
}


/* ------------------------------
   Header Sticky
------------------------------ */
.main-header {
  background: var(--color-bg);
  box-shadow: var(--shadow-soft);
  position: relative;
  top: 0;
  z-index: 999;
  padding: 0.6rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-dark);
}

.logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu a {
  margin-left: 1.2rem;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.burger-menu {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-dark);
  cursor: pointer;
  z-index: 1001;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: white;
  position: absolute;
  top: 100%;
  right: 1rem;
  box-shadow: var(--shadow-hover);
  border-radius: 12px;
  padding: 1rem;
  z-index: 1000;
}

.mobile-nav a {
  padding: 0.5rem 0;
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 600;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .burger-menu {
    display: block;
  }

  .main-header {
    position: relative;
  }
}



/* ------------------------------
   Hero Section
------------------------------ */
.hero-section {
  position: relative;
  background: transparent;
  padding: 4rem 1rem;
  overflow: hidden;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0.8rem 1rem 4rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-dark);
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
  z-index: 2;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-alt));
  color: white;
  font-weight: 800;
  font-size: 3.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.hero-badge .emoji {
  font-size: 2rem;
}

.hero-badge .gradient-text {
  color: white;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 750px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  color: var(--color-dark);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  font-weight: 700;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: var(--color-green);
  color: white;
  box-shadow: 0 8px 24px rgba(49, 213, 141, 0.35);
}

.btn-primary:hover {
  background: #28be7c;
}

.btn-outline {
  border: 2px solid var(--color-dark);
  color: var(--color-dark);
  background: white;
}

.btn-outline:hover {
  background: var(--color-dark);
  color: white;
}

.hero-rating {
  font-size: 1.1rem;
  color: var(--color-dark);
  font-weight: 700;
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
  }

  .hero-badge {
    font-size: 2.4rem;
    padding: 0.6rem 1.2rem;
  }

  .hero-badge .emoji {
    font-size: 1.5rem;
  }

  .hero-badge .gradient-text {
    font-size: 2.4rem;
  }

  .video-background video {
    min-height: 100%;
  }
}

/* Video Background */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.75);
  z-index: 2;
}

.hero-bottom-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  z-index: 3;
  pointer-events: none;
}

/* ------------------------------
   Logos Partenaires (défilement)
------------------------------ */
.partner-logos-section {
  background: var(--color-bg);
  padding: 3rem 1rem;
  overflow: hidden;
}

.logos-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.logos-track {
  display: flex;
  gap: 3rem;
  animation: logosScroll 30s linear infinite;
  align-items: center;
  width: max-content;
}

.logos-track a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logos-track img {
  height: 60px;
  filter: brightness(0) saturate(100%) invert(9%) sepia(5%) saturate(215%) hue-rotate(185deg) brightness(91%) contrast(90%);
  transition: filter 0.3s ease;
}

.logos-track a:hover img {
  filter: none;
}

@keyframes logosScroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ------------------------------
   Bloc Statistiques Premium
------------------------------ */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 1rem;
  background: var(--color-bg);
}

.stat-card {
  display: flex;
  align-items: center;
  background: #f9f9ff;
  padding: 1.5rem 2rem;
  border-radius: 20px;
  min-width: 280px;
  max-width: 320px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-circle {
  min-width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #ccc;
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.2rem;
}

.stat-sub {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.violet .stat-circle {
  background: #7f7bfd;
}

.coral .stat-circle {
  background: #ff7e7e;
}

.orange .stat-circle {
  background: #faaa5a;
}

@media (max-width: 768px) {
  .stats-grid {
    flex-direction: column;
    align-items: center;
  }

  .stat-card {
    width: 100%;
    max-width: 90%;
  }
}













/* ------------------------------
   Section Prochain Événement
------------------------------ */
.event-section {
  background: var(--color-bg);
  padding: 3rem 1rem;
}

/* Bannière violet dégradé */
.event-banner {
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-alt));
  border-radius: 32px;
  padding: 2rem;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(127, 123, 253, 0.15);
  max-width: 1000px;
  margin: 0 auto;
}

/* Badge */
.event-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 1rem;
}

/* Titre */
.event-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

/* Description */
.event-desc {
  font-size: 1rem;
  color: #f3f3ff;
  margin-bottom: 1.2rem;
}

/* Bouton blanc */
.btn-white {
  background: #ffffff;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-white:hover {
  background: #f3f3ff;
  color: #2a3550;
  border-color: #f3f3ff;
}

/* ------------------------------
   Responsive
------------------------------ */
@media (max-width: 768px) {
  .event-banner {
    padding: 1.5rem 1rem;
  }

  .event-title {
    font-size: 1.3rem;
  }

  .event-desc {
    font-size: 0.95rem;
  }
}





/* ------------------------------
   Section Présentation Concept + Déroulement
------------------------------ */
.section-advantages {
  background: var(--color-bg);
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.concept-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}

.concept-content {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  z-index: 2;
  position: relative;
}

.block-concept h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.block-concept p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.block-concept ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.block-concept ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  color: var(--color-dark);
}

.block-concept ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: bold;
}

/* Badge violet */
.gradient-badge {
  display: inline-block;
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-alt));
  color: #ffffff;
  font-weight: 800;
  font-size: 1.3rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 12px rgba(107, 100, 255, 0.2);
}

/* Bouton vert */
.btn-green {
  background: var(--color-green);
  color: #ffffff;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(49, 213, 141, 0.3);
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
  margin: 2rem auto 0 auto;
}

.btn-green:hover {
  background: #28be7c;
}

/* ------------------------------
   Mockup fixé à droite (apparition conditionnelle)
------------------------------ */
.concept-mockup-fixed {
  position: fixed;
  top: 100px;
  right: 0;
  width: 420px;
  max-height: 90vh;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.concept-mockup-fixed.visible {
  opacity: 1;
  transform: translateX(0);
}

.concept-mockup-fixed img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

/* ------------------------------
   Responsive
------------------------------ */
@media (max-width: 1024px) {
  .concept-container {
    flex-direction: column;
    align-items: center;
  }

  .concept-content {
    flex: 1 1 100%;
    position: relative;
    z-index: 2;
  }

  .concept-mockup-fixed {
    display: none;
  }

  .block-concept h2 {
    font-size: 2rem;
  }
}






/* ------------------------------
   Section Témoignages
------------------------------ */
.testimonial-section {
  background: var(--color-bg);
  padding: 4rem 1rem;
  text-align: center;
  position: relative;
}

.testimonial-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 2.5rem;
}

.adopte-badge {
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-alt));
  color: #ffffff;
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  padding: 0.3rem 1.2rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin: 0 0.4rem;
}

/* Grille responsive */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}


.testimonial-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.testimonial-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 0;
}

/* Nouvelle carte en flex */
.testimonial-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-alt));
  color: #ffffff;
  border-radius: 25px;
  padding: 2rem;
  width: 340px;
  flex-shrink: 0;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  gap: 1rem;
}

/* Contenu du témoignage (à gauche) */
.testimonial-content {
  flex: 1;
}

/* Image utilisateur (à droite) */
.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

/* Texte & auteur */
.testimonial-text {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  min-height: 80px;
}

.testimonial-user {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.testimonial-user span {
  font-weight: 400;
  font-size: 0.9rem;
}

/* Bouton lecture */
.play-button {
  margin-top: 1rem;
  background: #ffffff;
  color: var(--color-primary);
  border: none;
  font-size: 1.4rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Flèches désactivées */
.carousel-arrow {
  display: none !important;
}

/* ------------------------------
   Responsive
------------------------------ */
@media (max-width: 768px) {
  .testimonial-track {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    width: 90%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .testimonial-content {
    text-align: center;
    padding: 0;
  }

  .testimonial-img {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  .play-button {
    margin: 1rem auto 0 auto;
  }
}

/* ------------------------------
   Popup Vidéo
------------------------------ */
.video-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
}

.video-modal.active {
  display: flex;
}

.video-content {
  position: relative;
  background: #ffffff;
  padding: 1rem;
  border-radius: 10px;
  max-width: 800px;
  width: 90%;
}

.video-content iframe {
  width: 100%;
  height: 450px;
  border-radius: 10px;
}

.video-close {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 2rem;
  background: #ffffff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}





/* ------------------------------
   FAQ
------------------------------ */
.faq-section {
  max-width: 850px;
  margin: auto;
  padding: 4rem 1rem;
  color: var(--color-dark);
}

.faq-header h2 {
  font-size: 2.6rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 3rem;
}

.badge-flash {
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-alt));
  color: #ffffff;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 2.2rem;
  font-weight: 900;
  display: inline-block;
  vertical-align: middle;
}

.faq-item {
  border-top: 1px solid var(--color-muted);
  padding: 1.5rem 0;
}

.faq-question {
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  text-align: left;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer a {
  color: var(--color-dark);
  text-decoration: underline;
  font-weight: 600;
}





/* ------------------------------
   Galerie Photo
------------------------------ */
.photo-gallery-section {
  background: var(--color-bg);
  padding: 4rem 1rem;
  text-align: center;
  overflow: hidden;
}

.gallery-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  grid-auto-rows: auto;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.gallery-grid img.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img:nth-child(n+5) {
    display: none; /* max 4 photos visibles sur mobile */
  }
}

.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}








.main-footer {
  background: #f7f9ff;
  padding: 3rem 1rem;
  text-align: center;
  font-family: var(--font-main);
  color: var(--color-text);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.footer-cta {
  text-align: center;
}

.footer-links {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.footer-links a {
  color: var(--color-muted);
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-dark);
}

.divider {
  color: #ccc;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer-socials a img {
  width: 28px;
  height: 28px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-socials a:hover img {
  opacity: 1;
}
