.page {
  padding: 4rem 2rem;
  max-width: 1400px; 
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
}


.intro {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 1200px; 
  margin: 2rem auto;
}


.domains {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 2rem;
  margin-top: 4.5rem;
  justify-items: stretch;    
  align-items: stretch;      
}

.domain {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.02);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}


.domain:hover {
  transform: translateY(-2px); 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  background-color: rgba(255, 255, 255, 0.04);
}


.domain h2,
.domain p {
  padding: 0 1.2rem;
}

.domain h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem; 
}

.domain p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0 0 1.2rem; 
}

.domain-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.domain-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 480px) {
  .domains { gap: 1rem; }
  .domain  { flex-basis: 100%; max-width: 100%; }
}

/* Encadré type "Notre vision" */
.vision-more {
  max-width: 1040px;
  margin: 2.5rem auto 0;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  text-align: left;
}
.vision-more p { margin: 0.1rem 0 0.75rem; opacity: 0.92; text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; text-align-last: left; }
@media (max-width: 480px) {
  .vision-more { margin-top: 2rem; padding: 1rem; }
}

.domain p { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; text-align-last: left; }
