.about-page {
  overflow: hidden;
}

.about-page h1,
.about-page h2,
.about-page h3 {
  font-family: var(--nanna-serif);
}

.about-page p {
  color: #403733;

  line-height: 1.58;
}

.about-hero {
  background: #2a180f;
}

.about-hero > img {
  object-position: center 52%;
}

.about-hero__overlay {
  background: linear-gradient(
    90deg,
    rgba(31, 12, 5, 0.86),
    rgba(45, 18, 7, 0.54) 42%,

    rgba(36, 13, 4, 0.05) 76%
  );
}

.about-hero__eyebrow {
  display: flex;

  align-items: center;

  gap: 1.25rem;

  margin: 0 0 0.8rem;

  color: var(--nanna-gold-soft);

  font-size: 0.85rem;

  font-weight: 700;

  letter-spacing: 0.28em;

  text-transform: uppercase;
}

.about-hero__eyebrow::before,
.about-hero__eyebrow::after {
  width: 48px;

  height: 2px;

  content: "";

  background: currentColor;
}

.about-hero h1 {
  margin: 0;

  color: #fff;

  font-size: clamp(3.1rem, 5vw, 4.75rem);

  font-weight: 500;

  line-height: 1;
}

.about-hero__content p:last-child {
  margin: 0.95rem 0 0;

  color: #fff;

  font-size: clamp(1.3rem, 2vw, 1.9rem);

  font-style: italic;

  line-height: 1.2;
}

.about-intro {
  display: grid;

  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);

  align-items: center;

  gap: clamp(2rem, 5vw, 5rem);

  padding-top: clamp(3.5rem, 6vw, 5.5rem);
}

.about-intro__photo {
  overflow: hidden;

  border-radius: 22px;

  box-shadow: var(--nanna-shadow);
}

.about-intro__photo a,
.about-intro__photo img {
  display: block;

  width: 100%;
}

.about-intro__photo img {
  max-height: 370px;

  object-fit: cover;
}

.about-intro__content > img,
.about-cta__card > img {
  display: block;

  width: 120px;

  height: 42px;

  margin: 0 0 0.25rem;

  object-fit: cover;

  object-position: center;
}

.about-intro h2 {
  margin: 0 0 1.15rem;

  color: #351b16;

  font-size: clamp(2.2rem, 3.3vw, 3.35rem);

  line-height: 1.05;
}

.about-intro h2::after {
  display: block;

  width: 62px;

  height: 2px;

  margin-top: 0.65rem;

  content: "";

  background: var(--nanna-gold-dark);
}

.about-intro p {
  margin: 0 0 0.8rem;

  font-size: 1.06rem;
}

.about-project {
  padding-top: clamp(3.8rem, 6vw, 5.5rem);
}

.about-story {
  display: grid;

  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.15fr);

  align-items: center;

  gap: clamp(1.5rem, 5vw, 5rem);

  max-width: 1120px;

  margin: 0 auto 2.5rem;
}

.about-story--reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(230px, 0.72fr);
}

.about-story a {
  display: block;

  overflow: hidden;

  border-radius: 18px;

  box-shadow: var(--nanna-shadow);
}

.about-story img {
  display: block;

  width: 100%;

  height: 260px;

  object-fit: cover;
}

.about-story h3 {
  margin: 0 0 0.8rem;

  color: #3b2017;

  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
}

.about-story p {
  margin: 0;

  font-size: 1.05rem;
}

.about-phases {
  margin-top: clamp(3.5rem, 5vw, 5rem);

  padding: clamp(3.5rem, 5vw, 4.5rem) 0;

  background: linear-gradient(
    180deg,
    rgba(249, 239, 225, 0.55),
    rgba(255, 251, 245, 0.88)
  );
}

.about-phases__grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 1.25rem;

  margin: 0;

  padding: 1.25rem 0 0;

  list-style: none;
}

.about-phases__grid li {
  position: relative;

  padding: 3.6rem 1.15rem 1.35rem;

  border: 1px solid rgba(139, 95, 38, 0.12);

  border-radius: 18px;

  background: rgba(255, 248, 238, 0.94);

  box-shadow: 0 8px 20px rgba(67, 37, 22, 0.06);

  text-align: center;
}

.about-phases__grid li > span {
  position: absolute;

  top: -1.8rem;

  left: calc(50% - 1.8rem);

  display: grid;

  width: 3.6rem;

  height: 3.6rem;

  border: 2px solid #fff;

  border-radius: 50%;

  place-items: center;

  color: var(--nanna-gold-dark);

  background: #f9e8c8;

  font-size: 1.45rem;
}

.about-phases h3 {
  margin: 0 0 0.45rem;

  color: #3b2017;

  font-size: 1.5rem;
}

.about-phases p {
  margin: 0;

  font-size: 0.94rem;
}

.about-phases small {
  display: block;

  margin-top: 0.85rem;

  color: var(--nanna-gold-dark);

  font-weight: 700;
}

.about-phases small i {
  margin-right: 0.25rem;
}

.about-gallery {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.about-gallery__grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 1.1rem;
}

.about-gallery__grid article {
  overflow: hidden;

  border: 1px solid rgba(139, 95, 38, 0.12);

  border-radius: 16px;

  background: rgba(255, 251, 244, 0.94);

  box-shadow: 0 8px 20px rgba(67, 37, 22, 0.06);
}

.about-gallery__grid a,
.about-gallery__grid img {
  display: block;

  width: 100%;
}

.about-gallery__grid img {
  height: 210px;

  object-fit: cover;
}

.about-gallery__grid h3 {
  margin: 1rem 1rem 0.35rem;

  color: #3a2017;

  font-size: 1.45rem;
}

.about-gallery__grid p {
  margin: 0 1rem 1.1rem;

  font-size: 0.94rem;
}

.about-cta {
  padding: 4.75rem 0;

  background:
    linear-gradient(rgba(255, 237, 218, 0.52), rgba(255, 247, 236, 0.67)),
    url("../../../images/Oasis-marocaine-au-coucher-du-soleil.png") center /
      cover;
}

.about-cta__card {
  max-width: 720px;

  margin: 0 auto;

  padding: 2.4rem 2rem;

  border: 1px solid rgba(139, 95, 38, 0.15);

  border-radius: 25px;

  background: rgba(255, 252, 247, 0.93);

  box-shadow: var(--nanna-shadow);

  text-align: center;
}

.about-cta__card > img {
  margin: -0.35rem auto 0.15rem;
}

.about-cta h2 {
  margin: 0;

  color: #341b16;

  font-size: clamp(2rem, 3vw, 2.8rem);
}

.about-cta p {
  max-width: 540px;

  margin: 0.65rem auto 1.35rem;
}

.about-cta__card > div {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 0.85rem;
}

.about-cta .btn {
  display: inline-flex;

  align-items: center;

  gap: 0.5rem;
}

.about-btn-secondary {
  border: 1px solid var(--nanna-gold-dark);

  border-radius: 10px;

  padding: 0.9rem 1.5rem;

  color: var(--nanna-brown);

  background: rgba(255, 253, 250, 0.85);

  font-weight: 700;
}

.about-btn-secondary:hover,
.about-btn-secondary:focus-visible {
  color: #fff;

  background: var(--nanna-brown);
}

/* Hommage : portrait discret, texte éditorial, encart mémoriel. */
.about-tribute {
  padding-block: clamp(3.25rem, 5vw, 5rem);
}

.about-tribute .nanna-section-heading {
  margin-bottom: clamp(1.35rem, 3vw, 2rem);
}

.about-tribute__body {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border: 1px solid rgba(151, 103, 46, 0.18);
  border-radius: 20px;
  background: rgba(255, 250, 243, 0.91);
  box-shadow: 0 12px 34px rgba(67, 37, 22, 0.065);
}

.about-tribute__story {
  display: flow-root;
}

.about-tribute__portrait {
  float: left;
  width: clamp(150px, 19vw, 205px);
  max-width: 36%;
  margin: 0 clamp(1.3rem, 3vw, 2.2rem) 0.8rem 0;
  text-align: center;
}

.about-tribute__portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 270px;
  object-fit: contain;
  border: 5px solid #fffaf4;
  border-radius: 12px;
  background: #f1e6d8;
  box-shadow: 0 7px 22px rgba(59, 32, 20, 0.14);
}

.about-tribute__portrait figcaption {
  margin-top: 0.65rem;
  color: #54372a;
  font-family: var(--nanna-serif, Georgia, serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.about-tribute__portrait figcaption span {
  display: block;
  margin-top: 0.12rem;
  color: #917a66;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.09em;
}

.about-tribute__body .about-tribute__eyebrow {
  margin: 0 0 0.4rem;
  color: var(--nanna-gold-dark, #ad761e);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.about-tribute__body .about-tribute__lead {
  margin: 0 0 0.9rem;
  color: #3d241b;
  font-family: var(--nanna-serif, Georgia, serif);
  font-size: clamp(1.18rem, 1.7vw, 1.43rem);
  font-weight: 500;
  line-height: 1.4;
}

.about-tribute__story
  > p:not(.about-tribute__eyebrow):not(.about-tribute__lead) {
  margin: 0 0 0.85rem;
  color: #55453b;
  font-size: 0.99rem;
  line-height: 1.72;
}

.about-tribute__story strong {
  color: #3d241b;
  font-weight: 700;
}

.about-tribute__body .about-tribute__dedication {
  position: relative;
  max-width: 670px;
  margin: 1.6rem auto 0;
  padding: 1.15rem 1.2rem 0;
  border-top: 1px solid rgba(171, 117, 51, 0.27);
  color: #67432a;
  font-family: var(--nanna-serif, Georgia, serif);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-style: italic;
  line-height: 1.55;
  text-align: center;
}

.about-tribute__dedication span {
  display: inline-block;
  margin-right: 0.18rem;
  color: var(--nanna-gold-dark, #ad761e);
  font-size: 1.6em;
  font-style: normal;
  line-height: 0;
  vertical-align: -0.15em;
}

@media (max-width: 575.98px) {
  .about-tribute__body {
    padding: 1.4rem 1.15rem;
    border-radius: 16px;
  }

  .about-tribute__portrait {
    float: none;
    width: min(56%, 175px);
    max-width: none;
    margin: 0 auto 1.25rem;
  }

  .about-tribute__portrait img {
    max-height: 225px;
  }

  .about-tribute__body .about-tribute__eyebrow,
  .about-tribute__body .about-tribute__lead {
    text-align: center;
  }

  .about-tribute__body .about-tribute__dedication {
    margin-top: 1rem;
    padding-inline: 0;
  }
}

@media (max-width: 991.98px) {
  .about-intro,
  .about-story,
  .about-story--reverse {
    grid-template-columns: 1fr;

    gap: 1.5rem;
  }

  .about-story--reverse a {
    order: 2;
  }

  .about-phases__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    row-gap: 3rem;
  }

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

@media (max-width: 575.98px) {
  .about-hero h1 {
    font-size: 3rem;
  }

  .about-hero__eyebrow {
    gap: 0.75rem;

    font-size: 0.75rem;
  }

  .about-hero__eyebrow::before,
  .about-hero__eyebrow::after {
    width: 32px;
  }

  .about-intro {
    padding-top: 3rem;
  }

  .about-intro__photo,
  .about-story a,
  .about-gallery__grid article,
  .about-cta__card {
    border-radius: 15px;
  }

  .about-story img {
    height: 220px;
  }

  .about-phases__grid,
  .about-gallery__grid {
    grid-template-columns: 1fr;
  }

  .about-gallery__grid img {
    height: 235px;
  }

  .about-cta {
    padding: 3.5rem 0;
  }

  .about-cta__card {
    padding: 1.8rem 1.1rem;
  }

  .about-cta__card > div {
    display: grid;
  }

  .about-cta__card .btn {
    width: 100%;

    justify-content: center;
  }
}
