/* ===== STYLE GLOBAL ===== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* ===== HEADER ===== */
header {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

header .highlight {
  font-weight: bold;
  color: #FFD700;
}

/* ===== CATALOGUE ===== */
.catalogue {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 40px;
}

/* ===== CARDS ===== */
.formation-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.formation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.formation-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.formation-content {
  padding: 20px;
}

.formation-content h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #2E7D32;
}

.formation-content p {
  margin: 8px 0;
}

.formation-content a {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: #4CAF50;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.formation-content a:hover {
  background: #2E7D32;
}

/* ===== FOOTER ===== */
footer {
  background: #2E7D32;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
}

footer h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

footer p {
  max-width: 700px;
  margin: 0 auto 20px auto;
  font-size: 1rem;
}

.footer-btn {
  display: inline-block;
  padding: 12px 22px;
  background: #FFD700;
  color: #2E7D32;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.footer-btn:hover {
  background: #FFC107;
  transform: scale(1.05);
}
