/* =========================================================================
   Le Quotidien Local — Custom Theme Stylesheet
   Design System: Petrolhead Blog Stories (PT Serif + Inter)
   Palette: bleu presse #0470bb + accent rouge #ff5c52 (adapté du concurrent actu.fr)
   ========================================================================= */

:root {
  --lql-color-primary: #0470bb;
  --lql-color-primary-dark: #035188;
  --lql-color-accent: #ff5c52;
  --lql-color-accent-dark: #d8463d;
  --lql-color-text: #1f1f1f;
  --lql-color-text-soft: #525252;
  --lql-color-bg: #FAF9F6;
  --lql-color-surface: #FFFFFF;
  --lql-color-line: #E5E5E5;
  --lql-color-line-strong: #cdd9df;
  --lql-color-accent-soft: #fff1ef;

  --lql-font-headings: 'PT Serif', Georgia, 'Times New Roman', serif;
  --lql-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --lql-radius: 4px;
  --lql-radius-lg: 10px;
  --lql-shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --lql-shadow-md: 0 6px 22px rgba(0, 0, 0, .10);
  --lql-shadow-lg: 0 14px 40px rgba(0, 0, 0, .14);

  --lql-max-width: 1240px;
  --lql-gutter: 1.5rem;
  --lql-header-h: 76px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--lql-color-bg);
  color: var(--lql-color-text);
  font-family: var(--lql-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--lql-font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--lql-color-text);
  margin: 0 0 .75rem;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.1rem; color: var(--lql-color-text); }

a { color: var(--lql-color-primary); text-decoration: none; transition: color .15s ease, border-color .15s ease; }
a:hover { color: var(--lql-color-primary-dark); }

main, .lql-main { padding-top: 0 !important; margin-top: 0 !important; }

/* =========================================================================
   CONTAINER & GRID UTILS
   ========================================================================= */
.lql-container {
  max-width: var(--lql-max-width);
  margin: 0 auto;
  padding: 0 var(--lql-gutter);
}

.lql-section { padding: 4rem 0; }
.lql-section--tight { padding: 2.5rem 0; }
.lql-section--alt { background: var(--lql-color-surface); border-top: 1px solid var(--lql-color-line); border-bottom: 1px solid var(--lql-color-line); }

.lql-eyebrow {
  display: inline-block;
  font-family: var(--lql-font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lql-color-accent);
  margin-bottom: .9rem;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.lql-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.4rem;
  font-family: var(--lql-font-body);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--lql-radius);
  border: 1.5px solid transparent;
  transition: all .2s ease;
  cursor: pointer;
}
.lql-btn--primary { background: var(--lql-color-primary); color: #fff; }
.lql-btn--primary:hover { background: var(--lql-color-primary-dark); color: #fff; }
.lql-btn--ghost { background: transparent; color: var(--lql-color-text); border-color: var(--lql-color-line-strong); }
.lql-btn--ghost:hover { border-color: var(--lql-color-primary); color: var(--lql-color-primary); }
.lql-btn--cta { background: var(--lql-color-accent); color: #fff; }
.lql-btn--cta:hover { background: var(--lql-color-accent-dark); color: #fff; }

/* =========================================================================
   HEADER — sticky-minimal (logo gauche + nav inline + zone droite épurée)
   ========================================================================= */
.lql-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--lql-color-line);
  min-height: var(--lql-header-h);
}
.lql-header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--lql-header-h);
  justify-content: flex-start;
}
.lql-brand-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.lql-brand-logo { display: block; width: auto; }
.lql-brand-name {
  font-family: var(--lql-font-headings);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--lql-color-text);
}
.lql-brand-link:hover .lql-brand-name { color: var(--lql-color-primary); }

/* Desktop nav — visible >=1024px (anti-bug : nav inline desktop) */
.lql-nav-desktop { display: none; }
.lql-nav-desktop-list {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.lql-nav-desktop-list a {
  font-family: var(--lql-font-body);
  font-size: .95rem;
  font-weight: 500;
  color: var(--lql-color-text);
  text-decoration: none;
  padding: .45rem .15rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
  white-space: nowrap;
}
.lql-nav-desktop-list a:hover {
  color: var(--lql-color-primary);
  border-bottom-color: var(--lql-color-accent);
}

/* Burger — mobile uniquement */
.lql-burger {
  display: none;
  background: transparent;
  border: 1.5px solid var(--lql-color-line);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  position: relative;
  z-index: 10000;
}
.lql-burger-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 16px;
  justify-content: center;
}
.lql-burger-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--lql-color-text);
  border-radius: 2px;
}

@media (max-width: 1023px) {
  .lql-header-inner { justify-content: space-between; gap: 1rem; }
  .lql-burger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 8px !important;
    background: rgba(255,255,255,0.92) !important;
    border: 1.5px solid rgba(0,0,0,0.18) !important;
    border-radius: 8px !important;
    color: var(--lql-color-text) !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    flex-shrink: 0 !important;
    position: relative !important;
  }
  .lql-burger-bars {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 24px !important;
    height: 16px !important;
  }
  .lql-burger-label { display: none !important; }
  .lql-brand-name { font-size: 1.1rem; }
}

@media (min-width: 1024px) {
  .lql-nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
    margin: 0 1rem;
  }
  .lql-burger, .lql-burger-wrap { display: none !important; }
}

/* =========================================================================
   MOBILE DRAWER NAV
   ========================================================================= */
.lql-nav { display: none; }
@media (max-width: 1023px) {
  .lql-nav.is-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86%;
    max-width: 380px;
    background: #ffffff;
    padding: 5rem 1.5rem 2rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    animation: lqlSlideIn .25s ease-out;
  }
  .lql-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  .lql-nav-list li {
    border-bottom: 1px solid #e5e5e5;
  }
  .lql-nav-list a {
    display: block;
    padding: 1rem 0;
    font-family: var(--lql-font-headings);
    font-size: 1.05rem;
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 600;
  }
  .lql-nav-list a:hover { color: var(--lql-color-primary); }
  .lql-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 0;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #0a0a0a;
    padding: .4rem .6rem;
  }
  .lql-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9998;
  }
  .lql-nav-overlay.is-open { display: block; animation: lqlFadeIn .2s ease-out; }
}

/* Drawer CTA — visible mobile uniquement, en BAS du drawer */
.lql-drawer-cta {
  display: block !important;
  margin: 2rem 0 1.5rem !important;
  padding: 1rem 1.5rem !important;
  text-align: center !important;
  background: var(--lql-color-accent) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 1.05rem !important;
}
@media (min-width: 1024px) {
  .lql-drawer-cta { display: none !important; }
}

@keyframes lqlSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes lqlFadeIn  { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================================
   HERO — zoom-on-scroll
   ========================================================================= */
.lql-hero {
  position: relative;
  overflow: hidden;
  min-height: 68vh;
  display: flex;
  align-items: center;
  background: #0a0a0a;
}
.lql-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform-origin: center center;
  will-change: transform;
}
.lql-hero--zoom-on-scroll .lql-hero-bg {
  transition: transform .15s linear;
}
.lql-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: 4rem var(--lql-gutter);
  color: #fff;
}
.lql-hero-title {
  font-family: var(--lql-font-headings);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
.lql-hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  margin: 0 0 1.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.lql-hero-cta-row { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Dark overlay UNIQUEMENT si vidéo (la règle dit jamais d'overlay sombre sur image hero classique) */
.lql-hero--has-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.65) 100%);
  z-index: 2;
  pointer-events: none;
}
.lql-hero--has-video .lql-hero-inner { z-index: 3; }

/* =========================================================================
   EDITORIAL BLOCK — bloc SEO 400-700 mots après le hero
   ========================================================================= */
.lql-editorial {
  padding: 4rem 0 3rem;
  background: var(--lql-color-bg);
}
.lql-editorial-inner { max-width: 880px; margin: 0 auto; padding: 0 var(--lql-gutter); }
.lql-editorial h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 1.2rem;
  color: var(--lql-color-text);
}
.lql-editorial h3 {
  font-size: 1.25rem;
  color: var(--lql-color-primary);
  margin-top: 1.8rem;
  margin-bottom: .6rem;
}
.lql-editorial p { font-size: 1.02rem; color: var(--lql-color-text); margin-bottom: 1rem; }
.lql-editorial a { color: var(--lql-color-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lql-editorial a:hover { color: var(--lql-color-accent); }
.lql-editorial-callout {
  background: #fff;
  border-left: 4px solid var(--lql-color-accent);
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  border-radius: 0 var(--lql-radius-lg) var(--lql-radius-lg) 0;
  box-shadow: var(--lql-shadow-sm);
}
.lql-editorial-callout h3 { margin-top: 0; color: var(--lql-color-text); }

/* =========================================================================
   CATEGORIES GRID
   ========================================================================= */
.lql-categories {
  padding: 3.5rem 0;
}
.lql-categories-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}
.lql-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.lql-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--lql-radius-lg);
  background: #fff;
  border: 1px solid var(--lql-color-line);
  text-decoration: none;
  color: var(--lql-color-text);
  transition: transform .25s ease, box-shadow .25s ease;
  min-height: 220px;
}
.lql-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lql-shadow-md);
}
.lql-cat-card-img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: var(--lql-color-primary);
}
.lql-cat-card-fallback {
  display: block;
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, var(--lql-color-primary) 0%, var(--lql-color-primary-dark) 100%);
}
.lql-cat-card-body { padding: 1rem 1.1rem; flex: 1; }
.lql-cat-card-name {
  font-family: var(--lql-font-headings);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 .35rem;
  color: var(--lql-color-text);
}
.lql-cat-card-arrow {
  font-size: .85rem;
  color: var(--lql-color-accent);
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* =========================================================================
   LATEST ARTICLES GRID
   ========================================================================= */
.lql-latest {
  padding: 4rem 0;
  background: var(--lql-color-surface);
  border-top: 1px solid var(--lql-color-line);
  border-bottom: 1px solid var(--lql-color-line);
}
.lql-latest-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.lql-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 1023px) { .lql-latest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .lql-latest-grid { grid-template-columns: 1fr; } }

.lql-article-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--lql-color-line);
  border-radius: var(--lql-radius-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.lql-article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lql-shadow-md);
}
.lql-article-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--lql-color-line-strong);
}
.lql-article-card-body { padding: 1.2rem 1.3rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.lql-article-card-cat {
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lql-color-accent);
  margin-bottom: .55rem;
}
.lql-article-card-title {
  font-family: var(--lql-font-headings);
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0 0 .65rem;
  line-height: 1.3;
  color: var(--lql-color-text);
}
.lql-article-card:hover .lql-article-card-title { color: var(--lql-color-primary); }
.lql-article-card-excerpt {
  font-size: .92rem;
  color: var(--lql-color-text-soft);
  margin: 0 0 1rem;
  line-height: 1.55;
}
.lql-article-card-meta {
  font-size: .8rem;
  color: var(--lql-color-text-soft);
  margin-top: auto;
}

.lql-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  background: #fff;
  border-radius: var(--lql-radius-lg);
  border: 1px dashed var(--lql-color-line-strong);
  color: var(--lql-color-text-soft);
}
.lql-empty-state h3 { color: var(--lql-color-text); margin-bottom: .5rem; }

/* =========================================================================
   TOOL ON HOME
   ========================================================================= */
.lql-home-tool {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--lql-color-bg) 0%, #fff 100%);
}
.lql-home-tool-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
.lql-home-tool-head p {
  font-size: 1.05rem;
  color: var(--lql-color-text-soft);
}
.lql-home-tool-wrap {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--lql-color-line);
  border-radius: var(--lql-radius-lg);
  padding: 2rem;
  box-shadow: var(--lql-shadow-md);
}

/* =========================================================================
   METRICS LINKS (a52_render_metrics_links — bloc opt-in customizer)
   ========================================================================= */
.lql-metrics-links {
  padding: 3rem 0;
  background: var(--lql-color-surface);
  border-top: 1px solid var(--lql-color-line);
  border-bottom: 1px solid var(--lql-color-line);
}

/* =========================================================================
   CATEGORY PAGE (single-top : description en haut, 1 fois)
   ========================================================================= */
.lql-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--lql-color-primary);
}
.lql-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.lql-cat-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem var(--lql-gutter);
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.75) 100%);
  max-width: var(--lql-max-width);
  margin: 0 auto;
}
.lql-cat-hero-title {
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.lql-cat-intro {
  padding: 2.5rem 0 1.5rem;
}
.lql-cat-intro-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--lql-gutter);
}
.lql-cat-intro p {
  font-size: 1.04rem;
  color: var(--lql-color-text);
  line-height: 1.7;
}

/* =========================================================================
   FOOTER (4 cols)
   ========================================================================= */
.lql-footer {
  background: #14191f;
  color: #fff;
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
}
.lql-footer a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lql-footer a:hover { color: var(--lql-color-accent); }
.lql-footer h3 {
  font-family: var(--lql-font-headings);
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 1.1rem;
  letter-spacing: .02em;
}
.lql-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 980px) {
  .lql-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .lql-footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}
.lql-footer-col p {
  color: #fff;
  font-size: .92rem;
  margin: 0 0 1rem;
  line-height: 1.6;
}
.a52-footer-brand-pitch { color: #fff; font-size: .92rem; line-height: 1.6; margin: 0 0 1rem; }
.a52-footer-brand-cta {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--lql-color-accent);
  padding-bottom: 2px;
  font-size: .95rem;
}
.a52-footer-brand-cta:hover { color: var(--lql-color-accent); }
.a52-footer-logo { display: block; margin-bottom: 1rem; height: auto; max-width: 160px; filter: brightness(0) invert(1); }

.a52-footer-links,
.lql-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.a52-footer-links li,
.lql-footer-links li {
  margin-bottom: .55rem;
  font-size: .93rem;
}
.a52-footer-links a,
.lql-footer-links a { color: #fff; text-decoration: none; }
.a52-footer-links a:hover,
.lql-footer-links a:hover { color: var(--lql-color-accent); text-decoration: underline; }

.lql-footer-social {
  display: flex;
  gap: .8rem;
  margin-top: .5rem;
}
.lql-footer-social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .08);
  border-radius: 8px;
  text-decoration: none;
}
.lql-footer-social a:hover { background: var(--lql-color-accent); color: #fff; }

.lql-footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
  color: #fff;
}
.lql-footer-bottom a { color: #fff; }

/* =========================================================================
   PERSONA PHOTO (page à-propos)
   ========================================================================= */
.a52-persona-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 0 1.5rem;
  border: 4px solid #fff;
  box-shadow: var(--lql-shadow-md);
}
@media (max-width: 640px) {
  .a52-persona-photo { width: 160px; height: 160px; }
}

/* =========================================================================
   CONTACT FORM WRAPPER
   ========================================================================= */
.a52-contact-form {
  max-width: 760px;
  margin: 2.5rem auto;
  background: #fff;
  border: 1px solid var(--lql-color-line);
  border-radius: var(--lql-radius-lg);
  overflow: hidden;
}

/* =========================================================================
   ANIMATIONS — CTA: magnetic_button / CTR: accordion_faq / CTO: recent_activity_popup
   ========================================================================= */

/* --- CTA: magnetic_button --- */
@keyframes lqlMagneticPulse {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(0, -2px) scale(1.02); }
}
.lql-btn--cta {
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease, background .2s ease;
}
.lql-btn--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.lql-btn--cta:hover {
  transform: translate(0, -3px);
  box-shadow: 0 14px 32px rgba(255, 92, 82, 0.35);
}
.lql-btn--cta:hover::before { opacity: 1; }
.lql-btn--cta:focus-visible {
  outline: 2px solid var(--lql-color-accent);
  outline-offset: 3px;
  animation: lqlMagneticPulse 1.4s ease-in-out infinite;
}

/* --- CTR: accordion_faq --- */
.lql-faq { margin-top: 2rem; }
.lql-faq-item {
  border-bottom: 1px solid var(--lql-color-line);
  padding: 1.2rem 0;
}
.lql-faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--lql-font-headings);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--lql-color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .35rem 0;
}
.lql-faq-item summary::-webkit-details-marker { display: none; }
.lql-faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--lql-color-accent);
  font-weight: 400;
  line-height: 1;
  transition: transform .3s cubic-bezier(.65, 0, .35, 1);
  display: inline-block;
  width: 1.5rem;
  text-align: center;
}
.lql-faq-item[open] summary::after { transform: rotate(45deg); }
.lql-faq-content {
  padding: .8rem 0 .4rem;
  color: var(--lql-color-text-soft);
  animation: lqlAccordionOpen .35s ease-out;
}
@keyframes lqlAccordionOpen {
  from { opacity: 0; transform: translateY(-6px); max-height: 0; }
  to { opacity: 1; transform: translateY(0); max-height: 500px; }
}

/* --- CTO: recent_activity_popup --- */
.lql-recent-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border: 1px solid var(--lql-color-line);
  border-left: 4px solid var(--lql-color-accent);
  border-radius: var(--lql-radius-lg);
  padding: .9rem 1.1rem .9rem 1rem;
  box-shadow: var(--lql-shadow-lg);
  max-width: 320px;
  z-index: 5000;
  display: none;
  font-size: .88rem;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
}
.lql-recent-popup.is-visible { display: block; transform: translateY(0); opacity: 1; }
.lql-recent-popup-title {
  font-weight: 600;
  color: var(--lql-color-text);
  margin-bottom: .2rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.lql-recent-popup-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #06bc67;
  box-shadow: 0 0 0 0 rgba(6, 188, 103, 0.6);
  animation: lqlPulseDot 1.8s ease-out infinite;
}
@keyframes lqlPulseDot {
  0% { box-shadow: 0 0 0 0 rgba(6, 188, 103, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(6, 188, 103, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 188, 103, 0); }
}
.lql-recent-popup-body { color: var(--lql-color-text-soft); }
.lql-recent-popup-close {
  position: absolute;
  top: 4px;
  right: 6px;
  background: transparent;
  border: 0;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--lql-color-text-soft);
}
@media (max-width: 480px) {
  .lql-recent-popup { left: 12px; right: 12px; max-width: none; bottom: 14px; }
}

/* =========================================================================
   GENERIC PAGE (à-propos, contact, etc.)
   ========================================================================= */
.lql-page-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem var(--lql-gutter) 4rem;
}
.lql-page-body h1 { margin-bottom: 1.5rem; }
.lql-page-body h2 { margin-top: 2.2rem; }

/* =========================================================================
   TOOL PAGE (page-templates/tool-*.php)
   ========================================================================= */
.lql-tool-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 3rem var(--lql-gutter) 4rem;
}
.lql-tool-page-intro p {
  font-size: 1.05rem;
  color: var(--lql-color-text);
  line-height: 1.7;
}

/* =========================================================================
   ACCESSIBILITY / focus
   ========================================================================= */
:focus-visible { outline: 2px solid var(--lql-color-primary); outline-offset: 2px; border-radius: 4px; }
a:focus-visible { outline-offset: 4px; }

/* =========================================================================
   PRINT
   ========================================================================= */
@media print {
  .lql-header, .lql-footer, .lql-recent-popup { display: none !important; }
}
