/* Variables globales */
:root {
  --primary-color: #478ac9;
  --secondary-color: #3a0ca3;
  --accent-color: #4361ee;
  --text-color: #212529;
  --light-bg: #f8f9fa;
  --dark-bg: #212529;
  --custom-color-2: #4361ee;
  --custom-color-3: #3a0ca3;
  --custom-color-4: #212529;
  --custom-color-6: #478ac9;
}

/* Styles généraux */
body {
  font-family: "Roboto", "Open Sans", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

/* Section Hero */
.hero-section {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  padding: 20px 20px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}

/* BLOCS DE TEXTE */
.hero-text-block {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  padding: 40px 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0; /* invisible au départ */
  transform: translateY(40px);
  animation: fadeSlideUp 1s forwards;
}
.hero-text-block:nth-child(1) {
  animation-delay: 1.75s; /* bloc 1 après les titres */
}

.hero-text-block:nth-child(2) {
  animation-delay: 2s; /* bloc 2 ensuite */
}

/* ANIMATIONS KEYFRAMES */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-text-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3a0ca3, #4361ee);
}

.hero-text-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* TITRES */
.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #3a0ca3, #4361ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1s forwards;
  animation-delay: 0.3s; /* DSM TEAM en premier */
}

.hero-title-sub {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #6a0dad, #4361ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1s forwards;
  animation-delay: 1.3s; /* sous-titre ensuite */
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  color: #3a0ca3;
  margin-bottom: 25px;
  line-height: 1.6;
  position: relative;
  padding-left: 10px;
  border-left: 4px solid #3a0ca3; /* barre DSM à gauche */
}

/*centre de h1 methode mobilsé*/

#sec-b014 .titles {
  display: flex;
  justify-content: center; /* centre horizontalement */
  align-items: center; /* centre verticalement si la section a une hauteur définie */
  width: 100%;
  margin-bottom: 40px; /* espace entre le titre et les blocs en dessous */
}

#sec-b014 .titles h2.hero-title-sub {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #3a0ca3, #4361ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0; /* supprime les marges par défaut */
}

/* LISTES */
.hero-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.hero-features li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 18px;
  line-height: 1.6;
  color: #333;
  font-size: 1.05rem;
  font-weight: 500;
}

.hero-features li::before {
  content: "★"; /* icône plus moderne que le check */
  position: absolute;
  left: 0;
  top: 0;
  color: #4361ee;
  font-weight: bold;
  font-size: 1.2rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.hero-features li:hover::before {
  transform: scale(1.3) rotate(10deg);
  color: #3a0ca3;
}

/* Boutons CTA */
.cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.cta-button.primary {
  background-color: var(--custom-color-2);
  color: white;
}

.cta-button.primary:hover {
  background-color: #3a56d4;
}

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

.cta-button.secondary:hover {
  background-color: #2c0b7e;
}

/* Section Audience */
.audience-section {
  padding: 40px 0;
}

.audience-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.audience-card {
  background: #3a0ca3;
  border-radius: 12px;
  border-radius: 8px;
  overflow: hidden;

  flex: 1;
  min-width: 300px;
  max-width: 380px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.audience-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.audience-title {
  color: #fff;
  font-size: 1.3rem;
  padding: 15px 20px 5px;
  margin: 0;
}

.audience-description {
  padding: 0 20px 20px;
  margin: 0;
  color: white;
}

/* Section Features */
.features-section {
  padding: 20px 0;
}

.features-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  gap: 30px;
}

.feature-block {
  flex: 1;
  min-width: 300px;
}

.feature-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.feature-title {
  color: var(--custom-color-4);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-subtitle {
  color: var(--custom-color-4);
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-minititle {
  color: var(--custom-color-4);
  font-weight: 700;
  margin: 15px 0 10px;
}

.feature-list {
  list-style-type: none;
  padding-left: 0;
}

.feature-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.feature-list li:before {
  content: "✓";
  color: #4caf50;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Section Reasons */
.reasons-section {
  padding: 20px 0;
  background-color: #f5f5f5;
}

.reasons-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  gap: 40px;
}

.reasons-block {
  flex: 1;
  min-width: 300px;
}

.reasons-title {
  color: var(--custom-color-4);
  text-align: center;
  margin-bottom: 25px;
}

.reasons-list {
  list-style-type: none;
  padding-left: 0;
}

.reasons-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.reasons-list li:before {
  content: "✓";
  color: #4caf50;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

/* Section Stats */

.stats-section {
  text-align: center;
  background: linear-gradient(135deg, #6a0dad 0%, #d8b3ff 100%);
  color: white;
  padding: 40px;
  border-radius: 15px;
  margin-top: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);

  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 5px;
  opacity: 0.9;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.cta-button {
  background: white;
  color: #3a0ca3;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-content {
    flex-direction: column;
  }

  .features-container,
  .reasons-container {
    flex-direction: column;
  }

  .audience-card {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-highlight {
    font-size: 1.8rem;
  }

  .stats-container {
    flex-direction: column;
    align-items: center;
  }

  .stat-item {
    width: 100%;
    max-width: 300px;
  }
}
