/* =========================================================================
   LUNATISME — Minimaliste Pure White + Editorial Red Accent
   Custom CSS override (Phase 1 — generated 2026-06-21)
   Prefix: .lnt-*  |  Parent theme: astra
   Hero style: fade-reveal  |  Header layout: logo-center-menu-split
   Mega menu: enabled (Layout C — Split nav + featured)
   Dark mode: disabled  |  Mouse effect: list_item_hover_background
   Animations: CTA=3d_press_button / CTR=scroll_hint_mouse / CTO=social_proof_popup
   ========================================================================= */

:root {
  --lnt-color-primary:   #1A1A1A;
  --lnt-color-accent:    #d80040;
  --lnt-color-text:      #1A1A1A;
  --lnt-color-text-soft: #8e8e8e;
  --lnt-color-bg:        #FEFEFE;
  --lnt-color-surface:   #F9F9F7;
  --lnt-color-line:      #EBE8E2;
  --lnt-color-taupe:     #A89F92;

  --lnt-font-display: "Forum", "Playfair Display", Georgia, serif;
  --lnt-font-body:    "Mulish", "Inter", system-ui, -apple-system, sans-serif;

  --lnt-shadow-card:  0 8px 28px rgba(20,20,20,0.06);
  --lnt-shadow-hover: 0 14px 38px rgba(20,20,20,0.10);

  --lnt-container: 1240px;
  --lnt-gutter: 1.5rem;
  --lnt-radius-sm: 4px;
  --lnt-radius-md: 8px;
  --lnt-radius-lg: 14px;
}

* { box-sizing: border-box; }

html, body { background: var(--lnt-color-bg); color: var(--lnt-color-text); }

body.lnt-body {
  font-family: var(--lnt-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5 {
  font-family: var(--lnt-font-display);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.18;
  color: var(--lnt-color-primary);
  margin: 0 0 .75em;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

p { margin: 0 0 1.1em; }
a { color: var(--lnt-color-primary); text-decoration: none; }
a:hover { color: var(--lnt-color-accent); }

img { max-width: 100%; height: auto; display: block; }

main, .lnt-main { padding-top: 0 !important; margin-top: 0 !important; }

/* -------------------------------------------------------------------------
   CONTAINER
   ------------------------------------------------------------------------- */
.lnt-container {
  max-width: var(--lnt-container);
  margin: 0 auto;
  padding: 0 var(--lnt-gutter);
}

/* -------------------------------------------------------------------------
   BUTTONS — CTA = 3d_press_button
   ------------------------------------------------------------------------- */
.lnt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.6rem;
  font-family: var(--lnt-font-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--lnt-radius-sm);
  border: 1px solid var(--lnt-color-taupe);
  background: transparent;
  color: var(--lnt-color-primary);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .25s ease, color .25s ease;
  text-decoration: none;
}
.lnt-btn:hover { background: var(--lnt-color-primary); color: #fff; border-color: var(--lnt-color-primary); }

.lnt-btn--cta {
  background: var(--lnt-color-primary);
  color: #fff;
  border-color: var(--lnt-color-primary);
  position: relative;
  box-shadow: 0 4px 0 0 var(--lnt-color-accent), 0 6px 16px rgba(216, 0, 64, .14);
  transform: translateY(0);
}
.lnt-btn--cta:hover {
  background: #2a2a2a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 0 var(--lnt-color-accent), 0 10px 22px rgba(216, 0, 64, .22);
}
.lnt-btn--cta:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 0 var(--lnt-color-accent), 0 2px 6px rgba(216, 0, 64, .12);
}

@keyframes lnt-cta-3dpress {
  0%, 100% { transform: translateY(0); box-shadow: 0 4px 0 0 var(--lnt-color-accent), 0 6px 16px rgba(216, 0, 64, .14); }
  50%      { transform: translateY(-3px); box-shadow: 0 7px 0 0 var(--lnt-color-accent), 0 12px 22px rgba(216, 0, 64, .22); }
}
.lnt-btn--cta { animation: lnt-cta-3dpress 4.5s ease-in-out infinite; }

/* -------------------------------------------------------------------------
   HEADER — logo-center-menu-split + mega menu (Layout C)
   ------------------------------------------------------------------------- */
.lnt-header {
  position: relative;
  background: var(--lnt-color-bg);
  border-bottom: 1px solid var(--lnt-color-line);
  z-index: 200;
}
.lnt-header-top {
  font-family: var(--lnt-font-body);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--lnt-color-text-soft);
  border-bottom: 1px solid var(--lnt-color-line);
  padding: .55rem 0;
}
.lnt-header-top .lnt-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.lnt-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.25rem var(--lnt-gutter);
  max-width: var(--lnt-container);
  margin: 0 auto;
  position: relative;
}

/* logo-center-menu-split: nav left + brand center + nav right, CTA right via margin-left:auto */
.lnt-nav-desktop {
  display: none;
  flex: 1;
  justify-content: flex-end;
}
.lnt-nav-desktop--right { justify-content: flex-start; }

.lnt-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  text-decoration: none;
  color: var(--lnt-color-primary);
  flex-shrink: 0;
}
.lnt-brand-logo {
  display: block;
  width: auto;
}
.lnt-brand-name {
  font-family: var(--lnt-font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--lnt-color-primary);
  text-transform: none;
}

/* CTA Contact desktop only (hidden mobile per rule) */
.lnt-header-cta-desktop {
  position: absolute;
  right: var(--lnt-gutter);
  top: 50%;
  transform: translateY(-50%);
}

/* Burger mobile — hidden desktop, visible mobile */
.lnt-burger-wrap {
  display: none;
}
.lnt-burger {
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.92);
  border: 1.5px solid rgba(0,0,0,0.18);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  color: var(--lnt-color-primary);
  z-index: 10000;
  flex-shrink: 0;
  position: relative;
}
.lnt-burger-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 16px;
}
.lnt-burger-bars span {
  display: block;
  height: 2px;
  background: var(--lnt-color-primary);
  border-radius: 2px;
  width: 100%;
}

/* Desktop nav list */
.lnt-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.4rem;
  align-items: center;
}
.lnt-nav-list > li { position: relative; }
.lnt-nav-list > li > a {
  display: block;
  padding: .8rem .15rem;
  font-family: var(--lnt-font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lnt-color-primary);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.lnt-nav-list > li:hover > a,
.lnt-nav-list > li:focus-within > a { border-bottom-color: var(--lnt-color-accent); color: var(--lnt-color-accent); }

/* --- MEGA MENU — Layout C: split nav (left small list) + featured (right grid) --- */
.lnt-megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, 95vw);
  background: var(--lnt-color-bg);
  border: 1px solid var(--lnt-color-line);
  box-shadow: 0 18px 40px rgba(20,20,20,.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 250;
}
.lnt-nav-list > li:hover > .lnt-megamenu,
.lnt-nav-list > li:focus-within > .lnt-megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lnt-megamenu-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  padding: 1.8rem 2rem;
}
.lnt-megamenu-aside h4 {
  font-family: var(--lnt-font-body);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lnt-color-text-soft);
  margin: 0 0 .8rem;
}
.lnt-megamenu-aside a {
  display: block;
  padding: .35rem 0;
  font-size: .85rem;
  color: var(--lnt-color-text);
  border-bottom: 1px solid var(--lnt-color-line);
}
.lnt-megamenu-aside a:hover { color: var(--lnt-color-accent); }
.lnt-megamenu-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.lnt-megamenu-card { display: flex; flex-direction: column; gap: .55rem; }
.lnt-megamenu-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--lnt-radius-sm);
  background: var(--lnt-color-surface);
}
.lnt-megamenu-card .lnt-megamenu-title {
  font-family: var(--lnt-font-display);
  font-size: .95rem;
  line-height: 1.3;
  color: var(--lnt-color-primary);
}
.lnt-megamenu-card .lnt-megamenu-date {
  font-size: .72rem;
  color: var(--lnt-color-text-soft);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* --- MOBILE DRAWER --- */
.lnt-nav-mobile {
  display: none;
}
@media (max-width: 1023px) {
  .lnt-nav-desktop, .lnt-header-cta-desktop { display: none !important; }
  .lnt-burger-wrap {
    display: flex;
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .lnt-burger {
    display: inline-flex !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
  }
  .lnt-header-inner {
    justify-content: center;
    gap: 0;
  }
  .lnt-nav-mobile.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86%;
    max-width: 380px;
    background: #ffffff;
    padding: 4.5rem 1.5rem 2rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  }
  .lnt-nav-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .lnt-nav-mobile-list > li { border-bottom: 1px solid var(--lnt-color-line); }
  .lnt-nav-mobile-list > li > a {
    display: block;
    padding: 1rem 0;
    color: #0a0a0a;
    font-family: var(--lnt-font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .lnt-nav-mobile-list > li > a:hover { color: var(--lnt-color-accent); }
  .lnt-drawer-cta {
    display: block !important;
    margin: 2rem 0 1.5rem !important;
    padding: 1rem 1.5rem !important;
    text-align: center !important;
    background: var(--lnt-color-primary) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .lnt-nav-mobile-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: 0;
    font-size: 1.8rem;
    color: var(--lnt-color-primary);
    cursor: pointer;
  }
  .lnt-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }
  .lnt-overlay.is-open { opacity: 1; pointer-events: auto; }
}
@media (min-width: 1024px) {
  .lnt-nav-desktop { display: flex; }
  .lnt-drawer-cta { display: none !important; }
}

/* -------------------------------------------------------------------------
   HERO — fade-reveal (scroll triggered)
   ------------------------------------------------------------------------- */
.lnt-hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  background: var(--lnt-color-surface);
}
.lnt-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.lnt-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 78vh;
  padding: 4rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.lnt-hero-eyebrow {
  font-family: var(--lnt-font-body);
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lnt-color-accent);
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s ease .15s, transform 1.1s ease .15s;
}
.lnt-hero-title {
  font-family: var(--lnt-font-display);
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--lnt-color-primary);
  margin: 0 0 1.4rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s ease .35s, transform 1.2s ease .35s;
}
.lnt-hero-subtitle {
  font-family: var(--lnt-font-body);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--lnt-color-text);
  max-width: 640px;
  margin: 0 auto 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease .55s, transform 1.2s ease .55s;
}
.lnt-hero-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease .75s, transform 1.2s ease .75s;
}
.lnt-hero.is-revealed .lnt-hero-eyebrow,
.lnt-hero.is-revealed .lnt-hero-title,
.lnt-hero.is-revealed .lnt-hero-subtitle,
.lnt-hero.is-revealed .lnt-hero-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll hint — CTR animation = scroll_hint_mouse */
.lnt-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid var(--lnt-color-primary);
  border-radius: 14px;
  z-index: 5;
  opacity: .75;
}
.lnt-scroll-hint::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--lnt-color-primary);
  border-radius: 2px;
  animation: lnt-ctr-scroll-mouse 1.8s ease-in-out infinite;
}
@keyframes lnt-ctr-scroll-mouse {
  0%, 100% { opacity: 1; transform: translate(-50%, 0); }
  50%      { opacity: .35; transform: translate(-50%, 14px); }
}

/* -------------------------------------------------------------------------
   EDITORIAL INTRO BLOCK (after hero — 400-700 word SEO content)
   ------------------------------------------------------------------------- */
.lnt-editorial-intro {
  padding: 5rem 0 3rem;
  background: var(--lnt-color-bg);
}
.lnt-editorial-intro h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--lnt-color-primary);
  margin-bottom: 1.6rem;
  text-align: center;
}
.lnt-editorial-intro h3 {
  font-size: 1.2rem;
  color: var(--lnt-color-primary);
  margin: 2rem 0 .8rem;
}
.lnt-editorial-intro p {
  font-family: var(--lnt-font-body);
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--lnt-color-text);
  max-width: 760px;
  margin: 0 auto 1.2rem;
}
.lnt-editorial-intro .lnt-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.4rem;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}
.lnt-editorial-callout {
  background: var(--lnt-color-surface);
  padding: 1.6rem 1.8rem;
  border-left: 3px solid var(--lnt-color-accent);
  margin: 2.2rem auto;
  max-width: 760px;
}
.lnt-editorial-callout h3 { margin-top: 0; }

/* -------------------------------------------------------------------------
   RUBRIQUES (CATEGORY CARDS)
   ------------------------------------------------------------------------- */
.lnt-categories {
  padding: 4.5rem 0;
  background: var(--lnt-color-surface);
}
.lnt-section-title {
  text-align: center;
  font-family: var(--lnt-font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .6rem;
}
.lnt-section-eyebrow {
  text-align: center;
  font-family: var(--lnt-font-body);
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lnt-color-accent);
  margin-bottom: 1rem;
}
.lnt-section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: var(--lnt-color-text-soft);
}
.lnt-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  max-width: var(--lnt-container);
  margin: 0 auto;
  padding: 0 var(--lnt-gutter);
}
.lnt-cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--lnt-color-bg);
  border-radius: var(--lnt-radius-sm);
  text-decoration: none;
  aspect-ratio: 4 / 5;
  transition: transform .35s ease, box-shadow .35s ease;
}
.lnt-cat-card:hover { transform: translateY(-4px); box-shadow: var(--lnt-shadow-hover); }
.lnt-cat-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: block;
  transition: transform .9s ease;
}
.lnt-cat-card:hover .lnt-cat-card-img { transform: scale(1.05); }
.lnt-cat-card-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--lnt-color-primary) 0%, var(--lnt-color-taupe) 100%);
}
.lnt-cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.65) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem 1.3rem;
}
.lnt-cat-card-name {
  font-family: var(--lnt-font-display);
  font-size: 1.45rem;
  color: #fff;
  letter-spacing: .03em;
}

/* -------------------------------------------------------------------------
   LATEST ARTICLES (3-col grid for 9/12/15)
   ------------------------------------------------------------------------- */
.lnt-latest {
  padding: 5rem 0;
  background: var(--lnt-color-bg);
}
.lnt-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem 1.8rem;
  max-width: var(--lnt-container);
  margin: 0 auto;
  padding: 0 var(--lnt-gutter);
}
.lnt-article-card {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  text-decoration: none;
  color: var(--lnt-color-primary);
  transition: transform .3s ease;
}
.lnt-article-card:hover { transform: translateY(-4px); }
.lnt-article-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--lnt-color-surface);
  border-radius: var(--lnt-radius-sm);
}
.lnt-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s ease;
}
.lnt-article-card:hover .lnt-article-thumb img { transform: scale(1.05); }
.lnt-article-cat {
  font-family: var(--lnt-font-body);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lnt-color-accent);
}
.lnt-article-title {
  font-family: var(--lnt-font-display);
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0;
}
.lnt-article-excerpt {
  font-size: .92rem;
  color: var(--lnt-color-text-soft);
  margin: 0;
}
.lnt-article-meta {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lnt-color-text-soft);
}

/* -------------------------------------------------------------------------
   CATEGORY PAGE — sandwich layout
   ------------------------------------------------------------------------- */
.lnt-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--lnt-color-surface);
}
.lnt-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.lnt-cat-hero .lnt-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 2rem;
  padding-bottom: 1.6rem;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.75) 100%);
}
.lnt-cat-hero h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.7);
  margin: 0;
}

.lnt-cat-intro {
  padding: 3rem 0 2rem;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  padding-left: var(--lnt-gutter);
  padding-right: var(--lnt-gutter);
}
.lnt-cat-intro p { font-size: 1.02rem; line-height: 1.72; }

.lnt-cat-articles {
  padding: 2rem 0 4rem;
}

/* -------------------------------------------------------------------------
   PAGE CONTENT (about, contact, tool)
   ------------------------------------------------------------------------- */
.lnt-page {
  padding: 4rem 0;
}
.lnt-page-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--lnt-gutter);
}
.lnt-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  text-align: center;
}
.lnt-page p { font-size: 1.05rem; line-height: 1.75; }

.lnt-persona-photo {
  display: block;
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 1.5rem auto 2rem;
  border-radius: var(--lnt-radius-sm);
  box-shadow: var(--lnt-shadow-card);
}

.db6-contact-form {
  margin: 2.5rem 0;
}

/* -------------------------------------------------------------------------
   TOOLS (quizzes / planners)
   ------------------------------------------------------------------------- */
.lnt-tool-shell {
  background: var(--lnt-color-surface);
  border: 1px solid var(--lnt-color-line);
  border-radius: var(--lnt-radius-md);
  padding: 2rem 1.6rem;
  max-width: 760px;
  margin: 2rem auto;
}
.lnt-tool-shell h2 { font-size: 1.5rem; }

/* -------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------- */
.lnt-footer {
  background: #1A1A1A;
  color: #EDEAE3;
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
}
.lnt-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: var(--lnt-container);
  margin: 0 auto;
  padding: 0 var(--lnt-gutter);
}
.lnt-footer-col {}
.lnt-footer-title {
  font-family: var(--lnt-font-display);
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1.1rem;
  font-weight: 400;
}
.lnt-footer-logo {
  display: block;
  margin-bottom: 1.1rem;
  height: auto;
  max-width: 140px;
  filter: brightness(0) invert(1);
}
.lnt-footer-brand-pitch {
  color: #C8C3B8;
  font-size: .92rem;
  line-height: 1.65;
  margin: 0 0 1.1rem;
}
.lnt-footer-brand-cta {
  display: inline-block;
  color: #fff;
  font-family: var(--lnt-font-body);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.lnt-footer-brand-cta:hover { color: var(--lnt-color-accent); }
.lnt-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lnt-footer-links li { margin-bottom: .55rem; }
.lnt-footer-links a {
  color: #EDEAE3;
  font-size: .92rem;
  text-decoration: none;
  transition: color .2s;
}
.lnt-footer-links a:hover { color: var(--lnt-color-accent); text-decoration: underline; }
.lnt-footer-bottom {
  border-top: 1px solid #2c2c2c;
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: .8rem;
  color: #998f80;
  letter-spacing: .04em;
}
.lnt-footer-social {
  display: flex;
  gap: .9rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.lnt-footer-social a {
  color: #EDEAE3;
  text-decoration: none;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lnt-footer-social a:hover { color: var(--lnt-color-accent); }

/* -------------------------------------------------------------------------
   CTO = social_proof_popup (bottom-left toast)
   ------------------------------------------------------------------------- */
.lnt-cto-popup {
  position: fixed;
  left: 1.2rem;
  bottom: -120px;
  z-index: 9000;
  background: #fff;
  color: var(--lnt-color-primary);
  border: 1px solid var(--lnt-color-line);
  border-left: 3px solid var(--lnt-color-accent);
  border-radius: var(--lnt-radius-md);
  padding: .85rem 1.1rem;
  font-size: .85rem;
  max-width: 320px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  display: flex;
  gap: .7rem;
  align-items: center;
  opacity: 0;
  pointer-events: none;
}
.lnt-cto-popup.is-visible {
  animation: lnt-cto-social-proof 6.5s ease-in-out forwards;
}
@keyframes lnt-cto-social-proof {
  0%   { transform: translateY(0); opacity: 0; }
  8%   { transform: translateY(-140px); opacity: 1; }
  85%  { transform: translateY(-140px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0; }
}
.lnt-cto-popup-text { line-height: 1.35; }
.lnt-cto-popup-name { font-weight: 700; }
.lnt-cto-popup-close {
  background: none;
  border: 0;
  font-size: 1rem;
  cursor: pointer;
  color: var(--lnt-color-text-soft);
  margin-left: auto;
}

/* -------------------------------------------------------------------------
   MOUSE EFFECT — list_item_hover_background
   (rule: subtle background slide on list item hover)
   ------------------------------------------------------------------------- */
.lnt-footer-links li,
.lnt-nav-mobile-list li,
.lnt-megamenu-aside a {
  position: relative;
  isolation: isolate;
}
.lnt-footer-links li::before,
.lnt-nav-mobile-list li::before,
.lnt-megamenu-aside a::before {
  content: "";
  position: absolute;
  inset: 0 -.6rem;
  background: var(--lnt-color-accent);
  opacity: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s ease, opacity .35s ease;
  border-radius: 2px;
}
@media (hover: hover) {
  .lnt-footer-links li:hover::before,
  .lnt-nav-mobile-list li:hover::before,
  .lnt-megamenu-aside a:hover::before {
    transform: scaleX(1);
    opacity: .14;
  }
}

/* -------------------------------------------------------------------------
   MEDIA QUERIES — responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .lnt-categories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1023px) {
  .lnt-nav-list { display: none; }
  .lnt-megamenu { display: none !important; }
  .lnt-latest-grid { grid-template-columns: repeat(2, 1fr); }
  .lnt-footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
}
@media (max-width: 760px) {
  .lnt-hero-inner { padding: 3rem 1.2rem; }
  .lnt-categories-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .lnt-cat-card { aspect-ratio: 1 / 1; }
  .lnt-cat-card-name { font-size: 1.1rem; }
  .lnt-latest-grid { grid-template-columns: 1fr; }
  .lnt-editorial-intro .lnt-editorial-grid { grid-template-columns: 1fr; }
  .lnt-footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .lnt-footer { padding: 3rem 0 1.5rem; }
  .lnt-cto-popup { left: .8rem; right: .8rem; max-width: none; }
}
@media (max-width: 480px) {
  .lnt-hero { min-height: 70vh; }
  .lnt-hero-inner { min-height: 70vh; }
  .lnt-section-title { font-size: 1.5rem; }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


/* === RP AGNOSTIC ANTI-FOOTPRINT FIXES === */
/* Auto-append par child_theme_builder pour garantir les regles anti-empreinte (cat-hero, burger, footer, etc.) meme quand Claude override le style.css custom. */
body section[class*="cat-hero"], body div[class*="cat-hero"] {
  position: relative !important;
  width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
  left: 0 !important; right: 0 !important;
  height: 360px !important; min-height: 360px !important; max-height: 360px !important;
  padding: 0 !important; overflow: hidden !important;
  display: flex !important; align-items: center !important;
  justify-content: center !important;
  border: none !important; box-shadow: none !important; outline: none !important;
  box-sizing: border-box !important;
}
/* Aussi force le parent <main> a etre full-width pour eviter cap a 1024 */
body main, body [class*="lda-main"], body [class*="bdf-main"], body [class*="db6-main"], body #content {
  width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
}
body [class*="cat-hero"] > img, body [class*="cat-hero-bg"], body [class*="cat-hero"] img {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  max-height: 360px !important;
  object-fit: cover !important; z-index: 0 !important;
  border: none !important;
}
body [class*="cat-hero"]::before, body [class*="cat-hero"]::after {
  content: none !important; display: none !important;
}
/* Overlay : absolute par-dessus l'image, juste pour le gradient sombre (fix 2026-06-17) */
body [class*="cat-hero-overlay"], body [class*="cat-hero"] > [class*="overlay"] {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  margin: 0 !important; padding: 0 !important;
  max-width: none !important;
  display: block !important;
  z-index: 1 !important;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.55) 100%) !important;
  pointer-events: none !important;
  border: none !important;
}
/* Container / inner du titre : centré au-dessus de l'overlay (z-index 2) */
body [class*="cat-hero"] > [class*="container"],
body [class*="cat-hero"] > [class*="cat-hero-inner"],
body [class*="cat-hero"] > [class*="hero-inner"]:not([class*="overlay"]),
body [class*="cat-hero"] > div:not([class*="overlay"]):not([class*="-bg"]) {
  position: relative !important; z-index: 2 !important;
  text-align: center !important;
  max-width: 900px !important; margin: 0 auto !important;
  padding: 1.5rem 2rem !important;
  border: none !important; background: transparent !important;
}
body [class*="cat-hero"] h1 {
  color: #ffffff !important;
  font-size: clamp(2.4rem, 6vw, 4rem) !important;
  text-align: center !important;
  margin: 0 !important; font-weight: 800 !important;
  text-shadow: 0 3px 12px rgba(0,0,0,.85), 0 0 30px rgba(0,0,0,.5) !important;
  border: none !important; display: block !important;
}
body [class*="cat-hero"] [class*="breadcrumb"],
body [class*="cat-hero"] nav[aria-label*="riane"],
body [class*="cat-hero"] nav[aria-label*="readcrumb"] {
  display: none !important;
}


/* [2026-06-17] PERSONA PHOTO — Force taille raisonnable.
   Sans contrainte, l'image 1024x1024 (Codex output) s'affiche en grand
   sur la page "À propos". On force max 280px avec auto height.
*/
body [class*="persona-photo"], body img[class*="persona"], body [class*="-persona"] img {
  max-width: 280px !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 auto !important;
}
@media (min-width: 768px) {
  body [class*="persona-photo"], body img[class*="persona"], body [class*="-persona"] img {
    max-width: 320px !important;
  }
}

/* [2026-06-17] BURGER MOBILE — Garantit l'affichage en mobile.
   Le CSS Claude met souvent display:none par defaut + media query qui
   n'est pas garantie. Force agnostique : tout selecteur contenant "burger"
   visible en mobile, invisible en desktop. Couvre tous prefixes
   (.db6-, .bdf-, .lda-, etc.) via [class*="burger"].
*/
@media (max-width: 1023px) {
  body [class*="burger"], body button[class*="burger"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 42px !important;
    min-height: 42px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 100 !important;
  }
}
@media (min-width: 1024px) {
  body [class*="burger"], body button[class*="burger"] {
    display: none !important;
  }
}

/* [2026-06-17] BURGER PARENT FIX : si un wrapper du header contient un
   burger, force-le visible en mobile. Claude met parfois le burger DANS un
   wrapper "cta-wrap" qui est display:none en mobile -> burger invisible.
*/
/* [2026-06-17] FOOTER COLOR HERITAGE — Force le footer ENTIER à hériter
   de la couleur du body. Claude définit parfois color:var(--bg) sur le footer
   (utile si bg sombre, illisible si bg clair). On force color:inherit → texte
   reste lisible peu importe le bg footer.
*/
body footer, body [class*="footer"]:not([class*="logo"]):not([class*="brand-logo"]) {
  color: inherit !important;
}

/* [2026-06-17] FOOTER LINKS HERITAGE — Force les liens à hériter du texte.
   Claude définit parfois color: var(--bg) sur les liens footer (utile si bg
   sombre, mais illisible si bg clair). On force color:inherit qui suit le
   texte parent → toujours lisible. underline pour distinguer du texte normal.
*/
body footer ul li a, body footer ol li a,
body [class*="footer"] ul li a:not([class*="btn"]):not([class*="cta"]),
body footer [class*="link"]:not([class*="brand"]):not([class*="btn"]) {
  color: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  text-decoration-thickness: 1px !important;
  text-decoration-color: currentColor !important;
  opacity: 0.85 !important;
  transition: opacity .2s ease !important;
}
body footer ul li a:hover, body footer ol li a:hover,
body [class*="footer"] ul li a:hover {
  opacity: 1 !important;
  text-decoration-thickness: 2px !important;
}

/* [2026-06-17] BURGER STYLE — 3 barres visibles + hover/animation.
   Le bouton burger Claude est souvent un <button> avec 3 <span> dedans qui
   représentent les barres, mais sans CSS la cible est un carré vide.
   Force ici un style propre, agnostique au prefixe.
*/
body [class*="burger"] {
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 6px;
  cursor: pointer !important;
  padding: 8px;
  color: inherit;
  transition: background .2s ease, border-color .2s ease !important;
}
body [class*="burger"]:hover, body [class*="burger"]:focus-visible {
  background: rgba(0,0,0,0.06);
  border-color: var(--db6-accent, currentColor);
}
/* Container des 3 barres (peut s'appeler "bars", "lines", etc.) */
body [class*="burger"] > [class*="bar"],
body [class*="burger"] > [class*="line"],
body [class*="burger"] > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 16px;
  gap: 0;
}
/* Les 3 barres elles-mêmes */
body [class*="burger"] [class*="bar"] > span,
body [class*="burger"] [class*="line"] > span,
body [class*="burger"] > span > span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  margin: 2px 0;
  transition: transform .25s ease, opacity .25s ease !important;
}
/* Etat ouvert : transforme en X */
body [class*="burger"][aria-expanded="true"] [class*="bar"] > span:nth-child(1),
body [class*="burger"][aria-expanded="true"] [class*="line"] > span:nth-child(1),
body [class*="burger"][aria-expanded="true"] > span > span:nth-child(1) {
  transform: translateY(6px) rotate(45deg) !important;
}
body [class*="burger"][aria-expanded="true"] [class*="bar"] > span:nth-child(2),
body [class*="burger"][aria-expanded="true"] [class*="line"] > span:nth-child(2),
body [class*="burger"][aria-expanded="true"] > span > span:nth-child(2) {
  opacity: 0 !important;
}
body [class*="burger"][aria-expanded="true"] [class*="bar"] > span:nth-child(3),
body [class*="burger"][aria-expanded="true"] [class*="line"] > span:nth-child(3),
body [class*="burger"][aria-expanded="true"] > span > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg) !important;
}

@media (max-width: 1023px) {
  body header [class*="cta-wrap"]:has([class*="burger"]),
  body header > div:has([class*="burger"]),
  body [class*="header"] [class*="-wrap"]:has([class*="burger"]),
  body [class*="header-inner"] > div:has([class*="burger"]) {
    display: flex;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* [2026-06-19] FIX contraste boutons (anti bouton invisible) */
html body a[class*="btn--primary"], html body button[class*="btn--primary"],
html body a[class*="btn-primary"], html body button[class*="btn-primary"],
html body a[class*="-cta"]:not([class*="ghost"]):not([class*="link"]),
html body button[class*="-cta"]:not([class*="ghost"]):not([class*="link"]) {
  color: #ffffff !important;
}
html body a[class*="btn--ghost"], html body button[class*="btn--ghost"],
html body a[class*="btn--secondary"], html body button[class*="btn--secondary"],
html body a[class*="btn-secondary"], html body button[class*="btn-secondary"] {
  color: var(--db6-text, #1a1a1a) !important;
}

/* [2026-06-19] PERSONA shape variation seedee : round (50%) */
html body img[class*="persona"],
html body img[class*="author"],
html body img[class*="author-photo"],
html body img[class*="persona-photo"],
html body img[class*="redaction"],
html body img[class*="about-photo"],
html body img[class*="team-photo"],
html body img[class*="profile"],
html body [class*="persona"] > img,
html body [class*="author"] > img:not([class*="logo"]),
html body [class*="about"] img:not([class*="logo"]):not([class*="brand"]) {
  border-radius: 50% !important;
}


/* Mouse effect : list_item_hover_background */
.lnt-footer-links li, .lnt-nav-mobile-list li, .lnt-megamenu-aside a { position: relative; isolation: isolate; } .lnt-footer-links li::before, .lnt-nav-mobile-list li::before, .lnt-megamenu-aside a::before { content: ''; position: absolute; inset: 0 -.6rem; background: var(--lnt-color-accent); opacity: 0; z-index: -1; transform: scaleX(0); transform-origin: left center; transition: transform .35s ease, opacity .35s ease; border-radius: 2px; } @media (hover: hover) { .lnt-footer-links li:hover::before, .lnt-nav-mobile-list li:hover::before, .lnt-megamenu-aside a:hover::before { transform: scaleX(1); opacity: .14; } }
