/* ==========================================================================
   hub-landing.css
   Landing page pour /jour-feries/ (hub). Style moderne, riche, full-bleed
   comme la home. S'applique uniquement à body.tool-jours-feries-hub.jfhub-landing.
   Utilise les variables --primary-color, --hfr-*, --text-color du site.
   ========================================================================== */

/* -------- 1. Full bleed : débride le .container comme home-landing -------- */
body.jfhub-landing {
    background: #fff;
    overflow-x: clip;
}
body.jfhub-landing main#main,
body.jfhub-landing main#main > .container,
body.jfhub-landing > main,
body.jfhub-landing .container {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    width: 100% !important;
}

/* Breadcrumb : si le hub rend son breadcrumb dans le hero, on annule celui
   du header.php (qui est masqué via $skipAutoBreadcrumb). Pour toute autre
   page hub, on garde un centrage correct dans la grille max-width 1700. */
body.jfhub-landing main#main > .container > .breadcrumb {
    max-width: 1700px;
    margin: 14px auto 0;
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
}

body.dark-mode.jfhub-landing {
    background: #0a1220;
}

/* -------- 2. Bandes section full-bleed (1700px max interne) -------- */
.jfhub-band {
    width: 100%;
    box-sizing: border-box;
    padding: 56px 20px;
}
.jfhub-band--muted { background: #f8fafc; }
.jfhub-band--tight { padding: 32px 20px; }
body.dark-mode .jfhub-band--muted { background: #0f1b30; }

.jfhub-inner {
    max-width: 1700px;
    margin: 0 auto;
    width: 100%;
}

/* -------- 3. HERO landing : photo + gradient overlay --------
   L'image de fond est pilotée par --hero-bg (CSS custom property).
   Si la page ne l'override pas, la photo par défaut de la landing /jour-feries/ est servie.
   Les pages événement (noel, assomption, ...) posent leur propre --hero-bg via style inline. */
.jfhub-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 20px 72px;
    color: #ffffff;
    background:
        radial-gradient(900px 500px at 90% -10%, rgba(255, 255, 255, 0.08) 0, transparent 55%),
        radial-gradient(700px 420px at 0% 110%, rgba(255, 255, 255, 0.05) 0, transparent 55%),
        linear-gradient(135deg, rgba(0, 55, 125, 0.62) 0%, rgba(0, 35, 85, 0.70) 100%),
        var(--hero-bg, url("/jours-feries/assets/hero-bg/hero-ferias.webp?v=26.0.4.3")) center / cover no-repeat,
        linear-gradient(135deg, var(--primary-color, #0071e3) 0%, var(--hover-color, #005bb5) 100%);
}
.jfhub-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 25% 60%, rgba(255,255,255,0.05) 2px, transparent 3px),
        radial-gradient(circle at 75% 30%, rgba(255,255,255,0.04) 2px, transparent 3px);
    background-size: 80px 80px, 100px 100px;
    opacity: 0.7;
    pointer-events: none;
}
.jfhub-hero__inner {
    max-width: 1700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
/* Breadcrumb dans le hero — capsule glassmorphism, sur sa propre ligne */
.jfhub-hero__breadcrumb {
    display: flex;              /* block-level : occupe sa propre ligne */
    width: fit-content;         /* la capsule se cale sur son contenu */
    max-width: 100%;
    margin: 0 0 18px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.88);
}
.jfhub-hero__breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.jfhub-hero__breadcrumb li {
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}
.jfhub-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.18s ease;
}
.jfhub-hero__breadcrumb a:hover,
.jfhub-hero__breadcrumb a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.6);
}
.jfhub-hero__breadcrumb [aria-current="page"] {
    color: #fff;
    font-weight: 700;
}
.jfhub-hero__breadcrumb-sep {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    user-select: none;
    line-height: 1;
}

.jfhub-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 18px;
}
.jfhub-hero__eyebrow-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.28);
}
.jfhub-hero h1,
.jfhub-hero__title {
    color: #fff;
    font-size: clamp(2.2rem, 3.5vw + 1rem, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.028em;
    line-height: 1.05;
    margin: 0 0 18px;
    max-width: 22ch;
}
.jfhub-hero__title em {
    font-style: normal;
    color: #7dd3fc;                   /* cyan claro — mesma sinergia do <em> da home FR */
    text-shadow: 0 2px 14px rgba(0, 91, 181, 0.35);
}
.jfhub-hero__lede {
    font-size: clamp(1rem, 0.9vw + 0.7rem, 1.18rem);
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
    max-width: 72ch;
    margin: 0 0 28px;
    font-weight: 400;
}
.jfhub-hero__countdown {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    background: rgba(255,255,255,0.98);
    color: var(--hfr-text-deep, #10243f);
    border-radius: 16px;
    box-shadow: 0 20px 48px -16px rgba(0,0,0,0.35);
    font-size: 1rem;
    font-weight: 500;
}
.jfhub-hero__countdown-icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--primary-color) 14%, #fff);
    color: var(--primary-color);
    flex-shrink: 0;
}
.jfhub-hero__countdown-icon svg { width: 24px; height: 24px; }
.jfhub-hero__countdown-label {
    font-size: 0.78rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
}
.jfhub-hero__countdown-value {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--hfr-text-deep, #10243f);
    line-height: 1.3;
}
.jfhub-hero__countdown-value strong { color: var(--primary-color); font-weight: 800; }

/* Dark mode — pill sombre avec texte clair, cohérent avec le reste du dark mode.
   Le hero garde sa photo + voile primary dans les deux modes : il faut donc
   forcer la pill countdown à des couleurs lisibles quelles que soient les
   redéfinitions des variables globales --hfr-text-deep (qui flippent en dark). */
body.dark-mode .jfhub-hero__countdown {
    background: rgba(17, 24, 39, 0.92);
    color: #e5eef9;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
body.dark-mode .jfhub-hero__countdown-icon {
    background: rgba(0, 113, 227, 0.22);
    color: #7dd3fc;
}
body.dark-mode .jfhub-hero__countdown-label {
    color: #94a3b8;
}
body.dark-mode .jfhub-hero__countdown-value {
    color: #e5eef9;
}
body.dark-mode .jfhub-hero__countdown-value strong {
    color: #7dd3fc;
}

@media (max-width: 720px) {
    .jfhub-hero { padding: 48px 16px 56px; }
    .jfhub-hero__countdown { width: 100%; box-sizing: border-box; }
}

/* -------- 4. Stats strip -------- */
.jfhub-stats-strip {
    background: #0f172a;
    color: #e2e8f0;
    padding: 32px 20px;
}
.jfhub-stats-strip__grid {
    max-width: 1700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.jfhub-stats-strip__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.jfhub-stats-strip__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    display: inline-flex;
    align-items: center; justify-content: center;
    color: #7dd3fc;
    flex-shrink: 0;
}
.jfhub-stats-strip__icon svg { width: 22px; height: 22px; }
.jfhub-stats-strip__value {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}
.jfhub-stats-strip__label {
    font-size: 0.86rem;
    color: #94a3b8;
    margin-top: 2px;
    line-height: 1.4;
}
.jfhub-stats-strip__label em {
    font-style: normal;
    display: block;
    font-size: 0.78rem;
    color: #64748b;
}
@media (max-width: 980px) {
    .jfhub-stats-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .jfhub-stats-strip__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* -------- 5. Sections par catégorie (H2 + grid de cards riches) -------- */
.jfhub-section__head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 28px;
}
.jfhub-section__title {
    font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem);
    font-weight: 800;
    color: var(--hfr-text-deep, #10243f);
    margin: 0;
    letter-spacing: -0.02em;
}
.jfhub-section__sub {
    font-size: 0.98rem;
    color: #64748b;
    margin: 0;
}
body.dark-mode .jfhub-section__title { color: #e5eef9; }
body.dark-mode .jfhub-section__sub { color: #94a3b8; }

/* "Voir toutes les X" — aparece só no hub master, pill alinhada à direita do H2. */
.jfhub-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.jfhub-section__seeall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary-color) 8%, transparent);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}
.jfhub-section__seeall:hover {
    background: color-mix(in srgb, var(--primary-color) 14%, transparent);
    color: var(--primary-color);
    transform: translateX(2px);
    text-decoration: none;
}
.jfhub-section__seeall span { font-weight: 700; }
body.dark-mode .jfhub-section__seeall {
    background: rgba(125, 211, 252, 0.12);
    color: #7dd3fc;
}
body.dark-mode .jfhub-section__seeall:hover {
    background: rgba(125, 211, 252, 0.22);
    color: #bae6fd;
}

/* Footer éditorial final (nos 3 hubs) com links cruzados entre clusters. */
.jfhub-crosslink {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding: 24px 0;
}
.jfhub-crosslink a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    background: #f1f5f9;
    color: var(--hfr-text-deep, #10243f);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.jfhub-crosslink a:hover {
    background: color-mix(in srgb, var(--primary-color) 10%, #f1f5f9);
    color: var(--primary-color);
    transform: translateY(-2px);
    text-decoration: none;
}
body.dark-mode .jfhub-crosslink a {
    background: #1e293b;
    color: #e5eef9;
}
body.dark-mode .jfhub-crosslink a:hover {
    background: #253246;
    color: #7dd3fc;
}

.jfhub-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}
.jfhub-card-grid--seasons {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Card produit (ferié / commémoratif / saison) */
.jfhub-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--hfr-card-bg, #fff);
    border: 1px solid var(--hfr-hairline, rgba(15,23,42,0.07));
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 34px -14px rgba(15, 23, 42, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    min-height: 100%;
}
.jfhub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1px 2px rgba(15,23,42,0.06), 0 26px 54px -16px rgba(15, 23, 42, 0.18);
    border-color: color-mix(in srgb, var(--primary-color) 30%, var(--hfr-hairline));
    text-decoration: none;
    color: inherit;
}
.jfhub-card__hero {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        radial-gradient(400px 200px at 90% 10%, rgba(255,255,255,0.35), transparent 60%),
        linear-gradient(135deg, var(--primary-color, #0071e3) 0%, var(--hover-color, #005bb5) 100%);
}
.jfhub-card__hero-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.jfhub-card:hover .jfhub-card__hero-img { transform: scale(1.04); }
.jfhub-card__hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.28) 100%);
    pointer-events: none;
}
.jfhub-card__icon {
    position: absolute;
    left: 14px; bottom: 14px;
    z-index: 2;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,0.95);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center; justify-content: center;
    box-shadow: 0 6px 16px -6px rgba(0,0,0,0.3);
}
.jfhub-card__icon svg { width: 28px; height: 28px; }
.jfhub-card__icon img.event-flag-icon {
    width: 32px; height: 32px; border-radius: 6px;
}

.jfhub-card__badge {
    position: absolute;
    right: 12px; top: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center; gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.95);
    color: var(--primary-color);
    box-shadow: 0 4px 10px -4px rgba(0,0,0,0.3);
}
.jfhub-card__badge--soon { background: #fef3c7; color: #b45309; }
.jfhub-card__badge--today { background: #34d399; color: #064e3b; }
.jfhub-card__badge--past { background: rgba(255,255,255,0.9); color: #64748b; }
.jfhub-card__badge--info { background: #e0ecff; color: #1e40af; }

.jfhub-card__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.jfhub-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hfr-text-deep, #10243f);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.jfhub-card__date {
    font-size: 0.92rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: capitalize;
    margin: 0;
}
.jfhub-card__desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.55;
    margin: 4px 0 0;
}
.jfhub-card__cta {
    margin-top: auto;
    padding-top: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.jfhub-card:hover .jfhub-card__cta { gap: 10px; }

body.dark-mode .jfhub-card {
    background: #111827;
    border-color: rgba(148,163,184,0.18);
}
body.dark-mode .jfhub-card__title { color: #e5eef9; }
body.dark-mode .jfhub-card__desc { color: #cbd5e1; }
body.dark-mode .jfhub-card__badge { background: rgba(30,41,59,0.95); color: #93c5fd; }

/* -------- 6. Timeline prochaines dates -------- */
.jfhub-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 22px;
}
.jfhub-timeline__item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 18px 18px 22px;
    background: #fff;
    border: 1px solid var(--hfr-hairline);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.jfhub-timeline__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -14px rgba(15,23,42,0.18);
    text-decoration: none; color: inherit;
}
.jfhub-timeline__countdown {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.jfhub-timeline__name {
    font-weight: 700;
    color: var(--hfr-text-deep);
    font-size: 1rem;
    line-height: 1.25;
}
.jfhub-timeline__date {
    font-size: 0.86rem;
    color: #64748b;
    text-transform: capitalize;
}
body.dark-mode .jfhub-timeline__item { background: #111827; border-color: rgba(148,163,184,0.18); }
body.dark-mode .jfhub-timeline__name { color: #e5eef9; }

/* -------- 7. Outils pratiques -------- */
.jfhub-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 20px;
}
.jfhub-tool-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--hfr-hairline);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.jfhub-tool-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--primary-color) 30%, var(--hfr-hairline));
    box-shadow: 0 14px 30px -14px rgba(15,23,42,0.16);
    text-decoration: none; color: inherit;
}
.jfhub-tool-card__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--primary-color) 10%, #fff);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center; justify-content: center;
    flex-shrink: 0;
}
.jfhub-tool-card__icon svg { width: 22px; height: 22px; }
.jfhub-tool-card__title {
    font-weight: 700;
    color: var(--hfr-text-deep);
    font-size: 1rem;
    margin: 0 0 2px;
}
.jfhub-tool-card__desc {
    font-size: 0.86rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}
body.dark-mode .jfhub-tool-card { background: #111827; border-color: rgba(148,163,184,0.18); }
body.dark-mode .jfhub-tool-card__title { color: #e5eef9; }
body.dark-mode .jfhub-tool-card__icon { background: rgba(0,113,227,0.15); }

/* -------- 8. FAQ -------- */
.jfhub-faq { max-width: 920px; margin: 0 auto; }
.jfhub-faq__list { display: grid; gap: 10px; margin-top: 20px; }
.jfhub-faq details {
    background: #fff;
    border: 1px solid var(--hfr-hairline);
    border-radius: 12px;
    padding: 14px 18px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.jfhub-faq details[open] {
    border-color: color-mix(in srgb, var(--primary-color) 30%, var(--hfr-hairline));
    box-shadow: 0 8px 20px -10px rgba(15,23,42,0.12);
}
.jfhub-faq summary {
    font-weight: 600;
    color: var(--hfr-text-deep);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 30px;
    font-size: 1rem;
    line-height: 1.35;
}
.jfhub-faq summary::-webkit-details-marker { display: none; }
.jfhub-faq summary::after {
    content: "+";
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: transform 0.25s ease;
    line-height: 1;
}
.jfhub-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.jfhub-faq__body {
    margin-top: 10px;
    color: #475569;
    line-height: 1.6;
    font-size: 0.96rem;
}
body.dark-mode .jfhub-faq details { background: #111827; border-color: rgba(148,163,184,0.18); }
body.dark-mode .jfhub-faq summary { color: #e5eef9; }
body.dark-mode .jfhub-faq__body { color: #cbd5e1; }

/* -------- 9. Année pills & footer éditorial -------- */
.jfhub-year-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.jfhub-year-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--hfr-hairline);
    color: var(--hfr-text-deep);
    font-weight: 600;
    font-size: 0.94rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.jfhub-year-pill:hover {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    border-color: transparent;
}
body.dark-mode .jfhub-year-pill { background: #111827; color: #e5eef9; border-color: rgba(148,163,184,0.18); }

/* Pill année active (vue année courante) */
.jfhub-year-pill--active {
    background: var(--primary-color);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 18px -10px rgba(0, 113, 227, 0.6);
    cursor: default;
    pointer-events: none;
}

/* -------- 10. Tableau vue annuelle (/jour-feries/{YEAR}) -------- */
.jfyear-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--hfr-hairline);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 14px 34px -18px rgba(15,23,42,0.1);
}
.jfyear-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.98rem;
}
.jfyear-table thead th {
    background: #f8fafc;
    color: #0f172a;
    text-align: left;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 20px;
    border-bottom: 1px solid var(--hfr-hairline);
    white-space: nowrap;
}
.jfyear-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--hfr-hairline);
    vertical-align: middle;
}
.jfyear-table tbody tr:last-child td { border-bottom: none; }
.jfyear-table tbody tr:hover { background: color-mix(in srgb, var(--primary-color) 4%, #fff); }
.jfyear-table tbody tr.is-weekend { background: #fff7ed; }
.jfyear-table tbody tr.is-weekend:hover { background: color-mix(in srgb, #b45309 5%, #fff7ed); }
.jfyear-cell-date {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--hfr-text-deep);
    white-space: nowrap;
}
.jfyear-cell-day {
    color: #475569;
    text-transform: capitalize;
    white-space: nowrap;
}
.jfyear-cell-name a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.jfyear-cell-name a:hover { text-decoration: underline; text-underline-offset: 3px; }

.jfyear-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: #e0ecff;
    color: #1e40af;
    white-space: nowrap;
}
.jfyear-tag--national { background: #dbeafe; color: #1d4ed8; }
.jfyear-tag--alsace   { background: #fef3c7; color: #92400e; }
.jfyear-tag--comm     { background: #ede9fe; color: #6d28d9; }

body.dark-mode .jfyear-table-wrap { background: #111827; border-color: rgba(148,163,184,0.18); }
body.dark-mode .jfyear-table thead th { background: #0f1b30; color: #e5eef9; border-color: rgba(148,163,184,0.18); }
body.dark-mode .jfyear-table tbody td { border-color: rgba(148,163,184,0.12); }
body.dark-mode .jfyear-table tbody tr:hover { background: rgba(0,113,227,0.08); }
body.dark-mode .jfyear-table tbody tr.is-weekend { background: rgba(180, 83, 9, 0.12); }
body.dark-mode .jfyear-cell-date { color: #e5eef9; }
body.dark-mode .jfyear-cell-day  { color: #cbd5e1; }
body.dark-mode .jfyear-tag--national { background: rgba(59,130,246,0.2); color: #93c5fd; }
body.dark-mode .jfyear-tag--alsace   { background: rgba(217,119,6,0.18); color: #fcd34d; }
body.dark-mode .jfyear-tag--comm     { background: rgba(139,92,246,0.2); color: #c4b5fd; }

@media (max-width: 640px) {
    .jfyear-table thead th,
    .jfyear-table tbody td { padding: 12px 14px; font-size: 0.92rem; }
    .jfyear-tag { padding: 2px 8px; font-size: 0.72rem; }
}

/* -------- 11. Page événement — corps aligné sur .jfhub-hero__inner (1700px) --------
   .jfhub-hero__inner est une boîte 1700px sans padding, centrée dans un section
   qui a padding-inline: 20px. Pour que les bords visibles du corps soient strictement
   alignés avec ceux du hero, on utilise la MÊME combinaison : outer max-width:
   1700 + 40 = 1740 en border-box, avec padding-inline 20 → contenu aligné à 1700. */
body.jfhub-landing .event-page-container--landing {
    max-width: 1740px;
    margin: 0 auto;
    padding: 56px 20px 72px;
    box-sizing: border-box;
    width: 100%;
}
@media (max-width: 720px) {
    body.jfhub-landing .event-page-container--landing {
        max-width: 100%;
        padding: 40px 16px 56px;
    }
}
/* Tous les éléments sous le hero (callouts, related, CTA) s'alignent sur 1700px —
   on annule Bootstrap : col-lg-8 + offset-lg-2 deviennent une colonne pleine
   largeur à l'intérieur du container 1700. La lisibilité typographique passe
   par le padding interne des callouts, pas par une largeur max de colonne. */
body.jfhub-landing .event-page-container--landing .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;              /* annule offset-lg-2 */
    padding-left: 0;
    padding-right: 0;
    font-size: 1.02rem;
    line-height: 1.7;
}
body.jfhub-landing .event-page-container--landing h2 {
    letter-spacing: -0.015em;
}
body.jfhub-landing .event-page-container--landing > .row {
    margin-top: 0;
    margin-left: 0;              /* annule Bootstrap row -15 */
    margin-right: 0;
}
/* Les sections full-width (A voir aussi, CTA final) occupent bien la largeur 1700 */
body.jfhub-landing .event-page-container--landing > .mt-4,
body.jfhub-landing .event-page-container--landing > [style*="clear: both"] {
    max-width: 100%;
}

.jfhub-editorial {
    max-width: 820px;
    margin: 0 auto;
    color: #64748b;
    font-size: 0.94rem;
    line-height: 1.7;
    text-align: center;
}
.jfhub-editorial p { margin: 0 0 14px; }
.jfhub-editorial a { color: var(--primary-color); text-decoration: underline; text-underline-offset: 3px; }
body.dark-mode .jfhub-editorial { color: #94a3b8; }

/* -------- Event page : respiro entre FAQ et « Prochaines dates » -------- */
body.jfhub-landing .future-dates-section {
    margin-top: 60px;
    padding-top: 28px;
    border-top: 1px solid var(--hfr-hairline, #e2e8f0);
}
body.dark-mode.jfhub-landing .future-dates-section {
    border-top-color: rgba(148, 163, 184, 0.25);
}

/* =========================================================================
   Hero lede complement (Phase 4, 2026-04-23)
   Phrase courte qui ne reprend pas la KW du H1, aide Google à former le
   SERP snippet. Rendu avant le lede dynamique (countdown, dias, etc.).
   ========================================================================= */
.jfhub-hero__lede-complement {
    font-size: clamp(0.95rem, 0.85vw + 0.65rem, 1.1rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    max-width: 64ch;
    margin: 0 0 14px;
    font-weight: 400;
    font-style: italic;
}

/* =========================================================================
   SAISONS — composants visuels dédiés aux 4 pages de saisons (printemps /
   ete / automne / hiver). Ajout 2026-04-22.
   Objectif : enrichir visuellement des pages très textuelles (tableaux de
   temperatures, dates, etc.) avec des briques reutilisables : tableau
   comparatif 4 saisons, barres de temperature, timeline horizontale,
   grand nombre, palette de couleurs, citation, barre de progression.
   ========================================================================= */

:root {
    --jfs-spring: #10b981;
    --jfs-summer: #f59e0b;
    --jfs-autumn: #d97706;
    --jfs-winter: #3b82f6;
}

/* ---- Tableau comparatif des 4 saisons --------------------------------- */
.jfs-compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0 10px;
    font-size: 0.95rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.jfs-compare-table thead th {
    padding: 14px 12px;
    text-align: center;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.01em;
    font-size: 0.88rem;
    text-transform: uppercase;
}
.jfs-compare-table thead th:first-child {
    background: #475569;
    text-align: left;
    padding-left: 18px;
}
.jfs-compare-table thead th.jfs-col--spring { background: var(--jfs-spring); }
.jfs-compare-table thead th.jfs-col--summer { background: var(--jfs-summer); }
.jfs-compare-table thead th.jfs-col--autumn { background: var(--jfs-autumn); }
.jfs-compare-table thead th.jfs-col--winter { background: var(--jfs-winter); }
.jfs-compare-table tbody td {
    padding: 12px 12px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}
.jfs-compare-table tbody td:first-child {
    text-align: left;
    padding-left: 18px;
    font-weight: 600;
    color: #334155;
    background: #f8fafc;
}
.jfs-compare-table tbody td.jfs-col--spring { background: rgba(16, 185, 129, 0.08); }
.jfs-compare-table tbody td.jfs-col--summer { background: rgba(245, 158, 11, 0.08); }
.jfs-compare-table tbody td.jfs-col--autumn { background: rgba(217, 119, 6, 0.10); }
.jfs-compare-table tbody td.jfs-col--winter { background: rgba(59, 130, 246, 0.08); }
.jfs-compare-table tbody tr:hover td { background: #f1f5f9; }
.jfs-compare-table tbody tr:hover td.jfs-col--spring { background: rgba(16, 185, 129, 0.15); }
.jfs-compare-table tbody tr:hover td.jfs-col--summer { background: rgba(245, 158, 11, 0.15); }
.jfs-compare-table tbody tr:hover td.jfs-col--autumn { background: rgba(217, 119, 6, 0.18); }
.jfs-compare-table tbody tr:hover td.jfs-col--winter { background: rgba(59, 130, 246, 0.15); }

body.dark-mode .jfs-compare-table tbody td { background: #1e293b; border-bottom-color: #334155; color: #e2e8f0; }
body.dark-mode .jfs-compare-table tbody td:first-child { background: #0f172a; color: #f1f5f9; }
body.dark-mode .jfs-compare-table tbody td.jfs-col--spring { background: rgba(16, 185, 129, 0.18); }
body.dark-mode .jfs-compare-table tbody td.jfs-col--summer { background: rgba(245, 158, 11, 0.18); }
body.dark-mode .jfs-compare-table tbody td.jfs-col--autumn { background: rgba(217, 119, 6, 0.22); }
body.dark-mode .jfs-compare-table tbody td.jfs-col--winter { background: rgba(59, 130, 246, 0.18); }

/* ---- Barres de temperature (bar chart CSS vertical) ------------------- */
.jfs-temp-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin: 22px 0 14px;
    padding: 18px 14px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    min-height: 230px;
}
.jfs-temp-bars__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}
.jfs-temp-bars__bar {
    width: 80%;
    border-radius: 8px 8px 0 0;
    position: relative;
    min-height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 4px;
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.2;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.08);
}
.jfs-temp-bars__bar--spring { background: linear-gradient(180deg, #34d399, #059669); }
.jfs-temp-bars__bar--summer { background: linear-gradient(180deg, #fbbf24, #d97706); }
.jfs-temp-bars__bar--autumn { background: linear-gradient(180deg, #f59e0b, #b45309); }
.jfs-temp-bars__bar--winter { background: linear-gradient(180deg, #60a5fa, #1d4ed8); }
.jfs-temp-bars__label { font-size: 0.78rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.jfs-temp-bars__sub { font-size: 0.72rem; color: #94a3b8; }
body.dark-mode .jfs-temp-bars { background: #0f172a; border-color: #334155; }
body.dark-mode .jfs-temp-bars__label { color: #cbd5e1; }
body.dark-mode .jfs-temp-bars__sub { color: #94a3b8; }

/* ---- Big number (number hero) ----------------------------------------- */
.jfs-bignumber {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin: 4px 0 10px;
}
.jfs-bignumber__num {
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #f59e0b, #b45309);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.jfs-bignumber--spring .jfs-bignumber__num { background: linear-gradient(180deg, #34d399, #059669); -webkit-background-clip: text; background-clip: text; }
.jfs-bignumber--winter .jfs-bignumber__num { background: linear-gradient(180deg, #60a5fa, #1d4ed8); -webkit-background-clip: text; background-clip: text; }
.jfs-bignumber--autumn .jfs-bignumber__num { background: linear-gradient(180deg, #f59e0b, #9a3412); -webkit-background-clip: text; background-clip: text; }
.jfs-bignumber__label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}
.jfs-bignumber__caption { font-size: 0.98rem; color: #334155; line-height: 1.55; margin: 6px 0 0; }
body.dark-mode .jfs-bignumber__label { color: #cbd5e1; }
body.dark-mode .jfs-bignumber__caption { color: #e2e8f0; }

/* info-box variante or/highlight pour bignumber */
.info-box.info-box--highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 5px solid #d97706;
    padding: 20px 22px;
    border-radius: 12px;
    margin: 22px 0;
    color: #78350f;
}
.info-box.info-box--highlight h4 { color: #78350f; margin-top: 0; }
body.dark-mode .info-box.info-box--highlight {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.18), rgba(120, 53, 15, 0.25));
    border-left-color: #fbbf24;
    color: #fde68a;
}
body.dark-mode .info-box.info-box--highlight h4 { color: #fcd34d; }

/* ---- Palette grid (couleurs de feuilles / paysages) ------------------- */
.jfs-palette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
    margin: 22px 0 14px;
}
.jfs-palette-grid__swatch {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.10);
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}
.jfs-palette-grid__color {
    height: 70px;
    width: 100%;
}
.jfs-palette-grid__meta {
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.jfs-palette-grid__name { font-size: 0.9rem; font-weight: 700; color: #1e293b; }
.jfs-palette-grid__hex { font-family: ui-monospace, "Menlo", monospace; font-size: 0.78rem; color: #64748b; letter-spacing: 0.02em; }
body.dark-mode .jfs-palette-grid__swatch { background: #1e293b; border-color: #334155; }
body.dark-mode .jfs-palette-grid__name { color: #f1f5f9; }
body.dark-mode .jfs-palette-grid__hex { color: #94a3b8; }

/* ---- Cards températures par région (3 temps : min / moyenne / max) ---- */
.jfs-regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 28px 0;
}
.jfs-region-card {
    padding: 28px 24px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--hfr-hairline, rgba(15, 23, 42, 0.08));
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 20px -10px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jfs-region-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 16px 32px -12px rgba(15, 23, 42, 0.14);
}
.jfs-region-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--hfr-text-deep, #10243f);
    margin-bottom: 20px;
    text-align: center;
}
.jfs-region-card__temps {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    align-items: end;
}
.jfs-region-card__temp {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 8px;
    border-radius: 10px;
    background: #f8fafc;
}
.jfs-region-card__temp--min { background: rgba(59, 130, 246, 0.08); }
.jfs-region-card__temp--avg {
    background: rgba(148, 163, 184, 0.12);
}
.jfs-region-card__temp--max { background: rgba(239, 68, 68, 0.08); }

.jfs-region-card__temp-value {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}
.jfs-region-card__temp--min .jfs-region-card__temp-value { color: #3b82f6; }
.jfs-region-card__temp--avg .jfs-region-card__temp-value {
    color: var(--hfr-text-deep, #10243f);
    font-size: 1.45rem;
}
.jfs-region-card__temp--max .jfs-region-card__temp-value { color: #ef4444; }

.jfs-region-card__temp-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

body.dark-mode .jfs-region-card {
    background: #111827;
    border-color: rgba(148, 163, 184, 0.18);
}
body.dark-mode .jfs-region-card__name { color: #e5eef9; }
body.dark-mode .jfs-region-card__temp { background: #1e293b; }
body.dark-mode .jfs-region-card__temp--min { background: rgba(59, 130, 246, 0.18); }
body.dark-mode .jfs-region-card__temp--avg { background: rgba(148, 163, 184, 0.22); }
body.dark-mode .jfs-region-card__temp--max { background: rgba(239, 68, 68, 0.18); }
body.dark-mode .jfs-region-card__temp--avg .jfs-region-card__temp-value { color: #f1f5f9; }

@media (max-width: 640px) {
    .jfs-regions-grid { grid-template-columns: 1fr; }
    .jfs-region-card { padding: 22px 18px; }
    .jfs-region-card__temp-value { font-size: 1.25rem; }
    .jfs-region-card__temp--avg .jfs-region-card__temp-value { font-size: 1.25rem; }
}

/* ---- Jour le plus long / court — disque circulaire SVG ---------------- */
.jfs-daycircle {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: center;
    margin: 22px 0 14px;
    padding: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}
.jfs-daycircle__svg {
    width: 200px;
    height: 200px;
    justify-self: center;
}
.jfs-daycircle__title { font-weight: 700; font-size: 1.1rem; color: #0f172a; margin: 0 0 6px; }
.jfs-daycircle__value { font-family: ui-monospace, monospace; font-size: 2.2rem; font-weight: 800; color: #d97706; line-height: 1.1; letter-spacing: -0.02em; }
.jfs-daycircle--winter .jfs-daycircle__value { color: #1d4ed8; }
.jfs-daycircle__desc { color: #475569; font-size: 0.95rem; line-height: 1.55; margin: 6px 0 0; }
@media (max-width: 640px) {
    .jfs-daycircle { grid-template-columns: 1fr; text-align: center; }
    .jfs-daycircle__svg { margin: 0 auto; }
}
body.dark-mode .jfs-daycircle { background: #0f172a; border-color: #334155; }
body.dark-mode .jfs-daycircle__title { color: #f1f5f9; }
body.dark-mode .jfs-daycircle__desc { color: #cbd5e1; }

@media (max-width: 640px) {
    .jfs-compare-table { font-size: 0.85rem; }
    .jfs-compare-table thead th, .jfs-compare-table tbody td { padding: 10px 6px; }
}
