/* ---------- hero ---------- */
.about-hero {
  position: relative;
  min-height: clamp(420px, 48vw, 560px);
  overflow: hidden;
}

.about-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
   border-top-left-radius: 26px;
  border-top-right-radius: 26px;

  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.about-hero__content {
  position: relative; /* ⚠️ plus absolute */
  min-height: inherit;
    margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 70px 20px;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.25) 0%,
      rgba(0,0,0,0.35) 40%,
      rgba(0,0,0,0.55) 100%
    );
}

/* Bloc texte */
.about-hero__inner {
  text-align: center;
  max-width: 720px;
  padding: 0 20px;
}

/* Titre */
.about-hero__inner h1 {
  color: white;
  font-size: var(--hero-title-size);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

/* Texte */
.about-hero__inner p {
  color: rgba(255,255,255,0.9);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  max-width: 46ch;
  margin: 0 auto;
}



/* ---------- WRAPPER ---------- */
.about-history {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 60px 0;
}

.about-history__content {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.about-history__content p {
  line-height: 1.8;
  color: #57514a;
}

.about-history__image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 26px;
}

@media (max-width: 768px) {
  .about-history {
    padding: 36px 0;
  }

  .about-history__image img {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .about-history__image img {
    height: 200px;
  }
}
/* ---------- WRAPPER ---------- */
.about-wrapper {
  max-width: 1180px;
  margin: -110px auto 70px;
  padding: clamp(18px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vw, 70px);
 background:
    linear-gradient(
      180deg,
      #efe7dc 0%,
      #f6f1ea 100%
    );
  border-radius: 42px;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

/* ---------- SECTIONS ---------- */
.about-section {
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(24px, 4vw, 52px);
  border-radius: 30px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.about-section .section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 30px);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 34px;
  color: var(--brown-color);
  text-align: center;
  font-weight: 500;
}

.about-section .section-title .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90, 70, 45, 0.35), transparent);
}
.value-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;

  background: #ffffff;
  padding: 26px 24px;
  border-radius: 22px;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.1);
}

.value-card img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-top: 4px;
}

.value-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #2f352c;
}

.value-card p {
  margin: 0;
  color: #666057;
  line-height: 1.7;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 28px;

  background: #ffffff;
  padding: 36px;
  border-radius: 36px;

  box-shadow: 0 24px 70px rgba(45, 55, 45, 0.1);
}
.team-card__content {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.team-card__content h2 {
  margin-bottom: 18px;
}

.team-card__content p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #5e5a54;
}
.team-card__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 28px;
}
/* ---------- Histoire ---------- */
.about-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
  background: transparent;
  padding: 0;
}

.about-content img {
  width: 100%;
  height: 430px;
  max-width: none;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.14);
}

.about-content p {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.85;
  color: #57514a;
}

/* ---------- Valeurs / équipe ---------- */
.valeurs-equipe-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.valeurs,
.equipe {
  width: 100%;
}

.valeurs-list {
  display: grid;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.valeurs-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  color: #3f3a34;
  background: #faf7f1;
  border-radius: 18px;
  border: 1px solid rgba(90, 70, 45, 0.08);
}

.li-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.team-grid {
  display: grid;
}

.team-member {
  text-align: center;
  font-size: 1.1rem;
}

.team-member img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.team-member p {
  max-width: 480px;
  margin: 0 auto;
  color: #57514a;
  line-height: 1.7;
}

/* ---------- localisation ---------- */
.map-container {
  overflow: hidden;
  border-radius: 28px;
  padding: 12px;
  background: white;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.1);
}

#map {
  height: 450px;
  border-radius: 22px;
}
.values-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .about-content,
  .valeurs-equipe-wrapper {
    grid-template-columns: 1fr;
  }

  .about-content {
    text-align: center;
  }

  .about-content p {
    margin: 0 auto;
  }

  .about-content img,
  .team-member img {
    height: 360px;
  }
}

@media (max-width: 768px) {
  .about-wrapper {
    margin-top: -70px;
    border-radius: 32px;
  }

  .about-hero {
    min-height: 380px;
  }

  .valeurs-equipe-wrapper {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (max-width: 576px) {
  .about-wrapper {
    padding: 14px;
    gap: 24px;
    border-radius: 26px;
  }

  .about-section {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .about-section .section-title {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }

  .about-section .section-title .line {
    display: none;
  }

  .about-content img,
  .team-member img {
    height: 280px;
  }

  .valeurs-list li {
    padding: 14px 16px;
    font-size: 1.05rem;
  }

  .li-icon {
    width: 20px;
    height: 20px;
  }

  #map {
    height: 360px;
  }
}

@media (max-width: 480px) {
  .about-wrapper {
    margin-top: -25px;
  }
  .team-card {
     padding: 22px 16px;
  }
  
}
@media (max-width: 768px) {
  .team-card__image img {
    height: 240px;
    object-fit: cover;
    object-position: center center;
  }
}

@media (max-width: 480px) {
  .team-card__image img {
    height: 200px;
    object-fit: cover;
    object-position: center center;
  }
}
