/* === FORMATION PAGE === */

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.back-btn:hover {
  color: white;
}

.formation-main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* === BLOC SECTION === */
.bloc-section {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  animation: fadeSlide 0.8s ease-out;
}

/* === BLOC HEADERS === */
.bloc-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem 2rem;
  color: white;
  text-align: left;
}

.bloc-header h2 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bloc-header p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
}

.bloc-support {
  background: linear-gradient(135deg, #007acc, #005fa3);
}

.bloc-admin {
  background: linear-gradient(135deg, #27ae60, #1e8449);
}

.bloc-cyber {
  background: linear-gradient(135deg, #c0392b, #96281b);
}

.bloc-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* === PROCEDURE LIST === */
.procedure-list {
  padding: 0.5rem 0;
}

.procedure-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
  gap: 1rem;
}

.procedure-item:last-child {
  border-bottom: none;
}

.procedure-item:hover {
  background: #f8fbff;
}

.procedure-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  flex: 1;
}

.pdf-icon {
  font-size: 1.4rem;
  color: #c0392b;
  flex-shrink: 0;
}

.procedure-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #333;
}

.procedure-meta {
  display: block;
  font-size: 0.78rem;
  color: #999;
  margin-top: 0.15rem;
}

/* === BOUTON PDF === */
.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #007acc;
  color: #007acc;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-pdf:hover {
  background: #007acc;
  color: white;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .bloc-header {
    padding: 1.2rem 1.2rem;
  }

  .bloc-header p {
    font-size: 0.95rem;
  }

  .procedure-item {
    padding: 0.9rem 1.2rem;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .procedure-title {
    font-size: 0.85rem;
  }

  .btn-pdf {
    font-size: 0.78rem;
    padding: 0.35rem 0.8rem;
  }
}