/* 📄 STYLES SPÉCIFIQUES POUR LA PAGE PROGRAMME */

.hero-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-logo {
  max-width: 150px;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ACCORDÉONS */
.program-accordion {
  max-width: 1000px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.accordion-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  background: white;
  transition: all 0.2s ease;
  border-top: 2px solid #ccc;
}

.accordion-header:hover {
  background: #f8fafc;
  border-top-color: #62AD2B;
}

.accordion-header.active {
  background: white;
}

.accordion-picto {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.accordion-text {
  flex: 1;
}

.accordion-header h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: inherit;
}

.accordion-teaser {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
  font-style: italic;
  position: relative;
}


.accordion-header.active .accordion-teaser {
  color: #666;
}

.accordion-arrow {
  font-size: 1rem;
  color: #999;
  transition: transform 0.2s ease;
}

.accordion-header.active .accordion-arrow {
  transform: rotate(90deg);
}

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.accordion-content.open {
  padding: 1.5rem;
  max-height: none;
}

.accordion-content p {
  margin: 0;
  line-height: 1.6;
  color: #4a5568;
}

.hero {
  background: #f8fafc;
  color: #1a202c;
  padding: 6rem 0;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.hero h1 {
  color: #f0f4f8;
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Bannière avec image pour Programme */
.hero-programme {
  position: relative;
  background: none;
  color: #fff;
}
.hero-programme::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/etang2.png') center/cover no-repeat;
  filter: brightness(0.9);
}
.hero-programme::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.35) 100%);
}
.hero-programme .container { position: relative; z-index: 1; }
.hero-programme .hero-logo { display: none; }
.hero-programme h1 { color: #fff; text-shadow: 0 3px 10px rgba(0,0,0,0.6); }
.hero-programme .hero-banner { background: rgba(0,0,0,0.3); padding: 2rem 2.5rem; border-radius: 12px; }
@media (max-width: 768px) {
  .hero-programme h1 { font-size: 2.25rem; }
  .hero-programme .hero-banner { padding: 1.25rem 1.5rem; }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #4a5568;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  line-height: 1.5;
  font-weight: 600;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

.hero-title-black {
  color: #1a202c;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.tick-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.tick-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 3px solid #62AD2B;
  transition: all 0.2s ease;
}

.tick-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.tick-vert {
  color: #62AD2B;
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.tick-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  flex: 1;
}

/* ==============================================
   👨‍💼 SECTION PASCAL SERGENT
   ============================================== */

/* .pascal-section {
  background: white;
}

.pascal-section h2 {
  color: #212B79;
  text-align: center;
  margin-bottom: 2rem;
}

.pascal-content {
  max-width: 900px;
  margin: 0 auto;
}

.pascal-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 1.5rem;
  text-align: justify;
} */

/* ==============================================
   📊 SECTION COMPARAISON
   ============================================== */

.comparison-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
  position: relative;
}

.comparison-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98, 173, 43, 0.3), transparent);
}

.comparison-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.comparison-header h2 {
  color: #212B79;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.comparison-header p {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 2rem;
  font-style: italic;
  font-weight: 400;
}

.comparison-decorative-line {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #e74c3c, #62AD2B);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}

.comparison-decorative-line::after {
  content: 'VS';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  color: #212B79;
  font-weight: bold;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  border: 2px solid #212B79;
}

/* ==============================================
   💡 FORMAT PROBLÈME → SOLUTION
   ============================================== */

.program-simple {
  max-width: 1000px;
  margin: 0 auto;
}

.program-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 12px;
  border: 1px solid rgba(98, 173, 43, 0.2);
}

.problem-solution-pair {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 0;
}

.problem-card, .solution-card {
  flex: 1;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
}

.problem-card {
  border-top: 3px solid #d1d5db;
  background: linear-gradient(135deg, #f9fafb, #ffffff);
}

.solution-card {
  border-top: 3px solid #62AD2B;
  background: linear-gradient(135deg, #f0fdf4, #ffffff);
}

.problem-card:hover, .solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.problem-card h4, .solution-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.problem-card h4 {
  color: #374151;
}

.solution-card h4 {
  color: #1f2937;
}

.problem-card p, .solution-card p {
  color: #4a5568;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.problem-card p:last-child, .solution-card p:last-child {
  margin-bottom: 0;
}

.solution-card p strong {
  color: #374151;
  font-weight: 600;
}

.solution-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #62AD2B;
  min-width: 60px;
  position: relative;
}

/* ==============================================
   📋 AUTRES ENGAGEMENTS
   ============================================== */

.additional-solutions {
  margin-top: 4rem;
  text-align: center;
}

.additional-solutions h3 {
  color: #212B79;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.additional-solutions .solution-card {
  margin-bottom: 1.5rem;
  text-align: left;
  max-width: none;
}

/* ==============================================
   📥 SECTION TÉLÉCHARGEMENT
   ============================================== */

.download-section {
  background: #f8fafc;
  text-align: center;
}

.program-download {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(98, 173, 43, 0.2);
}

.program-download h2 {
  color: #212B79;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.program-download p {
  color: #64748b;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.program-download .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #62AD2B 0%, #4a8520 100%);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(98, 173, 43, 0.1);
  font-size: 1rem;
}

.program-download .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -3px rgba(98, 173, 43, 0.2);
}

.program-download .btn svg {
  fill: currentColor;
}

/* ==============================================
   📱 RESPONSIVE DESIGN
   ============================================== */

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }

  .comparison-header h2 {
    font-size: 1.8rem;
  }

  .comparison-header p {
    font-size: 1rem;
  }

  .problem-solution-pair {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .solution-arrow {
    transform: rotate(90deg);
    font-size: 2rem;
    margin: 0.5rem 0;
    min-width: auto;
    height: 40px;
  }

  .problem-card, .solution-card {
    padding: 1.5rem;
  }

  .problem-card h4, .solution-card h4 {
    font-size: 1.1rem;
  }

  .problem-card p, .solution-card p {
    font-size: 0.95rem;
  }

  .program-intro {
    padding: 1.5rem;
    font-size: 1rem;
  }

  .additional-solutions h3 {
    font-size: 1.5rem;
  }

  .program-download {
    padding: 2rem;
    margin: 0 1rem;
  }

  .program-download h2 {
    font-size: 1.5rem;
  }

  .program-download p {
    font-size: 1rem;
  }

  .program-download .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  .pascal-content {
    margin: 0 1rem;
  }

  .pascal-content p {
    text-align: left;
  }

  .hero-title-black {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

  .tick-list {
    max-width: 100%;
    gap: 0.75rem;
  }

  .tick-item {
    padding: 0.875rem;
    margin: 0 0.5rem;
  }

  .tick-item p {
    font-size: 0.95rem;
  }

  .tick-vert {
    font-size: 1.1rem;
    width: 18px;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
