/* =========================================================
   Page : Qui sommes-nous ?
   ========================================================= */

.about-page {
  background: #fffdf8;
}

.about-hero-page {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: var(--cream-2);
}

.about-hero-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.about-hero-page::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(38, 35, 25, 0.46), rgba(38, 35, 25, 0.08) 58%, rgba(38, 35, 25, 0.02)),
    linear-gradient(0deg, rgba(60, 35, 20, 0.12), transparent 55%);
}

.about-hero-overlay {
  position: absolute;
  z-index: 2;
  left: 52px;
  bottom: 46px;
  color: #fff;
}

.about-hero-overlay h1 {
  font-family: var(--script);
  font-size: clamp(4.6rem, 7vw, 7rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 15px rgba(48, 35, 25, 0.25);
}

.about-story-section {
  position: relative;
  padding-top: 34px;
  padding-bottom: 18px;
  background:
    radial-gradient(circle at 4% 18%, rgba(224, 232, 206, 0.36), transparent 14%),
    radial-gradient(circle at 92% 36%, rgba(248, 222, 196, 0.34), transparent 18%),
    #fffdf8;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: 58px;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
}

.about-story-text h2,
.idea-section h2,
.about-quick-card h2,
.about-warm-card h2,
.about-cta h2 {
  color: var(--terracotta);
  font-family: var(--script);
  font-weight: 600;
  line-height: 1;
}

.about-story-text h2 {
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 3.2vw, 4rem);
}

.about-story-text p {
  margin-top: 12px;
  color: #1f302d;
  font-size: 1rem;
  line-height: 1.42;
}

.about-story-text strong {
  color: var(--green-dark);
  font-weight: 900;
}

.about-motto-card {
  position: relative;
  margin-top: 138px;
  height: calc(100% - 138px);
  padding: 42px 54px 42px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.45), transparent 32%),
    linear-gradient(135deg, #f1f4ea, #fffaf1);
  border-radius: 14px;
  box-shadow: 0 14px 38px rgba(63, 48, 32, 0.07);
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-motto-card p {
  max-width: 360px;
  margin: 18px auto 0;
  color: #20322f;
  font-size: 1.02rem;
  line-height: 1.48;
  background: transparent;
}

.about-motto-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.idea-section {
  padding-top: 18px;
  padding-bottom: 28px;
  text-align: center;
  background: #fffdf8;
}

.idea-section h2 {
  position: relative;
  display: inline-block;
  color: var(--terracotta);
  font-size: clamp(2.3rem, 3.2vw, 3.8rem);
}

.idea-section h2::before,
.idea-section h2::after {
  position: absolute;
  top: 52%;
  width: 118px;
  height: 18px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.75;
}

.idea-section h2::before {
  right: calc(100% + 24px);
}

.idea-section h2::after {
  left: calc(100% + 24px);
}

.idea-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
  max-width: 1160px;
  margin: 34px auto 0;
}

.idea-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.idea-number {
  position: absolute;
  top: 0;
  left: calc(50% - 54px);
  z-index: 3;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  background: var(--terracotta-dark);
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 900;
}

.idea-icon {
  display: grid;
  width: 122px;
  height: 122px;
  place-items: center;
  margin: 0 auto 16px;
  background: radial-gradient(circle, #f9e4d7 0%, #f7eadf 56%, rgba(247, 234, 223, 0) 57%);
  border-radius: 50%;
}

.idea-icon img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.idea-step h3 {
  color: var(--green);
  font-family: var(--script);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
}

.idea-step p {
  max-width: 210px;
  margin: 8px auto 0;
  color: #1f302d;
  font-size: 0.9rem;
  line-height: 1.35;
}

.about-summary {
  display: grid;
  grid-template-columns: minmax(300px, 540px) minmax(0, 1fr);
  gap: 52px;
  align-items: end;
  padding-top: 18px;
  padding-bottom: 26px;
  background: #fffdf8;
}

.about-quick-card {
  position: relative;
  min-height: 270px;
  padding: 34px 32px 36px;
  overflow: hidden;
  background: linear-gradient(135deg, #eff5e8, #fff9ef);
  border-radius: 12px;
}

.about-quick-card h2 {
  color: var(--green);
  font-size: clamp(2rem, 2.8vw, 3rem);
}

.about-quick-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 28px;
}

.about-quick-content ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-quick-content li {
  position: relative;
  padding-left: 30px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.about-quick-content li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  content: "✓";
  color: #fff;
  background: #6a8b70;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.about-quick-content ul:nth-child(2) li:last-child {
  transform: translateY(-18px);
}

.about-quick-visual {
  position: absolute;
  right: 0;
  bottom: -5px;
  width: 140px;
  pointer-events: none;
  z-index: 0;
}

.about-warm-card {
  align-self: stretch;
}

.about-warm-card h2 {
  margin-bottom: 24px;
  color: var(--terracotta);
  font-size: clamp(2rem, 2.8vw, 3rem);
}

.about-photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about-photo-row img {
  width: 100%;
  height: 138px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(63, 47, 31, 0.08);
}

.about-warm-card p {
  margin-top: 18px;
  color: #1f302d;
  text-align: center;
  font-weight: 700;
}

.about-warm-card p span {
  color: var(--terracotta);
  font-family: var(--script);
  font-size: 2rem;
  vertical-align: middle;
}

.about-cta {
  padding-top: 12px;
  padding-bottom: 38px;
  background: #fffdf8;
}

.about-cta-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  max-width: 1290px;
  min-height: 96px;
  margin: 0 auto;
  padding: 20px 56px;
  background: linear-gradient(90deg, #edf4e6, #f7f4e8);
  border-radius: 12px;
}

.about-cta h2 {
  color: var(--green);
  font-size: clamp(2rem, 2.8vw, 3rem);
}

.about-cta p {
  margin-top: 4px;
  font-size: 1.04rem;
  font-weight: 700;
}

.about-cta .btn {
  min-width: 190px;
}

@media (max-width: 1180px) {
  .about-story-grid,
  .about-summary {
    grid-template-columns: 1fr;
  }

  .idea-timeline {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 44px;
  }
}

@media (max-width: 820px) {
  .about-hero-page {
    height: 240px;
  }

  .about-hero-overlay {
    left: 24px;
    bottom: 32px;
  }

  .about-hero-overlay h1 {
    font-size: 4rem;
  }

  .idea-section h2::before,
  .idea-section h2::after {
    display: none;
  }

  .idea-timeline,
  .about-quick-content,
  .about-photo-row,
  .about-cta-inner {
    grid-template-columns: 1fr;
  }

  .about-cta-inner {
    padding: 24px;
    text-align: center;
  }

  .about-cta .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .about-hero-page {
    height: 210px;
  }

  .about-hero-overlay h1 {
    font-size: 3.3rem;
  }

  .about-story-text h2,
  .idea-section h2,
  .about-quick-card h2,
  .about-warm-card h2,
  .about-cta h2 {
    font-size: 2.2rem;
  }

  .idea-timeline {
    gap: 34px;
  }

  .about-quick-card {
    padding: 28px 22px 110px;
  }

  .about-quick-visual {
    right: 50%;
    width: 150px;
    transform: translateX(50%);
  }
}

.about-motto-illustration img {
  width: 260px;
  max-width: 85%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.about-story-text {
  position: relative;
  padding-left: 115px;
}

.about-story-decor {
  position: absolute;
  top: 5px;
  left: -40px;
  width: 120px;
  height: 180px;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}

.about-motto-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 8px;
  transform: translateX(-28px);
}


.about-motto-header h2 {
  margin: 0;
  color: var(--green);
  font-family: var(--script);
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.about-motto-top-decor {
  position: absolute;
  top: 50%;
  right: -135px;
  width: 150px;
  max-width: none;
  height: auto;
  transform: translateY(-50%);
  object-fit: contain;
  pointer-events: none;
}


.about-motto-title-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 18px auto 30px;
  transform: translateX(-20px);
  background: transparent;
}

.about-motto-title-visual img {
  display: block;
  width: 112%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
}

.who-hero-line-heart {
  display: block !important;
  width: 390px !important;
  height: 70px !important;

  margin: -6px 0 28px 65px;

  background-image: url("../images/who/who-line-heart.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;

  position: relative !important;
  z-index: 10;
}

/* Qui sommes-nous hero title adjustment */
.who-main-title {
  font-size: 4.2rem !important;
  transform: translateX(-22px) !important;
}

.who-contact-icon {
  display: block;
  width: 52px;
  height: auto;
  object-fit: contain;
  margin-top: 6px;
}

.about-page .idea-timeline.about-idea-steps::before {
  content: "";
  position: absolute;
  z-index: 0;

  left: 10%;
  right: 10%;
  top: 72px;

  height: 52px;

  background-image: url("data:image/svg+xml,%3Csvg width='1000' height='60' viewBox='0 0 1000 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 C80 2 135 58 215 30 S350 2 430 30 S565 58 645 30 S780 2 860 30 S950 58 1000 30' fill='none' stroke='%23c95b3d' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;

  pointer-events: none;
}

/* FIX — contact CTA button + leaf */
.about-page .about-cta {
  position: relative;
  overflow: hidden;
}

/* Force move the actual button left */
.about-page .about-contact-btn {
  margin-left: -120px !important;
  transform: translateX(-120px) !important;
}

/* Decorative leaf: does NOT affect layout */
.about-page .about-contact-leaf-decor {
  position: absolute;
  z-index: 2;

  right: 80px;
  top: 40%;

  width: 155px;
  height: auto;

  transform: translateY(-50%);
  object-fit: contain;
  pointer-events: none;
}
