/* ============================================
   APPSM - PAGE PLAIDOYER & IMPACT PREMIUM
   Fichier: css/plaidoyer.css
============================================ */

/* ============================================
   1. SECTIONS
============================================ */
.plaid-section {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.plaid-section-white {
  background: var(--white);
}

.plaid-section-gray {
  background: linear-gradient(135deg, #ede7f2 0%, #e4daee 100%);
}

/* Décorations */
.plaid-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 103, 42, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.plaid-section-gray::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(91, 45, 142, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* ============================================
   2. SECTION 1 : PLAIDOYER
============================================ */
.plaid-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* TEXTE */
.plaid-text .section-label {
  color: var(--orange);
  justify-content: flex-start;
}

.plaid-text .section-label::before {
  display: none;
}

.plaid-text .section-title {
  text-align: left;
  font-size: 36px;
}

.plaid-line {
  width: 80px;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--orange) 0%,
    var(--orange-light) 100%
  );
  border-radius: 3px;
  margin: 15px 0 25px;
  box-shadow: 0 3px 10px rgba(232, 103, 42, 0.4);
}

.plaid-para {
  font-size: 16px;
  line-height: 1.9;
  color: var(--gray-600);
  margin-bottom: 18px;
}

.plaid-para strong {
  color: var(--purple);
  font-weight: 700;
}

/* POINTS PLAIDOYER */
.plaid-points {
  margin-top: 35px;
}

.plaid-points-title {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.plaid-points-title i {
  color: var(--orange);
  font-size: 22px;
}

.plaid-point {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
  background: var(--white);
  padding: 22px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--orange);
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(74, 30, 92, 0.06);
  position: relative;
  overflow: hidden;
}

.plaid-point::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(232, 103, 42, 0) 0%,
    rgba(232, 103, 42, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.plaid-point:hover::before {
  opacity: 1;
}

.plaid-point:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(74, 30, 92, 0.15);
  border-left-color: var(--purple);
}

.plaid-point-icon {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  background: linear-gradient(
    135deg,
    var(--purple) 0%,
    var(--purple-light) 100%
  );
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(91, 45, 142, 0.3);
  transition: all 0.5s ease;
  z-index: 2;
}

.plaid-point:hover .plaid-point-icon {
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-dark) 100%
  );
  transform: rotate(-10deg) scale(1.1);
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(232, 103, 42, 0.4);
}

.plaid-point-text {
  position: relative;
  z-index: 2;
  flex: 1;
}

.plaid-point-text h4 {
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px 0;
  transition: color 0.3s ease;
}

.plaid-point:hover .plaid-point-text h4 {
  color: var(--purple);
}

.plaid-point-text p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* IMAGE */
.plaid-image {
  position: sticky;
  top: 150px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(74, 30, 92, 0.3);
  border: 5px solid var(--white);
  transition: all 0.5s ease;
}

.plaid-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(91, 45, 142, 0.15) 0%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.plaid-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(232, 103, 42, 0.4);
}

.plaid-image img {
  width: 100%;
  height: auto;
  min-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.plaid-image:hover img {
  transform: scale(1.08);
}

/* Badge sur l'image */
.plaid-image-badge {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-dark) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  box-shadow: 0 10px 25px rgba(232, 103, 42, 0.5);
  z-index: 3;
  border: 3px solid var(--white);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ============================================
   3. SECTION 2 : NOTRE IMPACT
============================================ */
.impact-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 2;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  max-width: 950px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 2;
}

/* CARTE IMPACT */
.impact-card {
  background: var(--white);
  padding: 35px 40px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 10px 30px rgba(74, 30, 92, 0.1);
  border-left: 5px solid var(--orange);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(91, 45, 142, 0) 0%,
    rgba(232, 103, 42, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.impact-card:hover::before {
  opacity: 1;
}

.impact-card:hover {
  transform: translateX(15px);
  box-shadow: 0 20px 45px rgba(232, 103, 42, 0.2);
  border-left-color: var(--purple);
}

/* Numéro filigrane */
.impact-card-number {
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: "Poppins", sans-serif;
  font-size: 140px;
  font-weight: 900;
  color: rgba(91, 45, 142, 0.06);
  line-height: 1;
  pointer-events: none;
  transition: all 0.4s ease;
}

.impact-card:hover .impact-card-number {
  color: rgba(232, 103, 42, 0.15);
  transform: scale(1.1) rotate(-5deg);
}

/* Icône */
.impact-card-icon {
  flex-shrink: 0;
  width: 75px;
  height: 75px;
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-dark) 100%
  );
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(232, 103, 42, 0.4);
  transition: all 0.5s ease;
  position: relative;
  z-index: 2;
}

.impact-card:hover .impact-card-icon {
  background: linear-gradient(
    135deg,
    var(--purple) 0%,
    var(--purple-light) 100%
  );
  transform: rotate(360deg) scale(1.1);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(91, 45, 142, 0.5);
}

/* Contenu */
.impact-card-content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.impact-card-content h3 {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.impact-card:hover .impact-card-content h3 {
  color: var(--purple);
}

.impact-card-content p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0;
}

/* Flèche */
.impact-card-arrow {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background: rgba(91, 45, 142, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 16px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.impact-card:hover .impact-card-arrow {
  background: var(--orange);
  color: var(--white);
  transform: translateX(8px);
  box-shadow: 0 5px 15px rgba(232, 103, 42, 0.4);
}

/* NOTE EN BAS */
.impact-note {
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 30px;
  background: linear-gradient(
    135deg,
    rgba(91, 45, 142, 0.08) 0%,
    rgba(232, 103, 42, 0.05) 100%
  );
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(91, 45, 142, 0.2);
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.impact-note-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--purple) 0%,
    var(--purple-light) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(91, 45, 142, 0.3);
}

.impact-note p {
  flex: 1;
  min-width: 250px;
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

.impact-note p strong {
  color: var(--purple);
  font-weight: 700;
}

.impact-note-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-dark) 100%
  );
  color: var(--white);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(232, 103, 42, 0.4);
  font-family: "Poppins", sans-serif;
  flex-shrink: 0;
}

.impact-note-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(232, 103, 42, 0.5);
}

/* ============================================
   4. RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .plaid-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .plaid-image {
    position: relative;
    top: auto;
    max-width: 600px;
    margin: 0 auto;
  }

  .plaid-text .section-title {
    text-align: center;
    font-size: 30px;
  }

  .plaid-text .section-label {
    justify-content: center;
  }

  .plaid-line {
    margin-left: auto;
    margin-right: auto;
  }

  .plaid-para {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .plaid-section {
    padding: 60px 0;
  }

  .plaid-image img {
    min-height: 300px;
  }

  .plaid-text .section-title {
    font-size: 26px;
  }

  .plaid-points-title {
    font-size: 18px;
    justify-content: center;
  }

  .impact-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 25px;
    gap: 20px;
  }

  .impact-card-arrow {
    display: none;
  }

  .impact-card-number {
    font-size: 100px;
    top: -15px;
    right: 15px;
  }

  .impact-note {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .plaid-point {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .plaid-para {
    text-align: left;
  }
}
