/* ============================================
   ABOUT PAGE CSS — Matériels BTP
   ============================================ */

/* ---- Story Section ---- */
.story-section {
  padding: 100px 0;
  background: var(--white);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-img-wrap {
  position: relative;
}

.story-img-main {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.story-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-img-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  background: var(--yellow);
  border-radius: 12px;
  padding: 28px 24px;
}

.story-img-accent-num {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

.story-img-accent-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(31,31,31,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.story-content .section-tag { color: var(--orange); }

.story-content p {
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--metal);
}

.story-highlight {
  background: rgba(242,183,5,0.08);
  border-left: 4px solid var(--yellow);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 28px 0;
}

.story-highlight p {
  font-style: italic;
  font-size: 1rem;
  color: var(--graphite);
  font-weight: 500;
  margin: 0;
}

/* ---- Values ---- */
.values-section {
  padding: 100px 0;
  background: var(--graphite);
}

.values-section .section-title { color: var(--white); }
.values-section .section-subtitle { color: var(--steel); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 36px 28px;
  transition: var(--transition);
}

.value-card:hover {
  background: rgba(242,183,5,0.08);
  border-color: rgba(242,183,5,0.3);
  transform: translateY(-6px);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  background: var(--yellow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--black);
  margin-bottom: 20px;
}

.value-card__title {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.value-card__desc {
  font-size: 0.875rem;
  color: var(--steel);
  line-height: 1.7;
}

/* ---- Numbers ---- */
.numbers-section {
  padding: 80px 0;
  background: var(--yellow);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.number-item__num {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}

.number-item__label {
  font-size: 0.875rem;
  color: rgba(31,31,31,0.65);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- Team ---- */
.team-section {
  padding: 100px 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.team-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.07);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.team-card__icon {
  width: 72px;
  height: 72px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--black);
  margin: 0 auto 20px;
}

.team-card__title {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.team-card__desc {
  font-size: 0.875rem;
  color: var(--metal);
  line-height: 1.7;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .story-img-accent {
    right: 0;
    bottom: -16px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}
