/*
Theme Name: Core
Theme URI: https://domain.com
Author: Jérémie Helme
Author URI: https://domain2.com
Description: Propulse Template du 01 novembre 2022
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: no-tag
*/

/* ============================================================
   Styles Core V2 (ex-thème enfant)
   ============================================================ */
*/

/* ============================================================
   Fade-in natif sur toutes les images lazy-loadées.
   Le navigateur met l'image à opacity:0 jusqu'au chargement,
   puis la transition CSS prend le relais. Le skeleton shimmer
   s'affiche via le background du conteneur parent tant que
   l'image n'est pas visible.
   ============================================================ */
@keyframes _img-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}
img[loading="lazy"] {
    opacity: 0;
    transition: opacity .35s ease;
}
img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}
/* Appliqué via JS onload (voir fin de fichier) */
.img-wrap {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: _img-shimmer 1.4s ease infinite;
    border-radius: inherit;
}
.img-wrap.loaded,
.img-wrap img.loaded {
    animation: none;
    background: transparent;
}

/* ============================================================
   Tokens — fallbacks par défaut (overridés par header.php Customizer).
   Empêche le rendu sans couleurs si Customizer pas configuré.
   Tous les `var(--button-color, …)` inline pointent désormais sur #555 (canonique
   :root) et `var(--secondary-color, …)` sur #333 — les fallbacks divergents
   (#e63, #542583, #3b82f6, etc.) ont été harmonisés.
   ============================================================ */
:root {
    --button-color:      #555;     /* CTA primaire — overridé par Customizer */
    --button-text-color: #fff;     /* texte sur bouton — dérivé via luminance WCAG dans header.php */
    --secondary-color:   #333;     /* Titres + accents */
    --title-color:       var(--secondary-color);
    --background-color:  #fff;     /* Fond global */
    --link-color:        var(--button-color);
    --link-hover-color:  var(--button-color);
    --font:              "Roboto", system-ui, sans-serif;
    --font-size:         1rem;
    --line-height:       1.5rem;


    /* Badges accès (cards) — solid pour bonne lisibilité */
    --badge-free-bg:     #bbf7d0;   /* green-200 */
    --badge-free-fg:     #14532d;   /* green-900 */
    --badge-locked-bg:   #e5e7eb;   /* gray-200 */
    --badge-locked-fg:   #374151;   /* gray-700 */
}

/* ============================================================
   Page layout — conteneur grid universel
   1-col par défaut, 2-col auto-détecté quand <aside class="freemium-sidebar"> présent.
   Remplace `max-content-width mx-auto px-5 lg:px-0` au niveau page.
   ============================================================ */
.core_layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 2.5rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}
.core_layout:has(.freemium-sidebar) {
    grid-template-columns: minmax(0, 1fr) 300px;
}
.core_layout__main { min-width: 0; }

@media (max-width: 860px) {
    .core_layout:has(.freemium-sidebar) {
        grid-template-columns: minmax(0, 1fr);
    }
    .freemium-sidebar { position: static; }
}

/* diminuer la taille des disclaimers */
.mentions {
  font-size: 0.9em !important;
}

/* diminuer la taille de l'iframe video sur desktop */
@media screen and (min-width: 800px) {
  .video-iframe {
    max-width: 70%;
  }
}

/* listes dans .text — bullets visibles */
.text li {
  list-style: disc;
  margin: 0% 0% 0% 4%;
}

.article-content ul {
  margin-left: 2%;
}

/* logo header — clamp hauteur (desktop / mobile)
   `header #logo` (app.bundle.css) a `max-height: 40px` mobile / `70px` desktop +
   `display: block` sans overflow:hidden. L'IMG enfant a `width: 100%`, donc le
   ratio peut faire dépasser l'image hors du wrapper. On contraint l'IMG explicitement. */
#logo {
  display: flex;
  align-items: center;
  overflow: hidden;
}
#logo img {
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (min-width: 1024px) {
  #logo img {
    max-height: 70px;
  }
}

/* image en avant premium content */
img.cover {
  border-radius: 10px;
  box-shadow: rgb(0 0 0 / 5%) 0px 6px 24px 0px, rgb(0 0 0 / 8%) 0px 0px 0px 1px;
  aspect-ratio: 2/1;
  object-fit: cover;
  max-width: 500px;
}

/*forminator*/
.forminator-button-next {
  background-color: unset;
  color: var(--title-color);
  border: none;
  padding: 0;
  font-size: 18px;
  text-decoration: underline;
  text-align: left;
  margin-top: 2%;
}

.forminator-button-next:hover {
  border: none;
}

button.forminator-button.forminator-button-back {
  display: none;
}

select {
  border: solid 2px grey;
  padding: 5px;
  margin: 10px;
  cursor: pointer;
}

select:hover {
  background: #f2f2f2;
}

label.forminator-label {
  font-size: 18px;
  font-weight: 500;
}

.forminator-custom-form {
  margin-top: 20px;
}

.forminator-response-message {
  font-size: 18px;
  color: var(--button-color);
}

.forminator-field.forminator-merge-tags {
  padding: 5%;
  box-shadow: rgb(0 0 0 / 16%) 0px 1px 4px;
}

.forminator-email--field {
  display: block;
  border: 1px solid var(--button-color);
  border-radius: 5px;
  padding: 1%;
  min-width: 100%;
  margin: 2% 0;
}

.forminator-row textarea {
  display: block;
  border: 1px solid var(--button-color);
  border-radius: 5px;
  padding: 1%;
  min-width: 100%;
  margin: 2% 0;
}

.forminator-response-message.forminator-show.forminator-success {
  padding: 2%;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  margin-bottom: 1%;
  margin-top: 1%;
}

.forminator-error-message {
  color: #bf0000;
  display: block;
}

.premium-content img.w-full.h-full {
  object-fit: contain;
}

.thumbnail {
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

h3 {
  padding-bottom: 2%;
}

nav ul li a:visited {
  color: inherit;
}

nav ul li a:active {
  color: var(--button-color);
}

.grise {
  background: #ECECEC;
  padding: 3% !important;
  font-size: 40px;
  line-height: 1em;
  border-radius: 15px;
}

.premium-small.premium-content .premium-title {
  font-size: 18px !important;
  line-height: 22px !important;
  color: #3e3e3e !important;
  font-weight: 700;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/*faq*/
#ui-datepicker-div {
  background: white;
}


/*fix list*/
ul li {
  list-style-type: initial;
  margin-left: 25px;
  padding-bottom: 10px
}

ol li {
  list-style-type: decimal;
  margin-left: 25px;
  padding-bottom: 10px
}

ol a {
  font-size: inherit;
}

/*menu*/

nav ul li {
  list-style: none;
  margin: revert;
  padding: revert;
}

li.current-menu-item>a,
li.current-menu-item>a:link,
li.current-menu-item>a:visited {
  color: var(--button-color);
}

@media only screen and (max-width: 600px) {
  .popup-content {
    padding: 0;
  }

  .item-content.px-2\.5.mb-5 {
    padding: 0;
  }
}

@media only screen and (min-width: 450px) {
  iframe#Proform-links {
    min-width: 450px;
    min-height: 600px;
  }
}

@media only screen and (max-width: 450px) {
  iframe#Proform-links {
    min-height: 740px;
  }
}

.title-icon {
  width: 50px;
  fill: var(--title-color);
}

.error-content {
  max-width: 900px;
  margin: auto;
}

a.custom.button:hover {
  color: var(--button-color);
}

.bulle {
  margin-bottom: 20px;
}

iframe#Proform-subscription {
  min-height: 550px;
}

@media (max-width:600px) {
  iframe#Proform-subscription {
    min-height: 800px;
  }
}

.ombre {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  padding: 3%;
  border-radius: 10px;
  margin: 5%;
}

.parent .premium-list.grid.mt-5 {
  padding-bottom: 10px;
}

@media screen and (min-width: 600px) {
  .border-t.flex-grow {
    margin-right: 20px;
  }
}

.thumbnail.premium-card {
  position: relative !important;
}

.category-image {
  height: 200px;
  display: block;
  position: relative;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

/* ============================================================
   Template Formation — extrait dans assets/css/formation.css
   Chargé via <link> imprimé directement par category-formation.php
   (wp_head() déjà émis à ce stade).
   ============================================================ */

/* ── Bouton-lien générique (remplace <button><a> invalide) ── */
a.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--button-color, #555);
    border: 1px solid var(--button-color, #555);
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-family: var(--font, "Roboto");
    padding: 10px 25px;
    text-decoration: none;
    transition: background .3s;
}
a.btn:hover { opacity: .85; color: #fff; }

/* ── Revue PDF viewer (dFlip popup) ── */
.revue-pdf-download { display: flex; gap: 1rem; flex-wrap: wrap; }
.revue-pdf-download button,
.revue-pdf-download a.btn-pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--button-color, #555);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s;
}
.revue-pdf-download button:hover,
.revue-pdf-download a.btn-pdf:hover { opacity: .85; }
.revue-pdf-download button a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

/* ──────────────────────────────────────────────────────────────────────────
   REVUE CARD — Editorial magazine kiosk
   ────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=DM+Mono:wght@400;500&display=swap');

:root {
    --revue-accent: var(--button-color, #555);
    --revue-ink: #1a1612;
    --revue-paper: #f6f1e8;
    --revue-mute: #6b6259;
    --revue-font-serif: 'Fraunces', Georgia, serif;
    --revue-font-mono: 'DM Mono', ui-monospace, monospace;
}

/* — Revue grid: max 4 columns — */
.premium-list:has(.revue-card) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
}
@media (min-width: 480px) {
    .premium-list:has(.revue-card) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 36px 16px !important;
    }
}
@media (min-width: 640px) {
    .premium-list:has(.revue-card) {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 40px 20px !important;
    }
}
@media (min-width: 1024px) {
    .premium-list:has(.revue-card) {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 48px 24px !important;
    }
}
/* Reset the legacy flex-basis sizing inherited from .premium-list .premium-small */
.premium-list:has(.revue-card) .premium-small,
.revue-hero-card .premium-small {
    flex-basis: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    border-top: none !important;
    padding-top: 0 !important;
}

/* — outer card link — */
.revue-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    perspective: 1100px;
    isolation: isolate;
    transform: translateZ(0);
    opacity: 0;
    animation: revue-card-in .7s cubic-bezier(.16,.84,.32,1) forwards;
}
.revue-card:nth-child(1)  { animation-delay: .04s }
.revue-card:nth-child(2)  { animation-delay: .08s }
.revue-card:nth-child(3)  { animation-delay: .12s }
.revue-card:nth-child(4)  { animation-delay: .16s }
.revue-card:nth-child(5)  { animation-delay: .20s }
.revue-card:nth-child(6)  { animation-delay: .24s }
.revue-card:nth-child(7)  { animation-delay: .28s }
.revue-card:nth-child(8)  { animation-delay: .32s }
.revue-card:nth-child(n+9) { animation-delay: .36s }

@keyframes revue-card-in {
    from { opacity: 0; transform: translateY(18px) }
    to   { opacity: 1; transform: translateY(0) }
}

/* — cover (PDF first-page or placeholder) — */
.revue-card__cover {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: var(--revue-paper);
    border-radius: 2px 6px 6px 2px;
    overflow: hidden;
    transform-origin: 8% 50%;
    transition: transform .55s cubic-bezier(.2,.8,.2,1),
                box-shadow .55s cubic-bezier(.2,.8,.2,1);
    box-shadow:
        0 1px 0 rgba(0,0,0,.05),
        0 6px 14px -6px rgba(20,15,10,.18),
        0 22px 40px -22px rgba(20,15,10,.25);
}

.revue-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: saturate(1.02);
    transition: transform .9s cubic-bezier(.2,.8,.2,1);
}

/* spine — left edge "binding" of a magazine */
.revue-card__spine {
    position: absolute;
    inset: 0 auto 0 0;
    width: 12px;
    background:
        linear-gradient(90deg,
            rgba(0,0,0,.32) 0%,
            rgba(0,0,0,.18) 18%,
            rgba(0,0,0,0)   55%,
            rgba(255,255,255,.08) 80%,
            rgba(0,0,0,.06) 100%);
    pointer-events: none;
    z-index: 2;
}

/* paper sheen — diagonal highlight that sweeps on hover */
.revue-card__sheen {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        rgba(255,255,255,0) 30%,
        rgba(255,255,255,.32) 48%,
        rgba(255,255,255,0) 62%);
    transform: translateX(-110%);
    transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: 3;
}

/* drop-shadow under the card that lifts on hover */
.revue-card__shadow {
    position: absolute;
    left: 6%; right: 6%;
    bottom: -14px;
    height: 24px;
    background: radial-gradient(ellipse at center,
        rgba(20,15,10,.35) 0%,
        rgba(20,15,10,0) 70%);
    filter: blur(6px);
    opacity: .55;
    transition: opacity .55s ease, transform .55s ease;
    z-index: -1;
}

/* number badge — vintage kiosk sticker */
.revue-card__badge {
    position: absolute;
    top: 12px;
    right: -8px;
    z-index: 4;
    padding: 7px 14px 8px 16px;
    background: var(--button-color, #555);
    color: #fff;
    font-family: var(--revue-font-mono);
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1;
    border-radius: 2px 0 0 2px;
    box-shadow: 0 2px 6px -1px rgba(20,15,10,.35);
    transform: translateZ(0);
}
.revue-card__badge::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -6px;
    width: 0;
    height: 0;
    border-left: 8px solid color-mix(in srgb, var(--button-color, #555) 70%, black);
    border-bottom: 6px solid transparent;
}
.revue-card__badge-prefix {
    opacity: .7;
    margin-right: 1px;
    font-size: .78rem;
}

/* lock badge — discreet, top-left */
.revue-card__lock {
    position: absolute;
    top: 10px;
    left: 18px;
    z-index: 4;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20,15,10,.7);
    color: #fff;
    border-radius: 50%;
    backdrop-filter: blur(6px);
}

/* — placeholder (no image, no PDF preview) — */
.revue-card__placeholder {
    position: absolute;
    inset: 0;
    padding: 22px 22px 22px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(circle at 25% 18%, rgba(255,255,255,.10) 0, transparent 55%),
        linear-gradient(165deg, var(--button-color, #555) 0%, color-mix(in srgb, var(--button-color, #555) 75%, black) 100%);
    color: #fff;
}
.revue-card__placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 4px 4px;
    opacity: .35;
    mix-blend-mode: overlay;
    pointer-events: none;
}
.revue-card__placeholder-num {
    font-family: var(--revue-font-mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .12em;
    color: rgba(255,255,255,.7);
    align-self: flex-start;
}
.revue-card__placeholder-month {
    font-family: var(--revue-font-serif);
    font-style: italic;
    font-size: .9rem;
    font-weight: 400;
    color: rgba(255,255,255,.8);
    letter-spacing: .02em;
}
.revue-card__placeholder-title {
    font-family: var(--revue-font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: #fff;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* — meta block under cover — */
.revue-card__meta {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 2px;
}
.revue-card__date {
    font-family: var(--revue-font-mono);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--revue-mute);
}
.revue-card__title {
    font-family: var(--revue-font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.005em;
    color: var(--revue-ink);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .25s ease;
}

/* — hover: lift + tilt + sheen sweep — */
.revue-card:hover .revue-card__cover {
    transform: rotateY(-6deg) translateY(-6px) scale(1.015);
    box-shadow:
        0 1px 0 rgba(0,0,0,.05),
        0 14px 30px -10px rgba(20,15,10,.28),
        0 38px 60px -28px rgba(20,15,10,.4);
}
.revue-card:hover .revue-card__img {
    transform: scale(1.04);
}
.revue-card:hover .revue-card__sheen {
    transform: translateX(110%);
}
.revue-card:hover .revue-card__shadow {
    opacity: .8;
    transform: translateY(4px) scaleX(.92);
}
.revue-card:hover .revue-card__title {
    color: var(--button-color, #555);
}

/* locked state: greyed cover + dim placeholder + dark overlay */
.revue-card.is-locked .revue-card__img {
    filter: grayscale(1) brightness(.7);
}
.revue-card.is-locked .revue-card__placeholder {
    filter: grayscale(1);
    opacity: .75;
}
.revue-card.is-locked .revue-card__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 15, 10, .25);
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
}
/* centered lock medallion overrides the discreet top-left badge */
.revue-card.is-locked .revue-card__lock {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(20, 15, 10, .82);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}
.revue-card.is-locked .revue-card__lock svg {
    width: 26px;
    height: 26px;
}

/* responsive: slightly tighter spacing on mobile */
@media (max-width: 640px) {
    .revue-card__title { font-size: 1rem }
    .revue-card__date { font-size: .65rem }
    .revue-card__placeholder-title { font-size: 1.15rem }
}
/* ── Pagination library redesign ── */
#library #pagination {
    max-width: 100%;
    margin-top: 48px;
}
#library #pagination > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
#library #pagination .btn-prev,
#library #pagination .btn-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,.15);
    background: #fff;
    transition: border-color .15s, background .15s, transform .15s;
    flex-shrink: 0;
}
#library #pagination .btn-prev:hover,
#library #pagination .btn-next:hover {
    border-color: var(--button-color, #555);
    background: var(--button-color, #555);
    transform: scale(1.08);
}
#library #pagination .btn-prev:hover svg,
#library #pagination .btn-next:hover svg {
    stroke: #fff;
}
#library #pagination .btn-prev svg,
#library #pagination .btn-next svg {
    width: 18px;
    height: 18px;
    stroke: var(--button-color, #555);
    transition: stroke .15s;
    display: block;
}
#library #pagination .current {
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-width: 80px;
    justify-content: center;
    font-variant-numeric: tabular-nums;
}
#library #pagination .current .page-current {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--button-color, #555);
    line-height: 1;
}
#library #pagination .current .page-sep {
    font-size: 1rem;
    color: #ccc;
    font-weight: 400;
}
#library #pagination .current .page-total {
    font-size: 1rem;
    font-weight: 600;
    color: #aaa;
}

/* ── Breadcrumb page indicator ── */
.article-breadcrumb__sep--page,
.article-breadcrumb__page {
    display: none;
}

/* ── Revue : hero row (Nouveau numéro + Prochain numéro) ──── */
#revue-hero-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 8px;
}
@media (min-width: 1024px) {
    #revue-hero-row {
        grid-template-columns: 2fr 1fr;
        align-items: start;
        gap: 28px;
    }
}

/* Hero card : card blanche avec couvercle + méta horizontal */
.revue-hero-card .premium-small {
    background: transparent;
}
.revue-hero-card .revue-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    background: transparent;
    border-left: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.revue-hero-card .revue-card__cover {
    width: 180px;
    flex-shrink: 0;
}
.revue-hero-card .revue-card__meta {
    flex: 1;
    gap: 6px;
    padding-top: 2px;
}
.revue-hero-card .revue-card__meta::before {
    content: var(--hero-num, 'Nouveau numéro');
    display: block;
    font-family: var(--revue-font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--revue-ink, #1a1612);
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--button-color, #555);
}
.revue-hero-card .revue-card__date {
    font-size: .75rem;
    font-weight: 600;
    color: var(--revue-mute, #6b6259);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.revue-hero-card .revue-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--revue-ink, #1a1612);
    -webkit-line-clamp: unset;
}
.revue-hero-card .revue-card__meta::after {
    content: 'Consulter →';
    display: inline-block;
    align-self: flex-start;
    margin-top: 16px;
    padding: 9px 22px;
    background: var(--button-color, #555);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: .03em;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
/* Excerpt hero card */
.revue-hero-card .revue-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .88rem;
    line-height: 1.6;
    color: var(--revue-mute, #8a7f74);
    margin-top: 4px;
}

/* Désactive le tilt 3D inadapté en layout horizontal */
.revue-hero-card .revue-card:hover .revue-card__cover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 0 rgba(0,0,0,.05),
        0 10px 24px -8px rgba(20,15,10,.22),
        0 28px 48px -20px rgba(20,15,10,.28);
}
@media (min-width: 640px) {
    .revue-hero-card .revue-card { gap: 28px; }
    .revue-hero-card .revue-card__cover { width: 240px; }
}

/* Panneau prochain numéro (colonne droite) */
.revue-next-panel {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    background: transparent;
    border-left: 2px solid rgba(0,0,0,.1);
}
.revue-next-panel__label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--revue-mute, #6b6259);
    margin-bottom: 6px;
}
.revue-next-panel__num {
    font-family: var(--revue-font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--revue-ink, #1a1612);
}
.revue-next-panel__countdown {
    font-size: .9rem;
    font-weight: 600;
    color: var(--revue-ink, #1a1612);
}
.revue-next-panel__date {
    font-size: .75rem;
    color: var(--revue-mute, #8a7f74);
}
.revue-next-panel__title {
    font-size: .9rem;
    font-weight: 600;
    color: var(--revue-ink, #1a1612);
}
.revue-next-panel__text {
    font-size: .82rem;
    color: var(--revue-mute, #8a7f74);
    line-height: 1.5;
}
.revue-next-panel__icon {
    color: var(--revue-mute, #6b6259);
    margin-bottom: 4px;
}

/* Réception papier estimée (numéro actuel + prochain) */
.revue-next-panel__delivery,
.revue-card__delivery {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--revue-mute, #6b6259);
}
.revue-next-panel__delivery {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(0,0,0,.12);
}
.revue-card__delivery {
    margin-top: 12px;
}
.revue-next-panel__delivery svg,
.revue-card__delivery svg {
    flex-shrink: 0;
    opacity: .8;
}

/* ── Revue : titre section numéros précédents ───────────── */
.revue-section-title {
    font-family: var(--revue-font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--revue-ink, #1a1612);
    margin: 36px 0 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--button-color, #555);
    display: inline-block;
}

/* ── Revue : ligne résultats + recherche + tri ──────────────────────── */
.revue-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding-bottom: 12px;
    gap: 16px;
    flex-wrap: wrap;
}
.revue-results-header .results-label {
    margin: 0;
    font-size: .82rem;
    color: #999;
    font-weight: 500;
    flex: 0 0 auto;
}
.revue-results-header .results-label #results-count {
    display: inline-block;
    min-width: 3ch;
    text-align: right;
    font-weight: 700;
    color: #333;
    font-size: .95rem;
}
.revue-search {
    flex: 1 1 280px;
    max-width: 380px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.revue-search__input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 999px;
    padding: .55rem 1rem .55rem 2.4rem;
    font-size: .9rem;
    color: #3e3e3e;
    background: #fff;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.revue-search__input--num {
    flex: 0 0 80px;
    width: 80px;
    padding-left: 1rem;
    -moz-appearance: textfield;
}
.revue-search__input--num::-webkit-outer-spin-button,
.revue-search__input--num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.revue-search__input--text {
    flex: 1 1 auto;
    padding-left: 1rem;
}
.revue-search__input:focus {
    border-color: var(--button-color, #555);
    box-shadow: 0 0 0 3px rgba(143,192,12,.18);
}
@media (max-width: 1023px) {
    .revue-results-header { flex-wrap: wrap !important; }
    .revue-results-header .results-label { flex: 1 1 auto !important; order: 1 !important; }
    .revue-results-header .revue-sort { order: 2 !important; }
    .revue-results-header .revue-search { order: 3 !important; flex: 1 1 100% !important; max-width: 100% !important; width: 100% !important; }
}
@media (max-width: 600px) {
    /* En mobile étroit : empile les 2 champs (N° + texte) en colonne */
    .revue-search { flex-direction: column; align-items: stretch; }
    .revue-search__input--num { flex: 0 0 auto; width: 100%; }
}


/* Sort toggle revue */
.revue-sort {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.revue-sort__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    border: 1.5px solid #ddd;
    background: transparent;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    color: #666;
    transition: background .15s, color .15s, border-color .15s;
    font-family: inherit;
}
.revue-sort__btn.is-active {
    background: var(--secondary-color, #333);
    border-color: var(--secondary-color, #333);
    color: #fff;
}
.revue-sort__btn:hover:not(.is-active) {
    border-color: var(--secondary-color, #333);
    color: var(--secondary-color, #333);
}

/* ── Load More ── */
#load-more {
    margin-top: 2.5rem;
    text-align: center;
}
.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 24px;
    border: 1.5px solid var(--secondary-color, #333);
    background: transparent;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--secondary-color, #333);
    transition: background .15s, color .15s;
    font-family: inherit;
}
.btn-load-more::after {
    content: '';
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: btn-spin .65s linear infinite;
    flex-shrink: 0;
}
@keyframes btn-spin {
    to { transform: rotate(360deg); }
}
.btn-load-more:hover {
    background: var(--secondary-color, #333);
    color: #fff;
}
#load-more.is-loading .btn-load-more {
    opacity: .75;
    pointer-events: none;
    cursor: default;
}
#load-more.is-loading .btn-load-more::after {
    display: inline-block;
}

/* ── Badge membre (single post) ── */
.member-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.member-badge.member-badge--locked {
    background: #e5e7eb !important;
    color: #374151 !important;
}
.member-badge.member-badge--unlocked {
    background: #bbf7d0 !important;
    color: #14532d !important;
}

/* — Mobile fixes revue grid — */
@media (max-width: 479px) {
    /* 1 carte par ligne en dessous de 480px pour lisibilité */
    .premium-list:has(.revue-card) {
        grid-template-columns: 1fr !important;
    }
}
@media (min-width: 480px) and (max-width: 639px) {
    /* 2 colonnes équilibrées sans débordement */
    .premium-list:has(.revue-card) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 639px) {
    /* Hero card : couverture au-dessus en mobile */
    .revue-hero-card .revue-card {
        flex-direction: column;
    }
    .revue-hero-card .revue-card__cover {
        width: 100%;
    }
}

/* ── Home hero refonte (dossier 2/3 + revue 1/3) ────────── */
.home-hero {
    margin-top: 16px;
    margin-bottom: 32px;
    /* override du gap core_layout (2.5rem trop large entre head et grid) */
    gap: 1rem;
}
.home-hero__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
}
@media (max-width: 639px) {
    .home-hero__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
.home-hero__heading {
    margin: 0;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 700;
    color: var(--secondary-color, #333);
    letter-spacing: 0;
    line-height: 1.25;
}
.home-hero__more {
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: rgba(0,0,0,.78);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease, gap .2s ease;
    display: inline-flex; align-items: center; gap: 6px;
    flex-shrink: 0;
    padding: 6px 4px;
}
.home-hero__more:hover {
    color: var(--button-color, #555);
    gap: 10px;
}
.home-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) {
    .home-hero__grid {
        grid-template-columns: 2fr 1fr;
        gap: 20px;
        align-items: stretch;
    }
}
@media (min-width: 1024px) {
    .home-hero__grid {
        gap: 28px;
    }
}

/* — colonne dossier (2/3) — */
.home-hero__dossier {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    min-height: 360px;
    text-decoration: none;
    background: #1a1a1a;
    transition: transform .3s ease, box-shadow .3s ease;
}
@media (min-width: 1024px) {
    .home-hero__dossier { min-height: 480px; }
}
.home-hero__dossier:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -12px rgba(0,0,0,.35);
}
.home-hero__dossier-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.home-hero__dossier:hover .home-hero__dossier-bg { transform: scale(1.04); }
.home-hero__dossier-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.2) 65%, rgba(0,0,0,0) 100%);
}
@media (max-width: 1023px) {
    .home-hero__dossier-overlay {
        background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.75) 45%, rgba(0,0,0,.45) 75%, rgba(0,0,0,.2) 100%);
    }
}
.home-hero__dossier-content {
    position: absolute; inset: auto 0 0 0;
    padding: clamp(22px, 3.5vw, 44px);
    color: #fff;
    display: flex; flex-direction: column; gap: 14px;
    max-width: 100%;
    box-sizing: border-box;
}
.home-hero__dossier-content > p {
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: 1rem;
    line-height: 1.45;
    max-width: 56ch;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 600px) {
    .home-hero__dossier { min-height: 440px; }
    .home-hero__dossier-content { gap: 10px; padding: 18px; }
    .home-hero__title { font-size: 1.1rem !important; line-height: 1.25; }
    .home-hero__dossier-content > p { -webkit-line-clamp: 2; font-size: .92rem; }
}
.home-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: .6rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: rgba(255,255,255,.95);
}
.home-hero__eyebrow--dark { color: rgba(0,0,0,.78); }
.home-hero__num {
    color: rgba(255,255,255,.95);
    padding: 0;
    font-size: .85rem; font-weight: 600; letter-spacing: .08em;
    position: relative;
    padding-left: 12px;
}
.home-hero__num::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--button-color, #555);
}
.home-hero__num--dark { color: rgba(0,0,0,.8); }
.home-hero__title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    max-width: 22ch;
}
.home-hero__subtitle {
    margin: 0;
    color: #fff;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    font-weight: 400;
    line-height: 1.6;
    max-width: 56ch;
    text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.home-hero__cta {
    display: inline-flex; align-items: center; gap: 10px;
    margin-top: 8px;
    padding: 8px 0 6px;
    color: #fff;
    border-bottom: 2px solid rgba(255,255,255,.9);
    font-weight: 600; font-size: .75rem;
    letter-spacing: .01em;
    width: fit-content;
    transition: gap .25s ease, border-color .25s ease;
    background: transparent; border-radius: 0;
}
.home-hero__dossier:hover .home-hero__cta {
    gap: 14px;
    border-color: var(--button-color, #555);
}

/* — colonne revue (1/3) — */
.home-hero__revue {
    background: #fff;
    border-radius: 14px;
    padding: 18px 18px 22px;
    display: flex; flex-direction: column; gap: 18px;
    box-shadow: 0 6px 22px -10px rgba(0,0,0,.14);
}
@media (min-width: 1024px) {
    .home-hero__revue { padding: 24px 24px 28px; }
}
.home-hero__revue-cover {
    position: relative; display: block;
    aspect-ratio: 3 / 4;
    max-width: 240px;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #f0ece5;
    box-shadow: 0 14px 32px -14px rgba(20,15,10,.35);
    transition: transform .35s ease, box-shadow .35s ease;
    perspective: 800px;
}
.home-hero__revue-cover:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -14px rgba(20,15,10,.45);
}
.home-hero__revue-cover img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    transition: transform .5s ease;
}
.home-hero__revue-cover:hover img { transform: scale(1.03); }
.home-hero__revue-placeholder {
    position: absolute; inset: 0;
    padding: 22px;
    display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
    background: linear-gradient(180deg, #e8d9c0 0%, #d4bf9c 100%);
    color: #1a1a1a;
}
.home-hero__revue-placeholder span {
    font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85;
}
.home-hero__revue-placeholder strong { font-size: 1.35rem; line-height: 1.3; font-weight: 700; }
.home-hero__revue-lock {
    position: absolute; top: 12px; left: 12px;
    width: 28px; height: 28px;
    background: rgba(0,0,0,.55);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
}
.home-hero__revue-meta {
    display: flex; flex-direction: column; gap: 8px;
}
.home-hero__revue-date {
    font-size: .63rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: rgba(0,0,0,.75);
}
.home-hero__revue-title {
    font-size: .9rem; font-weight: 700; line-height: 1.35;
    color: #1a1a1a;
    letter-spacing: 0;
}
.home-hero__revue-cta {
    margin-top: 8px;
    display: inline-flex; align-items: center; gap: 8px;
    color: rgba(0,0,0,.85);
    font-weight: 600; font-size: .7rem;
    text-decoration: none;
    border-bottom: 2px solid rgba(0,0,0,.5);
    padding: 6px 0 4px;
    width: fit-content;
    transition: gap .25s ease, color .25s ease, border-color .25s ease;
}
.home-hero__revue-cta:hover {
    gap: 12px;
    color: var(--button-color, #555);
    border-color: var(--button-color, #555);
}

/* — sections par thématique sous le hero — */
.home-thema {
    /* override du gap core_layout (2.5rem trop large entre head et grid) */
    gap: 1rem;
    margin-top: 1.5rem;
}
.home-thema__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
}
@media (max-width: 639px) {
    .home-thema__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
.home-thema__title {
    margin: 0;
    font-size: clamp(1.5rem, 2.2vw, 1.85rem);
    font-weight: 700;
    color: var(--secondary-color, #333);
    letter-spacing: 0;
    line-height: 1.3;
}
.home-thema__more {
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: rgba(0,0,0,.78);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease, gap .2s ease;
    display: inline-flex; align-items: center; gap: 6px;
    flex-shrink: 0;
    padding: 6px 4px;
}
.home-thema__more:hover {
    color: var(--button-color, #555);
    gap: 10px;
}

/* ── Header secondary bar (menu location: header-secondary) ─────── */
header .header-secondary {
    background: var(--secondary-color);
    padding: 0 20px;
    margin: 10px -20px 0;
}
@media (max-width: 1023px) {
    header .header-secondary { display: none; }
}
@media (min-width: 1024px) {
    header:has(.header-secondary) { padding-bottom: 0 !important; }
    header .header-secondary { margin-top: 20px; }
}
@media (min-width: 1280px) {
    header .header-secondary { margin-left: 0; margin-right: 0; }
}
.header-secondary .header-secondary__nav > ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 20px;
    margin: 0;
    padding: 4px 0;
    list-style: none;
}
.header-secondary .header-secondary__nav li { margin: 0; padding: 10px 0; }
.header-secondary .header-secondary__nav a,
.header-secondary .header-secondary__nav a:link,
.header-secondary .header-secondary__nav a:visited {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 0 4px;
    line-height: 1.3;
    transition: opacity .2s ease;
}
.header-secondary .header-secondary__nav a:hover { opacity: .78; }
.header-secondary .header-secondary__nav li.current-menu-item > a,
.header-secondary .header-secondary__nav li.current-menu-parent > a,
.header-secondary .header-secondary__nav li.current-menu-ancestor > a {
    color: var(--button-color);
}
@media (min-width: 1024px) {
    .header-secondary .header-secondary__nav > ul { gap: 8px 28px; padding: 6px 0; }
    .header-secondary .header-secondary__nav li { padding: 12px 0; }
    .header-secondary .header-secondary__nav a { font-size: 1.05rem; padding: 0 4px; }
}

/* ── Menu item greeting connecté (biosante FR/BE) : "Bonjour, Prénom" ───── */
nav ul li.espace-perso > a,
.menu-mobile li.espace-perso > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}
.espace-perso__icon {
    flex-shrink: 0;
    opacity: .9;
}
nav ul li.espace-perso > a:hover .espace-perso__icon,
.menu-mobile li.espace-perso > a:hover .espace-perso__icon {
    opacity: 1;
}

/* ── Focus visible (a11y clavier/lecteur d'écran, priorité public senior) ── */
.home-hero__dossier:focus-visible,
.home-hero__revue-cover:focus-visible,
.home-hero__cta:focus-visible,
.home-hero__revue-cta:focus-visible,
.home-hero__more:focus-visible,
.home-thema__more:focus-visible,
.header-secondary__nav a:focus-visible,
nav ul li.espace-perso > a:focus-visible,
nav ul li.btn-solid > a:focus-visible,
nav ul li.btn-ghost > a:focus-visible {
    outline: 3px solid var(--button-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── Boutons dans les menus (appliquer via Classes CSS dans l'admin WP) ──── */
/* Bouton plein (accent) : class "btn-solid" */
nav ul li.btn-solid > a,
nav ul li.btn-solid > a:link,
nav ul li.btn-solid > a:visited,
.menu-mobile li.btn-solid > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--button-color);
    color: var(--button-text-color, #fff);
    padding: 6.5px 14.5px;
    border: 1.5px solid var(--button-color);
    border-radius: 6px;
    font-weight: 600;
    line-height: 1.2;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
nav ul li.btn-solid > a:hover,
.menu-mobile li.btn-solid > a:hover {
    background: #fff;
    border-color: var(--button-color);
    color: var(--link-color, var(--button-color, #555));
    opacity: 1;
    transform: translateY(-1px);
}

/* Bouton transparent (ghost) : class "btn-ghost" */
nav ul li.btn-ghost > a,
nav ul li.btn-ghost > a:link,
nav ul li.btn-ghost > a:visited,
.menu-mobile li.btn-ghost > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--button-color);
    border: 1.5px solid var(--button-color);
    padding: 6.5px 14.5px;
    border-radius: 6px;
    font-weight: 600;
    line-height: 1.2;
    transition: background .2s ease, color .2s ease;
}
nav ul li.btn-ghost > a:hover,
.menu-mobile li.btn-ghost > a:hover {
    background: var(--button-color);
    color: var(--button-text-color, #fff);
}

/* ── Menu mobile : espacements pour ne pas coller aux border-top/blocs voisins ── */
.menu-mobile li.btn-solid {
    margin-bottom: 16px;
}
/* Premier item de chaque <ul> du menu mobile : pas de border-top de séparation (mais on garde le padding-top:20px pour aérer) */
.menu-mobile ul > li:first-child {
    border-top: none;
}

/* ── Crédit photo sous l'image de mise en avant (Pexels & co.) ── */
.article-cover:has(+ .article-cover-credit) {
    display: block;
    margin-bottom: 0;
    padding-bottom: 0;
}
.article-cover-credit {
    margin-top: 0;
    margin-bottom: 16px;
    padding-top: 4px;
    font-size: 12px;
    line-height: 1.4;
    color: #888;
    text-align: right;
}
.article-cover-credit a {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    text-decoration: underline;
    text-decoration-color: #ccc;
    text-underline-offset: 2px;
}
.article-cover-credit a:hover {
    color: #555;
    text-decoration-color: #888;
}


/* ============================================================
   §A — Migré depuis functions.php `_theme_inline_css()` (2026-05-07)
   Block initialement injecté en `wp_add_inline_style('theme-style', ...)`.
   Couvre : badges verrou, paywall, footer, freemium-sidebar typo,
   article CTA, blog-item card, revue-card, etc.
   ============================================================ */
/* ── Badge verrou ── */
.post-lock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    vertical-align: middle;
    backdrop-filter: blur(4px);
}
/* Sur les miniatures de category-blog */
a > .post-lock-badge {
    position: absolute;
    top: 8px;
    right: 8px;
}
/* Sur les cartes lireaussi */
.lireaussi { position: relative; }
.lireaussi > .post-lock-badge {
    position: absolute;
    top: 8px;
    right: 8px;
}
.post-lock-badge.is-free {
    width: auto;
    border-radius: 6px;
    padding: 3px 9px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: rgba(34,197,94,.9);
    color: #fff;
}
.post-lock-badge.is-locked {
    background: rgba(0,0,0,.55);
    color: #fff;
}
.post-lock-badge.is-unlocked {
    background: rgba(34,197,94,.85);
    color: #fff;
}

/* ── Skip to toolbar (admin bar a11y link) ── */
a.screen-reader-shortcut[href="#wp-toolbar"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
}

/* ── Article layout ── */
.article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    color: #888;
    margin: 0 0 .5rem;
}
.article-breadcrumb a,
.article-breadcrumb a:visited { color: #888; text-decoration: none; font-size: inherit; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-breadcrumb__sep { color: #bbb; }
.article-breadcrumb span:last-child {
    color: #444;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 260px;
}

.article-title { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.2; margin-bottom: 14px; }
.article-title--sm { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.titre-page { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; font-weight: 700; color: var(--title-color); margin-bottom: 1.5rem; }

sup a, sup a:visited { color: var(--button-color); text-decoration: none !important; font-size: inherit; }
sup a:hover, sup a:visited:hover { color: var(--secondary-color); text-decoration: none !important; }

.article-figure { margin: 1.5rem 0; }
.article-figure img { width: 100%; aspect-ratio: 4 / 1; object-fit: cover; border-radius: 8px; display: block; }

/* ── Chapeau intro article ── */
.article-intro {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--title-color);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

/* ── Encadré callout ── */
.encadre {
    border-top: 3px solid var(--button-color);
    background: rgba(0,0,0,.04);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}
.encadre > h3:first-child,
.encadre > h4:first-child { margin-top: 0; }
.encadre p:last-child { margin-bottom: 0; }

/* ── Bloc références bas d'article ── */
.as-references {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0,0,0,.1);
    font-size: .88rem;
    line-height: 1.6;
}
.as-references h4 {
    margin: 0 0 .5rem;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.as-references p { margin: 0 0 4px; }
.as-references p:last-child { margin-bottom: 0; }
.as-references a { color: var(--button-color); }

/* ── Legacy font utility ── */
.font_family_sans_serif {
    font-family: var(--font, "Roboto"), system-ui, sans-serif;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    color: #777;
    margin-bottom: 22px;
}
.article-meta__author { font-weight: 600; color: #444; }
.article-meta__sep { color: #bbb; }

.article-cover {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin-bottom: 28px;
}
/* Livrets pagepremium : image de couverture en contain (pas de crop) */
.article-cover--livret {
    width: auto;
    max-width: 100%;
    object-fit: contain;
    max-height: 380px;
}

/* ── Article 100% numérique CTA ── */
.article-numerique-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--background-color-secondary, #f8f6f2);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 28px;
}
.article-numerique-cta__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: .95rem;
    color: #333;
}
.article-numerique-cta__label svg { color: var(--button-color, #555); flex-shrink: 0; }
.article-numerique-cta__btn { padding: 10px 24px; font-size: .9rem; white-space: nowrap; }

/* ── Typographie corps article ── */
.text h2 {
    font-size: 1.85rem;
    line-height: 1.25;
    font-weight: 700;
    color: var(--title-color, #1a1a1a);
    margin: 2.2rem 0 .75rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid var(--button-color, #555);
}
@media (min-width: 1024px) {
    .text h2 { font-size: 2.15rem; }
}
.text h3 {
    font-size: 1.3rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--title-color, #1a1a1a);
    margin: 2.4rem 0 .5rem;
}
.text p {
    line-height: 1.75;
    margin-bottom: 1.1rem;
}
.text ul, .text ol {
    margin: 0 0 1.1rem 1.4rem;
    line-height: 1.7;
}
.text li {
    margin-bottom: .4rem;
}
.text h4 {
    font-size: 1.1rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--title-color, #1a1a1a);
    margin: 1.8rem 0 .35rem;
}
.text h2:first-child,
.text h3:first-child,
.text h4:first-child { margin-top: 0; }

/* ── Intro / chapeau ── */
/* ── Sommaire dossier ── */
.sommaire-dossier .lireaussi {
    margin: 0 0 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.sommaire-dossier .lireaussi:last-child { margin-bottom: 0; }

/* ── Lire aussi cards ── */
.lireaussi {
    margin: 28px 0;
    border-radius: 10px;
    box-shadow: 0 3px 16px rgba(0,0,0,.11);
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s, transform .2s;
}
.lireaussi:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.16);
    transform: translateY(-2px);
}
.lireaussi__link,
.lireaussi__link:visited {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    min-height: 88px;
}
.lireaussi__img {
    width: 130px;
    min-width: 130px;
    height: 88px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
.lireaussi__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 16px;
    gap: 4px;
    flex: 1;
}
.lireaussi__label {
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--button-color, #555);
}
.lireaussi__title {
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1a1a1a;
}
/* ── Sidebar sous-catégories ── */
.freemium-sidebar__subcats { margin-bottom: 2rem; }
.freemium-sidebar__subcats-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.freemium-sidebar__subcats-list li {
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.freemium-sidebar__subcats-list li:last-child { border-bottom: none; }
.freemium-sidebar__subcats-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .55rem 0;
    font-size: .9rem;
    color: var(--title-color, var(--link-color));
    text-decoration: none;
    transition: color .15s;
}
.freemium-sidebar__subcats-list a:hover { color: var(--button-color); }
.freemium-sidebar__subcats-count {
    font-size: .78rem;
    color: #999;
    font-weight: 400;
    flex-shrink: 0;
}

/* ── Sidebar revue widget ── */
.freemium-sidebar__revue-widget {
    background: var(--background-color, #fff);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.freemium-sidebar__revue-label {
    font-size: .6rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .12em;
    border: none;
    padding: .4rem 1.25rem .25rem;
    margin: 0;
    text-align: center;
}
.freemium-sidebar__revue-title {
    font-size: .875rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    color: var(--title-color, #1a1a1a);
    text-align: center;
}
.freemium-sidebar__revue-num {
    display: block;
    text-align: center;
    font-size: .72rem;
    font-weight: 700;
    color: var(--button-color, #555);
    text-transform: uppercase;
    letter-spacing: .08em;
    padding-bottom: 10px;
}
.freemium-sidebar__revue-cover {
    display: block;
    width: 150px;
    margin: 8px auto 18px;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 2px 4px 14px rgba(0,0,0,.22);
    transition: transform .2s ease, box-shadow .2s ease;
}
.freemium-sidebar__revue-cover:hover {
    transform: translateY(-2px);
    box-shadow: 2px 8px 20px rgba(0,0,0,.28);
}
.freemium-sidebar__revue-cover img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    display: block;
}
.freemium-sidebar__revue-widget .freemium-sidebar__revue-btn {
    display: block;
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    border-radius: 6px;
    border: 1px solid var(--button-color);
    background: var(--button-color);
    color: var(--button-text-color, #fff);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.freemium-sidebar__revue-widget .freemium-sidebar__revue-btn:visited {
    color: var(--button-text-color, #fff);
}
.freemium-sidebar__revue-widget .freemium-sidebar__revue-btn:hover {
    background: #fff;
    border-color: var(--button-color);
    color: var(--link-color, var(--button-color, #555));
    opacity: 1;
}
/* --subscribe = même style classique que .freemium-sidebar__revue-btn,
   pas d'override (background/color/border/hover déjà hérités du sélecteur de base). */

/* ── Newsletter inputs (sidebar + footer popup) ── */
.freemium-sidebar__newsletter input[type="email"],
.freemium-sidebar__newsletter input[type="text"],
.freemium-nl-modal__body input[type="email"],
.freemium-nl-modal__body input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: .65rem .85rem;
    border: 1px solid rgba(0,0,0,.25);
    border-radius: 8px;
    font-size: .95rem;
    background: #fff;
    color: #222;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.freemium-sidebar__newsletter input[type="email"]:focus,
.freemium-sidebar__newsletter input[type="text"]:focus,
.freemium-nl-modal__body input[type="email"]:focus,
.freemium-nl-modal__body input[type="text"]:focus {
    outline: none;
    border-color: var(--button-color, #555);
    box-shadow: 0 0 0 3px rgba(0,0,74,.12);
}
.freemium-sidebar__newsletter input[type="submit"],
.freemium-sidebar__newsletter button[type="submit"],
.freemium-sidebar__newsletter button:not([type]),
.freemium-nl-modal__body input[type="submit"],
.freemium-nl-modal__body button[type="submit"],
.freemium-nl-modal__body button:not([type]) {
    margin-top: .75rem;
}

/* ── Commentaires ── */
.comment-notice {
    border-radius: 8px;
    padding: .75rem 1rem;
    font-size: .88rem;
    margin-bottom: 1rem;
}
.comment-notice--pending {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}
.comment-notice--error {
    background: #fff8e1;
    border: 1px solid #f59e0b;
    color: #92400e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.comment-notice__refresh {
    flex-shrink: 0;
    background: #f59e0b;
    color: #fff;
    border-radius: 6px;
    padding: .4rem .9rem;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.comment-notice__refresh:hover {
    background: #d97706;
    color: #fff;
}
ul.commentlist {
    list-style: none;
    padding: 0 !important;
    margin: 1.5rem 0 0 !important;
}
ul.commentlist .comment {
    margin-left: 0 !important;
    margin-bottom: 1rem;
}
ul.commentlist ul.children {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 1.5rem;
}
ul.commentlist ul.children .comment {
    margin-bottom: .75rem;
}
.comment-reply-link {
    font-size: .85rem;
    color: var(--button-color);
    text-decoration: underline;
    cursor: pointer;
}
[id^="comment-"] {
    scroll-margin-top: 80px;
}
@media (max-width: 1023px) {
    [id^="comment-"] {
        scroll-margin-top: 60px;
    }
}
.comment-awaiting-moderation {
    font-size: .8rem;
    color: #999;
    font-style: italic;
}

/* ── Formulaire commentaires ── */
#comments .comment-respond {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    padding: 1.5rem;
    background: #fff;
    margin-top: 1.5rem;
}
#comments .comment-respond .comment-reply-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--title-color);
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .5rem .75rem;
}
#comments .comment-respond .comment-reply-title small {
    font-size: .85rem;
    font-weight: 400;
}
#comments .comment-respond .comment-notes {
    font-size: .82rem;
    color: #999;
    margin: 0 0 1.25rem;
}
#comments .comment-respond textarea#comment {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 8px;
    padding: .75rem 1rem;
    font-size: .92rem;
    font-family: var(--font, "Roboto");
    color: #3e3e3e;
    background: #fafafa;
    resize: vertical;
    outline: none;
    line-height: 1.5;
}
#comments .comment-respond textarea#comment:focus {
    border-color: var(--button-color);
    background: #fff;
}
#comments .comment-respond label {
    font-size: .85rem;
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: .35rem;
}
#comments .comment-respond .comment-form-author,
#comments .comment-respond .comment-form-comment {
    margin-bottom: 1rem;
}
#comments .comment-respond .comment-form-author input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 8px;
    padding: .65rem 1rem;
    font-size: .92rem;
    font-family: var(--font, "Roboto");
    color: #3e3e3e;
    background: #fafafa;
    outline: none;
}
#comments .comment-respond .comment-form-author input[type="text"]:focus {
    border-color: var(--button-color);
    background: #fff;
}
#comments .comment-respond .required {
    color: var(--button-color);
}
#comments .comment-respond .comment-form-comment {
    border: none;
    border-radius: 0;
    padding: 0;
    line-height: normal;
}
#comments .comment-respond .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .82rem;
    color: #666;
    margin: .75rem 0;
    line-height: 1.4;
}
#comments .comment-respond .comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--button-color);
}
#comments .comment-respond .form-submit {
    padding: 0;
    margin-top: 1rem;
}
#comments .comment-respond .form-submit input[type="submit"] {
    background: var(--button-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .65rem 2rem;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font, "Roboto");
    transition: background .2s;
}
#comments .comment-respond .form-submit input[type="submit"]:hover {
    background: var(--secondary-color);
    color: #fff;
    border: none;
}

/* ── Contenu récent : grille 3 ou 4 colonnes selon disponibilité ── */
.shortlist--3col .premium-list {
    grid-template-columns: repeat(3, 1fr);
}
.shortlist--4col .premium-list {
    grid-template-columns: repeat(4, 1fr);
}
.shortlist .premium-list { margin-top: .25rem; }

/* ── Archive list dans core_layout (colonne gauche plus étroite) : 2 col desktop ── */
@media (min-width: 1024px) {
    .core_layout__main #results-list .premium-list,
    .core_layout__main .results-list .premium-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .core_layout__main #results-list .premium-list .premium-small,
    .core_layout__main .results-list .premium-list .premium-small {
        flex-basis: auto;
    }
}

/* ── Category blog header ── */
.category-blog-header h1,
.category-blog-header .title-1 { margin-bottom: .6rem; }
.category-blog-header__back {
    display: inline-block;
    margin-bottom: .85rem;
    font-size: .88rem;
}
.category-blog-header__desc { margin-top: .75rem; margin-bottom: 2rem; color: #555; line-height: 1.7; }

/* ── Blog list items ── */
.blog-item { padding: 28px 0; border-bottom: 1px solid rgba(0,0,0,.08); transition: background .15s; }
.blog-item:hover { background: rgba(0,0,0,.018); }
.blog-item__inner { display: flex; flex-direction: row; gap: 24px; align-items: stretch; }
.blog-item__thumb {
    flex-shrink: 0; width: 200px; display: block;
    position: relative; min-height: 130px;
}
.blog-item__thumb img {
    width: 200px; height: 100%; object-fit: cover;
    border-radius: 8px; display: block; position: absolute; inset: 0;
}
.blog-item__body { flex: 1; min-width: 0; }
.blog-item__access { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.blog-item__thema {
    font-size: .75rem; font-weight: 700; color: var(--button-color, #555);
    text-decoration: none; text-transform: uppercase; letter-spacing: .06em;
}
.blog-item__badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 20px;
    font-size: .75rem; font-weight: 600; line-height: 1;
}
.blog-item__badge svg { width: 11px; height: 11px; flex-shrink: 0; }
.blog-item__badge.blog-item__badge--free,
.blog-item__badge.blog-item__badge--unlocked { background: #bbf7d0 !important; color: #14532d !important; }
.blog-item__badge.blog-item__badge--premium { background: rgba(84,37,131,.1) !important; color: var(--secondary-color) !important; }
.blog-item__badge.blog-item__badge--locked { background: #e5e7eb !important; color: #374151 !important; }
.blog-item__title { font-size: 1.2rem; font-weight: 700; margin: 0 0 10px; line-height: 1.3; }
.blog-item__title a,
.blog-item__title a:visited { text-decoration: none; color: inherit; }
.blog-item__title a:hover { color: var(--button-color, #555); }
.blog-item__excerpt { color: #555; margin: 0 0 12px; line-height: 1.65; font-size: .95rem; }
.blog-item__meta { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: #999; flex-wrap: wrap; }
.blog-item__meta-sep { color: #bbb; }
.premium-list--blog { display: block; }
@media (max-width: 639px) {
    .blog-item__inner { flex-direction: column; }
    .blog-item__thumb { width: 100%; min-height: 0; }
    .blog-item__thumb img { width: 100%; height: 200px; position: static; border-radius: 8px; }
}

/* ── Paywall (Full HTML server-side, visual gate via CSS) ── */
.paywall-intro { position: relative; }
.paywall-intro::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
    background: linear-gradient(to bottom, transparent, var(--background-color, #fff) 92%);
    pointer-events: none;
}
.paywall-premium[data-paywall-gated="1"] { display: none; }
.paywall-cta {
    position: relative;
    text-align: center;
    padding: 56px 28px 48px;
    margin: 2.5rem 0;
    background: linear-gradient(180deg, rgba(84,37,131,.04) 0%, rgba(84,37,131,.08) 100%);
    border-radius: 20px;
    overflow: hidden;
}
.paywall-cta::before {
    content: "";
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 64px; height: 4px;
    background: var(--secondary-color, #333);
    border-radius: 0 0 4px 4px;
}
.paywall-cta__title {
    font-size: 1.65rem; font-weight: 800; margin: 0 0 12px;
    line-height: 1.2; color: var(--title-color, #1a1a1a);
}
.paywall-cta__desc,
.text .paywall-cta__desc,
.article-content .paywall-cta__desc {
    color: #555; margin: 0 auto 32px; max-width: 440px;
    line-height: 1.6; font-size: 1rem; text-align: center;
}
.paywall-cta__btn small,
.freemium-sidebar__revue-btn small {
    display: block;
    font-size: .75em;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 2px;
}
.paywall-cta__btn {
    display: inline-block;
    padding: 13px 42px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--button-text-color, #fff);
    background: var(--button-color, var(--secondary-color, #333));
    border: 2px solid var(--button-color, var(--secondary-color, #333));
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.paywall-cta__btn:hover {
    background: #fff;
    border-color: var(--button-color, var(--secondary-color, #333));
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
    transform: translateY(-1px);
    color: var(--link-color, var(--button-color, #555));
}
.paywall-cta__btn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(0,0,0,.14); }


/* ============================================================
   §B — Migré depuis inc/freemium/loader.php `<style id="freemium-sidebar-css">` (2026-05-07)
   Block initialement injecté en `wp_head` (gated freemium + singular|cat|tax).
   Couvre : sidebar layout, widgets, revue widget, newsletter, tally widget.
   ============================================================ */
/* .core_layout core rules vivent désormais dans style.css (toujours chargé). */
.freemium-sidebar {
    position: sticky;
    top: 160px; /* clear le header sticky (~110px) + barre secondaire (~50px), px fixe indépendant de la font-size */
    align-self: start;
}
.freemium-sidebar__widget { margin-bottom: 2rem; }
.freemium-sidebar__widget-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid currentColor;
}
/* CTA abonnement (fallback sans widget) */
.freemium-sidebar__cta .btn {
    display: inline-block;
    background: #fff;
    color: var(--color-primary, #2a7a4b);
    font-weight: 700;
    padding: .65rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: .9rem;
}
/* Widget revue associée (dans la sidebar freemium) */
.freemium-sidebar__revue-widget {
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 10px;
    padding: 1.5rem 1.25rem;
    margin-bottom: 2rem;
    overflow: visible; /* annule l'overflow:hidden de la définition précédente */
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.freemium-sidebar__revue-label {
    margin: 0;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(0,0,0,.7);
    line-height: 1.3;
    padding-bottom: .6rem;
    border-bottom: 1px solid rgba(0,0,0,.12);
}
.freemium-sidebar__revue-title {
    margin: 0;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1a1a1a;
    letter-spacing: 0;
}
.freemium-sidebar__revue-num {
    display: inline-flex;
    align-self: center;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: #fff;
    background: var(--button-color);
    padding: 4px 12px;
    border-radius: 999px;
    line-height: 1.3;
}
.freemium-sidebar__revue-cover {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 6px;
    background: #f0ece5;
    box-shadow: 0 12px 28px -12px rgba(20,15,10,.35);
    transition: transform .3s ease, box-shadow .3s ease;
}
.freemium-sidebar__revue-cover:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -14px rgba(20,15,10,.45);
}
.freemium-sidebar__revue-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.freemium-sidebar__revue-widget.is-locked .freemium-sidebar__revue-cover {
    position: relative;
}
.freemium-sidebar__revue-widget.is-locked .freemium-sidebar__revue-cover::after {
    content: "";
    position: absolute; inset: 0;
    background: rgba(0,0,0,.15);
    pointer-events: none;
}
/* doublon §B retiré — .freemium-sidebar__revue-btn vit dans §A (l.2473+) en bouton classique --button-color, variant --subscribe en --cta-success */
.freemium-sidebar__revue-btn:focus-visible,
.freemium-sidebar__revue-cover:focus-visible {
    outline: 3px solid var(--button-color);
    outline-offset: 3px;
}

/* Widget partage social */
.freemium-sidebar__share { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 10px; padding: 1.25rem; margin-bottom: 2rem; text-align: center; }
.freemium-sidebar__share h3 { font-size: 1rem; font-weight: 700; color: var(--title-color); margin: 0 0 .35rem; text-transform: none; letter-spacing: 0; border: none; padding: 0; }
.freemium-sidebar__share p { font-size: .85rem; color: #666; font-style: italic; margin: 0 0 1rem; line-height: 1.4; }
.share-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.share-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--secondary-color, #333); color: #fff; border: none; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,.15); transition: background .2s, transform .2s; padding: 0; text-decoration: none; }
.share-btn:hover { background: var(--button-color); transform: translateY(-2px); color: #fff; }
.share-btn svg { width: 18px; height: 18px; fill: currentColor; display: block; flex-shrink: 0; }
.copy-tooltip { display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--secondary-color, #333); color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 11px; white-space: nowrap; z-index: 100; pointer-events: none; }
.copy-tooltip::before { content: ''; position: absolute; bottom: 100%; left: 50%; margin-left: -5px; border: 5px solid transparent; border-bottom-color: var(--secondary-color, #333); }
/* Widget newsletter */
.freemium-sidebar__newsletter { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 10px; padding: 1.25rem; margin-bottom: 2rem; text-align: center; }
.freemium-sidebar__newsletter-image { display: block; width: 100%; height: auto; max-height: 140px; object-fit: cover; border-radius: 6px; margin: 0 0 1rem; }
.freemium-sidebar__newsletter h3 { font-size: 1rem; font-weight: 700; color: var(--title-color); margin: 0 0 1rem; }
.freemium-sidebar__newsletter form.newsletter { display: flex; flex-direction: column; gap: .6rem; }
.freemium-sidebar__newsletter form.newsletter input[type="email"] { width: 100%; box-sizing: border-box; border: 1px solid rgba(0,0,0,.15); border-radius: 6px; padding: .55rem .75rem; font-size: .9rem; font-family: var(--font, "Roboto"); color: #3e3e3e; background: #fafafa; outline: none; }
.freemium-sidebar__newsletter form.newsletter input[type="email"]:focus { border-color: var(--button-color); background: #fff; }
.freemium-sidebar__newsletter form.newsletter input[type="submit"] { width: 100%; box-sizing: border-box; background: var(--button-color); border: 1.5px solid var(--button-color); border-radius: 6px; color: var(--button-text-color, #fff); font-size: .9rem; font-family: var(--font, "Roboto"); font-weight: 700; padding: .6rem 1rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.freemium-sidebar__newsletter form.newsletter input[type="submit"]:hover { background: #fff; border-color: var(--button-color); color: var(--link-color, var(--button-color, #555)); }
/* Widget Tally — bouton fond plein */
.freemium-sidebar__tally {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    text-align: center;
}
.freemium-sidebar__tally h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--title-color);
    margin: 0 0 .5rem;
    text-transform: none;
    letter-spacing: 0;
    border: none;
    padding: 0;
}
.freemium-sidebar__tally-intro {
    font-size: .85rem;
    color: #666;
    margin: 0 0 1rem;
    line-height: 1.4;
}
button.freemium-sidebar__tally-btn,
.freemium-sidebar__tally-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1rem;
    background: var(--secondary-color, #333);
    color: #fff;
    border: 1px solid var(--secondary-color, #333);
    border-radius: 6px;
    font-family: var(--font, "Roboto");
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
button.freemium-sidebar__tally-btn:hover,
.freemium-sidebar__tally-btn:hover {
    background: var(--button-color);
    border-color: var(--button-color);
    color: #fff;
    transform: translateY(-1px);
}
button.freemium-sidebar__tally-btn:focus-visible {
    outline: 3px solid var(--button-color);
    outline-offset: 2px;
}

#legal-footer-menu a { font-size: .75rem; }
.freemium-sidebar__tally-emoji {
    font-size: 1.15rem;
    line-height: 1;
}
