/* ==========================================================
   INTERNAL PAGES — Premium visual system
   All non-homepage pages: single, archive, category, page
   ========================================================== */

/* ── 1. PAGE HERO BANNER ──────────────────────────────────── */

.entry-hero,
.entry-hero-layout-above,
.post-hero-section,
.page-hero-section {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--lr-vert) 0%,
    #0d2318 60%,
    #1a3d2b 100%
  );
}

/* Texture grain overlay */
.entry-hero::before,
.entry-hero-layout-above::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      ellipse 80% 60% at 60% 0%,
      rgba(58, 125, 30, 0.18) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 50% 40% at 20% 100%,
      rgba(217, 64, 16, 0.1) 0%,
      transparent 60%
    );
  pointer-events: none;
  z-index: 1;
}

/* Subtle grid pattern */
.entry-hero::after,
.entry-hero-layout-above::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 1;
}

.entry-hero-container-inner,
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.entry-hero .hero-container,
.hero-section .hero-container {
  padding: 5rem 3rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero title */
.entry-header .entry-title,
.entry-hero .entry-title,
.post-title,
.page-title {
  font-family: var(--lr-font-display) !important;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  margin: 0 0 0.75rem !important;
  max-width: 760px;
}

/* Hero breadcrumb */
.entry-hero .kadence-breadcrumbs,
.entry-hero .breadcrumb-trail,
.site-container .breadcrumb-trail {
  margin-bottom: 1rem;
}

.entry-hero .kadence-breadcrumbs a,
.entry-hero .breadcrumb-trail a,
.site-container .breadcrumb-trail a {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
}

.entry-hero .kadence-breadcrumbs a:hover,
.entry-hero .breadcrumb-trail a:hover {
  color: rgba(255, 140, 80, 0.9) !important;
}

.entry-hero .kadence-breadcrumbs,
.site-container .breadcrumb-trail {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.8rem;
}

/* Post meta in hero */
.entry-hero .entry-meta,
.entry-hero .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.75rem;
}

.entry-hero .entry-meta span,
.entry-hero .entry-meta a,
.entry-hero .post-meta span,
.entry-hero .post-meta a {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.82rem;
  text-decoration: none;
}

.entry-hero .entry-meta a:hover {
  color: rgba(255, 140, 80, 0.9) !important;
}

/* Category badge in hero */
.entry-hero .entry-taxonomies .post-categories a,
.entry-hero .entry-taxonomies .category-link {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: rgba(217, 64, 16, 0.85);
  border-radius: 999px;
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  margin-bottom: 0.75rem;
}

/* ── 2. FEATURED IMAGE — immersive banner ─────────────────── */

.post .featured-image-wrap,
.single .post-thumbnail,
.single .entry-featured-image {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 0;
}

.single .post-thumbnail img,
.single .entry-featured-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 0 !important;
  display: block;
}

/* ── 3. CONTENT LAYOUT — editorial reading width ──────────── */

#primary.content-area {
  background: var(--lr-fond-creme);
  min-height: 60vh;
}

.content-container.site-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.site-main {
  padding: 5rem 0 6rem;
}

/* Single post: full width inside lr-single-container */
.single .entry-content-wrap,
.single .entry-content {
  max-width: none;
  margin: 0;
}

/* Page content: full width */
.page .entry-content-wrap {
  max-width: none;
  margin: 0;
}

/* ── 4. ARTICLE CONTENT TYPOGRAPHY ───────────────────────── */

.entry-content {
  font-size: 1.0625rem;
  line-height: 1.82;
  color: var(--lr-texte);
}

.entry-content > p:first-of-type {
  font-size: clamp(1.1rem, 1.5vw, 1.22rem);
  line-height: 1.75;
  color: #2d3a2e;
  font-weight: 400;
}

.entry-content h2 {
  font-size: clamp(1.55rem, 2.2vw, 2rem) !important;
  margin-top: 2.5rem !important;
  margin-bottom: 0.75rem !important;
  color: var(--lr-vert) !important;
}

.entry-content h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem) !important;
  margin-top: 2rem !important;
  margin-bottom: 0.6rem !important;
  color: #1f3d2d !important;
}

.entry-content h4 {
  font-size: 1.1rem !important;
  margin-top: 1.5rem !important;
  color: var(--lr-vert) !important;
}

/* ── 5. POST CARD — article list (archive, category) ─────── */

/* Override Kadence archive grid */
#archive-container.posts-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
  gap: 2rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#archive-container.posts-container > li,
#archive-container.posts-container > article {
  margin: 0 !important;
  padding: 0 !important;
}

/* Card base */
.entry.loop-entry,
#archive-container .entry {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(16, 45, 32, 0.07);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(27, 67, 50, 0.07);
}

.entry.loop-entry:hover,
#archive-container .entry:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(16, 45, 32, 0.13);
}

/* Card thumbnail */
.loop-entry .entry-thumbnail,
.loop-entry .entry-loop-thumbnail {
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.loop-entry .entry-thumbnail img,
.loop-entry .entry-loop-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 0 !important;
  display: block;
}

.loop-entry:hover .entry-thumbnail img,
.loop-entry:hover .entry-loop-thumbnail img {
  transform: scale(1.04);
}

/* Card body */
.loop-entry .entry-content-wrap,
.loop-entry .entry-header {
  padding: 1.5rem !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Card category badge */
.loop-entry .entry-taxonomies,
.loop-entry .entry-categories {
  margin-bottom: 0.6rem;
}

.loop-entry .entry-taxonomies a,
.loop-entry .category-link {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  background: rgba(27, 67, 50, 0.08);
  border-radius: 999px;
  color: var(--lr-vert) !important;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition:
    background 0.2s,
    color 0.2s;
}

.loop-entry .entry-taxonomies a:hover {
  background: var(--lr-orange);
  color: #fff !important;
}

/* Card title */
.loop-entry .entry-title {
  font-family: var(--lr-font-heading) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--lr-vert) !important;
  margin: 0 0 0.6rem !important;
  letter-spacing: -0.01em !important;
}

.loop-entry .entry-title a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.loop-entry .entry-title a:hover {
  color: var(--lr-orange) !important;
}

/* Card meta (date, author) */
.loop-entry .entry-meta,
.loop-entry .entry-loop-meta {
  font-size: 0.78rem !important;
  color: var(--lr-texte-muted) !important;
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.loop-entry .entry-meta a,
.loop-entry .entry-loop-meta a {
  color: var(--lr-texte-muted) !important;
  text-decoration: none;
}

.loop-entry .entry-meta a:hover {
  color: var(--lr-orange) !important;
}

/* Card excerpt */
.loop-entry .entry-summary,
.loop-entry .entry-content p {
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
  color: #4a5568 !important;
  margin: 0 0 1rem !important;
  flex: 1;
}

/* Card read more link */
.loop-entry .more-link,
.loop-entry .entry-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--lr-vert) !important;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(27, 67, 50, 0.08);
  transition:
    color 0.2s,
    gap 0.2s;
}

.loop-entry .more-link::after,
.loop-entry .entry-more-link::after {
  content: "→";
  transition: transform 0.2s;
}

.loop-entry .more-link:hover,
.loop-entry .entry-more-link:hover {
  color: var(--lr-orange) !important;
  gap: 0.55rem;
}

/* ── 6. ARCHIVE HEADER ───────────────────────────────────── */

.archive-header,
.archive-description,
.taxonomy-description {
  margin-bottom: 2.5rem;
}

.archive-title,
.page-header .archive-title {
  font-family: var(--lr-font-display) !important;
  font-size: clamp(1.8rem, 3vw, 2.8rem) !important;
  color: var(--lr-vert) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 0.5rem !important;
}

.archive-description p,
.taxonomy-description p {
  font-size: 1.05rem;
  color: var(--lr-texte-muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ── 7. ARCHIVE HERO (category/archive banner) ────────────── */

/* ── TYPOGRAPHY-LED ARCHIVE HERO ─────────────────────────────
   Fond blanc — titre oversize sombre — overline verte
   ────────────────────────────────────────────────────────── */

.lr-archive-hero {
  background: #ffffff;
  border-bottom: 1px solid #e5ebe7;
  padding: 5.5rem 3rem 4.5rem;
}

.lr-archive-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.lr-archive-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lr-vert);
  margin-bottom: 1.25rem;
}

.lr-archive-hero__label::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--lr-vert);
  border-radius: 2px;
}

.lr-archive-hero__title {
  font-family: var(--lr-font-display) !important;
  font-size: clamp(2.2rem, 5vw, 4rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.1 !important;
  color: #0d1f16 !important;
  margin: 0 0 1rem !important;
}

.lr-archive-hero__title em {
  font-style: normal !important;
  color: var(--lr-vert) !important;
}

.lr-archive-hero__desc {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: #5a7262;
  max-width: 600px;
  line-height: 1.75;
  margin: 0;
}

/* ── 8. PAGINATION ───────────────────────────────────────── */

.pagination,
.navigation.pagination,
.entry-navigation,
.posts-navigation {
  margin: 3rem 0 1rem;
  display: flex;
  justify-content: center;
}

.pagination .nav-links,
.navigation.pagination .nav-links,
.posts-navigation .nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.pagination .page-numbers,
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.75rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none !important;
  transition:
    background 0.2s,
    color 0.2s;
  border: 1px solid rgba(27, 67, 50, 0.14);
  color: var(--lr-vert) !important;
  background: #ffffff;
}

.pagination .page-numbers:hover,
.navigation.pagination .page-numbers:hover {
  background: var(--lr-vert);
  color: #fff !important;
  border-color: var(--lr-vert);
}

.pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
  background: var(--lr-vert);
  color: #fff !important;
  border-color: var(--lr-vert);
}

/* Post navigation (prev/next on single) */
.post-navigation,
.entry-navigation.post-navigation {
  margin: 3.5rem 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(27, 67, 50, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
  display: flex;
}

.post-navigation .nav-next {
  justify-content: flex-end;
  text-align: right;
}

.post-navigation a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none !important;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(27, 67, 50, 0.1);
  box-shadow: 0 2px 12px rgba(16, 45, 32, 0.06);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  max-width: 340px;
  width: 100%;
}

.post-navigation a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 45, 32, 0.12);
  border-color: rgba(27, 67, 50, 0.25);
}

.post-navigation .nav-subtitle {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lr-orange) !important;
}

.post-navigation .nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lr-vert) !important;
  line-height: 1.35;
}

/* ── 9. SIDEBAR ──────────────────────────────────────────── */

#secondary.widget-area,
.sidebar {
  padding-top: 0;
}

.sidebar .widget {
  background: #ffffff !important;
  border: 1px solid rgba(27, 67, 50, 0.09) !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 14px rgba(16, 45, 32, 0.06) !important;
  padding: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.sidebar .widget-title {
  font-family: var(--lr-font-heading) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--lr-vert) !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0.6rem !important;
  border-bottom: 2px solid rgba(217, 64, 16, 0.3) !important;
}

.sidebar .widget ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.sidebar .widget ul li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(27, 67, 50, 0.06);
}

.sidebar .widget ul li:last-child {
  border-bottom: none;
}

.sidebar .widget ul li a {
  color: #3d5247 !important;
  font-size: 0.88rem;
  text-decoration: none;
  transition:
    color 0.2s,
    padding-left 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sidebar .widget ul li a::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lr-orange);
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.sidebar .widget ul li a:hover {
  color: var(--lr-orange) !important;
  padding-left: 3px;
}

.sidebar .widget ul li a:hover::before {
  opacity: 1;
}

/* Search widget */
.sidebar .widget_search .search-form {
  display: flex;
  gap: 0;
}

.sidebar .widget_search input[type="search"] {
  flex: 1;
  border-radius: 8px 0 0 8px !important;
  border-right: none !important;
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
}

.sidebar .widget_search .search-submit {
  background: var(--lr-vert) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 8px 8px 0 !important;
  padding: 0 1rem !important;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s !important;
}

.sidebar .widget_search .search-submit:hover {
  background: var(--lr-orange) !important;
}

/* ── 10. AUTHOR BOX ──────────────────────────────────────── */

.entry-author,
.author-box {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  background: linear-gradient(
    135deg,
    rgba(248, 245, 240, 0.95) 0%,
    rgba(255, 255, 255, 0.98) 100%
  );
  border: 1px solid rgba(27, 67, 50, 0.1);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(16, 45, 32, 0.07);
  margin: 2.5rem 0;
}

.entry-author .author-avatar img,
.author-box .author-avatar img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 3px solid rgba(27, 67, 50, 0.15);
  flex-shrink: 0;
}

.entry-author .author-name,
.author-box .author-name {
  font-family: var(--lr-font-heading) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--lr-vert) !important;
  margin: 0 0 0.3rem !important;
}

.entry-author .author-description,
.author-box .author-description {
  font-size: 0.88rem;
  color: var(--lr-texte-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── 11. TAGS ────────────────────────────────────────────── */

.entry-tags,
.post-tags {
  margin: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.entry-tags .tags-title,
.post-tags .tags-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lr-texte-muted);
  margin-right: 0.25rem;
}

.entry-tags a,
.post-tags a {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(27, 67, 50, 0.18);
  font-size: 0.78rem;
  font-weight: 500;
  color: #3d5247 !important;
  text-decoration: none !important;
  background: rgba(27, 67, 50, 0.04);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.entry-tags a:hover,
.post-tags a:hover {
  background: var(--lr-vert);
  border-color: var(--lr-vert);
  color: #fff !important;
}

/* ── 12. COMMENTS ────────────────────────────────────────── */

.comments-area {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(27, 67, 50, 0.1);
}

.comments-title {
  font-family: var(--lr-font-heading) !important;
  font-size: 1.4rem !important;
  color: var(--lr-vert) !important;
  margin-bottom: 1.5rem !important;
}

.comment-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.comment-body {
  padding: 1.25rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(27, 67, 50, 0.08);
  margin-bottom: 1rem;
}

.comment-author .fn {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lr-vert) !important;
}

.comment-metadata {
  font-size: 0.75rem;
  color: var(--lr-texte-muted);
}

.comment-content p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--lr-texte);
  margin: 0.6rem 0 0;
}

.comment-reply-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lr-vert) !important;
  text-decoration: none !important;
}

.comment-reply-link:hover {
  color: var(--lr-orange) !important;
}

/* Comment form */
.comment-respond {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(
    135deg,
    rgba(248, 245, 240, 0.9) 0%,
    rgba(255, 255, 255, 0.98) 100%
  );
  border: 1px solid rgba(27, 67, 50, 0.1);
  border-radius: 16px;
}

.comment-respond .comment-reply-title {
  font-family: var(--lr-font-heading) !important;
  font-size: 1.2rem !important;
  color: var(--lr-vert) !important;
  margin-bottom: 1.25rem !important;
}

.comment-respond input,
.comment-respond textarea {
  border-radius: 10px !important;
  border: 1px solid rgba(27, 67, 50, 0.14) !important;
  padding: 0.7rem 1rem !important;
  font-size: 0.9rem !important;
  width: 100%;
  background: #fff !important;
}

.comment-respond input:focus,
.comment-respond textarea:focus {
  border-color: rgba(212, 106, 46, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(212, 106, 46, 0.1) !important;
  outline: none !important;
}

.comment-respond .submit {
  background: linear-gradient(
    135deg,
    var(--lr-vert) 0%,
    #275840 100%
  ) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.7rem 1.75rem !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s !important;
  letter-spacing: 0.02em;
}

.comment-respond .submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.22) !important;
}

/* ── 13. READING PROGRESS INDICATOR ─────────────────────── */

.lr-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--lr-vert) 0%, var(--lr-orange) 100%);
  z-index: 9999;
  transition: width 0.05s linear;
  pointer-events: none;
}

/* ── 14. RELATED POSTS ───────────────────────────────────── */

.lr-related {
  margin: 3.5rem 0 0;
  padding: 2.5rem 0 0;
  border-top: 1px solid rgba(27, 67, 50, 0.1);
}

.lr-related__title {
  font-family: var(--lr-font-heading) !important;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lr-texte-muted);
  margin-bottom: 1.5rem;
}

.lr-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.lr-related__card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(27, 67, 50, 0.08);
  box-shadow: 0 2px 12px rgba(16, 45, 32, 0.06);
  text-decoration: none !important;
  display: block;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.lr-related__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(16, 45, 32, 0.13);
}

.lr-related__card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.lr-related__card-body {
  padding: 1rem 1.1rem;
}

.lr-related__card-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lr-orange);
  display: block;
  margin-bottom: 0.35rem;
}

.lr-related__card-title {
  font-family: var(--lr-font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--lr-vert);
  line-height: 1.35;
  margin: 0;
}

/* ── 15. SECTION CTA INTERNE — on single pages ───────────── */

.lr-internal-cta {
  margin: 4rem auto 0;
  padding: 4rem 3rem;
  max-width: 860px;
  background: linear-gradient(140deg, #1b4332 0%, #0f2d1e 60%, #162b20 100%);
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Halo lumineux haut-centre */
.lr-internal-cta::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(45, 122, 85, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

/* Cercles décoratifs flous */
.lr-internal-cta::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 82, 26, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.lr-internal-cta__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 1rem !important;
  position: relative;
  z-index: 1;
}

.lr-internal-cta__title {
  font-family: var(--lr-font-display) !important;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.9rem !important;
  position: relative;
  z-index: 1;
}

.lr-internal-cta__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 2rem !important;
  max-width: 480px;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.lr-internal-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background: #ffffff;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1b4332 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  position: relative;
  z-index: 1;
}

.lr-internal-cta__btn:hover {
  background: var(--lr-orange);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 82, 26, 0.35);
}

/* ── 16. PAGE LAYOUT — remove Kadence default padding ───── */

/* Ensure our header + content connect cleanly */
.wp-site-blocks,
.site-content {
  padding-top: 0 !important;
}

.kadence-hero-wrap,
.entry-hero.post-hero-section {
  margin-top: 0 !important;
}

/* Remove Kadence default top padding on inner pages */
.content-wrap {
  padding-top: 0 !important;
}

/* ── 17. READING TIME BADGE ──────────────────────────────── */

.lr-read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
}

.lr-read-time svg {
  opacity: 0.7;
}

/* ── 18. SINGLE POST ENTRY FOOTER ────────────────────────── */

.entry-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(27, 67, 50, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--lr-texte-muted);
}

.entry-footer a {
  color: var(--lr-texte-muted) !important;
  text-decoration: none;
  transition: color 0.2s;
}

.entry-footer a:hover {
  color: var(--lr-orange) !important;
}

/* ── 20. SINGLE.PHP CUSTOM CLASSES ──────────────────────── */

/* Post hero (custom single.php) */
/* ── EDITORIAL POST HERO ─────────────────────────────────────
   Composition asymétrique : col texte gauche + image droite
   Fond blanc cassé — typographie-first
   ────────────────────────────────────────────────────────── */

/* ── EDITORIAL POST HERO ─────────────────────────────────────
   Image en fond pleine hauteur + texte centré bas
   Dégradé bas→haut : texte toujours lisible
   Adaptatif : fonctionne pour tous les longueurs de titre
   ────────────────────────────────────────────────────────── */

/* ── SINGLE POST HERO — split sombre/photo ──────────────── */

.lr-post-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  overflow: hidden;
  position: relative;
}

/* Panneau gauche — fond crème */
.lr-post-hero__dark {
  background: #f5f3ef;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem 5.5rem 4.5rem 7rem;
  position: relative;
  z-index: 2;
  background-image: radial-gradient(
    ellipse 80% 60% at 0% 100%,
    rgba(45, 122, 85, 0.06) 0%,
    transparent 65%
  );
}

/* Filet vertical décoratif gauche */
.lr-post-hero__dark::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 15%;
  height: 70%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--lr-vert) 20%,
    var(--lr-vert) 80%,
    transparent
  );
  border-radius: 2px;
}

/* Panneau droit — photo */
.lr-post-hero__photo {
  position: relative;
  background: #f5f3ef;
  padding: 4.5rem 2.5rem 3rem 0;
  display: flex;
  align-items: stretch;
}

.lr-post-hero__photo-inner {
  position: relative;
  flex: 1;
  overflow: hidden;
  max-height: 480px;
}

.lr-post-hero__photo-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lr-post-hero:hover .lr-post-hero__photo-inner img {
  transform: scale(1.05);
}

/* Fallback sans image */
.lr-post-hero--no-img {
  grid-template-columns: 1fr;
}

.lr-post-hero--no-img .lr-post-hero__dark {
  clip-path: none;
  margin-right: 0;
  min-height: 200px;
}

/* Breadcrumb */
.lr-post-hero__breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #8a9e8e;
  margin-bottom: 1.25rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lr-post-hero__breadcrumb a {
  color: #7a9280 !important;
  text-decoration: none;
  transition: color 0.15s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

.lr-post-hero__breadcrumb a:hover {
  color: var(--lr-vert) !important;
}

.lr-post-hero__breadcrumb span[aria-hidden] {
  opacity: 0.45;
  flex-shrink: 0;
}

/* Category badge */
.lr-post-hero__cat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lr-vert);
  text-decoration: none !important;
  align-self: flex-start;
  margin-bottom: 0.5rem;
}

.lr-post-hero__cat::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--lr-vert);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Meta row (date + lecture) */
.lr-post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: #7a9080;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(27, 67, 50, 0.1);
}

.lr-post-hero__meta svg {
  vertical-align: -2px;
  opacity: 0.55;
  flex-shrink: 0;
}

.lr-post-hero__sep {
  opacity: 0.35;
}

/* Titre dans le panneau gauche du hero */
.lr-post-hero__title {
  font-family: var(--lr-font-display) !important;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.16 !important;
  color: #0d1f16 !important;
  margin: 0.6rem 0 0 !important;
  text-wrap: balance;
}

/* Single wrap */
.lr-single-wrap {
  background: #ffffff;
  min-height: 60vh;
  padding: 0 0 5rem;
}

.lr-single-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 3rem 0;
}

/* Single article content */
.lr-single-article .lr-single-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #374b40;
}

.lr-single-article .lr-single-content > p:first-of-type {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.8;
  color: #2d3a2e;
}

.lr-single-article .lr-single-content h2 {
  font-family: var(--lr-font-heading);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  color: #1b3a2a;
  margin: 2.5rem 0 0.9rem;
  line-height: 1.2;
}

.lr-single-article .lr-single-content h3 {
  font-family: var(--lr-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1b3a2a;
  margin: 2rem 0 0.7rem;
}

.lr-single-article .lr-single-content ul,
.lr-single-article .lr-single-content ol {
  padding-left: 1.4rem;
  margin: 0.6rem 0 1.2rem;
}

.lr-single-article .lr-single-content li {
  margin-bottom: 0.45rem;
  color: #374b40;
}

.lr-single-article .lr-single-content ul > li::marker {
  color: #2d7a55;
}

.lr-single-article .lr-single-content strong {
  color: #1b3a2a;
  font-weight: 700;
}

.lr-single-article .lr-single-content a {
  color: #2d7a55;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lr-single-article .lr-single-content img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

/* Tags */
.lr-single-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(27, 67, 50, 0.09);
}

.lr-single-tags__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lr-texte-muted);
}

.lr-single-tags__item {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(27, 67, 50, 0.18);
  font-size: 0.78rem;
  font-weight: 500;
  color: #3d5247 !important;
  text-decoration: none !important;
  background: rgba(27, 67, 50, 0.05);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.lr-single-tags__item:hover {
  background: var(--lr-vert);
  border-color: var(--lr-vert);
  color: #fff !important;
}

/* Share row */
.lr-single-share {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.lr-single-share__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lr-texte-muted);
}

.lr-single-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none !important;
  transition:
    background 0.2s,
    color 0.2s;
}

.lr-single-share__btn--li {
  background: rgba(10, 102, 194, 0.1);
  color: #0a66c2 !important;
  border: 1px solid rgba(10, 102, 194, 0.2);
}
.lr-single-share__btn--li:hover {
  background: #0a66c2;
  color: #fff !important;
}

.lr-single-share__btn--fb {
  background: rgba(24, 119, 242, 0.1);
  color: #1877f2 !important;
  border: 1px solid rgba(24, 119, 242, 0.2);
}
.lr-single-share__btn--fb:hover {
  background: #1877f2;
  color: #fff !important;
}

/* Single prev/next nav */
.lr-single-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 3rem 0 2rem;
  padding: 2rem 0 0;
  border-top: 1px solid #e8eee9;
}

.lr-single-nav__link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none !important;
  padding: 1.25rem 1.4rem;
  background: #f4f7f5;
  border-radius: 12px;
  border: 1px solid #dce9e2;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}

.lr-single-nav__link:hover {
  background: #eaf1ec;
  box-shadow: 0 4px 18px rgba(16, 45, 32, 0.08);
}

.lr-single-nav__link--next {
  text-align: right;
}

.lr-single-nav__dir {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2d7a55 !important;
}

.lr-single-nav__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1b3a2a !important;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Related section */
.lr-related {
  background: #f4f7f5;
  border-radius: 20px;
  padding: 2rem;
  margin-top: 3rem;
}

.lr-related__label {
  font-family: var(--lr-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1b3a2a;
  margin: 0 0 1.5rem;
  letter-spacing: 0;
  text-transform: none;
}

.lr-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 0;
}

.lr-related__card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(27, 67, 50, 0.07);
  box-shadow: 0 2px 8px rgba(16, 45, 32, 0.05);
  text-decoration: none !important;
  display: block;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.lr-related__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(16, 45, 32, 0.12);
}

.lr-related__img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.lr-related__img--placeholder {
  background: linear-gradient(135deg, #e4ede9 0%, #ccddd5 100%);
}

.lr-related__body {
  padding: 0.9rem 1rem;
}

.lr-related__cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #2d7a55;
  display: block;
  margin-bottom: 0.3rem;
}

.lr-related__title {
  font-family: var(--lr-font-heading);
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #1b3a2a !important;
  line-height: 1.35;
  margin: 0 0 0.3rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.lr-related__date {
  font-size: 0.7rem;
  color: #8aaa96;
}

/* ── 21. ARCHIVE.PHP CUSTOM CLASSES ──────────────────────── */

.lr-archive-wrap {
  background: var(--lr-fond-creme);
  min-height: 60vh;
  padding: 5rem 0 6rem;
}

.lr-archive-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* Archive card grid */
.lr-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

/* Archive card */
.lr-archive-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(16, 45, 32, 0.06);
  border: 1px solid rgba(27, 67, 50, 0.08);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.lr-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(16, 45, 32, 0.13);
}

.lr-archive-card__img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  height: 210px;
  flex-shrink: 0;
}

.lr-archive-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}

.lr-archive-card:hover .lr-archive-card__img {
  transform: scale(1.05);
}

.lr-archive-card__img--placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #d6e8dc 0%, #b0cfc0 100%);
}

.lr-archive-card__cat {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.7rem;
  background: rgba(27, 67, 50, 0.82);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  color: #fff !important;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background 0.2s;
}

.lr-archive-card__cat:hover {
  background: rgba(45, 122, 85, 0.92);
}

.lr-archive-card__body {
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lr-archive-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  color: #8aaa96;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}

.lr-archive-card__meta-sep {
  color: #cdddd5;
}

.lr-archive-card__meta svg {
  vertical-align: -2px;
  opacity: 0.65;
}

.lr-archive-card__client {
  font-size: 0.72rem;
  color: #5a8070;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.lr-archive-card__country {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: #2d7a55;
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
}

.lr-archive-card__title {
  font-family: var(--lr-font-heading) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.32 !important;
  color: #1b3a2a !important;
  margin: 0 0 0.75rem !important;
  letter-spacing: -0.01em !important;
}

.lr-archive-card__title a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.lr-archive-card__title a:hover {
  color: #2d7a55 !important;
}

.lr-archive-card__excerpt {
  font-size: 0.875rem !important;
  line-height: 1.68 !important;
  color: #546a5c !important;
  margin: 0 0 1rem !important;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lr-archive-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2d7a55 !important;
  text-decoration: none !important;
  padding-top: 0.85rem;
  border-top: 1px solid #eaf1ec;
  margin-top: auto;
  transition:
    color 0.2s,
    gap 0.2s;
}

.lr-archive-card__more:hover {
  color: var(--lr-orange) !important;
  gap: 0.55rem;
}

/* Archive pagination */
.lr-archive-pag {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.lr-archive-pag .page-numbers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
}

.lr-archive-pag .page-numbers li {
  margin: 0;
}

.lr-archive-pag .page-numbers a,
.lr-archive-pag .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.75rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid rgba(27, 67, 50, 0.14);
  color: var(--lr-vert) !important;
  background: #ffffff;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.lr-archive-pag .page-numbers a:hover {
  background: var(--lr-vert);
  color: #fff !important;
  border-color: var(--lr-vert);
}

.lr-archive-pag .page-numbers .current {
  background: var(--lr-vert);
  color: #fff !important;
  border-color: var(--lr-vert);
}

.lr-archive-pag .page-numbers .prev,
.lr-archive-pag .page-numbers .next {
  font-size: 0.82rem;
  padding: 0 1rem;
}

/* Empty state */
.lr-archive-empty {
  text-align: center;
  padding: 5rem 2rem;
  max-width: 480px;
  margin: 0 auto;
}

.lr-archive-empty__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(27, 67, 50, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--lr-texte-muted);
}

.lr-archive-empty__title {
  font-family: var(--lr-font-heading) !important;
  font-size: 1.5rem !important;
  color: var(--lr-vert) !important;
  margin-bottom: 0.6rem !important;
}

.lr-archive-empty__desc {
  font-size: 0.95rem;
  color: var(--lr-texte-muted);
  margin-bottom: 1.75rem;
}

.lr-archive-empty__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: var(--lr-vert);
  color: #fff !important;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none !important;
  transition:
    background 0.2s,
    transform 0.2s;
}

.lr-archive-empty__btn:hover {
  background: var(--lr-orange);
  transform: translateY(-2px);
}

/* ── 22. RESPONSIVE ──────────────────────────────────────── */

@media (max-width: 960px) {
  .lr-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lr-single-nav {
    grid-template-columns: 1fr;
  }

  .lr-single-nav__link--next {
    text-align: left;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .post-navigation .nav-next {
    justify-content: flex-start;
    text-align: left;
  }

  #archive-container.posts-container {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  }

  .lr-archive-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

/* ── Post hero responsive ────────────────────────────────── */
@media (max-width: 760px) {
  .lr-post-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .lr-post-hero__dark {
    clip-path: none;
    margin-right: 0;
    padding: 1.75rem 2.5rem 1.75rem 2.5rem;
    order: 2;
    border-top: 1px solid rgba(27, 67, 50, 0.08);
  }

  .lr-post-hero__photo {
    order: 1;
    height: 220px;
    padding: 1.5rem 1.5rem 0;
  }

  .lr-post-hero__photo-inner {
    height: 100%;
  }

  .lr-post-title-inner {
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .lr-post-title-inner .lr-post-hero__title {
    font-size: clamp(1.4rem, 6vw, 2rem) !important;
  }
}

@media (max-width: 640px) {
  .lr-related__grid {
    grid-template-columns: 1fr;
  }

  .lr-archive-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  #archive-container.posts-container {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .entry-author,
  .author-box {
    flex-direction: column;
  }

  .lr-internal-cta {
    padding: 2rem 1.5rem;
  }

  .lr-post-hero__meta {
    gap: 0.4rem;
    font-size: 0.76rem;
  }

  .lr-single-share {
    flex-wrap: wrap;
  }
}

/* ==========================================================
   TEMPLATES LRP — Page Expertise, Recrutement, Application, Category
   ========================================================== */

/* ── Utilitaires communs ────────────────────────────────── */

.lrp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.lrp-container--narrow {
  max-width: 1200px;
}

.lrp-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lr-orange);
  margin-bottom: 0.6rem;
}

.lrp-label--light {
  color: rgba(255, 255, 255, 0.55);
}

.lrp-section-header {
  margin-bottom: 2.5rem;
}

.lrp-section-header h2 {
  font-family: var(--lr-font-display) !important;
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  color: var(--lr-vert) !important;
  margin: 0 !important;
}

.lrp-section-header--center {
  text-align: center;
}

/* Boutons lrp */
.lrp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.75rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none !important;
  transition:
    background 0.22s,
    color 0.22s,
    transform 0.18s,
    box-shadow 0.18s;
  border: 2px solid transparent;
  cursor: pointer;
}

.lrp-btn--primary {
  background: linear-gradient(135deg, var(--lr-vert) 0%, #275840 100%);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.22);
}
.lrp-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(27, 67, 50, 0.3);
}

.lrp-btn--primary-sm {
  background: var(--lr-vert);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  font-size: 0.82rem;
}
.lrp-btn--primary-sm:hover {
  background: var(--lr-orange);
}

.lrp-btn--white {
  background: #ffffff;
  color: var(--lr-vert) !important;
  border-color: transparent;
}
.lrp-btn--white:hover {
  background: var(--lr-orange);
  color: #fff !important;
  transform: translateY(-2px);
}

.lrp-btn--ghost-white {
  background: transparent;
  color: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.35);
}
.lrp-btn--ghost-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff !important;
}

.lrp-btn--outline-dark {
  background: transparent;
  color: var(--lr-vert) !important;
  border-color: rgba(27, 67, 50, 0.35);
}
.lrp-btn--outline-dark:hover {
  background: var(--lr-vert);
  color: #fff !important;
  border-color: var(--lr-vert);
}

/* ── Hero lrp ────────────────────────────────────────────── */

/* ── SPLIT PAGE HERO — services, category, réalisations ──────
   Composition gauche/droite :
   · fond crème/blanc · texte noir · image cadrée à droite
   ────────────────────────────────────────────────────────── */

.lrp-hero {
  background: #f5f3ef;
  overflow: hidden;
  position: relative;
  background-image:
    radial-gradient(ellipse 70% 60% at 0% 50%, rgba(45,122,85,0.055) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 100% 20%, rgba(27,67,50,0.04) 0%, transparent 60%);
}

/* ── Layout split diagonal ───────────────────────────────── */
.lrp-hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.lrp-hero__layout--no-img {
  grid-template-columns: 1fr;
  min-height: unset;
}

/* ── Colonne gauche ──────────────────────────────────────── */
.lrp-hero__left {
  padding: 3.5rem 5.5rem 3.5rem 7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: #f5f3ef;
  background-image: radial-gradient(
    ellipse 80% 60% at 0% 100%,
    rgba(45, 122, 85, 0.06) 0%,
    transparent 65%
  );
  z-index: 2;
}

/* Filet vertical décoratif gauche */
.lrp-hero__left::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 15%;
  height: 70%;
  width: 3px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--lr-vert) 20%,
    var(--lr-vert) 80%,
    transparent
  );
  border-radius: 3px;
}

.lrp-hero__left::after {
  display: none;
}

.lrp-hero__layout--no-img .lrp-hero__left {
  clip-path: none;
  margin-right: 0;
  padding: 3.5rem 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.lrp-hero__layout--no-img .lrp-hero__left::before {
  display: none;
}

/* ── Colonne droite — image ──────────────────────────────── */
.lrp-hero__right {
  position: relative;
  background: #f5f3ef;
  padding: 3.5rem 2rem 2rem 0;
  display: flex;
  align-items: stretch;
}

/* Wrapper interne — reçoit l'image, respecte le padding parent */
.lrp-hero__right-inner {
  position: relative;
  flex: 1;
  overflow: hidden;
  max-height: 420px;
}

.lrp-hero__right-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lrp-hero:hover .lrp-hero__right-img {
  transform: scale(1.05);
}

/* Tag éditorial flottant sur la photo */
.lrp-hero__right-overlay {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(13, 31, 22, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  pointer-events: none;
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.lrp-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #8a9e8e;
  margin-bottom: 1.75rem;
}

.lrp-hero__breadcrumb a {
  color: #7a9280 !important;
  text-decoration: none;
  transition: color 0.15s;
}

.lrp-hero__breadcrumb a:hover {
  color: var(--lr-vert) !important;
}

.lrp-hero__breadcrumb span[aria-hidden],
.lrp-hero__breadcrumb > span:not([aria-hidden]) ~ span {
  opacity: 0.45;
}

/* ── Badge / overline ────────────────────────────────────── */
.lrp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lr-vert);
  margin-bottom: 1.1rem;
  align-self: flex-start;
}

.lrp-hero__badge::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--lr-vert);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Titre — cinématique ─────────────────────────────────── */
.lrp-hero__title {
  font-family: var(--lr-font-display) !important;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
  color: #0d1f16 !important;
  margin: 0 0 1.4rem !important;
  text-wrap: balance;
  position: relative;
}

/* Mot-clé mis en avant en vert */
.lrp-hero__title em {
  font-style: normal !important;
  color: var(--lr-vert) !important;
}

/* ── Lead ────────────────────────────────────────────────── */
.lrp-hero__lead {
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  color: #4e6658;
  max-width: 520px;
  line-height: 1.82;
  margin: 0 0 2.25rem !important;
  padding-left: 1rem;
  border-left: 2px solid rgba(45,122,85,0.22);
}

/* ── CTA ─────────────────────────────────────────────────── */
.lrp-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.85rem;
  background: var(--lr-vert);
  border: 1.5px solid var(--lr-vert);
  border-radius: 999px;
  color: #fff !important;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  transition:
    background 0.22s,
    border-color 0.22s,
    transform 0.18s,
    box-shadow 0.22s;
  align-self: flex-start;
  box-shadow: 0 2px 12px rgba(27,67,50,0.18);
}

.lrp-hero__cta:hover {
  background: #1a5438;
  border-color: #1a5438;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(27,67,50,0.26);
}

/* ── Stats (réalisations) ────────────────────────────────── */
.lrp-hero__stats {
  display: flex;
  gap: 2.75rem;
  margin-top: 2.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(200,213,196,0.7);
  flex-wrap: wrap;
}

.lrp-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  position: relative;
}

.lrp-hero__stat + .lrp-hero__stat::before {
  content: "";
  position: absolute;
  left: -1.375rem;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(200,213,196,0.6);
}

.lrp-hero__stat-num {
  font-family: var(--lr-font-display);
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 700;
  color: #0d1f16;
  line-height: 1;
  letter-spacing: -0.05em;
}

.lrp-hero__stat-label {
  font-size: 0.72rem;
  color: #7a9080;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.lrp-hero__stat-line {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: #7a9080;
}

/* ── Variantes de hauteur ────────────────────────────────── */
.lrp-hero--sm .lrp-hero__left {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.lrp-hero--reals .lrp-hero__left {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

/* ── Section Points forts ────────────────────────────────── */

.lrp-points {
  padding: 4.5rem 0;
  background: var(--lr-fond-creme);
}

.lrp-points--light {
  background: var(--lr-fond-creme);
}

.lrp-points__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.lrp-points__card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(27, 67, 50, 0.08);
  box-shadow: 0 2px 16px rgba(16, 45, 32, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.lrp-points--light .lrp-points__card {
  background: #fff;
}

.lrp-points__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(16, 45, 32, 0.12);
}

.lrp-points__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(27, 67, 50, 0.08) 0%,
    rgba(27, 67, 50, 0.04) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lr-vert);
  margin-bottom: 1.25rem;
}

.lrp-points__titre {
  font-family: var(--lr-font-heading) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--lr-vert) !important;
  margin: 0 0 0.6rem !important;
}

.lrp-points__texte {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.65;
  margin: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   EDITORIAL DESIGN SYSTEM — Internal pages
   Typography · Rhythm · Galleries · Intro blocks
   ═══════════════════════════════════════════════════════════ */

/* ── Wrapper principal ───────────────────────────────────── */

.lrp-expertise-content {
  padding: 0;
  background: #fff;
}

/* ── Intro block ─────────────────────────────────────────── */

.lrp-intro-block {
  padding: 5.5rem 3rem 4.5rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid #eaefec;
}

.lrp-intro-block__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2d7a55;
  margin-bottom: 1.5rem;
}

.lrp-intro-block__label::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #2d7a55;
  border-radius: 2px;
}

.lrp-intro-block__text {
  font-family: var(--lr-font-body);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 400;
  line-height: 1.85;
  color: #374b40;
  letter-spacing: -0.005em;
}

/* ── Prose — corps de texte éditorial ───────────────────── */

.lrp-prose {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 3rem 6rem;
  font-family: var(--lr-font-body, "Inter", system-ui, sans-serif);
  font-size: 1rem;
  line-height: 1.85;
  color: #3d5247;
}

/* Premier paragraphe — intro éditoriale */
.lrp-prose > p:first-child {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem) !important;
  color: #2d4035 !important;
  line-height: 1.82 !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 2.5rem !important;
  padding-bottom: 2.5rem !important;
  border-bottom: 1px solid #eaefec !important;
}

/* H1 rare dans le contenu */
.lrp-prose h1 {
  font-family: var(--lr-font-display) !important;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem) !important;
  font-weight: 700 !important;
  color: #111e17 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
  margin: 3.5rem 0 1rem !important;
}

/* H2 — titre de section */
.lrp-prose h2 {
  font-family: var(--lr-font-display) !important;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  color: #111e17 !important;
  line-height: 1.22 !important;
  margin: 3.5rem 0 1.1rem !important;
  padding-top: 3rem !important;
  border-top: 1px solid #eaefec !important;
}

/* Pas de border-top sur le premier h2 */
.lrp-prose > h2:first-child,
.lrp-prose > p:first-child + h2 {
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* H3 */
.lrp-prose h3 {
  font-family: var(--lr-font-heading) !important;
  font-size: clamp(1rem, 1.3vw, 1.15rem) !important;
  font-weight: 700 !important;
  color: #1b3a2a !important;
  margin: 2.5rem 0 0.6rem !important;
  letter-spacing: -0.01em !important;
  line-height: 1.3 !important;
}

/* H4 — sous-titre discret */
.lrp-prose h4 {
  font-family: var(--lr-font-heading) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #2d7a55 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin: 2rem 0 0.5rem !important;
  line-height: 1.4 !important;
}

/* Paragraphes */
.lrp-prose p {
  margin: 0 0 1.5rem !important;
  color: #3d5247;
  font-size: 1rem;
}

/* Listes */
.lrp-prose ul {
  padding-left: 0 !important;
  margin: 0.5rem 0 1.75rem !important;
  list-style: none !important;
}

.lrp-prose ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  color: #3d5247;
  line-height: 1.7;
}

.lrp-prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2d7a55;
}

.lrp-prose ol {
  padding-left: 1.5rem;
  margin: 0.5rem 0 1.75rem !important;
  counter-reset: ol-counter;
  list-style: none !important;
}

.lrp-prose ol li {
  counter-increment: ol-counter;
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.6rem;
  color: #3d5247;
}

.lrp-prose ol li::before {
  content: counter(ol-counter) ".";
  position: absolute;
  left: -1.5rem;
  top: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2d7a55;
}

/* Strong / em */
.lrp-prose strong {
  font-weight: 700;
  color: #1b3a2a;
}

.lrp-prose em {
  font-style: italic;
  color: #3d5247;
}

/* Liens dans le texte */
.lrp-prose a {
  color: #2d7a55 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  text-decoration-thickness: 1px !important;
  transition:
    color 0.2s,
    text-decoration-color 0.2s;
}

.lrp-prose a:hover {
  color: #1b3a2a !important;
}

/* Blockquote éditorial */
.lrp-prose blockquote {
  margin: 3rem 0 !important;
  padding: 2rem 2.5rem !important;
  background: #f4f8f5 !important;
  border-left: 3px solid #2d7a55 !important;
  border-radius: 0 12px 12px 0 !important;
}

.lrp-prose blockquote p {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem) !important;
  font-style: italic !important;
  color: #2d4035 !important;
  line-height: 1.75 !important;
  margin: 0 !important;
}

.lrp-prose blockquote cite {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #7a9e8a;
  text-transform: uppercase;
}

/* Images inline */
.lrp-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 2.5rem 0 !important;
  display: block;
}

/* Figure + figcaption */
.lrp-prose figure {
  margin: 2.5rem 0 !important;
}

.lrp-prose figcaption {
  font-size: 0.78rem !important;
  color: #8aaa96 !important;
  text-align: center !important;
  margin-top: 0.65rem !important;
  letter-spacing: 0.02em !important;
  line-height: 1.5 !important;
}

/* Séparateur */
.lrp-prose hr {
  border: none !important;
  border-top: 1px solid #eaefec !important;
  margin: 3.5rem 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   GALERIE ÉDITORIALE — masonry cinématique
   ═══════════════════════════════════════════════════════════ */

.lr-masonry-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0 3.5rem;
}

.lr-masonry-gallery__item {
  display: flex;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(16, 45, 32, 0.06);
  border: 1px solid rgba(16, 45, 32, 0.06);
  transition: box-shadow 0.35s ease;
}

.lr-masonry-gallery__item:hover {
  box-shadow: 0 6px 24px rgba(16, 45, 32, 0.13);
}

.lr-masonry-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 18, 12, 0.52) 0%,
    rgba(6, 18, 12, 0.08) 55%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.38s ease;
  pointer-events: none;
}

.lr-masonry-gallery__item:hover::after {
  opacity: 1;
}

.lr-masonry-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border-radius: 14px;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.lr-masonry-gallery__item:hover img {
  transform: scale(1.06);
}

@media (max-width: 900px) {
  .lr-masonry-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .lr-masonry-gallery {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .lr-masonry-gallery {
    column-count: 1;
    margin: 2rem 0 3rem;
  }
}

/* ── Galeries WordPress [gallery] — grille moderne ───────── */

.lrp-prose [id^="gallery-"] {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.25rem !important;
  margin: 3.5rem 0 4.5rem !important;
  float: none !important;
}

.lrp-prose [id^="gallery-"] .gallery-item {
  break-inside: avoid !important;
  display: block !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 14px;
  cursor: zoom-in;
  position: relative;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(16, 45, 32, 0.06);
  border: 1px solid rgba(16, 45, 32, 0.06);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.lrp-prose [id^="gallery-"] .gallery-item:hover {
  box-shadow: 0 6px 24px rgba(16, 45, 32, 0.13);
}

.lrp-prose [id^="gallery-"] .gallery-item a {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  position: relative;
  height: 240px;
}

.lrp-prose [id^="gallery-"] .gallery-item a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 18, 12, 0.52) 0%,
    rgba(6, 18, 12, 0.08) 55%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.38s ease;
  border-radius: 14px;
}

/* Icône zoom au centre au hover */
.lrp-prose [id^="gallery-"] .gallery-item a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.38s ease;
}

.lrp-prose [id^="gallery-"] .gallery-item:hover a::after,
.lrp-prose [id^="gallery-"] .gallery-item:hover a::before {
  opacity: 1;
}

.lrp-prose [id^="gallery-"] .gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border: none !important;
  border-radius: 14px !important;
  margin: 0 !important;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
}

.lrp-prose [id^="gallery-"] .gallery-item:hover img {
  transform: scale(1.06) !important;
}

.lrp-prose [id^="gallery-"] .gallery-caption {
  font-size: 0.72rem !important;
  color: #4a6658 !important;
  text-align: center !important;
  padding: 0.55rem 0.75rem 0.65rem !important;
  line-height: 1.4 !important;
  letter-spacing: 0.02em !important;
  background: #ffffff;
}

@media (max-width: 900px) {
  .lrp-prose [id^="gallery-"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .lrp-prose [id^="gallery-"] {
    grid-template-columns: 1fr !important;
    margin: 2rem 0 3rem !important;
  }
}

/* ── Magnific Popup — lightbox premium ───────────────────── */
.mfp-bg {
  background: rgba(6, 14, 10, 0.96) !important;
  opacity: 0;
  transition: opacity 0.35s ease !important;
}
.mfp-ready.mfp-bg {
  opacity: 1 !important;
}
.mfp-removing.mfp-bg {
  opacity: 0 !important;
  transition: opacity 0.25s ease !important;
}

.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transform: scale(0.97);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease !important;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1 !important;
  transform: scale(1) !important;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0 !important;
  transform: scale(0.97) !important;
}

.mfp-image-holder .mfp-content {
  max-width: 90vw !important;
}

.mfp-img {
  border-radius: 8px !important;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6) !important;
}

.mfp-arrow {
  opacity: 0.6 !important;
  transition: opacity 0.2s !important;
}
.mfp-arrow:hover {
  opacity: 1 !important;
}

.mfp-close {
  font-size: 1.8rem !important;
  opacity: 0.55 !important;
  transition: opacity 0.2s !important;
}
.mfp-close:hover {
  opacity: 1 !important;
}

/* ── Section galerie break-out dans le prose ─────────────── */
.lrp-gallery-section {
  margin: 4rem -2rem;
  padding: 3.5rem 2rem;
  background: #f4f8f5;
}

.lrp-gallery-section__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2d7a55;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lrp-gallery-section__label::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #2d7a55;
  border-radius: 2px;
}

/* ── Prose responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  .lrp-intro-block,
  .lrp-prose {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .lrp-prose h2 {
    font-size: 1.2rem !important;
    margin-top: 2.5rem !important;
    padding-top: 2.5rem !important;
  }

  .lr-masonry-gallery,
  .lrp-prose [id^="gallery-"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .lrp-gallery-section {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
  }
}

/* ── Réalisations liées ──────────────────────────────────── */

.lrp-reals {
  padding: 4.5rem 0;
  background: var(--lr-fond-creme);
}

.lrp-reals__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* ── lrp-real-card ──────────────────────────────────────────── */
.lrp-real-card {
  display: flex;
  flex-direction: row;
  text-decoration: none !important;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(27, 67, 50, 0.09);
  box-shadow: 0 2px 12px rgba(16, 45, 32, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  min-height: 130px;
}

.lrp-real-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(16, 45, 32, 0.13);
}

.lrp-real-card__img-wrap {
  width: 120px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.lrp-real-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.lrp-real-card:hover .lrp-real-card__img-wrap img {
  transform: scale(1.06);
}

.lrp-real-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #d6e8dc 0%, #b8d4c2 100%);
}

.lrp-real-card__body {
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  flex: 1;
  min-width: 0;
}

.lrp-real-card__cat {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2d7a55;
}

.lrp-real-card__title {
  font-family: var(--lr-font-heading) !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #1b3a2a !important;
  margin: 0 !important;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lrp-real-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.lrp-real-card__country {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: #7a9e8a;
  font-weight: 500;
}

.lrp-real-card__year {
  font-size: 0.68rem;
  color: #aec5b5;
  font-weight: 500;
}

.lrp-reals__footer {
  text-align: center;
}

/* ── CTA section ─────────────────────────────────────────── */

.lrp-cta {
  padding: 4rem 3rem;
  background: linear-gradient(140deg, #1b4332 0%, #0f2d1e 60%, #162b20 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  margin: 0 0 4rem;
}

/* Halo lumineux haut-centre */
.lrp-cta::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(45, 122, 85, 0.32) 0%, transparent 70%);
  pointer-events: none;
}

/* Cercle décoratif bas-droite */
.lrp-cta::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 82, 26, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.lrp-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.lrp-cta__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 1rem !important;
}

.lrp-cta__title {
  font-family: var(--lr-font-display) !important;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem) !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
  margin: 0 0 1rem !important;
}

.lrp-cta__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.7;
  margin: 0 0 2rem !important;
}

.lrp-cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Offres d'emploi ─────────────────────────────────────── */

.lrp-offres {
  padding: 4.5rem 0;
  background: #fff;
}

.lrp-offres__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lrp-offres__empty {
  text-align: center;
  padding: 3rem;
  color: var(--lr-texte-muted);
  font-size: 1rem;
}

.lrp-offre-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(27, 67, 50, 0.09);
  box-shadow: 0 2px 14px rgba(16, 45, 32, 0.06);
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.lrp-offre-card:hover {
  box-shadow: 0 10px 32px rgba(16, 45, 32, 0.12);
  transform: translateY(-2px);
}

.lrp-offre-card__head {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid rgba(27, 67, 50, 0.07);
}

.lrp-offre-card__meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.lrp-offre-card__type {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.7rem;
  background: rgba(27, 67, 50, 0.08);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--lr-vert);
}

.lrp-offre-card__titre {
  font-family: var(--lr-font-heading) !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: var(--lr-vert) !important;
  margin: 0 0 0.65rem !important;
}

.lrp-offre-card__titre a {
  color: inherit !important;
  text-decoration: none !important;
}
.lrp-offre-card__titre a:hover {
  color: var(--lr-orange) !important;
}

.lrp-offre-card__infos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--lr-texte-muted);
}

.lrp-offre-card__infos svg {
  vertical-align: -2px;
  opacity: 0.7;
}

.lrp-offre-card__body {
  padding: 1.25rem 2rem;
}

.lrp-offre-card__desc {
  font-size: 0.92rem;
  color: #4a5568;
  line-height: 1.65;
  margin: 0 !important;
}

.lrp-offre-card__footer {
  padding: 1rem 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ── Features grid (Applications SaaS) ──────────────────── */

.lrp-features {
  padding: 4.5rem 0;
  background: var(--lr-fond-creme);
}

.lrp-features__grid {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.lrp-features__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(27, 67, 50, 0.08);
  font-size: 0.92rem;
  color: var(--lr-texte);
  line-height: 1.5;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.lrp-features__item:hover {
  border-color: rgba(27, 67, 50, 0.22);
  box-shadow: 0 4px 16px rgba(16, 45, 32, 0.08);
}

.lrp-features__check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lr-vert) 0%, #275840 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-top: 1px;
}

/* ── App hero — même système éditorial que les pages internes */

.lrp-app-hero__name {
  display: none;
}

.lrp-app-hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  align-items: center;
}

/* Lien URL externe */
.lrp-app-hero__url-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4e6658 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(78, 102, 88, 0.3);
  padding-bottom: 1px;
  transition:
    color 0.15s,
    border-color 0.15s;
}

.lrp-app-hero__url-btn:hover {
  color: var(--lr-vert) !important;
  border-color: var(--lr-vert);
}

/* Colonne droite — fond crème légèrement teinté + nom watermark */
.lrp-app-hero__visual {
  background: #edf2ee;
}

.lrp-app-hero__visual .lrp-hero__right-inner {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: #edf2ee;
}

.lrp-app-hero__name-bg {
  font-family: var(--lr-font-display);
  font-size: clamp(4rem, 7vw, 6.5rem);
  font-weight: 700;
  color: rgba(27, 67, 50, 0.08);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  padding: 0 1.5rem 1.5rem 0;
}

/* ── Filtres (realisations) ──────────────────────────────── */

/* ── Barre de contrôles portfolio ────────────────────────── */

.lrp-portfolio-bar {
  background: var(--lr-fond-creme);
  border-bottom: 1px solid rgba(27, 67, 50, 0.1);
  padding: 1.5rem 0 0;
  position: sticky;
  top: 0;
  z-index: 80;
}

.lrp-portfolio-bar__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.lrp-portfolio-bar__search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1.5px solid rgba(27, 67, 50, 0.15);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  flex: 0 0 280px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lrp-portfolio-bar__search:focus-within {
  border-color: var(--lr-vert);
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.08);
}

.lrp-portfolio-bar__search svg {
  color: #7a9e8a;
  flex-shrink: 0;
}

.lrp-portfolio-bar__search input {
  flex: 1;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 0.85rem !important;
  color: #1b3a2a !important;
  font-family: var(--lr-font-body) !important;
  padding: 0 !important;
  min-width: 0;
}

.lrp-portfolio-bar__search input::placeholder {
  color: #a8c4b4 !important;
}

.lrp-portfolio-bar__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  background: rgba(27, 67, 50, 0.08);
  border-radius: 50%;
  color: #4a6658;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.18s;
}

.lrp-portfolio-bar__clear:hover {
  background: rgba(27, 67, 50, 0.16);
}

.lrp-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex: 1;
}

.lrp-filters__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid rgba(27, 67, 50, 0.15);
  background: #fff;
  color: #2d4035;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.lrp-filters__btn:hover {
  border-color: var(--lr-vert);
  color: var(--lr-vert);
}

.lrp-filters__btn.is-active {
  background: var(--lr-vert);
  border-color: var(--lr-vert);
  color: #fff;
}

.lrp-portfolio-bar__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0 0.5rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(27, 67, 50, 0.07);
}

.lrp-portfolio-bar__count {
  font-size: 0.78rem;
  color: #7a9e8a;
  font-weight: 500;
  margin: 0;
}

.lrp-portfolio-bar__perpage {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #7a9e8a;
  font-weight: 500;
}

.lrp-portfolio-bar__perpage select {
  appearance: none;
  -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%237a9e8a' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 0.6rem center;
  border: 1.5px solid rgba(27, 67, 50, 0.15);
  border-radius: 8px;
  padding: 0.3rem 2rem 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2d4035;
  font-family: var(--lr-font-heading);
  cursor: pointer;
  transition: border-color 0.18s;
}

.lrp-portfolio-bar__perpage select:focus {
  outline: none;
  border-color: var(--lr-vert);
}

/* ── Portfolio grille ────────────────────────────────────── */

.lrp-portfolio {
  padding: 3rem 0 4.5rem;
  background: #fff;
}

.lrp-proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

/* ── lrp-proj-card ──────────────────────────────────────────── */
.lrp-proj-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(27, 67, 50, 0.08);
  box-shadow: 0 3px 16px rgba(16, 45, 32, 0.07);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}

.lrp-proj-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(16, 45, 32, 0.15);
}

.lrp-proj-card__link {
  display: block;
  text-decoration: none !important;
}

.lrp-proj-card__img-wrap {
  height: 230px;
  overflow: hidden;
  position: relative;
}

.lrp-proj-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}

.lrp-proj-card:hover .lrp-proj-card__img-wrap img {
  transform: scale(1.06);
}

.lrp-proj-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #d6e8dc 0%, #b0cfc0 100%);
}

.lrp-proj-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 18, 12, 0) 40%,
    rgba(6, 18, 12, 0) 100%
  );
  transition: background 0.35s;
}

.lrp-proj-card:hover .lrp-proj-card__overlay {
  background: linear-gradient(
    to top,
    rgba(6, 18, 12, 0.55) 0%,
    rgba(6, 18, 12, 0.1) 100%
  );
}

.lrp-proj-card__read {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0;
  transition:
    opacity 0.25s,
    transform 0.25s;
  background: rgba(27, 67, 50, 0.75);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

.lrp-proj-card:hover .lrp-proj-card__read {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.lrp-proj-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.3rem;
}

.lrp-proj-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.lrp-proj-card__cat {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #2d7a55;
}

.lrp-proj-card__year {
  font-size: 0.65rem;
  color: #aec5b5;
  font-weight: 500;
  flex-shrink: 0;
}

.lrp-proj-card__title {
  font-family: var(--lr-font-heading) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #1b3a2a !important;
  margin: 0 !important;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lrp-proj-card__title a {
  color: inherit !important;
  text-decoration: none !important;
}

.lrp-proj-card__footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(27, 67, 50, 0.07);
  flex-wrap: wrap;
}

.lrp-proj-card__client {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: #5a8070;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.lrp-proj-card__country {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  background: #2d7a55;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  flex-shrink: 0;
  margin-left: auto;
}

.lrp-portfolio__empty {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 4rem 2rem;
  color: #7a9e8a;
  font-size: 0.95rem;
  text-align: center;
}

/* ── Pagination projets ──────────────────────────────────── */

.lrp-proj-pag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 2.5rem 0 0.5rem;
}

.lrp-proj-pag__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.6rem;
  border-radius: 10px;
  border: 1.5px solid rgba(27, 67, 50, 0.15);
  background: #fff;
  color: #2d4035;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--lr-font-heading);
  cursor: pointer;
  transition:
    background 0.18s,
    border-color 0.18s,
    color 0.18s,
    transform 0.18s;
}

.lrp-proj-pag__btn:hover:not([disabled]) {
  border-color: var(--lr-vert);
  color: var(--lr-vert);
  transform: translateY(-1px);
}

.lrp-proj-pag__btn.is-active {
  background: var(--lr-vert);
  border-color: var(--lr-vert);
  color: #fff;
}

.lrp-proj-pag__btn[disabled] {
  opacity: 0.3;
  cursor: default;
}

.lrp-proj-pag__prev,
.lrp-proj-pag__next {
  min-width: 40px;
  background: var(--lr-fond-creme);
}

.lrp-proj-pag__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 40px;
  color: #a8c4b4;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  user-select: none;
}

/* ── Contact split ───────────────────────────────────────── */

.lrp-contact {
  padding: 4.5rem 0;
  background: #fff;
}

.lrp-contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.lrp-contact__form-title,
.lrp-contact__info-title {
  font-family: var(--lr-font-heading) !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--lr-vert) !important;
  margin: 0 0 0.4rem !important;
}

.lrp-contact__form-desc {
  font-size: 0.9rem;
  color: var(--lr-texte-muted);
  margin-bottom: 1.75rem;
}

.lrp-form__row {
  margin-bottom: 1.25rem;
}

.lrp-form__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.lrp-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.lrp-form__field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lr-vert);
}

.lrp-form__field label span {
  color: var(--lr-orange);
}

.lrp-form__field input,
.lrp-form__field select,
.lrp-form__field textarea {
  padding: 0.7rem 1rem;
  border: 1.5px solid rgba(27, 67, 50, 0.16);
  border-radius: 10px;
  font-size: 0.9rem;
  background: #fff;
  color: var(--lr-texte);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  width: 100%;
  font-family: var(--lr-font-body);
}

.lrp-form__field input:focus,
.lrp-form__field select:focus,
.lrp-form__field textarea:focus {
  border-color: rgba(217, 64, 16, 0.45);
  box-shadow: 0 0 0 3px rgba(217, 64, 16, 0.1);
  outline: none;
}

.lrp-form__submit {
  margin-top: 0.5rem;
  border: none;
}

.lrp-contact__info-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 2rem !important;
}

.lrp-contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}

.lrp-contact__info-item:last-child {
  border-bottom: none;
}

.lrp-contact__info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(27, 67, 50, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lr-vert);
  flex-shrink: 0;
}

.lrp-contact__info-item > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.lrp-contact__info-item strong {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lr-texte-muted);
}

.lrp-contact__info-item span,
.lrp-contact__info-item a {
  font-size: 0.92rem;
  color: var(--lr-texte) !important;
  text-decoration: none;
}

.lrp-contact__info-item a:hover {
  color: var(--lr-orange) !important;
}

.lrp-contact__divider {
  height: 1px;
  background: rgba(27, 67, 50, 0.1);
  margin: 1.5rem 0;
}

.lrp-contact__domains-title {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--lr-texte-muted) !important;
  margin: 0 0 0.75rem !important;
}

.lrp-contact__domains {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lrp-contact__domain-pill {
  display: inline-flex;
  padding: 0.3rem 0.8rem;
  background: rgba(27, 67, 50, 0.07);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lr-vert) !important;
  text-decoration: none !important;
  border: 1px solid rgba(27, 67, 50, 0.12);
  transition:
    background 0.2s,
    color 0.2s;
}

.lrp-contact__domain-pill:hover {
  background: var(--lr-vert);
  color: #fff !important;
}

/* ── Responsive LRP ──────────────────────────────────────── */

@media (max-width: 768px) {
  /* lrp-real-card : repasse en vertical sous 768px */
  .lrp-real-card {
    flex-direction: column;
    min-height: unset;
  }
  .lrp-real-card__img-wrap {
    width: 100%;
    height: 160px;
  }
  /* sections : réduire padding */
  .lrp-expertise-content,
  .lrp-reals,
  .lrp-features,
  .lrp-portfolio,
  .lrp-contact,
  .lrp-offres,
  .lrp-points,
  .lrp-candidature-section,
  .lrp-archive-wrap {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  /* prose : max-width full */
  .lrp-container--narrow {
    max-width: 100%;
  }
}

@media (max-width: 960px) {
  .lrp-points__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lrp-reals__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lrp-features__grid {
    grid-template-columns: 1fr;
  }

  .lrp-contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .lrp-app-hero__name {
    display: none;
  }
}

/* ── lrp-hero split responsive ───────────────────────────── */
@media (max-width: 900px) {
  .lrp-hero__layout {
    grid-template-columns: 1fr;
  }
  .lrp-hero__left {
    clip-path: none;
    margin-right: 0;
    padding: 2.75rem 2.5rem 2.25rem 2.5rem;
  }
  .lrp-hero__left::before {
    display: none;
  }
  .lrp-hero__right {
    height: 280px;
    padding: 0;
  }
}

@media (max-width: 640px) {
  .lrp-hero__left {
    padding: 2.25rem 1.25rem 2rem;
  }
  .lrp-hero__right {
    height: 210px;
  }
  .lrp-hero__lead {
    padding-left: 0.75rem;
  }
  .lrp-hero__title {
    font-size: clamp(1.7rem, 7.5vw, 2.4rem) !important;
  }

  .lrp-hero__stats {
    gap: 1.5rem;
  }

  .lrp-points__grid {
    grid-template-columns: 1fr;
  }

  .lrp-reals__grid {
    grid-template-columns: 1fr;
  }

  .lrp-proj-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .lrp-form__row--2 {
    grid-template-columns: 1fr;
  }

  .lrp-offre-card__head,
  .lrp-offre-card__body,
  .lrp-offre-card__footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .lrp-cta__actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ── ARCHIVE / CATEGORY GRID ──────────────────────────────── */

.lrp-archive-wrap {
  padding: 4.5rem 0;
  background: var(--lr-fond-creme);
}

.lrp-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 1024px) {
  .lrp-archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .lrp-archive-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Card — identique aux lr-archive-card */
.lrp-archive-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(16, 45, 32, 0.06);
  border: 1px solid rgba(27, 67, 50, 0.08);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.lrp-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(16, 45, 32, 0.13);
}

.lrp-archive-card__img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  height: 210px;
  flex-shrink: 0;
  text-decoration: none;
}

.lrp-archive-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.lrp-archive-card:hover .lrp-archive-card__img {
  transform: scale(1.05);
}

.lrp-archive-card__img--placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #d6e8dc 0%, #b0cfc0 100%);
}

.lrp-archive-card__cat {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.7rem;
  background: rgba(27, 67, 50, 0.82);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  color: #fff;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lrp-archive-card__body {
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lrp-archive-card__meta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}

.lrp-archive-card__meta-sep {
  color: #cdddd5;
  font-size: 0.72rem;
}

.lrp-archive-card__client {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: #5a8070;
  font-weight: 600;
}

.lrp-archive-card__country {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: #2d7a55;
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
}

.lrp-archive-card__title {
  font-family: var(--lr-font-heading) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.32 !important;
  color: #1b3a2a !important;
  margin: 0 0 0.75rem !important;
  letter-spacing: -0.01em !important;
}

.lrp-archive-card__title a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.lrp-archive-card__title a:hover {
  color: #2d7a55 !important;
}

.lrp-archive-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2d7a55 !important;
  text-decoration: none !important;
  padding-top: 0.85rem;
  border-top: 1px solid #eaf1ec;
  margin-top: auto;
  transition:
    color 0.2s,
    gap 0.2s;
}

.lrp-archive-card__more:hover {
  color: var(--lr-orange) !important;
  gap: 0.55rem;
}

/* Card recrutement — sans image */
.lrp-archive-card--no-img {
  border-top: 3px solid #1b4332;
}

.lrp-archive-card__recr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.5rem 0;
}

.lrp-archive-card__cat--inline {
  position: static;
  display: inline-flex;
}

.lrp-archive-card__recr-date {
  font-size: 0.72rem;
  font-weight: 600;
  color: #7a9b8a;
  white-space: nowrap;
}

/* Pagination */
.lrp-archive-pag {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.lrp-archive-pag ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
}

.lrp-archive-pag ul li a,
.lrp-archive-pag ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}

.lrp-archive-pag ul li a:hover {
  background: #1b4332;
  color: #fff;
  border-color: #1b4332;
}

.lrp-archive-pag ul li span.current {
  background: #1b4332;
  color: #fff;
  border-color: #1b4332;
}

/* Empty state */
.lrp-archive-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: #6b7280;
}

.lrp-archive-empty__icon {
  margin: 0 auto 1.5rem;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 50%;
  color: #9ca3af;
}

.lrp-archive-empty__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1.5rem;
}

.lrp-archive-empty__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.5rem;
  background: #1b4332;
  color: #fff;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s;
}

.lrp-archive-empty__btn:hover {
  background: #0d2318;
}

/* ── PAGE CANDIDATURE ─────────────────────────────────────── */

.lrp-candidature-section {
  padding: 4.5rem 0;
  background: #fff;
}

.lrp-candidature-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.lrp-candidature-info h2 {
  font-family: var(--lr-font-heading);
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: #1b3a2a;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0.5rem 0 1rem;
}

.lrp-candidature-info > p {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.lrp-candidature-avantages {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lrp-candidature-avantages li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #374151;
}

.lrp-candidature-avantages li svg {
  flex-shrink: 0;
  color: #1b4332;
}

.lrp-candidature-contact {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
}

.lrp-candidature-contact p {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.lrp-candidature-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1b4332;
  text-decoration: none;
  transition: color 0.18s;
}

.lrp-candidature-email:hover {
  color: var(--lr-orange);
}

.lrp-form-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.lrp-form-card h3 {
  font-family: var(--lr-font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #1b3a2a;
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f3f4f6;
}

@media (max-width: 900px) {
  .lrp-candidature-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ── FICHE PROJET (single post) ────────────────────────────── */
/* ── Fiche projet — bloc intégré après contenu ───────────── */

.lr-project-sheet {
  margin: 4rem 0 2rem;
  padding: 3rem 3.5rem;
  background: #f0f5f2;
  border: 1px solid #d5e5db;
  border-radius: 12px;
}

.lr-project-sheet__title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #2d7a55;
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lr-project-sheet__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
}

.lr-project-sheet__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 120px;
}

.lr-project-sheet__meta-item--wide {
  flex: 1 1 100%;
}

.lr-project-sheet__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #7a9e8a;
}

.lr-project-sheet__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1b3a2a;
  line-height: 1.4;
}

.lr-project-sheet__contenu {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ccddd5;
}

.lr-project-sheet__contenu-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #7a9e8a;
  margin-bottom: 0.6rem;
}

.lr-project-sheet__contenu-body {
  font-size: 0.93rem;
  color: #374b40;
  line-height: 1.75;
}

.lr-project-sheet__contenu-body ul,
.lr-project-sheet__contenu-body ol {
  padding-left: 1.4rem;
  margin: 0.4rem 0;
}

.lr-project-sheet__contenu-body li {
  margin-bottom: 0.35rem;
}

.lr-project-sheet__contenu-body ul > li::marker {
  color: #2d7a55;
}

@media (max-width: 640px) {
  .lr-project-sheet {
    padding: 1.5rem 1.25rem;
  }
  .lr-project-sheet__meta-row {
    gap: 0.9rem 1.5rem;
  }
}

/* Styles lr-activites, lr-stats-domain, lr-experts définis dans home.css */
