/* Blog Floz Raku (liste, filtres, recherche) — chargé uniquement par listing.tpl / search.tpl. Header et footer globaux intacts. */
body#module-leoblog-list, body#module-leoblog-search { background: #faf8f3; }
body#module-leoblog-list #wrapper, body#module-leoblog-search #wrapper { padding: 0; background: #faf8f3; }
body#module-leoblog-list #footer, body#module-leoblog-search #footer { margin-top: 0; }

.fz-blog-hero, .fz-blog {
  --b-paper: #faf8f3;
  --b-cream: #f1ebe1;
  --b-ink: #252923;
  --b-muted: #625f56;
  --b-soft: #8a857a;
  --b-line: #e6dfd3;
  --b-teal: #287c79;
  --b-teal-dark: #1f6461;
  --b-teal-tint: #e2efec;
  --b-serif: var(--fz-serif, "Cormorant Garamond", Georgia, serif);
  --b-ease: cubic-bezier(.2, .7, .2, 1);
}
.fz-blog-hero *, .fz-blog *, .fz-blog *::before, .fz-blog *::after { box-sizing: border-box; }
.fz-blog :is(h2, h3, p, ul, ol, figure), .fz-blog-hero :is(h1, p, ol) { margin: 0; }
.fz-blog ul, .fz-blog-hero ol { padding: 0; list-style: none; }
.fz-blog svg, .fz-blog-hero svg { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fz-blog a:focus-visible, .fz-blog button:focus-visible { outline: 2px solid var(--b-teal); outline-offset: 3px; }
.fz-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Hero ---------- */
.fz-blog-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(360px, 32vw, 470px); overflow: hidden; color: #fff; background: #3a352d; }
.fz-blog-hero__photo { position: absolute; z-index: -2; inset: 0; margin: 0; }
.fz-blog-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.fz-blog-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(38, 33, 26, .86) 0%, rgba(38, 33, 26, .7) 30%, rgba(38, 33, 26, .28) 55%, rgba(38, 33, 26, 0) 75%); }
.fz-blog-hero__inner { width: min(100% - 30px, 1170px); margin: 0 auto; padding: 56px 0 60px; }
.fz-blog-hero__crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-bottom: 26px; font-size: 13px; line-height: 1.4; }
.fz-blog-hero__crumbs li { display: inline-flex; align-items: center; color: rgba(255, 255, 255, .86); }
.fz-blog-hero__crumbs li + li::before { content: ""; width: 5px; height: 5px; margin: 0 12px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); opacity: .75; }
.fz-blog-hero__crumbs a { color: #fff; text-decoration: none; }
.fz-blog-hero__crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fz-blog-hero__crumbs a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.fz-blog-hero__title { max-width: 18ch; color: #fff; font-family: var(--b-serif); font-size: clamp(40px, 4.6vw, 66px); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; text-transform: none; text-wrap: balance; overflow-wrap: anywhere; }
.fz-blog-hero__title::after { content: ""; display: block; width: 46px; height: 2px; margin-top: 22px; background: #5fb3ad; }
.fz-blog-hero__lead { max-width: 46ch; margin-top: 22px !important; color: #f5f0e6; font-size: 15.5px; line-height: 1.7; text-wrap: pretty; }

/* ---------- Mise en page ---------- */
.fz-blog { color: var(--b-ink); font-family: Poppins, sans-serif; padding: clamp(48px, 5.5vw, 76px) 0 clamp(48px, 5vw, 72px); }
.fz-blog__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(250px, 24vw, 296px);
  grid-template-areas: "head search" "main side";
  column-gap: clamp(32px, 4.4vw, 60px);
  row-gap: 36px;
  align-items: start;
}
.fz-blog__head { grid-area: head; display: flex; align-items: center; gap: 28px 40px; }
.fz-blog__search { grid-area: search; align-self: center; }
.fz-blog__main { grid-area: main; min-width: 0; }
.fz-blog__side { grid-area: side; display: grid; gap: 44px; min-width: 0; }

/* En-tête de section */
.fz-blog__heading { flex: 0 0 auto; }
.fz-blog__eyebrow { margin-bottom: 8px !important; color: var(--b-teal); font-size: 11px; font-weight: 600; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.fz-blog__title { color: var(--b-ink); font-family: var(--b-serif); font-size: clamp(34px, 3.2vw, 46px); font-weight: 500; line-height: 1.05; letter-spacing: -.015em; text-transform: none; }
.fz-blog__intro { flex: 1 1 260px; max-width: 46ch; color: var(--b-muted); font-size: 13.5px; line-height: 1.7; }
.fz-blog__sprig { flex: 0 0 auto; width: 54px; height: 72px; margin-left: -14px; color: #6aa6a1; stroke-width: 1; }

/* ---------- Cartes ---------- */
.fz-blog__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.2vw, 30px); }
.fz-post { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--b-line); border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(37, 41, 35, .03); transition: transform .35s var(--b-ease), box-shadow .35s var(--b-ease), border-color .35s var(--b-ease); }
.fz-post__media { display: block; aspect-ratio: 600 / 422; overflow: hidden; background: var(--b-cream); }
.fz-post__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--b-ease); }
.fz-post__noimg { display: block; width: 100%; height: 100%; }
.fz-post__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px 24px 24px; }
.fz-post__cat { display: inline-block; margin-bottom: 12px; padding: 4px 8px 3px; border-radius: 4px; color: var(--b-teal-dark); background: var(--b-teal-tint); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; text-decoration: none; }
.fz-post__cat:hover { color: #fff; background: var(--b-teal); text-decoration: none; }
.fz-post__title { font-family: var(--b-serif); font-size: clamp(22px, 1.95vw, 27px); font-weight: 500; line-height: 1.16; letter-spacing: -.01em; text-transform: none; text-wrap: balance; }
.fz-post__title a { color: var(--b-ink); text-decoration: none; }
.fz-post__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.fz-post__title a:hover { color: var(--b-teal-dark); text-decoration: none; }
.fz-post__cat, .fz-post__more { position: relative; z-index: 1; }
.fz-post__excerpt { margin-top: 12px !important; color: var(--b-muted); font-size: 14px; line-height: 1.68; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fz-post__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px !important; color: var(--b-soft); font-size: 12.5px; line-height: 1.4; }
.fz-post__meta li { display: inline-flex; align-items: center; gap: 7px; }
.fz-post__meta svg { width: 16px; height: 16px; }
.fz-post__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; color: var(--b-teal); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: color .2s ease; }
.fz-post__more svg { width: 17px; height: 17px; transition: transform .25s var(--b-ease); }
.fz-post__more:hover { color: var(--b-teal-dark); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .fz-post:hover { transform: translateY(-3px); border-color: #dcd3c4; box-shadow: 0 14px 34px -18px rgba(37, 41, 35, .28); }
  .fz-post:hover .fz-post__media img { transform: scale(1.035); }
  .fz-post:hover .fz-post__more { color: var(--b-teal-dark); }
  .fz-post:hover .fz-post__more svg { transform: translateX(3px); }
}
.fz-post:focus-within { border-color: #cfc5b4; }

/* État vide */
.fz-blog__empty { padding: 40px 32px; border: 1px dashed #d8cfbf; border-radius: 8px; background: #fff; color: var(--b-muted); font-size: 15px; line-height: 1.7; text-align: center; }
.fz-blog__back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; color: var(--b-teal); font-weight: 500; }

/* ---------- Pagination ---------- */
.fz-pager { margin-top: 44px; }
.fz-pager ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.fz-pager__num, .fz-pager__arrow { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 6px; border-radius: 999px; color: var(--b-ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.fz-pager__arrow svg { width: 18px; height: 18px; }
a.fz-pager__num:hover, a.fz-pager__arrow:hover { color: var(--b-teal-dark); background: var(--b-teal-tint); text-decoration: none; }
.fz-pager__num.is-current { color: #fff; background: var(--b-teal); }
.fz-pager__arrow.is-disabled { color: #c4bdb0; }
.fz-pager__gap { min-width: 24px; color: var(--b-soft); text-align: center; }

/* ---------- Barre latérale ---------- */
.fz-search { position: relative; display: flex; align-items: center; height: 54px; border: 1px solid var(--b-line); border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(37, 41, 35, .03); transition: border-color .2s ease, box-shadow .2s ease; }
.fz-search:focus-within { border-color: var(--b-teal); box-shadow: 0 0 0 3px rgba(40, 124, 121, .14); }
.fz-search__icon { position: absolute; left: 16px; width: 19px; height: 19px; color: var(--b-ink); pointer-events: none; }
.fz-search__input { flex: 1; min-width: 0; height: 100%; padding: 0 4px 0 46px; border: 0; border-radius: 8px; background: transparent; color: var(--b-ink); font: 400 14px/1.4 Poppins, sans-serif; outline: none; -webkit-appearance: none; appearance: none; }
.fz-search__input::placeholder { color: #9a9488; opacity: 1; }
.fz-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.fz-search__btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 100%; padding: 0; border: 0; border-radius: 0 8px 8px 0; background: transparent; color: var(--b-ink); cursor: pointer; transition: color .2s ease; }
.fz-search__btn:hover { color: var(--b-teal); }
.fz-search__btn svg { width: 19px; height: 19px; }

.fz-side__title { margin-bottom: 18px !important; color: var(--b-ink); font-family: var(--b-serif); font-size: 27px; font-weight: 500; line-height: 1.1; text-transform: none; }
.fz-side__title::after { content: ""; display: block; width: 26px; height: 2px; margin-top: 12px; background: var(--b-teal); }
.fz-side__cats li + li { border-top: 1px solid #ece6db; }
.fz-side__cats a { display: flex; align-items: center; gap: 6px; min-height: 44px; color: var(--b-ink); font-size: 14.5px; text-decoration: none; transition: color .2s ease, padding .25s var(--b-ease); }
.fz-side__cats a:hover, .fz-side__cats a[aria-current] { color: var(--b-teal-dark); padding-left: 4px; text-decoration: none; }
.fz-side__count { color: var(--b-soft); font-size: 13px; }
.fz-side__recent { display: grid; gap: 18px; }
.fz-mini { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; color: var(--b-ink); text-decoration: none; }
.fz-mini__img { display: block; width: 84px; height: 68px; border-radius: 6px; object-fit: cover; background: var(--b-cream); }
.fz-mini__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--b-serif); font-size: 17px; font-weight: 500; line-height: 1.2; transition: color .2s ease; }
.fz-mini__date { display: block; margin-top: 5px; color: var(--b-soft); font-size: 12px; }
.fz-mini:hover { text-decoration: none; }
.fz-mini:hover .fz-mini__title { color: var(--b-teal-dark); }
.fz-side__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fz-side__tags a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid #ddd5c7; border-radius: 6px; background: #fff; color: #4b4840; font-size: 13px; line-height: 1.3; text-decoration: none; transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.fz-side__tags a:hover, .fz-side__tags a[aria-current] { border-color: var(--b-teal); color: var(--b-teal-dark); background: var(--b-teal-tint); text-decoration: none; }

/* ---------- Newsletter ---------- */
.fz-news { position: relative; display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); align-items: center; margin-top: clamp(56px, 6vw, 84px); overflow: hidden; border-radius: 10px; background: var(--b-cream); }
.fz-news__photo { align-self: stretch; min-height: 300px; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%); mask-image: linear-gradient(90deg, #000 55%, transparent 100%); }
.fz-news__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.fz-news__body { position: relative; z-index: 1; max-width: 560px; padding: 44px 64px 44px 12px; }
.fz-news__title { color: var(--b-ink); font-family: var(--b-serif); font-size: clamp(30px, 2.7vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; text-transform: none; text-wrap: balance; }
.fz-news__text { margin-top: 12px !important; color: var(--b-muted); font-size: 14.5px; line-height: 1.7; }
.fz-news__form { margin-top: 24px; }
.fz-news__row { display: flex; gap: 10px; }
.fz-news__field { position: relative; display: flex; flex: 1; align-items: center; min-width: 0; }
.fz-news__field svg { position: absolute; left: 16px; width: 19px; height: 19px; color: #6c675d; pointer-events: none; }
.fz-news__field input { width: 100%; height: 52px; padding: 0 16px 0 46px; border: 1px solid #e2dacd; border-radius: 6px; background: #fff; color: var(--b-ink); font: 400 14.5px/1.4 Poppins, sans-serif; transition: border-color .2s ease, box-shadow .2s ease; }
.fz-news__field input::placeholder { color: #9a9488; opacity: 1; }
.fz-news__field input:focus { border-color: var(--b-teal); outline: none; box-shadow: 0 0 0 3px rgba(40, 124, 121, .16); }
.fz-news__btn { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border: 0; border-radius: 6px; background: var(--b-teal); color: #fff; font: 500 14.5px/1 Poppins, sans-serif; cursor: pointer; transition: background-color .2s ease, transform .2s var(--b-ease); }
.fz-news__btn svg { width: 18px; height: 18px; transition: transform .25s var(--b-ease); }
.fz-news__btn:hover { background: var(--b-teal-dark); }
.fz-news__btn:hover svg { transform: translateX(3px); }
.fz-news__btn:active { transform: scale(.98); }
.fz-news__btn[disabled] { cursor: progress; opacity: .75; }
.fz-news__consent { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; text-align: left; color: var(--b-muted); font-size: 12.5px; font-weight: 400; line-height: 1.55; cursor: pointer; }
.fz-news__consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--b-teal); cursor: pointer; }
.fz-news__consent a { color: var(--b-teal-dark); text-decoration: underline; text-underline-offset: 2px; }
.fz-news__msg { margin-top: 14px !important; padding: 10px 14px; border-radius: 6px; font-size: 13.5px; line-height: 1.5; }
.fz-news__msg.is-ok { color: #1d5b40; background: #e3f1e8; }
.fz-news__msg.is-error { color: #8a2a1f; background: #f8e5e1; }
.fz-news__sprig { position: absolute; right: 22px; bottom: 14px; width: 62px; height: 84px; color: #6aa6a1; stroke-width: 1; pointer-events: none; }

/* ---------- Tablette ---------- */
@media (max-width: 991px) {
  .fz-blog__layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "search" "main" "side"; row-gap: 28px; }
  .fz-blog__side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; margin-top: 20px; padding-top: 40px; border-top: 1px solid var(--b-line); }
  .fz-side--tags { grid-column: 1 / -1; }
  .fz-blog__search { max-width: 520px; }
  .fz-news__body { padding: 40px 40px 40px 8px; }
  .fz-news__sprig { display: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .fz-blog-hero { align-items: flex-end; min-height: 440px; }
  .fz-blog-hero__photo img { object-position: 50% 30%; }
  .fz-blog-hero::before { background: linear-gradient(180deg, rgba(38, 33, 26, .05) 0%, rgba(38, 33, 26, .35) 35%, rgba(38, 33, 26, .86) 72%, rgba(38, 33, 26, .92) 100%); }
  .fz-blog-hero__inner { width: calc(100% - 32px); padding: 120px 0 34px; }
  .fz-blog-hero__crumbs ol { margin-bottom: 16px; }
  .fz-blog-hero__title { font-size: clamp(36px, 10.5vw, 44px); }
  .fz-blog-hero__title::after { margin-top: 16px; }
  .fz-blog-hero__lead { margin-top: 16px !important; font-size: 14.5px; line-height: 1.65; }

  .fz-blog { padding-top: 40px; }
  .fz-blog__head { display: block; }
  .fz-blog__intro { margin-top: 14px !important; font-size: 14px; }
  .fz-blog__sprig { display: none; }
  .fz-blog__search { max-width: none; }
  .fz-blog__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .fz-post__body { padding: 20px 20px 22px; }
  .fz-post__title { font-size: 24px; }
  .fz-post__more { min-height: 44px; padding-top: 10px; }

  .fz-blog__side { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fz-side--recent { display: none; }
  .fz-side__title { font-size: 24px; margin-bottom: 14px !important; }
  .fz-side__cats { display: flex; flex-wrap: wrap; gap: 8px; }
  .fz-side__cats li + li { border-top: 0; }
  .fz-side__cats a { min-height: 40px; padding: 6px 14px; border: 1px solid #ddd5c7; border-radius: 999px; background: #fff; font-size: 13.5px; }
  .fz-side__cats a:hover, .fz-side__cats a[aria-current] { padding-left: 14px; border-color: var(--b-teal); background: var(--b-teal-tint); }
  .fz-side__tags a { min-height: 40px; }

  .fz-news { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .fz-news__photo { min-height: 0; height: 190px; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .fz-news__photo img { object-position: 50% 40%; }
  .fz-news__body { max-width: none; margin-top: -24px; padding: 0 20px 28px; }
  .fz-news__row { flex-direction: column; }
  .fz-news__btn { width: 100%; }
}

@media (max-width: 359px) {
  .fz-post__body { padding: 18px 16px 20px; }
  .fz-news__body { padding: 0 16px 24px; }
  .fz-post__meta { gap: 6px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .fz-blog *, .fz-blog *::before, .fz-blog *::after { transition: none !important; animation: none !important; }
  .fz-post:hover, .fz-post:hover .fz-post__media img { transform: none !important; }
}
