/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Hero */
.hero-apropos {
  position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-color: #e50000;
    overflow: hidden;
}

.hero-apropos .hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(50%);
    text-size-adjust: 1.4rem;
    margin-bottom:0.5rem
}

.hero-apropos .hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero-apropos .hero-content p {
    font-size: 0.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Sections */
section {
    padding: 4rem 2rem;
}

section h2 {
    font-size: 2.5rem;
    color: #d32f2f;
    text-align: center;
    margin-bottom: 2.5rem;
}

section p {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    text-align: justify;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Mission / Valeurs */
.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.mission-cards .card {
    background-color: #f5f5f5;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.mission-cards .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Équipe */
.team-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.team-cards .card {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-cards .card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-cards .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Responsive */
@media(max-width: 1024px) {
    .hero-apropos .hero-content h1 { font-size: 2.8rem; }
    .hero-apropos .hero-content p { font-size: 1.3rem; }
}

@media(max-width: 768px) {
    .hero-apropos { height: 60vh; }
    .hero-apropos .hero-content h1 { font-size: 2rem; }
    .hero-apropos .hero-content p { font-size: 1.1rem; }
    .mission-cards { grid-template-columns: 1fr; }
    .team-cards { grid-template-columns: 1fr; }
}

.partners {
  background-color: #fff; /* fond blanc */
  padding: 60px 20px;
  text-align: center;
}

.partners h2 {
  color: #d40000; /* rouge HME Canada */
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.partners p {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.partners-logos img {
  max-width: 150px;
  transition: transform 0.3s;
}

.partners-logos img:hover {
  transform: scale(1.1);
}
