/* ================================================
   HERBFORGE v2.1 — main.css — CORRECTIONS PRO
   ================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--hf-body-text, #111);
    background: var(--hf-body-bg, #fff);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hf-primary, #1a6ba0); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.hf-site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.hf-content-wrap { flex: 1; }
.hf-main { overflow-x: hidden; }

.hf-section-container { max-width: 1240px; margin: 0 auto; padding: 0 60px; width: 100%; }
.hf-divider { display: none; }

/* ══ HEADER ══ */
.hf-header { background: var(--hf-header-bg, #111); position: sticky; top: 0; z-index: 1000; width: 100%; }
@media (max-width: 767px) { .hf-header { position: relative; } }.hf-header-inner { max-width: 1240px; margin: 0 auto; padding: 0 60px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.hf-logo, .hf-logo a, .custom-logo-link { font-family: 'Merriweather', serif; font-size: 22px; font-weight: 900; color: var(--hf-header-text, #fff) !important; letter-spacing: -0.5px; font-style: italic; text-decoration: none !important; }
.custom-logo { max-height: 44px; width: auto; }
.hf-header-actions { display: flex; align-items: center; gap: 20px; }
.hf-search-toggle { color: var(--hf-header-text, #fff); display: flex; align-items: center; }
.hf-menu-toggle { display: flex; flex-direction: column; gap: 5px; padding: 4px; }
.hf-bar { height: 2px; background: var(--hf-header-text, #fff); border-radius: 2px; width: 22px; display: block; }
.hf-subscribe-btn { border: 1.5px solid var(--hf-header-text, #fff); color: var(--hf-header-text, #fff); font-size: 13px; font-weight: 700; padding: 7px 18px; border-radius: 24px; white-space: nowrap; text-decoration: none !important; transition: .2s; }
.hf-subscribe-btn:hover { background: var(--hf-header-text, #fff); color: var(--hf-header-bg, #111); }

/* ══ TICKER ══ */
.hf-ticker { background: var(--hf-ticker-bg, #1a6ba0); padding: 10px 0; overflow: hidden; white-space: nowrap; }
.hf-ticker-track { display: inline-flex; animation: hf-tick 30s linear infinite; }
@keyframes hf-tick { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.hf-tick-item { display: inline-flex; align-items: center; gap: 6px; padding: 0 28px; border-right: 1px solid rgba(255,255,255,.25); font-size: 12.5px; color: var(--hf-ticker-text, #fff); flex-shrink: 0; font-weight: 500; }

/* ══ NAV ══ */
.hf-nav-cats { background: var(--hf-body-bg, #fff); border-bottom: 2px solid transparent; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 767px) { .hf-nav-cats { position: relative; } }.hf-nav-cats::-webkit-scrollbar { display: none; }
.hf-nav-list { display: flex; list-style: none; padding: 0 60px; margin: 0; max-width: 1240px; margin-left: auto; margin-right: auto; }
.hf-nav-list li a { display: block; font-size: 14px; font-weight: 600; color: #aaa; padding: 14px 16px; white-space: nowrap; border-bottom: 2.5px solid transparent; margin-bottom: -2px; text-decoration: none; transition: .2s; }
.hf-nav-list li a:hover { color: var(--hf-body-text, #111); }
.hf-nav-list li.current-menu-item a,
.hf-nav-list li.current-category-ancestor a,
.hf-nav-list li.current-cat a { 
    color: var(--hf-primary, #1a6ba0); 
    border-bottom-color: var(--hf-primary, #1a6ba0); 
    font-weight: 700; 
}
.hf-nav-list li.current-menu-item a { 
    color: #aaa; 
    border-bottom-color: transparent; 
    font-weight: 600; 
}
.hf-nav-list li.current-menu-item.current-cat a,
.hf-nav-list li.current-menu-item.current-category-ancestor a {
    color: var(--hf-primary, #1a6ba0);
    border-bottom-color: var(--hf-primary, #1a6ba0);
    font-weight: 700;
}

/* ══ SEARCH OVERLAY ══ */
.hf-search-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 2000; display: flex; align-items: flex-start; padding: 80px 20px 0; }
.hf-search-overlay[hidden] { display: none; }
.hf-search-overlay-inner { width: 100%; max-width: 680px; margin: 0 auto; }
.hf-search-input-wrap { position: relative; background: #fff; border-radius: 32px; display: flex; align-items: center; padding: 14px 20px 14px 50px; margin-bottom: 14px; }
.hf-search-ico { position: absolute; left: 16px; color: var(--hf-primary, #1a6ba0); }
.hf-search-input { flex: 1; border: none; outline: none; font-size: 17px; color: #111; background: transparent; font-family: inherit; }
.hf-search-close { font-size: 20px; color: #aaa; padding: 0 0 0 12px; }
.hf-search-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.hf-filter-pill { font-size: 13px; font-weight: 600; padding: 8px 18px; border-radius: 26px; border: 1.5px solid rgba(255,255,255,.35); color: rgba(255,255,255,.75); background: transparent; cursor: pointer; white-space: nowrap; transition: .2s; }
.hf-filter-pill.active, .hf-filter-pill:hover { background: #fff; color: #111; border-color: #fff; }

/* ══ HERO ══ */
.hf-hero-section { background: #fff; padding: 40px 0 0; }
.hf-hero-container { max-width: 1240px; margin: 0 auto; padding: 0 60px; display: flex; gap: 48px; align-items: flex-start; }
.hf-hero-main { flex: 1; min-width: 0; }
.hf-hero-img-wrap { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16/9; }
.hf-hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hf-hero-grad { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.1) 55%, transparent 80%); }
.hf-hero-badge { position: absolute; top: 16px; left: 16px; background: var(--hf-hero-badge-bg, #111); color: var(--hf-hero-badge-text, #fff); font-size: 11px; font-weight: 800; padding: 6px 14px; border-radius: 22px; text-transform: uppercase; letter-spacing: .5px; }
.hf-hero-save { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,.18); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 22px; cursor: pointer; white-space: nowrap; }
.hf-hero-below-img { padding: 22px 0 28px; }
.hf-hero-cat { font-size: 12px; font-weight: 800; color: var(--hf-primary, #1a6ba0); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px; }
.hf-hero-title { font-family: 'Merriweather', serif; font-size: 30px; font-weight: 900; color: var(--hf-body-text, #111); line-height: 1.25; letter-spacing: -.4px; margin-bottom: 12px; }
.hf-hero-title a { color: inherit; text-decoration: none; }
.hf-hero-excerpt { font-size: 16px; color: #555; line-height: 1.65; margin-bottom: 16px; }
.hf-hero-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.hf-hero-sep { color: #ddd; font-size: 14px; }
.hf-hero-rd { font-size: 14px; color: #888; }
.hf-hero-tag { font-size: 12px; font-weight: 700; background: var(--hf-hero-info-bg, #e8f4fc); color: var(--hf-hero-info-color, #1a6ba0); padding: 4px 11px; border-radius: 5px; border: 1px solid rgba(0,0,0,.06); white-space: nowrap; }
.hf-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hf-hero-btn-main { display: inline-flex; align-items: center; background: var(--hf-hero-btn-bg, #1a6ba0); color: var(--hf-hero-btn-text, #fff); font-size: 15px; font-weight: 800; padding: 14px 26px; border-radius: 30px; white-space: nowrap; text-decoration: none !important; transition: .2s; }
.hf-hero-btn-main:hover { opacity: .88; color: var(--hf-hero-btn-text, #fff); }
.hf-hero-btn-save { display: inline-flex; align-items: center; border: 2px solid #e0e0de; color: #555; font-size: 14px; font-weight: 600; padding: 14px 18px; border-radius: 30px; white-space: nowrap; cursor: pointer; background: #fff; transition: .2s; }
.hf-hero-btn-save:hover { border-color: #111; color: #111; }
.hf-hero-side { width: 340px; flex-shrink: 0; }
.hf-hero-side-label { font-family: 'Merriweather', serif; font-size: 20px; font-weight: 900; color: var(--hf-body-text, #111); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2.5px solid #eaeae8; }
.hf-hero-side-scroll { display: flex; flex-direction: column; gap: 0; }
.hf-hero-side-card { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #f0f0ee; }
.hf-hero-side-card:last-child { border-bottom: none; }
.hf-hero-side-img { width: 92px; height: 76px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.hf-hero-side-img img { width: 100%; height: 100%; object-fit: cover; }
.hf-hero-side-img a { display: block; width: 100%; height: 100%; }
.hf-hero-side-body { flex: 1; min-width: 0; padding-top: 2px; }
.hf-hero-side-cat { font-size: 11px; font-weight: 800; color: var(--hf-primary, #1a6ba0); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .3px; }
.hf-hero-side-title { font-family: 'Merriweather', serif; font-size: 14px; font-weight: 700; color: var(--hf-body-text, #111); line-height: 1.38; margin-bottom: 6px; }
.hf-hero-side-title a { color: inherit; text-decoration: none; }
.hf-hero-side-meta { font-size: 12px; color: #aaa; }

/* ══ KEY FACTS — carte centrée ══ */
.hf-kf-section { padding: 50px 0; background: #fff; }
.hf-kf-inner { border: 1.5px solid #d8e8f4; border-radius: 16px; overflow: hidden; max-width: 800px; margin: 0 auto; box-shadow: 0 4px 20px rgba(26,107,160,.08); }
.hf-kf-head { background: var(--hf-kf-head-bg, #1a6ba0); color: var(--hf-kf-head-text, #fff); padding: 13px 24px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .9px; }
.hf-kf-row { display: grid; grid-template-columns: repeat(3,1fr); background: var(--hf-kf-body-bg, #e8f4fc); }
.hf-kf-c { padding: 24px 16px; text-align: center; border-right: 1px solid rgba(26,107,160,.12); }
.hf-kf-c:last-child { border-right: none; }
.hf-kf-l { font-size: 10px; color: var(--hf-kf-label-color, #1a6ba0); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; font-weight: 700; }
.hf-kf-v { font-family: 'Merriweather', serif; font-size: 24px; font-weight: 700; color: var(--hf-kf-value-color, #111); letter-spacing: -.3px; }

/* ══ SECTION HEADERS ══ */
.hf-sh { padding: 50px 0 14px; }
.hf-sh-ey { font-size: 11px; font-weight: 800; color: var(--hf-needs-ey-color, #1a6ba0); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.hf-sh-t { font-family: 'Merriweather', serif; font-size: 32px; font-weight: 900; color: var(--hf-body-text, #111); line-height: 1.2; letter-spacing: -.4px; }
.hf-see-all-row { display: flex; justify-content: flex-end; padding-bottom: 16px; }
.hf-see-all { font-size: 14px; font-weight: 700; color: var(--hf-primary, #1a6ba0); text-decoration: none; }
.hf-sh-row { padding: 50px 0 14px; display: flex; align-items: flex-end; justify-content: space-between; }
.hf-sh-title { font-family: 'Merriweather', serif; font-size: 28px; font-weight: 900; color: var(--hf-body-text, #111); line-height: 1.2; letter-spacing: -.4px; }
.hf-sh-all { font-size: 14px; font-weight: 700; color: var(--hf-primary, #1a6ba0); text-decoration: none; white-space: nowrap; }

/* ══════════════════════════════════════════
   NEEDS — scroll horizontal style Healthline
   Image carrée + label EN DESSOUS (pas dedans)
══════════════════════════════════════════ */
.hf-needs-section { background: #fff; padding-bottom: 50px; }

.hf-needs-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 16px;
    margin-right: -60px;
}
.hf-needs-scroll-wrap::-webkit-scrollbar { height: 3px; }
.hf-needs-scroll-wrap::-webkit-scrollbar-track { background: #f4f4f4; }
.hf-needs-scroll-wrap::-webkit-scrollbar-thumb { background: var(--hf-primary, #1a6ba0); border-radius: 2px; }

.hf-needs-scroll { display: flex; gap: 24px; width: max-content; }

.hf-nc-item { flex-shrink: 0; width: 240px; }

.hf-nc-link {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 10px; text-decoration: none !important; width: 240px;
}
.hf-nc-link:hover .hf-nc-img-wrap img { transform: scale(1.04); }

.hf-nc-img-wrap {
    width: 240px; height: 300px;
    border-radius: 18px; overflow: hidden; flex-shrink: 0;
}
.hf-nc-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .35s ease;
}

/* Label sous l'image — exactement comme Healthline */
.hf-nc-label {
    font-family: 'Inter', sans-serif;
    font-size: 16px; font-weight: 700;
    color: var(--hf-body-text, #111);
    line-height: 1.3;
    width: 100%;
    text-decoration: none;
}
.hf-nc-link:hover .hf-nc-label { color: var(--hf-primary, #1a6ba0); }

/* ══ SUPER-ALIMENTS SCROLL ══ */
.hf-sf-section { background: #fff; padding-bottom: 50px; }
.hf-sf-scroll-wrap { padding-bottom: 12px; }
.hf-sf-scroll { display: flex; gap: 18px; overflow-x: auto; padding: 4px 0 12px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-right: -60px; }
.hf-sf-scroll::-webkit-scrollbar { height: 3px; }
.hf-sf-scroll::-webkit-scrollbar-track { background: #f0f0ee; }
.hf-sf-scroll::-webkit-scrollbar-thumb { background: var(--hf-primary, #1a6ba0); border-radius: 2px; }
.hf-sf-card { flex-shrink: 0; width: 180px; scroll-snap-align: start; cursor: pointer; }
.hf-sf-card a { text-decoration: none; color: inherit; }
.hf-sf-img { width: 180px; height: 180px; border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
.hf-sf-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hf-sf-card:hover .hf-sf-img img { transform: scale(1.05); }
.hf-sf-tag { font-size: 10px; font-weight: 800; color: var(--hf-sf-tag-color, #1a6ba0); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.hf-sf-title { font-size: 14px; font-weight: 700; color: var(--hf-body-text, #111); line-height: 1.4; }
.hf-sf-read { font-size: 12px; color: #aaa; margin-top: 5px; }
.hf-sf-hint { font-size: 12px; color: #bbb; text-align: center; padding: 6px 0 20px; }

/* ══ TENDANCES ══ */
.hf-trend-section { background: #fff; padding-bottom: 50px; }
.hf-tend-hdr { padding: 50px 0 10px; display: flex; align-items: center; justify-content: space-between; }
.hf-tend-hdr-left { display: flex; align-items: center; gap: 10px; }
.hf-tend-ico { font-size: 22px; }
.hf-tend-title-txt { font-family: 'Merriweather', serif; font-size: 24px; font-weight: 900; color: var(--hf-body-text, #111); letter-spacing: -.3px; }
.hf-tend-all { font-size: 14px; font-weight: 700; color: var(--hf-primary, #1a6ba0); text-decoration: none; white-space: nowrap; }
.hf-tend-list { padding-bottom: 8px; }
.hf-tend-row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid #f4f4f4; cursor: pointer; align-items: flex-start; }
.hf-tend-row:last-child { border-bottom: none; }
.hf-tend-img { width: 120px; height: 96px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.hf-tend-img img { width: 100%; height: 100%; object-fit: cover; }
.hf-tend-body { flex: 1; min-width: 0; }
.hf-tend-cat { font-size: 12px; font-weight: 800; color: var(--hf-trend-cat, #1a6ba0); margin-bottom: 6px; }
.hf-tend-t { font-family: 'Merriweather', serif; font-size: 16px; font-weight: 700; color: var(--hf-body-text, #111); line-height: 1.38; }
.hf-tend-t a { color: inherit; text-decoration: none; }
.hf-tend-read { font-size: 13px; color: #aaa; margin-top: 6px; }

/* ══ CTA — carte style GWP ══ */
.hf-cta-section { padding: 0 0 50px; background: #fff; }
.hf-cta-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; border: 1px solid #e4eef5; box-shadow: 0 8px 40px rgba(0,0,0,.09); background: var(--hf-cta-content-bg, #f0f8ff); min-height: 360px; }
.hf-cta-card-img { overflow: hidden; }
.hf-cta-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.hf-cta-card:hover .hf-cta-card-img img { transform: scale(1.03); }
.hf-cta-card-body { padding: 52px 52px; display: flex; flex-direction: column; justify-content: center; }
.hf-cta-ey { font-size: 11px; font-weight: 800; color: var(--hf-cta-ey-color, #1a6ba0); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 14px; }
.hf-cta-title { font-family: 'Merriweather', serif; font-size: 28px; font-weight: 900; color: var(--hf-cta-title-color, #111); line-height: 1.28; letter-spacing: -.4px; margin-bottom: 16px; }
.hf-cta-txt { font-size: 15px; color: var(--hf-cta-text-color, #555); line-height: 1.75; margin-bottom: 28px; }
.hf-cta-btn { display: inline-flex; align-items: center; align-self: flex-start; background: var(--hf-cta-btn-bg, #1a6ba0); color: var(--hf-cta-btn-text, #fff); font-size: 15px; font-weight: 700; padding: 14px 28px; border-radius: 32px; white-space: nowrap; text-decoration: none !important; transition: .2s; }
.hf-cta-btn:hover { opacity: .88; color: var(--hf-cta-btn-text, #fff); }

/* ══ RECOMMANDATIONS + PILLS ══ */
.hf-reco-section { background: #fff; padding-bottom: 50px; }
.hf-reco-lbl { font-size: 11px; font-weight: 800; color: var(--hf-reco-title-color, #1a6ba0); text-transform: uppercase; letter-spacing: 1.3px; padding: 50px 0 14px; }
.hf-pills-row { display: flex; gap: 10px; padding-bottom: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hf-pills-row::-webkit-scrollbar { display: none; }
.hf-pill { font-size: 14px; font-weight: 600; padding: 9px 22px; border-radius: 32px; white-space: nowrap; flex-shrink: 0; cursor: pointer; border: 1.5px solid #222; color: #222; background: #fff; text-decoration: none; transition: .2s; }
.hf-pill.active, .hf-pill:hover { background: var(--hf-reco-pill-active-bg, #111); color: var(--hf-reco-pill-active-txt, #fff); border-color: var(--hf-reco-pill-active-bg, #111); font-weight: 700; }
.hf-reco-meta { padding: 8px 0 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eaeae8; margin-bottom: 4px; }
.hf-reco-count { font-size: 13px; color: #aaa; }
.hf-reco-sort { font-size: 13px; font-weight: 700; color: var(--hf-reco-sort-color, #1a6ba0); cursor: pointer; }
.hf-rr { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid #f4f4f4; align-items: flex-start; }
.hf-rr:last-child { border-bottom: none; }
.hf-rr.hidden { display: none; }
.hf-rr-img { width: 120px; height: 96px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.hf-rr-img img { width: 100%; height: 100%; object-fit: cover; }
.hf-rr-img a { display: block; width: 100%; height: 100%; }
.hf-rr-body { flex: 1; min-width: 0; }
.hf-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 9px; }
.hf-bdg { font-size: 11px; font-weight: 800; padding: 4px 11px; border-radius: 6px; text-transform: uppercase; letter-spacing: .2px; white-space: nowrap; text-decoration: none; }
.hf-bdg-green  { background: #dcfce7; color: #166534; }
.hf-bdg-amber  { background: #fef3c7; color: #92400e; }
.hf-bdg-blue   { background: var(--hf-hero-info-bg, #e8f4fc); color: var(--hf-primary, #1a6ba0); border: 1px solid rgba(0,0,0,.05); }
.hf-bdg-purple { background: #ede9fe; color: #5b21b6; }
.hf-bdg-rose   { background: #ffe4e6; color: #9f1239; }
.hf-rr-title { font-family: 'Merriweather', serif; font-size: 16px; font-weight: 700; color: var(--hf-body-text, #111); line-height: 1.38; margin-bottom: 8px; }
.hf-rr-title a { color: inherit; text-decoration: none; }
.hf-rr-meta { font-size: 13px; color: #aaa; display: flex; align-items: center; gap: 7px; }
.hf-rr-dot { width: 4px; height: 4px; border-radius: 50%; background: #ddd; flex-shrink: 0; }

/* ══ OUTILS ══ */
.hf-tools-section { background: #fff; padding: 50px 0; }
.hf-outils-title { font-family: 'Merriweather', serif; font-size: 32px; font-weight: 900; color: var(--hf-body-text, #111); margin-bottom: 28px; letter-spacing: -.4px; }
.hf-tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hf-outils-card { background: var(--hf-tools-card-bg, #fff); border-radius: 18px; padding: 32px 36px; box-shadow: 0 2px 20px rgba(0,0,0,.06); border: 1px solid #eef0f2; }
.hf-outils-ey { font-size: 11px; font-weight: 800; color: var(--hf-tools-ey-color, #1a6ba0); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.hf-outils-card-title { font-family: 'Merriweather', serif; font-size: 24px; font-weight: 900; color: var(--hf-body-text, #111); line-height: 1.25; margin-bottom: 12px; letter-spacing: -.3px; }
.hf-outils-desc { font-size: 15px; color: #555; line-height: 1.65; margin-bottom: 20px; }
.hf-outils-btn { display: inline-flex; align-items: center; background: var(--hf-tools-btn-bg, #1a6ba0); color: var(--hf-tools-btn-text, #fff); font-size: 15px; font-weight: 700; padding: 13px 26px; border-radius: 28px; white-space: nowrap; text-decoration: none !important; transition: .2s; }
.hf-outils-btn:hover { opacity: .88; color: var(--hf-tools-btn-text, #fff); }

/* ══ NEWSLETTER ══ */
.hf-newsletter-section { background: var(--hf-nl-bg, #1a6ba0); width: 100%; margin-top: 50px; }
.hf-nl-inner { display: flex; gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.hf-nl-copy { flex: 1; }
.hf-nl-title { font-family: 'Merriweather', serif; font-size: 26px; font-weight: 700; color: var(--hf-nl-title-col, #fff); margin-bottom: 6px; }
.hf-nl-sub { font-size: 15px; color: var(--hf-nl-sub-col, rgba(255,255,255,.8)); line-height: 1.5; }
.hf-nl-btn { background: var(--hf-nl-btn-bg, #fff); color: var(--hf-nl-btn-text, #1a6ba0); font-size: 15px; font-weight: 800; padding: 14px 28px; border-radius: 28px; white-space: nowrap; flex-shrink: 0; text-decoration: none !important; transition: .2s; display: inline-flex; align-items: center; }
.hf-nl-btn:hover { opacity: .9; color: var(--hf-nl-btn-text, #1a6ba0); }

/* ══ FOOTER ══ */
.hf-footer { background: var(--hf-footer-bg, #111); width: 100%; }
.hf-footer .hf-section-container { padding-top: 32px; padding-bottom: 0; }
.hf-footer-links { list-style: none; }
.hf-footer-links li { border-bottom: 1px solid rgba(255,255,255,.07); }
.hf-footer-links li:last-child { border-bottom: none; }
.hf-footer-links li a { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; color: var(--hf-footer-text, #fff); padding: 16px 0; text-decoration: none; transition: .2s; }
.hf-footer-links li a::after { content: '›'; color: #444; font-size: 18px; }
.hf-footer-links li a:hover { color: var(--hf-primary, #1a6ba0); }
.hf-footer-copy { background: var(--hf-footer-copy-bg, #0a0a0a); color: var(--hf-footer-copy-text, #555); padding: 18px 60px; font-size: 12px; text-align: center; line-height: 1.6; margin-top: 40px; }

/* ══ BOTTOM NAV MOBILE ══ */
.hf-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: var(--hf-bnav-bg, #fff); border-top: 1.5px solid #eee; display: flex; justify-content: space-around; padding: 8px 0 max(16px, env(safe-area-inset-bottom)); z-index: 500; box-shadow: 0 -2px 12px rgba(0,0,0,.08); }
.hf-bn { display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; min-width: 60px; color: var(--hf-bnav-inactive, #aaa); text-decoration: none; background: none; border: none; font-family: inherit; transition: .2s; }
.hf-bn.active, .hf-bn:hover { color: var(--hf-bnav-active, #1a6ba0); }
.hf-bn-ico { height: 26px; display: flex; align-items: center; justify-content: center; }
.hf-bn-lbl { font-size: 10px; font-weight: 600; }
.hf-bn.active .hf-bn-lbl { font-weight: 700; }

/* ══ ARTICLE SINGLE ══ */
.hf-prog-bar-wrap { height: 3px; background: #f0f0ee; }
.hf-prog-bar { height: 100%; width: 0%; background: var(--hf-primary, #1a6ba0); transition: width .1s linear; }
.hf-art-hero-img { width: 100%; height: 320px; object-fit: cover; display: block; }
.hf-art-stripe { height: 4px; background: linear-gradient(90deg, var(--hf-primary, #1a6ba0), var(--hf-accent, #007060)); }
.hf-art-crumb-wrap { padding: 10px 40px; max-width: 1240px; margin: 0 auto; }
.hf-breadcrumb { font-size: 13px; color: #aaa; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.hf-breadcrumb a { color: var(--hf-primary, #1a6ba0); font-weight: 600; }
.bc-sep { color: #ddd; }
.hf-art-header { padding: 16px 40px 0; max-width: 820px; margin: 0 auto; }
.hf-art-h1 { font-family: 'Merriweather', serif; font-size: 36px; font-weight: 900; color: var(--hf-body-text, #111); line-height: 1.22; letter-spacing: -.5px; }
.hf-au-bar { display: flex; align-items: center; gap: 14px; padding: 14px 40px; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; margin-top: 16px; max-width: 820px; margin-left: auto; margin-right: auto; }
.hf-au-av { width: 40px; height: 40px; border-radius: 50%; background: var(--hf-primary, #1a6ba0); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; color: #fff; flex-shrink: 0; }
.hf-au-name { font-size: 15px; font-weight: 700; color: var(--hf-body-text, #111); }
.hf-au-cred { font-size: 12px; color: #aaa; margin-top: 2px; }
.hf-au-date { margin-left: auto; font-size: 12px; color: #aaa; text-align: right; line-height: 1.5; white-space: nowrap; }
.hf-art-meta-bar { display: flex; align-items: center; gap: 12px; padding: 12px 40px; border-bottom: 1px solid #f0f0ee; flex-wrap: wrap; max-width: 820px; margin: 0 auto; }
.hf-art-read, .hf-art-date { font-size: 14px; color: #aaa; }
.hf-art-sep { color: #ddd; }
.hf-art-share-btn { margin-left: auto; background: var(--hf-header-bg, #111); color: #fff; font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: 22px; border: none; cursor: pointer; }
.hf-kf-art { margin: 20px auto; border: 1.5px solid #d8e8f4; border-radius: 14px; overflow: hidden; max-width: 820px; box-shadow: 0 2px 12px rgba(26,107,160,.07); }
.hf-kf-art-hd { background: var(--hf-kf-head-bg, #1a6ba0); padding: 11px 16px; font-size: 11px; font-weight: 800; color: var(--hf-kf-head-text, #fff); text-transform: uppercase; letter-spacing: .8px; }
.hf-kf-art-row { display: grid; grid-template-columns: repeat(3,1fr); background: #e8f4fc; }
.hf-kf-art-c { padding: 18px 12px; text-align: center; border-right: 1px solid rgba(26,107,160,.12); }
.hf-kf-art-c:last-child { border-right: none; }
.hf-kf-art-l { font-size: 9px; color: var(--hf-kf-label-color, #1a6ba0); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 5px; font-weight: 700; }
.hf-kf-art-v { font-family: 'Merriweather', serif; font-size: 18px; font-weight: 700; color: var(--hf-kf-value-color, #111); }
.hf-art-body { padding: 24px 40px 32px; max-width: 820px; margin: 0 auto; }
.hf-art-body h2 { font-family: 'Merriweather', serif; font-size: 22px; font-weight: 900; color: var(--hf-body-text, #111); margin: 32px 0 12px; border-left: 4px solid var(--hf-primary, #1a6ba0); padding-left: 14px; line-height: 1.3; }
.hf-art-body h3 { font-family: 'Merriweather', serif; font-size: 19px; font-weight: 700; color: var(--hf-body-text, #111); margin: 22px 0 10px; }
.hf-art-body p { font-size: 16px; color: #3d3d3d; line-height: 1.82; margin-bottom: 16px; }
.hf-art-body ul, .hf-art-body ol { font-size: 16px; color: #3d3d3d; line-height: 1.82; margin: 0 0 16px 22px; }
.hf-art-body li { margin-bottom: 8px; }
.hf-art-body blockquote { border-left: 4px solid var(--hf-primary, #1a6ba0); background: var(--hf-hero-info-bg, #e8f4fc); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 20px 0; color: var(--hf-body-text, #111); font-style: italic; }
.hf-art-body img { border-radius: 12px; margin: 20px 0; }
.hf-art-body a { color: var(--hf-primary, #1a6ba0); }
.hf-art-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; border-radius: 12px; overflow: hidden; }
.hf-art-body table th { background: var(--hf-header-bg, #111); color: #fff; padding: 12px 14px; text-align: left; font-weight: 700; }
.hf-art-body table td { padding: 12px 14px; border-bottom: 1px solid #f0f0ee; color: #444; }
.hf-art-body table tr:nth-child(even) td { background: #fafafa; }
.hf-art-disclaimer { display: flex; gap: 14px; background: var(--hf-disc-bg, #f7f7f5); border: 1.5px solid var(--hf-disc-border, #e0e0de); border-radius: 12px; padding: 18px 20px; margin: 24px auto; max-width: 820px; }
.hf-disclaimer-ico { font-size: 20px; flex-shrink: 0; }
.hf-disclaimer-text { font-size: 14px; color: var(--hf-disc-text-color, #555); line-height: 1.65; }
.hf-art-share-section { padding: 20px 40px; border-top: 1px solid #f0f0ee; max-width: 820px; margin: 0 auto; }
.hf-share-title { font-size: 15px; font-weight: 700; color: var(--hf-body-text, #111); margin-bottom: 12px; }
.hf-share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hf-share-btn { font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 22px; text-decoration: none; border: 1.5px solid #e0e0de; color: var(--hf-body-text, #111); cursor: pointer; background: #fff; transition: .2s; }
.hf-share-fb { background: #1877f2; color: #fff; border-color: #1877f2; }
.hf-share-tw { background: #1da1f2; color: #fff; border-color: #1da1f2; }
.hf-share-wa { background: #25d366; color: #fff; border-color: #25d366; }
.hf-related-section { background: #fff; }
.hf-related-hdr { padding: 20px 40px 12px; display: flex; align-items: center; justify-content: space-between; border-top: 2px solid #eee; max-width: 1240px; margin: 0 auto; }
.hf-related-title { font-family: 'Merriweather', serif; font-size: 20px; font-weight: 900; color: var(--hf-body-text, #111); }
.hf-related-all { font-size: 14px; font-weight: 700; color: var(--hf-primary, #1a6ba0); text-decoration: none; }
.hf-related-list { padding: 0 40px 24px; max-width: 1240px; margin: 0 auto; }
.hf-rel-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #eee; cursor: pointer; }
.hf-rel-row:last-child { border-bottom: none; }
.hf-rel-img { width: 84px; height: 70px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.hf-rel-img img { width: 100%; height: 100%; object-fit: cover; }
.hf-rel-img a { display: block; }
.hf-rel-cat { font-size: 11px; font-weight: 800; color: var(--hf-primary, #1a6ba0); margin-bottom: 5px; }
.hf-rel-title { font-size: 14px; font-weight: 700; color: var(--hf-body-text, #111); line-height: 1.4; }
.hf-rel-title a { color: inherit; text-decoration: none; }
.hf-rel-read { font-size: 12px; color: #aaa; margin-top: 3px; }

/* ══ ARCHIVE / SEARCH ══ */
.hf-archive-header { padding: 48px 0 32px; }
.hf-archive-eyebrow { font-size: 12px; font-weight: 800; color: var(--hf-primary, #1a6ba0); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.hf-archive-title { font-family: 'Merriweather', serif; font-size: 34px; font-weight: 900; color: var(--hf-body-text, #111); letter-spacing: -.5px; margin-bottom: 10px; }
.hf-archive-desc { font-size: 16px; color: #555; line-height: 1.65; }
.hf-archive-count { font-size: 14px; color: #aaa; margin-top: 10px; }
.hf-archive-row { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid #f0f0ee; }
.hf-archive-row:last-child { border-bottom: none; }
.hf-archive-img { width: 120px; height: 96px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.hf-archive-img img { width: 100%; height: 100%; object-fit: cover; }
.hf-archive-img a { display: block; width: 100%; height: 100%; }
.hf-archive-body { flex: 1; min-width: 0; }
.hf-archive-art-title { font-family: 'Merriweather', serif; font-size: 18px; font-weight: 700; color: var(--hf-body-text, #111); line-height: 1.4; margin: 8px 0 10px; }
.hf-archive-art-title a { color: inherit; text-decoration: none; }
.hf-archive-excerpt { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 10px; }
.hf-archive-meta { font-size: 13px; color: #aaa; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hf-pagination-wrap { padding: 32px 0 80px; }
.hf-pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hf-page-item a, .hf-page-item span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; border: 1.5px solid #e0e0de; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--hf-body-text, #111); text-decoration: none; padding: 0 10px; transition: .2s; }
.hf-page-item .current, .hf-page-item a:hover { background: var(--hf-primary, #1a6ba0); color: #fff; border-color: var(--hf-primary, #1a6ba0); }

/* ══ UTILITAIRES ══ */
.hf-no-posts { padding: 60px 40px; text-align: center; }
.hf-no-posts p { font-size: 17px; color: #555; margin-bottom: 20px; }

/* ══════════════════════════════════════════
   PAGE ANNUAIRE — "Voir tout" style Healthline
══════════════════════════════════════════ */
.hf-directory-page { padding-bottom: 80px; }
.hf-dir-header { padding: 56px 0 40px; border-bottom: 1px solid #f0f0ee; margin-bottom: 48px; }
.hf-dir-title { font-family: 'Merriweather', serif; font-size: 36px; font-weight: 900; color: var(--hf-body-text, #111); letter-spacing: -.5px; margin-bottom: 10px; }
.hf-dir-sub { font-size: 17px; color: #666; }
.hf-dir-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 36px 24px; }
.hf-dir-link { display: flex; flex-direction: column; gap: 12px; text-decoration: none !important; }
.hf-dir-link:hover .hf-dir-img img { transform: scale(1.04); }
.hf-dir-img { width: 100%; aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; }
.hf-dir-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.hf-dir-name { font-size: 17px; font-weight: 700; color: var(--hf-body-text, #111); line-height: 1.3; }
.hf-dir-link:hover .hf-dir-name { color: var(--hf-primary, #1a6ba0); }
.hf-dir-desc { font-size: 13px; color: #666; line-height: 1.5; }
.hf-dir-count { font-size: 12px; color: var(--hf-primary, #1a6ba0); font-weight: 600; }

/* ══════════════════════════════════════════
   MOBILE — ≤ 767px
══════════════════════════════════════════ */
@media (max-width: 767px) {
    .hf-bottom-nav { display: flex; }
    .hf-section-container { padding: 0 20px; }
    .hf-header-inner { padding: 0 20px; }
    .hf-nav-list { padding: 0 16px; }

    /* Hero mobile */
    .hf-hero-section { padding: 20px 0 0; }
    .hf-hero-container { flex-direction: column; gap: 0; padding: 0; }
    .hf-hero-main { width: 100%; }
    .hf-hero-img-wrap { border-radius: 16px; margin: 0 16px; aspect-ratio: 4/3; }
    .hf-hero-below-img { padding: 18px 20px 22px; }
    .hf-hero-title { font-size: 22px; }
    .hf-hero-excerpt { font-size: 15px; }
    .hf-hero-side { width: 100%; border-top: 1px solid #f0f0ee; }
    .hf-hero-side-label { padding: 16px 20px 10px; font-size: 18px; border-bottom: none; margin-bottom: 0; }
    .hf-hero-side-scroll { flex-direction: row; overflow-x: auto; gap: 14px; padding: 0 20px 20px; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
    .hf-hero-side-scroll::-webkit-scrollbar { display: none; }
    .hf-hero-side-card { flex-direction: column; flex-shrink: 0; width: 170px; padding: 0; border-bottom: none; scroll-snap-align: start; }
    .hf-hero-side-img { width: 170px; height: 120px; border-radius: 12px; margin-bottom: 10px; }
    .hf-hero-side-body { padding-top: 0; }
    .hf-hero-side-title { font-size: 13px; }

    /* KF */
    .hf-kf-section { padding: 24px 0; }
    .hf-kf-inner { margin: 0 20px; }
    .hf-kf-head { padding: 11px 20px; }
    .hf-kf-v { font-size: 19px; }

    /* Section headers */
    .hf-sh { padding: 24px 0 10px; }
    .hf-sh-t { font-size: 24px; }
    .hf-sh-row { padding: 24px 0 10px; }
    .hf-sh-title { font-size: 22px; }

    /* Needs mobile — scroll horizontal, images 140px */
    .hf-needs-section { padding-bottom: 24px; }
    .hf-needs-scroll-wrap { padding: 0 0 12px; margin-right: -20px; padding-right: 20px; }
    .hf-needs-scroll { gap: 16px; }
    .hf-nc-item { width: 160px; }
    .hf-nc-img-wrap { width: 160px; height: 200px; border-radius: 14px; }
    .hf-nc-link { width: 160px; }
    .hf-nc-label { font-size: 13px; }

    /* SF */
    .hf-sf-section { padding-bottom: 24px; }
    .hf-sf-scroll { padding: 4px 0 8px; margin-right: -20px; }
    .hf-sf-card { width: 155px; }
    .hf-sf-img { width: 155px; height: 155px; }

    /* Tendances */
    .hf-trend-section { padding-bottom: 24px; }
    .hf-tend-hdr { padding: 24px 0 8px; }
    .hf-tend-img { width: 94px; height: 78px; }
    .hf-tend-t { font-size: 14px; }

    /* CTA */
    .hf-cta-section { padding: 0 0 24px; }
    .hf-cta-card { grid-template-columns: 1fr; border-radius: 18px; min-height: unset; }
    .hf-cta-card-img { height: 220px; }
    .hf-cta-card-body { padding: 28px 26px 32px; }
    .hf-cta-title { font-size: 22px; }
    .hf-cta-txt { font-size: 14px; margin-bottom: 22px; }

    /* Reco */
    .hf-reco-section { padding-bottom: 24px; }
    .hf-reco-lbl { padding: 24px 0 12px; }
    .hf-rr-img { width: 90px; height: 76px; }
    .hf-rr-title { font-size: 14px; }

    /* Outils */
    .hf-tools-section { padding: 24px 0; }
    .hf-tools-grid { grid-template-columns: 1fr; gap: 16px; }
    .hf-outils-card { padding: 24px 22px; }
    .hf-outils-card-title { font-size: 20px; }

    /* Newsletter */
    .hf-nl-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 20px; }
    .hf-nl-title { font-size: 22px; }
    .hf-nl-btn { align-self: stretch; text-align: center; justify-content: center; display: flex; }

    /* Footer */
    .hf-footer .hf-section-container { padding: 24px 20px 0; }
    .hf-footer-copy { padding: 14px 20px; margin-top: 24px; }

    /* Archive */
    .hf-archive-header { padding: 32px 0 20px; }
    .hf-archive-title { font-size: 26px; }
    .hf-archive-img { width: 100px; height: 84px; }

    /* Article */
    .hf-art-h1 { font-size: 24px; }
    .hf-art-crumb-wrap { padding: 10px 20px; }
    .hf-art-header { padding: 14px 20px 0; max-width: 100%; }
    .hf-au-bar { padding: 12px 20px; max-width: 100%; margin-top: 0; }
    .hf-art-meta-bar { padding: 10px 20px; max-width: 100%; }
    .hf-kf-art { margin: 16px 20px; max-width: calc(100% - 40px); }
    .hf-art-body { padding: 18px 20px 24px; }
    .hf-art-body h2 { font-size: 19px; }
    .hf-art-body p { font-size: 15px; }
    .hf-art-disclaimer { margin: 18px 20px; max-width: calc(100% - 40px); }
    .hf-art-share-section { padding: 16px 20px; max-width: 100%; }
    .hf-related-hdr { padding: 16px 20px 10px; max-width: 100%; }
    .hf-related-list { padding: 0 20px 100px; max-width: 100%; }
    .hf-pagination-wrap { padding: 24px 20px max(100px, calc(80px + env(safe-area-inset-bottom))); }
    .hf-no-posts { padding: 40px 20px; }

    /* Annuaire mobile */
    .hf-dir-grid { grid-template-columns: repeat(2,1fr); gap: 24px 16px; }
    .hf-dir-title { font-size: 26px; }
    .hf-dir-header { padding: 32px 0 24px; margin-bottom: 24px; }
}

/* ══════════════════════════════════════════
   DESKTOP — ≥ 768px
══════════════════════════════════════════ */
@media (min-width: 768px) {
    .hf-bottom-nav { display: none; }
    .hf-sf-hint { display: none; }
    .hf-pagination-wrap { padding-bottom: 72px; }
    .hf-art-crumb-wrap { padding: 12px 60px; }
    .hf-art-header { padding: 20px 60px 0; max-width: 100%; }
    .hf-au-bar { padding: 18px 60px; max-width: 100%; margin-top: 0; }
    .hf-art-meta-bar { padding: 14px 60px; max-width: 100%; }
    .hf-kf-art { margin: 28px 60px; }
    .hf-art-body { padding: 32px 60px 48px; }
    .hf-art-disclaimer { margin: 32px 60px; max-width: calc(100% - 120px); }
    .hf-art-tags { padding: 24px 60px 0; max-width: 100%; }
    .hf-art-share-section { padding: 24px 60px; max-width: 100%; }
    .hf-related-hdr { padding: 24px 60px 14px; }
    .hf-related-list { padding: 0 60px 40px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hf-dir-grid { grid-template-columns: repeat(3,1fr); }
}