@import url("main.css");

:root {
  --accent: #f2b705;
  --accent-ink: #8a6100;
  --card-border: #e5e5e5;
}

.personne-section h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 30px;
  color: #000000f1;
  text-align: center;
}

.personne-section h2:first-child {
  margin-top: 0;
}

/* -- Le comité photo ----------------------------- */

.committee-photo {
  text-align: center;
  margin-bottom: 30px;
}

.committee-photo img {
  max-width: 700px;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* -- Contact block ----------------------------- */

.contact-block {
  max-width: 420px;
  margin: 0 auto 40px;
  padding: 16px 24px;
  background-color: #fff;
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.contact-block h3 {
  margin-bottom: 8px;
  font-size: 18px;
  color: #222;
}

.contact-block a {
  font-size: 18px;
  color: var(--accent-ink);
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

/* -- Committee grid ----------------------------- */

.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.member-card {
  padding: 20px 16px;
  background-color: #fff;
  border: 1px solid var(--card-border);
  border-top: 3px solid transparent;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-top-color 0.2s ease;
}

.member-card:hover {
  transform: translateY(-3px);
  border-top-color: var(--accent);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.member-role {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.member-name {
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: bold;
  color: #222;
}

.member-phone a {
  font-size: 16px;
  color: #555;
  text-decoration: none;
}

.member-phone a:hover {
  text-decoration: underline;
}

/* -- Photo sections (direction musicale, parrain/marraine) ----- */

.musical-directors,
.sponsors {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.musical-directors img,
.sponsors img {
  max-width: 700px;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.musical-directors p,
.sponsors p {
  font-size: 20px;
  color: #555;
}
