/* ============================================================
   Maison THI — Thème dev (aligné sur prod V10)
   Variables, layout et composants thi-* repris de prod.
   Ajout : style éditorial pour pages CMS internes.
   ============================================================ */

:root {
  --thi-paper:    #faf5ec;
  --thi-cream:    #f8f3ea;
  --thi-ink:      #1d1815;
  --thi-muted:    #6d6258;
  --thi-red:      #8f2f26;
  --thi-red-dark: #6f241d;
  --thi-card-1:   #efe4d5;
  --thi-card-2:   #f2e9dd;
  --thi-card-3:   #ece4d8;
  --thi-card-4:   #e9e4dc;
  --thi-shadow:   0 24px 70px rgba(32, 24, 18, .12);

  --thi-font-serif: Georgia, "Times New Roman", serif;
  --thi-font-sans:  Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ============================================================
   HOME — masque le chrome PrestaShop par défaut, on a notre topbar
   ============================================================ */
body#index #header,
body#index header#header,
body#index .header-nav,
body#index .header-top,
body#index .header-banner,
body#index #footer,
body#index footer#footer,
body#index .footer-container,
body#index .breadcrumb,
body#index .page-header {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
body#index #wrapper { padding-top: 0 !important; box-shadow: none !important; }
body#index,
body#index #wrapper,
body#index #content-wrapper,
body#index #main,
body#index .page-home,
body#index .container { background: var(--thi-paper) !important; }
body#index #content-wrapper,
body#index .container,
body#index #main {
  width: 100% !important;
  max-width: 100vw !important;
  padding: 0 !important;
  margin: 0 !important;
}
body#index { overflow-x: hidden; }
body#index #wrapper,
body#index #main { overflow-x: hidden; max-width: 100vw; }

/* ============================================================
   THI-HOME — racine
   ============================================================ */
.thi-home {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  background: var(--thi-paper);
  color: var(--thi-ink);
  font-family: var(--thi-font-sans);
  overflow-x: clip;
}
.thi-section { width: 100%; max-width: 100vw; }
.thi-home * { box-sizing: border-box; }
.thi-home img { display: block; max-width: 100%; height: auto; }
.thi-home a { color: inherit; }

.thi-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* ============================================================
   TOPBAR (en home, en absolute sur le hero)
   ============================================================ */
.thi-topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  background: linear-gradient(180deg,
    rgba(250, 245, 236, .9),
    rgba(250, 245, 236, .25) 68%,
    rgba(250, 245, 236, 0));
}
.thi-topbar__inner {
  position: relative;
  min-height: 108px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) auto minmax(220px, .75fr);
  align-items: center;
  gap: 26px;
}
.thi-logo {
  font-family: var(--thi-font-serif);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -.055em;
  color: var(--thi-ink) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.thi-logo--center { justify-self: center; }
.thi-logo--footer { color: #fff !important; }

.thi-navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.thi-navlinks a,
.thi-topbar__actions > a {
  font-size: 14px;
  color: rgba(29, 24, 21, .76) !important;
  text-decoration: none !important;
  transition: color .22s;
}
.thi-navlinks a:hover,
.thi-topbar__actions > a:hover { color: var(--thi-red) !important; }

.thi-topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.thi-iconlink {
  width: 34px;
  height: 34px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   EYEBROW (suptitle de section)
   ============================================================ */
.thi-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--thi-red);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
}
.thi-eyebrow::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: rgba(143, 47, 38, .48);
}
.thi-eyebrow--light,
.thi-eyebrow--light::before {
  color: #fff;
  background: rgba(255, 255, 255, .55);
}
.thi-eyebrow--ribbon {
  background: var(--thi-red);
  color: #fff !important;
  padding: 8px 16px 8px 18px;
  letter-spacing: .2em;
  font-size: 11px;
}
.thi-eyebrow--ribbon::before { display: none; }

/* ============================================================
   TYPOGRAPHIE H1/H2/H3
   ============================================================ */
.thi-home h1,
.thi-home h2,
.thi-home h3 {
  font-family: var(--thi-font-serif);
  font-weight: 400;
  color: var(--thi-ink);
  margin: 0;
  letter-spacing: -.035em;
}
.thi-home h1 {
  font-size: clamp(52px, 7vw, 102px);
  line-height: .98;
  max-width: 680px;
}
.thi-home h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
}
.thi-home h3 {
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.08;
}
.thi-home p {
  color: var(--thi-muted);
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.thi-btn,
.thi-text-link,
.thi-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: .22s;
}
.thi-btn {
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid var(--thi-red);
  font-size: 14px;
  font-weight: 600;
}
.thi-btn:hover { transform: translateY(-2px); }
.thi-btn--primary { background: var(--thi-red); color: #fff !important; }
.thi-btn--secondary {
  background: rgba(255, 250, 242, .38);
  color: var(--thi-red) !important;
  backdrop-filter: blur(10px);
}
.thi-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }

/* ============================================================
   HERO
   ============================================================ */
.thi-hero {
  position: relative;
  min-height: 860px;
  padding: 164px 0 96px;
  isolation: isolate;
  background: var(--thi-paper);
}
.thi-hero::after {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0 0 0 auto;
  width: min(62vw, 880px);
  background-image: var(--thi-hero-img);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.thi-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg,
      var(--thi-paper) 0%,
      rgba(250, 245, 236, .95) 41%,
      rgba(250, 245, 236, .34) 66%,
      rgba(250, 245, 236, .03) 100%),
    radial-gradient(circle at 72% 26%, rgba(123, 132, 111, .16), transparent 34%);
}
.thi-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 78px);
}
.thi-hero__content { position: relative; z-index: 2; padding: 54px 0 40px; }
.thi-hero__lead { max-width: 480px; margin-top: 24px !important; font-size: 19px !important; }
.thi-hero__bamboo {
  position: absolute;
  left: -80px;
  top: 220px;
  width: 320px !important;
  max-width: none !important;
  opacity: .25;
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 1;
}
/* Image hero en full-bleed à droite, sans cadre */
.thi-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: min(58vw, 880px);
  background-image: var(--thi-hero-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Fondu progressif côté gauche pour lisibilité du texte */
.thi-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg,
    var(--thi-paper) 0%,
    var(--thi-paper) 36%,
    rgba(250, 245, 236, .88) 50%,
    rgba(250, 245, 236, .35) 70%,
    rgba(250, 245, 236, 0) 100%);
  pointer-events: none;
}
.thi-hero__spacer { display: none; }

/* ============================================================
   SECTIONS GÉNÉRIQUES
   ============================================================ */
.thi-section { padding: clamp(74px, 8vw, 120px) 0; }
.thi-section__intro { max-width: 720px; margin-bottom: 44px; }
.thi-section__intro h2 { margin-top: 16px; }
.thi-section__intro p { margin-top: 18px; max-width: 620px; }

/* ============================================================
   UNIVERS — 4 cards
   ============================================================ */
.thi-univers { background: #f7f1e8; }
.thi-cards {
  display: grid !important;
  gap: 18px;
  width: 100%;
  align-items: stretch;
  justify-items: stretch;
}
.thi-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.thi-card {
  width: 100% !important;
  min-width: 0;
  min-height: 560px;
  overflow: hidden;
  transition: .25s;
  display: block;
  margin: 0;
}
.thi-card__link {
  width: 100%;
}
.thi-card:hover { transform: translateY(-6px); box-shadow: var(--thi-shadow); }
.thi-card--cafe       { background: var(--thi-card-1); }
.thi-card--objets     { background: var(--thi-card-2); }
.thi-card--histoires  { background: var(--thi-card-3); }
.thi-card--communaute { background: var(--thi-card-4); }
.thi-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 24px 24px;
  color: inherit !important;
  text-decoration: none !important;
}
.thi-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .46);
  color: var(--thi-red);
  margin-bottom: 26px;
}
.thi-card p { font-size: 15px; line-height: 1.65; margin-top: 14px; }
.thi-link { margin-top: 20px; color: var(--thi-ink) !important; width: fit-content; }
.thi-link::after,
.thi-text-link::after { content: "→"; margin-left: 10px; }
.thi-card img {
  margin-top: auto;
  width: calc(100% + 48px);
  margin-left: -24px;
  margin-right: -24px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ============================================================
   FEATURE (sélection)
   ============================================================ */
.thi-feature {
  position: relative;
  min-height: clamp(460px, 50vw, 620px);
  display: flex;
  align-items: center;
  padding: clamp(80px, 8vw, 120px) 0;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--thi-paper);
  background-image: var(--thi-selection-img);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
/* Voile crème opaque côté gauche pour faire ressortir le texte */
.thi-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg,
    var(--thi-paper) 0%,
    rgba(250, 245, 236, .92) 38%,
    rgba(250, 245, 236, .55) 55%,
    rgba(250, 245, 236, 0) 70%);
}
.thi-feature__inner { position: relative; z-index: 1; }
.thi-feature__content {
  width: min(480px, 100%);
  margin-left: clamp(0px, 4vw, 60px);
  padding: 0;
  background: transparent;
}
.thi-feature__content h2 { margin-top: 22px; }
.thi-feature__content p {
  margin-top: 20px;
  max-width: 440px;
}
.thi-text-link {
  margin-top: 28px;
  color: var(--thi-ink) !important;
  border-bottom: 1px solid var(--thi-ink);
  padding-bottom: 4px;
  letter-spacing: .04em;
}
.thi-text-link--light {
  color: #fff !important;
  border-bottom-color: rgba(255, 255, 255, .5);
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.thi-manifesto { background: var(--thi-cream); }
.thi-manifesto__inner {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  max-width: 960px;
}
.thi-manifesto__seal {
  width: 72px !important;
  max-width: 72px !important;
  height: auto !important;
  opacity: .85;
  margin: 0 auto;
}
.thi-manifesto h2 { margin-top: 16px; max-width: 780px; }
.thi-manifesto p { margin-top: 22px; max-width: 760px; }

/* ============================================================
   JOURNAL — derniers articles
   ============================================================ */
.thi-journal { background: var(--thi-cream); }
.thi-journal__intro { text-align: left; max-width: 720px; }
.thi-articles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 48px;
}
.thi-article {
  display: flex;
  flex-direction: column;
  background: var(--thi-paper);
  text-decoration: none !important;
  color: var(--thi-ink) !important;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.thi-article:hover {
  transform: translateY(-4px);
  box-shadow: var(--thi-shadow);
}
.thi-article__media {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--thi-card-3);
}
.thi-article--carnets .thi-article__media {
  background-image:
    linear-gradient(135deg, rgba(15, 76, 58, .35), rgba(143, 47, 38, .25)),
    url('../img/template/card-histoires.png');
}
.thi-article--interviews .thi-article__media {
  background-image:
    linear-gradient(135deg, rgba(58, 36, 24, .35), rgba(143, 47, 38, .35)),
    url('../img/template/card-cafe.png');
}
.thi-article--rituels .thi-article__media {
  background-image:
    linear-gradient(135deg, rgba(143, 47, 38, .25), rgba(201, 169, 97, .25)),
    url('../img/template/card-objets.png');
}
.thi-article--evenements .thi-article__media {
  background-image:
    linear-gradient(135deg, rgba(26, 15, 8, .45), rgba(143, 47, 38, .25)),
    url('../img/template/card-communaute.png');
}
.thi-article__body {
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.thi-article__cat {
  font-family: var(--thi-font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--thi-red);
  margin-bottom: 10px;
}
.thi-article h3 {
  font-size: clamp(20px, 1.6vw, 24px) !important;
  line-height: 1.18 !important;
  margin-bottom: 10px;
}
.thi-article p {
  font-size: 14px !important;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px !important;
}
.thi-article .thi-link {
  margin-top: 0 !important;
  font-size: 13px;
  color: var(--thi-ink) !important;
}
.thi-journal__cta {
  text-align: center;
  margin-top: 16px;
}
.thi-journal__cta .thi-btn {
  background: transparent;
  color: var(--thi-red) !important;
  border: 1px solid var(--thi-red);
}
.thi-journal__cta .thi-btn:hover {
  background: var(--thi-red);
  color: #fff !important;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.thi-newsletter {
  position: relative;
  padding: clamp(88px, 9vw, 140px) 0;
  background: #fbf7ef;
  overflow: hidden;
}
.thi-newsletter__bg {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  opacity: .42;
  pointer-events: none;
}
.thi-newsletter__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 96px);
  align-items: center;
  z-index: 1;
}
.thi-newsletter h2 { margin-top: 14px; }
.thi-newsletter p { margin-top: 12px; max-width: 500px; }
.thi-newsletter__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}
.thi-newsletter__form input {
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid rgba(27, 23, 20, .42);
  background: rgba(255, 255, 255, .66);
  padding: 0 18px;
  font-size: 15px;
}
.thi-newsletter__form button {
  min-height: 52px;
  border: 1px solid var(--thi-red);
  background: var(--thi-red);
  color: #fff;
  padding: 0 24px;
  font-weight: 600;
  cursor: pointer;
}
.thi-newsletter__form small {
  grid-column: 1 / -1;
  color: rgba(27, 23, 20, .55);
  font-size: 12px;
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.thi-footer {
  position: relative;
  background: #29231f;
  color: #fff;
  padding: 74px 0 26px;
  isolation: isolate;
}
.thi-footer__seal {
  position: absolute;
  bottom: 28px;
  right: 28px;
  width: 110px !important;
  height: auto !important;
  opacity: .55;
  filter: invert(1) brightness(2);
  pointer-events: none;
  z-index: 0;
}
.thi-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr .72fr .72fr .82fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.thi-footer p { color: rgba(255, 255, 255, .66); margin-top: 12px; }
.thi-footer strong {
  display: block;
  margin-bottom: 16px;
  color: #fff;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.thi-footer a:not(.thi-logo) {
  display: block;
  color: rgba(255, 255, 255, .66) !important;
  text-decoration: none !important;
  margin: 9px 0;
}
.thi-footer a:hover { color: #fff !important; }
.thi-footer__socials {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.thi-social {
  width: 40px;
  height: 40px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  color: rgba(255, 255, 255, .7) !important;
  margin: 0 !important;
  transition: all .25s;
}
.thi-social:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .06);
}
.thi-social svg { display: block; }
.thi-footer__bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .46);
  font-size: 13px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .thi-topbar__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 22px 0;
    gap: 14px;
  }
  .thi-logo--center { order: -1; }
  .thi-navlinks, .thi-topbar__actions { justify-content: center; }
  .thi-hero { padding-top: 198px; }
  .thi-hero__grid { grid-template-columns: 1fr; }
  .thi-hero::after { width: 100%; opacity: .35; }
  .thi-hero::before {
    background: linear-gradient(180deg, rgba(250, 245, 236, .92), rgba(250, 245, 236, .82));
  }
  .thi-feature {
    background-position: center;
  }
  .thi-feature::before {
    background: linear-gradient(180deg, rgba(250, 245, 236, .92), rgba(250, 245, 236, .72));
  }
  .thi-cards--four { grid-template-columns: repeat(2, 1fr); }
  .thi-articles { grid-template-columns: repeat(2, 1fr); }
  .thi-newsletter__inner { grid-template-columns: 1fr; }
  .thi-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .thi-footer__seal { width: 80px !important; bottom: 18px; right: 18px; opacity: .35; }
}
@media (max-width: 700px) {
  .thi-container { width: min(100% - 28px, 1180px); }
  .thi-logo { font-size: 38px; }
  .thi-navlinks { gap: 14px; }
  .thi-navlinks a, .thi-topbar__actions > a { font-size: 12px; }
  .thi-hero { min-height: 760px; padding: 176px 0 60px; }
  .thi-hero__bamboo { width: 240px !important; left: -120px; top: 210px; opacity: .16; }
  .thi-cards--four { grid-template-columns: 1fr; }
  .thi-card { min-height: unset; }
  .thi-card__link { padding: 24px 20px; }
  .thi-actions { flex-direction: column; }
  .thi-btn { width: 100%; }
  .thi-newsletter__form { grid-template-columns: 1fr; }
  .thi-manifesto__inner { grid-template-columns: 1fr; }
  .thi-manifesto__seal { margin: 0; }
  .thi-articles { grid-template-columns: 1fr; }
  .thi-footer__grid { grid-template-columns: 1fr; }
  .thi-footer__seal {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 24px auto 0;
    display: block;
  }
}

/* ============================================================
   PAGES INTERNES (CMS, catégories) — éditorial premium
   On garde le chrome PrestaShop visible (pas en home),
   mais on style header/footer/contenu dans le même esprit.
   ============================================================ */
body:not(#index) {
  background: var(--thi-paper);
  color: var(--thi-ink);
  font-family: var(--thi-font-sans);
}
body:not(#index) #header {
  background: var(--thi-paper);
  border-bottom: 1px solid rgba(29, 24, 21, .08);
  box-shadow: none;
}
body:not(#index) .header-banner { background: var(--thi-ink); color: #fff; }
body:not(#index) .header-top { padding: 1.5rem 0; }
body:not(#index) .header-nav {
  border-bottom: 1px solid rgba(29, 24, 21, .06);
  font-size: 13px;
}
body:not(#index) .header-nav a { color: rgba(29, 24, 21, .76); }
body:not(#index) .header-nav a:hover { color: var(--thi-red); text-decoration: none; }

body:not(#index) #header .logo { max-height: 60px; width: auto; }

/* Wordmark fallback si pas de logo image */
.mt-wordmark {
  font-family: var(--thi-font-serif);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -.055em;
  color: var(--thi-ink);
  text-decoration: none !important;
  display: inline-block;
  line-height: 1;
}

/* Menu principal sur pages internes */
body:not(#index) .top-menu a[data-depth="0"] {
  color: var(--thi-ink) !important;
  font-family: var(--thi-font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-bottom: 2px solid transparent;
  transition: all .22s;
}
body:not(#index) .top-menu a[data-depth="0"]:hover,
body:not(#index) .top-menu a[data-depth="0"].current {
  color: var(--thi-red) !important;
  border-bottom-color: var(--thi-red);
  background: transparent;
}

/* Hero page CMS */
.mt-cms-hero {
  background:
    linear-gradient(135deg, rgba(29, 24, 21, .55), rgba(143, 47, 38, .35)),
    var(--thi-cream);
  color: #fff;
  padding: 6rem 2rem 5rem;
  text-align: center;
}
.mt-cms-hero__eyebrow {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 1rem;
  font-weight: 600;
}
.mt-cms-hero__title {
  font-family: var(--thi-font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -.035em;
  color: #fff;
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.05;
}
.mt-cms-hero__lead {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, .85);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Body page CMS */
.mt-cms-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 5rem 2rem;
  font-size: 17px;
  line-height: 1.85;
  color: var(--thi-ink);
}
.mt-cms-body p { margin: 0 0 1.25rem; color: var(--thi-muted); }
.mt-cms-body h2 {
  font-family: var(--thi-font-serif);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -.025em;
  color: var(--thi-ink);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.mt-cms-body h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--thi-red);
  margin-bottom: 1rem;
}
.mt-cms-body h3 {
  font-family: var(--thi-font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  color: var(--thi-red);
}
.mt-cms-body p:first-of-type::first-letter {
  font-family: var(--thi-font-serif);
  font-size: 4.5rem;
  font-weight: 400;
  float: left;
  line-height: .9;
  margin: .4rem .75rem 0 0;
  color: var(--thi-red);
}
.mt-cms-body blockquote {
  border-left: 3px solid var(--thi-red);
  padding: .5rem 0 .5rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--thi-font-serif);
  font-style: italic;
  font-size: 1.375rem;
  color: var(--thi-muted);
  line-height: 1.5;
}
.mt-cms-body img {
  border-radius: 4px;
  margin: 2rem 0;
  box-shadow: var(--thi-shadow);
}

/* Catégorie CMS — grille de sous-pages */
.mt-subcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1180px;
  margin: 3rem auto 5rem;
  padding: 0 2rem;
}
.mt-subcat {
  display: block;
  padding: 2.5rem 2rem;
  background: var(--thi-cream);
  border-left: 3px solid var(--thi-red);
  text-decoration: none !important;
  color: var(--thi-ink) !important;
  transition: all .25s;
}
.mt-subcat:hover {
  background: var(--thi-ink);
  color: var(--thi-paper) !important;
  border-left-color: var(--thi-red);
  transform: translateX(4px);
}
.mt-subcat:hover .mt-subcat__title { color: var(--thi-paper); }
.mt-subcat:hover .mt-subcat__desc { color: rgba(250, 245, 236, .8); }
.mt-subcat:hover .mt-subcat__more { color: rgba(250, 245, 236, .9); }

.mt-subcat__num {
  font-family: var(--thi-font-serif);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--thi-red);
  margin-bottom: .75rem;
}
.mt-subcat__title {
  font-family: var(--thi-font-serif);
  font-size: 1.625rem;
  font-weight: 400;
  letter-spacing: -.025em;
  margin: 0 0 .5rem;
  color: var(--thi-ink);
  transition: color .25s;
}
.mt-subcat__desc {
  font-size: .95rem;
  color: var(--thi-muted);
  line-height: 1.6;
  margin: 0 0 1.25rem;
  transition: color .25s;
}
.mt-subcat__more {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--thi-red);
  transition: color .25s;
}
.mt-subcat__more::after { content: " →"; }

/* Footer pages internes — même esprit que home */
body:not(#index) .footer-container {
  background: #29231f;
  color: rgba(255, 255, 255, .66);
  padding-top: 4rem;
  margin-top: 0;
  box-shadow: none;
}
body:not(#index) .footer-container .h3,
body:not(#index) .footer-container h3,
body:not(#index) .footer-container .title {
  font-family: var(--thi-font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
body:not(#index) .footer-container a {
  color: rgba(255, 255, 255, .66) !important;
  font-size: .9rem;
}
body:not(#index) .footer-container a:hover {
  color: #fff !important;
  text-decoration: none;
}
body:not(#index) .footer-container .text-sm-center,
body:not(#index) .footer-container .copyright {
  font-size: 13px;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .46);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 3rem;
}
