/* ============================================================
   MA LITERIE FRANÇAISE — Category editorial sections
   Prefix: .mlf-cat-*  (scope: body.page-category only)
   Sections: Guide, Atelier, Engagements, FAQ, CTA
   ============================================================ */

/* ---------- GUIDE ---------- */
body.page-category .mlf-cat-guide {
  background: var(--cream);
  padding: 120px 0;
}
body.page-category .mlf-cat-guide__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
body.page-category .mlf-cat-guide__head {
  text-align: center;
  margin-bottom: 64px;
}
body.page-category .mlf-cat-guide__title {
  font-family: var(--ff-display);
  font-size: 60px;
  font-weight: 400;
  line-height: 1.05;
  color: var(--navy);
  margin: 16px 0 0;
}
body.page-category .mlf-cat-guide__title em { font-style: italic; }

body.page-category .mlf-cat-guide__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
body.page-category .mlf-cat-guide__img-wrap {
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border-radius: var(--rad-lg);
  margin-bottom: 24px;
}
body.page-category .mlf-cat-guide__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
body.page-category .mlf-cat-guide__col:hover .mlf-cat-guide__img-wrap img {
  transform: scale(1.04);
}
body.page-category .mlf-cat-guide__label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
body.page-category .mlf-cat-guide__label--navy { color: var(--navy); }
body.page-category .mlf-cat-guide__label--blue { color: var(--blue); }
body.page-category .mlf-cat-guide__label--red  { color: var(--red);  }

body.page-category .mlf-cat-guide__col-title {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  color: var(--navy);
  margin: 0 0 12px;
}
body.page-category .mlf-cat-guide__col-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
body.page-category .mlf-cat-guide__col-body em { font-style: italic; }
body.page-category .mlf-cat-guide__link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity .25s, letter-spacing .3s var(--ease);
}
body.page-category .mlf-cat-guide__link:hover { letter-spacing: .06em; }

/* ---------- ATELIER STRIP ---------- */
body.page-category .mlf-cat-atelier {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
body.page-category .mlf-cat-atelier__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
body.page-category .mlf-cat-atelier__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(33, 47, 55, .88) 0%,
    rgba(33, 47, 55, .60) 55%,
    rgba(33, 47, 55, .15) 100%
  );
}
body.page-category .mlf-cat-atelier__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 28px;
}
body.page-category .mlf-cat-atelier__eyebrow {
  display: block;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 28px;
}
body.page-category .mlf-cat-atelier__quote { margin: 0; }
body.page-category .mlf-cat-atelier__quote p {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 28px;
  letter-spacing: -.01em;
}
body.page-category .mlf-cat-atelier__quote em { font-style: italic; }
body.page-category .mlf-cat-atelier__quote footer {
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .65);
  letter-spacing: .06em;
}

/* ---------- ENGAGEMENTS ---------- */
body.page-category .mlf-cat-engagements {
  background: var(--cream);
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
body.page-category .mlf-cat-engagements__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}
body.page-category .mlf-cat-engage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
body.page-category .mlf-cat-engage__icon {
  color: var(--navy);
  opacity: .85;
  flex-shrink: 0;
}
body.page-category .mlf-cat-engage__title {
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
}
body.page-category .mlf-cat-engage__sub {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

/* ---------- FAQ ---------- */
body.page-category .mlf-cat-faq {
  position: relative;
  background: var(--grey-50);
  padding: 120px 0;
  overflow: hidden;
}
body.page-category .mlf-cat-faq__texture {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .05;
  pointer-events: none;
}
body.page-category .mlf-cat-faq__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
body.page-category .mlf-cat-faq__head {
  text-align: center;
  margin-bottom: 64px;
}
body.page-category .mlf-cat-faq__title {
  font-family: var(--ff-display);
  font-size: 52px;
  font-weight: 400;
  color: var(--navy);
  margin: 16px 0 0;
}
body.page-category .mlf-cat-faq__title em { font-style: italic; }

body.page-category .mlf-cat-faq__list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
body.page-category .mlf-cat-faq__item {
  border-bottom: 1px solid var(--line);
}
body.page-category .mlf-cat-faq__item:first-child {
  border-top: 1px solid var(--line);
}
body.page-category .mlf-cat-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  transition: color .25s;
}
body.page-category .mlf-cat-faq__q::-webkit-details-marker { display: none; }
body.page-category .mlf-cat-faq__q::marker { display: none; }
body.page-category .mlf-cat-faq__q:hover { color: var(--ink); }
body.page-category .mlf-cat-faq__icon {
  font-size: 20px;
  font-family: var(--ff-sans);
  font-style: normal;
  font-weight: 300;
  color: var(--navy);
  flex-shrink: 0;
  transition: transform .35s var(--ease);
  display: inline-block;
}
details[open] .mlf-cat-faq__icon { transform: rotate(45deg); }
body.page-category .mlf-cat-faq__a {
  padding: 0 0 24px;
  font-family: var(--ff-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 640px;
}
body.page-category .mlf-cat-faq__a em { font-style: italic; }

/* ---------- CTA BAND ---------- */
body.page-category .mlf-cat-cta {
  background: var(--navy);
  padding: 100px 0;
  text-align: center;
}
body.page-category .mlf-cat-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
body.page-category .mlf-cat-cta__title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  margin: 0;
}
body.page-category .mlf-cat-cta__title em { font-style: italic; }
body.page-category .mlf-cat-cta__sub {
  font-size: 17px;
  color: rgba(255, 255, 255, .75);
  margin: 0;
}
body.page-category .mlf-cat-cta__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
body.page-category .mlf-cat-cta__btn-ghost2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .03em;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .75);
  border: 1px solid rgba(255, 255, 255, .28);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
body.page-category .mlf-cat-cta__btn-ghost2:hover {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

/* ============================================================
   RESPONSIVE — 1100px
   ============================================================ */
@media (max-width: 1100px) {
  body.page-category .mlf-cat-guide__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 20px;
  }
  body.page-category .mlf-cat-engagements__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* ============================================================
   RESPONSIVE — 640px
   ============================================================ */
@media (max-width: 640px) {
  body.page-category .mlf-cat-guide { padding: 72px 0; }
  body.page-category .mlf-cat-guide__title { font-size: 38px; }
  body.page-category .mlf-cat-guide__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  body.page-category .mlf-cat-guide__img-wrap { aspect-ratio: 3 / 2; }
  body.page-category .mlf-cat-atelier__inner { padding: 60px 20px; }
  body.page-category .mlf-cat-engagements__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
    padding: 0 20px;
  }
  body.page-category .mlf-cat-faq { padding: 72px 0; }
  body.page-category .mlf-cat-faq__title { font-size: 36px; }
  body.page-category .mlf-cat-faq__q { font-size: 18px; padding: 18px 0; }
  body.page-category .mlf-cat-cta { padding: 72px 0; }
  body.page-category .mlf-cat-cta__btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  body.page-category .mlf-cat-cta__btns .btn,
  body.page-category .mlf-cat-cta__btn-ghost2 { justify-content: center; }
}
