/* ===== PAGE ÉDUCATION ===== */
.edu-page {
  font-family: "Gantari", "Lato", Arial, sans-serif;
  color: #333;
}

.edu-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border);
}

/* Section headings */
.edu-section-title {
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  color: var(--black-soft);
  margin: 40px 0 20px;
}

/* Intro story */
.edu-story {
  display: flex;
  gap: 32px;
  margin: 40px 0;
  align-items: flex-start;
}
.edu-story-img {
  flex: 0 0 280px;
}
.edu-story-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border);
}
.edu-story-ico {
  width: 40px;
  height: 40px;
  background: var(--primary-100);
  border-radius: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
}
.edu-story-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 10px;
}
.edu-story-text p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--neutral-700);
  margin: 0 0 10px;
  text-align: justify;
}

/* Sur-mesure section */
.edu-custom-title {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--black-soft);
  margin: 40px 0 24px;
}
.edu-custom-rows {
  margin: 0 0 32px;
}
.edu-custom-row {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.edu-custom-img {
  flex: 0 0 260px;
}
.edu-custom-img img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover;
  display: block;
  border-radius: var(--border);
}
.edu-custom-ico {
  width: 40px;
  height: 40px;
  background: var(--primary-100);
  border-radius: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1;
  color: var(--primary);
}
.edu-custom-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 10px;
}
.edu-custom-text p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--neutral-700);
  margin: 0 0 10px;
}
.edu-custom-text ul {
  margin: 0 0 0 18px;
  padding: 0;
}
.edu-custom-text ul li {
  font-size: 15px;
  color: var(--neutral-700);
  line-height: 1.65;
  margin-bottom: 3px;
}

/* Process bar */
.edu-process {
  background: var(--primary);
  border-radius: var(--border);
  padding: 16px 20px;
  margin: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  flex-wrap: wrap;
}
.edu-process-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex: 1;
  min-width: 90px;
}
.edu-process-num {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}
.edu-process-arrow {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  flex-shrink: 0;
}

/* Product table */
.edu-products {
  margin: 0 0 32px;
}
.edu-product-row {
  display: flex;
  margin-bottom: 16px;
  box-shadow: var(--box-shadow);
  border-radius: var(--border);
  overflow: hidden;
  min-height: 160px;
}
.edu-product-left {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
}
.edu-product-label {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  text-align: center;
  line-height: 1.4;
  height: 64px;
}
.edu-product-img-wrap {
  flex: 1;
  background: var(--primary-200);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}
.edu-product-img-wrap img {
  max-width: 100%;
  max-height: 130px;
  object-fit: cover;
  display: block;
  width: 100%;
}
.edu-product-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.edu-product-heading {
  background: var(--primary);
  padding: 12px 20px;
  height: 64px;
}
.edu-product-heading h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.edu-product-body {
  flex: 1;
  background: var(--primary-100);
  padding: 14px 20px;
}
.edu-product-body ul {
  margin: 0 0 0 18px;
  padding: 0;
}
.edu-product-body ul li {
  font-size: 15px;
  color: var(--neutral-700);
  line-height: 1.65;
  margin-bottom: 6px;
}
.edu-product-body ul li strong {
  color: var(--black-soft);
}

/* Contact */
.edu-contact {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--black-soft);
  margin: 32px 0;
}
.edu-contact a {
  color: var(--black-soft);
}

/* Footer */
.edu-footer {
  text-align: center;
  margin: 40px 0 20px;
}
.edu-footer img {
  max-width: 200px;
  height: auto;
  border-radius: 0 !important;
}

.edu-fonof {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.edu-img-fonof {
  width: 50%;
  min-width: 12rem;
}

/* Responsive */
@media (max-width: 768px) {
  .edu-story,
  .edu-custom-row {
    flex-direction: column;
  }
  .edu-story-img,
  .edu-custom-img {
    flex: none;
    width: 100%;
  }
  .edu-custom-img img {
    height: 180px;
  }
  .edu-product-row {
    flex-direction: column;
  }
  .edu-product-left {
    flex: none;
  }
  .edu-process {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .edu-process-arrow {
    display: none;
  }

  .edu-product-body ul {
    padding-left: 0 !important;
  }
  .edu-product-heading {
    height: 82px;
  }
  .edu-fonof {
    flex-direction: column;
  }
  .edu-img-fonof {
    width: 70%;
  }
}
