


*,
*::before,
*::after { box-sizing: border-box; }


.page {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.25s;
}

.intro {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 900px;
  margin: 2rem auto 2.5rem;
}


.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 0.5rem;
}

.card {
  flex: 0 1 clamp(260px, 30vw, 340px);
  width: 100%;
  min-height: 200px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 1.5rem 1.8rem;
  background: rgba(255,255,255,0.02);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  text-align: left;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  background-color: rgba(255,255,255,0.04);
}
.card h2 { font-size: 1.2rem; font-weight: 600; margin: 0 0 .5rem; }
.card p  { margin: 0 0 .5rem; opacity: .9; }
.hlink { text-decoration: underline; text-underline-offset: 2px; }


.map-wrap { margin-top: 2.5rem; }
.map-embed {
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}


.contact-form {
  margin: 3rem auto 0;
  max-width: 900px;     
  text-align: left;
}

.contact-form h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.form-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0.75rem 0 0.5rem;
  opacity: 0.9;
}


.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
  gap: 1rem 1.25rem;
  align-items: start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  text-align: left;
  min-width: 0;  
}

.field-full { grid-column: 1 / -1; }

label {
  font-weight: 600;
  line-height: 1.2;
}


input, textarea {
  display: block;
  width: 100%;
  min-width: 0;         
  min-height: 44px;
  padding: .75rem .9rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font: inherit;
  line-height: 1.4;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
textarea { resize: vertical; min-height: 140px; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.6); }

input:focus, textarea:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
}


.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.25rem;
  margin-top: 1.25rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: white;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn:hover {
  background: rgba(255,255,255,0.15);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28);
  transform: translateY(-1px);
}
.btn-mini { padding: .55rem 1.1rem; font-size: .95rem; }


.fadeInUp { opacity: 0; transform: translateY(18px); animation: sectionIn .6s ease forwards; }
.cards.fadeInUp       { animation-delay: .15s; }
.map-wrap.fadeInUp    { animation-delay: .25s; }
.contact-form.fadeInUp{ animation-delay: .35s; }

@keyframes sectionIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}


@media (max-width: 900px) {
  .contact-form { max-width: 760px; }
}

@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; } 
}

@media (max-width: 480px) {
  .page { padding: 3.25rem 1.25rem; }
  .btn { 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);
}
.vision-more h2 { text-align: center; }
.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; }
}




.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, #1c3d38, #2a5d54);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: linear-gradient(135deg, #2a5d54, #1c3d38);
  transform: translateY(-2px);
}


.btn-mini {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
