/* === BASE === */
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f6f8;
  margin: 0;
  color: #222;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* === TITRES === */
h1 {
  font-size: 42px;
  text-align: center;
  margin: 0 0 24px;
  line-height: 1.1;
}

/* === TEXTES (GLOBAL !) === */
p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

/* centrage pour intro / hero */
.intro p,
.hero-bottom p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 16px;
}

/* === IMAGES === */
.hero-image,
.illustration {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto 30px;
  border-radius: 16px;
}

/* === GRID === */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

/* === CARDS === */
.card {
  background: linear-gradient(135deg, #ffffff, #f0f4ff);
  padding: 28px 24px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
  display: block;
  color: inherit;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card h2 {
  font-size: 22px;
  color: #1e3a8a;
  text-decoration: none;
}

/* === LANG SWITCH === */
.lang-switch {
  text-align: center;
  margin-bottom: 15px;
}

.lang-switch a {
  margin: 0 8px;
  font-weight: bold;
  color: #0b3d91;
  text-decoration: none;
}

/* langue active */
.lang-switch a.active-lang {
  text-decoration: underline;
  font-size: 17px;
}

/* === FOOTER === */
footer {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

/* === MOBILE === */
@media (max-width: 600px) {

  h1 {
    font-size: 34px;
  }

  p {
    font-size: 19px;
    line-height: 1.7;
  }

  .container {
    padding: 30px 16px 50px;
  }

}
