/* ===================================================
   EASY AGENCY — EQUIPE / ABOUT PAGE
   Layout inspired by kelp-about-us, adapted to
   the main project's design system (Montserrat +
   --orange #FF914D palette, no Tailwind/React).
   =================================================== */

/* -------------------------------------------------------
   SHARED TYPOGRAPHY HELPERS
   ------------------------------------------------------- */
.font-outfit {
  font-family: 'Outfit', 'Montserrat', sans-serif;
}

/* -------------------------------------------------------
   NAV — mobile open state (equipe page only)
   ------------------------------------------------------- */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
  gap: 40px;
  z-index: 999;
}

.nav-links.open a {
  font-size: 1.5rem;
}

/* -------------------------------------------------------
   MISSION SECTION
   ------------------------------------------------------- */
.about-mission {
  background: #f9fbf9;
  padding: 160px 0 100px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.about-mission.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.about-mission-title {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.08;
  color: #1c1c1c;
  margin-bottom: 28px;
}

.about-mission-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 300;
  color: #555;
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 16px;
}

.about-mission-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 600;
  color: #1c1c1c;
}

.about-highlight {
  color: var(--orange);
}

/* -------------------------------------------------------
   FOUNDING STORY SECTION
   ------------------------------------------------------- */
.about-story {
  background: #fff;
  padding: 100px 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.about-story-grid.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Image column */
.about-story-img-col {
  position: relative;
}

.about-story-img-wrap {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
}

.about-story-img-bg {
  position: absolute;
  inset: 0;
  background: var(--orange);
  border-radius: 20px;
  transform: rotate(2deg);
  transition: transform 0.4s ease;
  z-index: 0;
}

.about-story-img-wrap:hover .about-story-img-bg {
  transform: rotate(1deg);
}

.about-story-img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 20px;
  transform: rotate(-1deg);
  transition: transform 0.4s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255,255,255,0.4);
}

.about-story-img-wrap:hover .about-story-img {
  transform: rotate(0deg);
}

/* Text column */
.about-story-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-story-title {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: #1c1c1c;
  line-height: 1.1;
  margin-bottom: 32px;
}

.about-story-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-story-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1c1c1c;
  line-height: 1.65;
}

.about-story-body p:not(.about-story-lead):not(.about-story-quote) {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

.about-story-quote {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1c1c1c;
  font-style: italic;
  border-left: 3px solid var(--orange);
  padding: 6px 0 6px 18px;
  line-height: 1.7;
}

/* -------------------------------------------------------
   TEAM SECTION
   ------------------------------------------------------- */
.about-team {
  background: #f9fbf9;
  padding: 100px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.about-team-header {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.about-team-title {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -1px;
  color: #1c1c1c;
}

.about-team-wave {
  display: block;
}

/* Grid */
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Card */
.team-card {
  background: rgba(240, 243, 240, 0.5);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(36px);
}

.team-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.team-card:hover {
  background: rgba(230, 235, 230, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.team-card:nth-child(1) { transition-delay: 0s; }
.team-card:nth-child(2) { transition-delay: 0.1s; }
.team-card:nth-child(3) { transition-delay: 0.2s; }
.team-card:nth-child(4) { transition-delay: 0.3s; }

/* 4th card centred in 3-col grid */
.about-team-grid .team-card:nth-child(4) {
  grid-column: 2 / 3;
}

.team-card-img-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #e0e0e0;
}

.team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-img {
  transform: scale(1.06);
}

.team-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.team-card-name {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #1c1c1c;
  transition: color 0.2s ease;
}

.team-card:hover .team-card-name {
  color: var(--orange);
}

.team-card-role {
  font-size: 0.72rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.team-card-desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.7;
}

.team-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.team-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--orange);
  background: rgba(255, 145, 77, 0.1);
  border: 1px solid rgba(255, 145, 77, 0.25);
  border-radius: 100px;
  padding: 4px 12px;
  letter-spacing: 0.5px;
}

/* -------------------------------------------------------
   CULTURE SECTION
   ------------------------------------------------------- */
.about-culture {
  background: #fff;
  padding: 80px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}

/* Vertical timeline line — desktop only */
.about-culture .container {
  position: relative;
}

.about-culture .container::before {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: rgba(0,0,0,0.1);
  transform: translateX(-50%);
}

/* Culture block */
.culture-block {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0;
  align-items: center;
  padding: 80px 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.culture-block.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Axis dot */
.culture-axis-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.culture-axis-dot__inner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 145, 77, 0.15);
  position: relative;
}

.culture-axis-dot__inner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.culture-block__img-col {
  padding: 0 24px;
}

.culture-block--img-right .culture-block__img-col {
  padding-left: 24px;
}

.culture-block__img-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}

.culture-block__img-wrap:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.culture-block__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  transform: scale(1.01);
}

.culture-block__img-wrap:hover .culture-block__img {
  transform: scale(1.06);
}

.culture-block__text-col {
  padding: 0 24px;
}

.culture-block__title {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #1c1c1c;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.culture-block__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.culture-block__lead {
  font-size: 1rem;
  font-weight: 600;
  color: #1c1c1c;
  line-height: 1.7;
}

.culture-block__body p:not(.culture-block__lead) {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.8;
}

/* -------------------------------------------------------
   CTA SECTION
   ------------------------------------------------------- */
.about-cta {
  position: relative;
  background: var(--orange);
  color: #1c1c1c;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}

.about-cta__light {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.about-cta__light--left {
  top: 0;
  left: 20%;
  background: rgba(255,255,255,0.2);
}

.about-cta__light--right {
  bottom: 0;
  right: 20%;
  background: rgba(0,0,0,0.08);
}

.about-cta__title {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
  color: #1c1c1c;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.about-cta__title span {
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,0.3);
  text-underline-offset: 6px;
}

.about-cta__sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(28,28,28,0.8);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.about-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 8px;
  background: #1c1c1c;
  color: #fff;
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  position: relative;
  z-index: 1;
}

.about-cta__btn:hover {
  background: #333;
  transform: translateY(-2px);
}

/* Wave */
.about-cta__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  user-select: none;
}

.about-cta__wave svg {
  display: block;
  width: 100%;
  height: 60px;
  fill: #1a1a1a;
}

/* -------------------------------------------------------
   FOOTER
   ------------------------------------------------------- */
.about-footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 64px 0 48px;
  font-size: 0.88rem;
}

.about-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: start;
}

.about-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-footer__col-title {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.about-footer__link {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-footer__link:hover {
  color: #fff;
}

.about-footer__link--active {
  color: var(--orange);
}

.about-footer__spacer {
  display: block;
}

.about-footer__col--social {
  text-align: right;
}

.about-footer__social {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.about-footer__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  color: #888;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  text-decoration: none;
}

.about-footer__social-btn:hover {
  border-color: var(--orange);
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.about-footer__copy {
  font-size: 0.75rem;
  color: #555;
  margin-top: 12px;
  line-height: 1.6;
  text-align: right;
}

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

  .about-story-img-col {
    max-width: 400px;
    margin: 0 auto;
  }

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

  .about-team-grid .team-card:nth-child(4) {
    grid-column: auto;
  }

  .culture-block {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 32px;
    padding: 60px 0;
  }

  .culture-block--img-right .culture-block__img-col {
    order: -1;
  }

  .culture-axis-dot {
    display: none;
  }

  .about-culture .container::before {
    display: none;
  }

  .culture-block__img-col,
  .culture-block__text-col {
    padding: 0;
  }

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

  .about-footer__col--social {
    grid-column: 1 / -1;
    text-align: left;
  }

  .about-footer__social {
    justify-content: flex-start;
  }

  .about-footer__copy {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .about-mission {
    padding: 130px 0 80px;
  }

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

  .about-footer__grid {
    grid-template-columns: 1fr;
  }

  .about-footer__spacer {
    display: none;
  }

  .about-footer__col--social {
    grid-column: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
  }
}
