@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --c-bg:        #060E18;
    --c-bg2:       #0C1825;
    --c-bg3:       #111E2D;
    --c-surface:   rgba(255,255,255,.05);
    --c-surf-hover:rgba(255,255,255,.09);
    --c-border:    rgba(255,255,255,.1);
    --c-accent:    #2596BE;
    --c-accent2:   #85B7EB;
    --c-accent-dim:rgba(37,150,190,.18);
    --c-text:      #FFFFFF;
    --c-text2:     rgba(255,255,255,.65);
    --c-text3:     rgba(255,255,255,.38);
    --c-light-bg:  #F4F7FB;
    --c-light-bg2: #EEF3FA;
    --c-light-text:#0C1825;
    --c-light-text2:#4A6080;
    --c-light-border:#D1DFF0;
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   22px;
    --shadow-card: 0 2px 24px rgba(6,14,24,.18);
    --header-h:    82px;
    --font-display:'Playfair Display', Georgia, serif;
    --font-body:   'Inter', system-ui, sans-serif;

    /* Rythme vertical unifié entre toutes les sections du site */
    --section-padding: 3rem;
}
@media (max-width: 768px) {
    :root { --section-padding: 2rem; }
}
@media (max-width: 480px) {
    :root { --section-padding: 1.5rem; }
}

.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 400px;
    max-height: 500px;
    overflow: hidden;
    background: #060e18;
    margin-top: var(--header-h, 82px);
    user-select: none;
    margin-bottom: 0;
}

.hero-slides {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.9s cubic-bezier(0.7, 0, 0.3, 1),
                transform 1.2s cubic-bezier(0.7, 0, 0.3, 1);
    z-index: 1;
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}
.hero-slide.exiting {
    opacity: 0;
    transform: scale(0.95);
    z-index: 3;
}
.hero-slide-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    will-change: transform, opacity;
    animation: hero-bg-breathe 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes hero-bg-breathe {
    0%   { transform: scale(1); }
    25%  { transform: scale(1.04) translate(0.3%, -0.2%); }
    50%  { transform: scale(1.06) translate(0.6%, -0.4%); }
    75%  { transform: scale(1.03) translate(0.2%, -0.1%); }
    100% { transform: scale(1); }
}
.hero-slide.active .hero-slide-img {
    animation: hero-bg-breathe 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.hero-slide.exiting .hero-slide-img {
    animation: none;
    filter: brightness(0.4);
    transition: filter 0.7s ease;
}
.hero:hover .hero-slide.active .hero-slide-img {
    animation: hero-bg-breathe 4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.hero-slide-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
        rgba(6,14,24,.65) 0%,
        rgba(6,14,24,.25) 45%,
        rgba(6,14,24,.05) 100%
    );
}

.hero-stage {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    pointer-events: none;
}
.hero-stage-inner {
    max-width: 680px;
    pointer-events: all;
}

.hero-word {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .26em;
    color: #fff;
    background: #2596BE;
    border: 1px solid #2596BE;
    padding: 6px 18px;
    border-radius: 30px;
    margin: 0 0 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.hero-word.show {
    opacity: 1;
    transform: translateY(0);
}

.hero-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.hero-heading .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) rotateZ(5deg);
    transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.hero-heading .char.show {
    opacity: 1;
    transform: translateY(0) rotateZ(0);
}

.hero-brush {
    width: 120px;
    margin: 0.3rem auto 0.8rem;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity 0.3s ease 0.5s, transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.5s;
}
.hero-brush.show {
    opacity: 1;
    transform: scaleX(1);
}
.hero-brush svg {
    width: 100%;
    height: auto;
    display: block;
}

.hero-desc {
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 3px rgba(0,0,0,0.85), 0 2px 18px rgba(0,0,0,0.5);
    line-height: 1.7;
    margin: 0 auto 20px;
    max-width: 520px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease 0.3s, transform 0.5s cubic-bezier(0.16,1,0.3,1) 0.3s;
}
.hero-desc.show {
    opacity: 1;
    transform: translateY(0);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 13px 28px;
    background: #2596BE;
    border: none;
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none;
    border-radius: 40px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease 0.5s, transform 0.5s cubic-bezier(0.16,1,0.3,1) 0.5s,
                background 0.3s, box-shadow 0.2s;
}
.hero-cta.show {
    opacity: 1;
    transform: translateY(0);
}
.hero-cta:hover {
    background: #1f82a8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,150,190,.35);
}
.hero-cta-icon {
    transition: transform 0.3s ease;
}
.hero-cta:hover .hero-cta-icon {
    transform: translateX(3px);
}

.hero-stage-inner.hide .hero-word,
.hero-stage-inner.hide .hero-heading .char,
.hero-stage-inner.hide .hero-brush,
.hero-stage-inner.hide .hero-desc,
.hero-stage-inner.hide .hero-cta {
    opacity: 0 !important;
    transform: translateY(-15px) !important;
    transition: opacity 0.25s ease, transform 0.35s ease !important;
}
.hero-stage-inner.hide .hero-brush {
    transform: scaleX(0) !important;
}

.hero-nav {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-nav-btn {
    width: 36px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.65);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s, color .2s;
}
.hero-nav-btn:hover {
    background: rgba(37,150,190,.22);
    border-color: var(--c-accent);
    color: #fff;
}
.hero-nav-dots {
    display: flex;
    gap: 0.5rem;
}
.hero-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all .3s;
}
.hero-nav-dot.active {
    background: #2596be;
    border-color: #2596be;
    width: 28px;
    border-radius: 5px;
}

.hero-progress {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 20;
    background: rgba(255,255,255,.06);
}
.hero-progress-bar {
    height: 100%;
    width: 0%;
    background: #2596be;
    transition: width .12s linear;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.page-loader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--c-bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .5s, visibility .5s;
}
.page-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-spinner {
    width: 36px; height: 28px;
    border: 2px solid var(--c-border);
    border-top-color: var(--c-accent);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.fhu2-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 400px;
    max-height: 500px;
    overflow: hidden;
    background: var(--c-bg);
    margin-top: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

#fhu2-pc {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 2; pointer-events: none;
}

.fhu2-sl {
    position: absolute; inset: 0; z-index: 1;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(.77,0,.18,1);
}
.fhu2-sl.fhu2-on    { opacity: 1; z-index: 2; }
.fhu2-sl.fhu2-out   { opacity: 0; z-index: 3; transition: opacity 1s ease; }

.fhu2-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    will-change: transform, opacity;
    transform: scale(1.15);
    opacity: 0;
    transition:
        opacity 1.2s ease,
        transform 2.2s cubic-bezier(.16,1,.3,1);
    animation: fhu2-bg-breathe 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes fhu2-bg-breathe {
    0%   { transform: scale(1); }
    25%  { transform: scale(1.04) translate(0.3%, -0.2%); }
    50%  { transform: scale(1.06) translate(0.6%, -0.4%); }
    75%  { transform: scale(1.03) translate(0.2%, -0.1%); }
    100% { transform: scale(1); }
}
.fhu2-sl.fhu2-on .fhu2-bg {
    opacity: 1;
    animation: fhu2-bg-breathe 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.fhu2-sl.fhu2-out .fhu2-bg {
    opacity: 0;
    transform: scale(1.08);
    filter: brightness(0.4);
    animation: none;
    transition: opacity 0.7s ease, transform 0.9s cubic-bezier(.77,0,.18,1), filter 0.7s ease;
}
.fhu2-hero:hover .fhu2-sl.fhu2-on .fhu2-bg {
    animation: fhu2-bg-breathe 4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.fhu2-ov {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(6,14,24,.65) 0%,
        rgba(6,14,24,.25) 45%,
        rgba(6,14,24,.05) 100%
    );
}

.fhu2-pip {
    position: absolute;
    z-index: 3;
    border-radius: 50%;
    border: 1px solid rgba(37,150,190,.22);
    animation: pip-pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    pointer-events: none;
}
@keyframes pip-pulse {
    0%, 100% { transform: scale(0.95); opacity: .12; }
    25%      { transform: scale(1.08); opacity: .35; }
    50%      { transform: scale(1.04); opacity: .2; }
    75%      { transform: scale(1.1);  opacity: .3; }
}

.fhu2-stage {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6%;
    transform: none;
}

.fhu2-box {
    position: relative;
    z-index: 10;
    overflow: visible;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.fhu2-ew {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity .5s .05s, transform .6s .05s cubic-bezier(.16,1,.3,1);
}
.fhu2-eyebrow {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: #fff;
    background: var(--c-accent);
    border: 1px solid var(--c-accent);
    padding: 6px 18px;
    border-radius: 30px;
}

#fhu2-ttl {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 16px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}
.fhu2-tl  { display: inline; }
.fhu2-tw {
    display: inline;
    opacity: 0;
    transform: translateY(110%);
    transition: opacity .01s, transform .75s cubic-bezier(.16, 1, .3, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fhu2-tl + .fhu2-tl { margin-left: 0.2em; }
.fhu2-tw.fhu2-show { opacity: 1; transform: translateY(0); }

.fhu2-hero-desc {
    text-align: center;
    font-family: var(--font-body);
    font-size: .95rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 3px rgba(0,0,0,0.85), 0 2px 18px rgba(0,0,0,0.5);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s .42s, transform .65s .42s cubic-bezier(.16,1,.3,1);
    margin-left: auto;
    margin-right: auto;
}

.fhu2-hero-btns {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s .58s, transform .65s .58s cubic-bezier(.16,1,.3,1);
    justify-content: center;
}
.fhu2-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 28px;
    background: var(--c-accent);
    border: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none;
    border-radius: 40px;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
}
.fhu2-hero-btn-primary:hover {
    background: #1f82a8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,150,190,.35);
}
.fhu2-hero-btn-primary svg { transition: transform .25s; }
.fhu2-hero-btn-primary:hover svg { transform: translateX(4px); }

.fhu2-hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.28);
    color: rgba(255,255,255,.8);
    font-family: var(--font-body);
    font-size: .85rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 40px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.fhu2-hero-btn-ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.5);
}

.fhu2-show { opacity: 1 !important; transform: none !important; }

.fhu2-hero-nav {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
}
.fhu2-nbtn {
    width: 36px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.65);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s, color .2s;
}
.fhu2-nbtn:hover {
    background: rgba(37,150,190,.22);
    border-color: var(--c-accent);
    color: #fff;
}
.fhu2-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all .3s;
}
.fhu2-dot.on {
    background: var(--c-accent);
    border-color: var(--c-accent);
    width: 28px;
    border-radius: 5px;
}

.fhu2-pbr {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 20;
    background: rgba(255,255,255,.06);
}
.fhu2-pb {
    height: 100%;
    width: 0;
    background: var(--c-accent);
    transition: width .12s linear;
}

.fhu2-sidx {
    position: absolute;
    right: 9%;
    bottom: 28px;
    z-index: 20;
    font-family: var(--font-body);
    font-size: .7rem;
    color: var(--c-text3);
    letter-spacing: .14em;
}

.fhu2-container { max-width: 1140px; margin: 0 auto; padding: 0 5%; }

.fhu2-block-header { text-align: center; margin-bottom: 32px; }
.fhu2-block-header--light .fhu2-section-title { color: #fff; }

.fhu2-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-body);
    font-size: .7rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--c-accent);
    background: rgba(37,150,190,.12);
    border: 1px solid rgba(37,150,190,.28);
    padding: 4px 12px; border-radius: 30px;
    margin-bottom: 10px;
}
.fhu2-tag--light { color: var(--c-accent2); background: rgba(133,183,235,.1); border-color: rgba(133,183,235,.22); }

.fhu2-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--c-light-text);
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-bottom: 8px;
}
.fhu2-sep {
    width: 40px; height: 3px;
    background: var(--c-accent);
    border-radius: 3px;
    margin: 18px auto 0;
}

.fhu-objectives {
    background: var(--c-light-bg);
    padding: var(--section-padding) 0;
}
.fhu-objectives > .fhu2-container > h2,
.fhu-objectives h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--c-light-text);
    text-align: center;
    letter-spacing: -.02em;
    margin-bottom: 20px;
}
.fhu-objectives-tag {
    display: flex; justify-content: center; margin-bottom: 8px;
}
.fhu-objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
    max-width: 1140px; margin-left: auto; margin-right: auto;
    padding: 0 5%;
}
.fhu-objective-card {
    background: #fff;
    border: 1px solid var(--c-light-border);
    border-radius: var(--radius-lg);
    padding: 20px 18px;
    text-align: center;
    transition: transform .22s, box-shadow .22s, border-color .22s;
}
.fhu-objective-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(6,14,24,.1);
    border-color: rgba(37,150,190,.4);
}
.fhu-objective-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: rgba(37,150,190,.1);
    border: 1px solid rgba(37,150,190,.2);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px;
    color: var(--c-accent);
}
.fhu-objective-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 700;
    color: var(--c-light-text);
    margin-bottom: 8px;
}
.fhu-objective-card p {
    font-family: var(--font-body);
    font-size: .88rem; color: var(--c-light-text2);
    line-height: 1.72;
}

.fhu-details-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: #fff;
    border: 1px solid var(--c-light-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 1140px; margin: 0 auto;
    padding: 0 5%;
}
.fhu-details-img {
    overflow: hidden;
    min-height: 240px;
}
.fhu-details-img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.fhu-details-text {
    padding: 28px 32px;
    display: flex; flex-direction: column; gap: 16px;
}
.fhu-details-item h4 {
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 700;
    color: var(--c-light-text);
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 10px;
}
.fhu-details-item h4::before {
    content: '';
    display: block; width: 4px; height: 18px;
    background: var(--c-accent);
    border-radius: 2px; flex-shrink: 0;
}
.fhu-details-item p {
    font-family: var(--font-body);
    font-size: .88rem; color: var(--c-light-text2);
    line-height: 1.78; padding-left: 14px;
}

.fhu2-history {
    position: relative;
    overflow: hidden;
    padding: var(--section-padding) 0;
}
.fhu2-history-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    will-change: transform;
    animation: history-bg-breathe 12s ease-in-out infinite;
}
@keyframes history-bg-breathe {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.06); }
}
.fhu2-history-bg-mobile {
    display: none;
    background-size: cover;
    background-position: center;
    animation: history-bg-breathe 12s ease-in-out infinite;
}
.fhu2-history-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
        rgba(6,14,24,.96) 0%,
        rgba(6,14,24,.88) 100%
    );
}
.fhu2-history-inner { position: relative; z-index: 2; }
.fhu2-history-sub {
    font-family: var(--font-body);
    font-size: .93rem; color: rgba(255,255,255,.7);
    max-width: 720px; margin: 0 auto;
    line-height: 1.78; text-align: center;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .fhu2-history-sub {
        white-space: normal;
    }
}

.fhu2-tl2-list {
    display: flex; flex-direction: column;
    max-width: 680px; margin: 0 auto;
}
.fhu2-tl2-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    align-items: center;
}
.fhu2-tl2-aside {
    display: flex; flex-direction: column;
    align-items: center;
}
.fhu2-tl2-year {
    font-family: var(--font-body);
    font-size: .7rem; font-weight: 700;
    color: #fff;
    background: var(--c-accent);
    border-radius: 20px;
    padding: 4px 12px;
    white-space: nowrap;
    margin-bottom: 8px;
    letter-spacing: .04em;
}
.fhu2-tl2-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 2px solid var(--c-accent);
    background: transparent;
    flex-shrink: 0;
    transition: background .35s, box-shadow .35s;
}
.fhu2-tl2-item.fhu2-tl2-visible .fhu2-tl2-dot {
    background: var(--c-accent);
    box-shadow: 0 0 0 5px rgba(37,150,190,.2);
}
.fhu2-tl2-line {
    flex: 1; width: 1px; min-height: 32px;
    background: rgba(37,150,190,.2);
    margin: 8px 0;
}
.fhu2-tl2-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-left: 3px solid var(--c-accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 16px 20px;
    margin-bottom: 10px;
    transition: background .25s, border-color .25s;
}
.fhu2-tl2-card:hover {
    background: rgba(37,150,190,.08);
    border-left-color: var(--c-accent2);
}
.fhu2-tl2-card h3 {
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 700;
    color:rgb(104, 201, 236);
    margin-bottom: 10px; line-height: 1.35;
}
.fhu2-tl2-card p {
    font-family: var(--font-body);
    font-size: .875rem; color: rgba(255,255,255,.55);
    line-height: 1.78; margin: 0;
}
.fhu2-tl2-reveal {
    opacity: 0; transform: translateX(-28px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1);
}
.fhu2-tl2-reveal.fhu2-tl2-visible { opacity: 1; transform: none; }

.fhu-perimeter-section {
    padding: var(--section-padding) 0;
    background: #fff;
}
.fhu-perimeter-section .container,
.fhu-governance-section .container {
    max-width: 1140px; margin: 0 auto; padding: 32px 5%;
}
.fhu-perimeter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px; align-items: center;
}
.fhu-perimeter-text h2 {
    font-family: var(--font-display);
    font-size: 1.55rem; font-weight: 700;
    color: var(--c-light-text);
    margin: 28px 0 12px;
    letter-spacing: -.015em;
}
.fhu-perimeter-text h2:first-child { margin-top: 0; }
.fhu-perimeter-text p {
    font-family: var(--font-body);
    font-size: .9rem; color: var(--c-light-text2);
    line-height: 1.82; margin-bottom: 8px;
}
.fhu-perimeter-visual img {
    width: 100%; border-radius: var(--radius-lg);
    display: block;
    box-shadow: 0 20px 60px rgba(6,14,24,.12);
}

.fhu-governance-section {
    padding: var(--section-padding) 0;
    background: var(--c-light-bg);
}
.fhu-governance-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--c-light-text);
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: -.02em;
}
.fhu-governance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.fhu-governance-card {
    background: #fff;
    border: 1px solid var(--c-light-border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    transition: transform .22s, box-shadow .22s;
}
.fhu-governance-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(6,14,24,.09);
}
.fhu-governance-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem; font-weight: 700;
    color: #2596be;
    margin-bottom: 10px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--c-light-bg2);
}
.fhu-governance-card p {
    font-family: var(--font-body);
    font-size: .9rem; color: var(--c-light-text2);
    line-height: 1.8; margin-bottom: 8px;
}
.fhu-governance-card ul {
    padding-left: 0; list-style: none;
    display: flex; flex-direction: column; gap: 10px;
    margin: 16px 0;
}
.fhu-governance-card li {
    font-family: var(--font-body);
    font-size: .88rem; color: var(--c-light-text2);
    line-height: 1.6;
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 14px;
    background: var(--c-light-bg);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--c-accent);
}
.fhu-governance-img { margin-top: 20px; }
.fhu-governance-img img {
    width: 100%; border-radius: var(--radius-md);
    display: block;
}

.fhu-all-section {
    background: var(--c-light-bg);
    padding: 32px 0 24px;
    scroll-margin-top: 80px;
}
.fhu-all-section .container {
    max-width: 1180px; margin: 0 auto; padding: 0 5%;
}
.fhu-all-header {
    text-align: center;
    margin-bottom: 10px;
}
.fhu-all-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-body);
    font-size: .7rem; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--c-accent);
    background: rgba(37,150,190,.1);
    border: 1px solid rgba(37,150,190,.25);
    padding: 6px 18px; border-radius: 30px;
    margin-bottom: 10px;
}
.fhu-all-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--c-light-text);
    letter-spacing: -.02em;
    margin-bottom: 0;
}

.fhu-legend {
    display: flex; align-items: center;
    justify-content: center;
    flex-wrap: wrap; gap: 8px 18px;
    margin-bottom: 24px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid var(--c-light-border);
    border-radius: var(--radius-md);
    max-width: 720px; margin-left: auto; margin-right: auto;
}
.fhu-legend-item {
    display: flex; align-items: center; gap: 6px;
    font-family: var(--font-body);
    font-size: .75rem; color: var(--c-light-text2);
}
.fhu-legend-item i { font-size: 15px; color: var(--c-accent); }

.fhu-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 8px;
}

.fhu-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--c-light-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .22s, box-shadow .22s, border-color .22s;
    opacity: 0;
    transform: translateY(20px);
}
.fhu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(6,14,24,.12);
    border-color: rgba(37,150,190,.35);
}

.fhu-card-logo-link {
    display: flex; align-items: center; justify-content: center;
    height: 84px;
    background: #fff;
    border-bottom: 1px solid var(--c-light-border);
    padding: 12px 16px;
    text-decoration: none;
    transition: background .2s;
}
.fhu-card-logo-link:hover { background: #fff; }
.fhu-card-logo-link img {
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.fhu-card-content {
    padding: 16px 18px 14px;
    display: flex; flex-direction: column;
    flex: 1;
}
.fhu-card-acronym {
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 700;
    color: var(--c-light-text);
    letter-spacing: -.01em;
    margin-bottom: 4px;
}
.fhu-card-title {
    font-family: var(--font-body);
    font-size: .8rem; color: var(--c-accent);
    font-weight: 500; line-height: 1.5;
    margin-bottom: 10px;
    font-style: italic;
}

.fhu-card-info {
    display: flex; flex-direction: column; gap: 9px;
    margin-bottom: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--c-light-bg2);
}
.fhu-info-line {
    display: flex; align-items: flex-start; gap: 9px;
    font-family: var(--font-body);
    font-size: .8rem; color: var(--c-light-text2);
    line-height: 1.5;
}
.fhu-info-line i { color: var(--c-accent); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.fhu-info-line small { font-size: .73rem; color: #aab; display: block; margin-top: 1px; }

.fhu-card-links {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 10px;
}
.fhu-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-body);
    font-size: .75rem; font-weight: 500;
    color: var(--c-accent);
    background: rgba(37,150,190,.08);
    border: 1px solid rgba(37,150,190,.2);
    padding: 5px 12px; border-radius: 20px;
    text-decoration: none;
    transition: background .2s, border-color .2s;
}
.fhu-link:hover { background: rgba(37,150,190,.18); border-color: rgba(37,150,190,.45); }
.fhu-link.linkedin { color: #0A66C2; background: rgba(10,102,194,.08); border-color: rgba(10,102,194,.2); }
.fhu-link.linkedin:hover { background: rgba(10,102,194,.15); }
.fhu-link.disabled {
    color: #94a3b8;
    background: #eef2f6;
    border: 1px dashed #cbd5e1;
    cursor: default;
    font-style: italic;
}
.fhu-link i { font-size: 13px; }

.fhu-card-tags {
    display: flex; align-items: flex-start; gap: 8px;
    flex-wrap: wrap; margin-top: auto;
}
.fhu-card-tags > i { font-size: 14px; color: var(--c-text3); flex-shrink: 0; margin-top: 2px; }
.fhu-tags-list { display: flex; flex-wrap: wrap; gap: 5px; }
.fhu-tag {
    font-family: var(--font-body);
    font-size: .7rem; font-weight: 500;
    color: var(--c-light-text2);
    background: var(--c-light-bg2);
    border: 1px solid var(--c-light-border);
    padding: 3px 9px; border-radius: 20px;
}
.fhu-tag.more {
    color: var(--c-accent);
    background: rgba(37,150,190,.08);
    border-color: rgba(37,150,190,.18);
}

.fhu-pagination {
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; gap: 10px;
    margin-bottom: 20px;
}
.fhu-pagination-btn:first-child { justify-self: start; }
.fhu-pagination-btn:last-child { justify-self: end; }
.fhu-pagination-pages { justify-self: center; }
.fhu-pagination-btn {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-body);
    font-size: .82rem; font-weight: 500;
    color: var(--c-light-text);
    background: #fff;
    border: 1px solid var(--c-light-border);
    padding: 9px 18px; border-radius: 30px;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}
.fhu-pagination-btn:hover:not(:disabled) {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: #fff;
}
.fhu-pagination-btn:disabled { opacity: .4; cursor: not-allowed; }

.fhu-pagination-pages { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.fhu-page-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    font-family: var(--font-body);
    font-size: .82rem; font-weight: 500;
    color: var(--c-light-text2);
    background: #fff;
    border: 1px solid var(--c-light-border);
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}
.fhu-page-btn.active {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: #fff;
}
.fhu-page-btn:hover:not(.active) { background: var(--c-light-bg2); border-color: rgba(37,150,190,.3); }

.fhu-counter {
    text-align: center;
    font-family: var(--font-body);
    font-size: .82rem; color: var(--c-light-text2);
}

.reveal-fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal-fade-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
    .fhu-perimeter-grid { grid-template-columns: 1fr; gap: 48px; }
    .fhu-perimeter-visual { order: -1; }
    .fhu-governance-grid { grid-template-columns: 1fr; }
    .fhu-details-card { grid-template-columns: 1fr; }
    .fhu-details-img { min-height: 240px; }
    .fhu-details-text { padding: 22px 20px; }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 420px;
        padding: 5rem 0 5rem;
    }
    .hero-stage {
        padding: 0 1.2rem;
    }
    .hero-heading {
        font-size: 1.8rem;
    }
    .hero-nav {
        bottom: 20px;
    }
    .hero-progress {
        bottom: 44px;
    }
    .fhu2-tw {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        word-break: break-word;
    }
    .fhu2-ttl {
        overflow-wrap: break-word;
    }
    .fhu2-hero { height: auto; min-height: 420px; padding: 5rem 0 5rem; margin-bottom: 0; }
    .fhu2-stage { padding: 0 6%; }
    .fhu2-ttl  { font-size: 1.8rem; }
    .fhu2-hero-btns { flex-direction: row; align-items: center; justify-content: center; }
    .fhu2-hero-nav { bottom: 20px; left: 50%; transform: translateX(-50%); }
    .fhu2-sidx { right: 6%; bottom: 24px; }
    .fhu2-pbr { bottom: 44px; }
    .fhu-objectives-grid { grid-template-columns: 1fr; }
    .fhu-perimeter-section,
    .fhu-cards-grid { grid-template-columns: 1fr; }
    .fhu2-history-bg { background-attachment: scroll; display: none; }
    .fhu2-history-bg-mobile { display: block; background-attachment: scroll; }
}

@media (max-width: 480px) {
    .hero {
        min-height: 380px;
        padding: 4rem 0 4rem;
    }
    .hero-heading {
        font-size: 1.6rem;
    }
    .fhu2-ttl { font-size: 1.6rem; }
    .fhu2-hero-btns { flex-direction: column; align-items: center; gap: 10px; }
    .fhu2-hero-btn-primary, .fhu2-hero-btn-ghost { font-size: .8rem; padding: 11px 20px; }
    .fhu-legend { padding: 12px 16px; }

    .fhu-pagination {
        gap: 6px;
    }
    .fhu-pagination-btn {
        padding: 6px 10px;
    }
    .fhu-pagination-pages {
        flex-wrap: nowrap;
        gap: 4px;
    }
    .fhu-page-btn {
        width: 30px;
        height: 30px;
        font-size: .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-slide-img,
    .fhu2-sl, .fhu2-bg, .fhu2-pip,
    .fhu2-tw, .fhu2-ew, .fhu2-hero-desc,
    .fhu2-hero-btns,
    .fhu2-tl2-reveal, .reveal-fade-up,
    .fhu-card, .fhu-objective-card {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* 
   PAGE RECHERCHE – HERO
*/
.research-page-hero {
    position: relative;
    height: 25vh;
    min-height: 180px;
    max-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--header-h, 82px);
    overflow: hidden;
    background: #e8f0f5;
}
.research-page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: researchHeroPan 14s ease-in-out infinite;
}
@keyframes researchHeroPan {
    0%   { transform: scale(1);    background-position: center top; }
    20%  { transform: scale(1.08); background-position: center bottom; }
    40%  { transform: scale(1);    background-position: center center; }
    60%  { transform: scale(1.05); background-position: center top; }
    80%  { transform: scale(1);    background-position: center center; }
    100% { transform: scale(1);    background-position: center top; }
}
.research-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.25), rgba(255,255,255,0.5));
    z-index: 1;
}
.research-page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}
.research-page-hero-eyebrow {
    display: inline-block;
    padding: 0.35rem 1.4rem;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease 0.2s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.research-page-hero-eyebrow.visible {
    opacity: 1;
    transform: translateY(0);
}

.research-page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.3;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease 0.4s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.research-page-hero-title.visible {
    opacity: 1;
    transform: translateY(0);
}
.research-page-hero::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.08) 0%, transparent 50%);
    animation: lightSweep 8s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
}

/* STATS CAROUSEL */
.research-stats-section {
    padding: var(--section-padding) 0;
    background: #ffffff;
    overflow: hidden;
}

.research-stats-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 300px;
}

.research-stats-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.research-stat-card {
    position: absolute;
    width: 320px;
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.4;
    filter: blur(1px);
    z-index: 1;
    pointer-events: none;
}

.research-stat-card.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    filter: blur(0);
    z-index: 10;
    pointer-events: all;
    box-shadow: 0 20px 50px rgba(37, 150, 190, 0.12);
    border-color: rgba(37, 150, 190, 0.2);
}

.research-stat-card.prev {
    transform: translate(calc(-50% - 280px), -50%) scale(0.85);
    opacity: 0.8;
    filter: blur(0);
    z-index: 2;
}

.research-stat-card.next {
    transform: translate(calc(-50% + 280px), -50%) scale(0.85);
    opacity: 0.8;
    filter: blur(0);
    z-index: 2;
}

.research-stat-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.research-stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), #1e7f9a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.5s ease;
}

.research-stat-card.active .research-stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
}

.research-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a2b3c;
    line-height: 1;
    transition: all 0.5s ease;
}

.research-stat-card.active .research-stat-number {
    font-size: 3.5rem;
}

.research-stat-label {
    font-size: 0.9rem;
    color: #5a6b7c;
    font-weight: 500;
}

.research-section {
  padding: var(--section-padding) 0;
  position: relative;
}

.research-bg {
    position: absolute;
    inset: 0;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
.research-overlay {
  position: absolute;
  inset: 0;
  background: hwb(210 20% 51%);
}

.research-container {
  position: relative;
  z-index: 1;
}

/* En-tête */
.research-head { text-align: center; margin-bottom: 3.5rem; }

.research-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5ec8ea;
  background: rgba(37, 150, 190, 0.15);
  border: 0.5px solid rgba(37, 150, 190, 0.4);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.research-head-title {
    font-size: clamp(1.2rem, 2.5vw, 2rem); 
    font-weight: 500;
    color: #ffffff;
    margin: 0 auto;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%; 
    padding: 0 1rem; 
}

/* Grille */
.research-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Carte */
.research-card-new {
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: background .25s, border-color .25s, transform .25s;
}

.research-card-new:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

/* Barre colorée en haut */
.research-card-new::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.research-card-new:nth-child(1)::before { background: #2596be; }
.research-card-new:nth-child(2)::before { background: #db5d46; }
.research-card-new:nth-child(3)::before { background: #305c72; }

/* Numéro décoratif */
.research-card-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  position: absolute;
  bottom: 1.25rem;
  right: 1.5rem;
  letter-spacing: -.02em;
  pointer-events: none;
}

.research-card-new h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
}

.research-card-new p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  line-height: 1.7;
  text-align: justify;
}

/* CTA */
.research-cta { text-align: center; }

.research-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #5ec8ea;
  background: rgba(37, 150, 190, 0.12);
  border: 0.5px solid rgba(37, 150, 190, 0.4);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

.research-cta-btn:hover {
  background: rgba(37, 150, 190, 0.22);
  border-color: rgba(37, 150, 190, 0.7);
  color: #5ec8ea;
}

.research-cta-btn svg { flex-shrink: 0; }

@media (max-width: 768px) {
    .research-head { margin-bottom: 2rem; }
    .research-head-title {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        word-break: break-word;
    }

    /* Le grand chiffre décoratif chevauche le texte sur petit écran : masqué */
    .research-card-number { display: none; }
}

[data-theme="dark"] .rx-context-text p,
[data-theme="dark"] .rx-wp-lead,
[data-theme="dark"] .rx-wp-objs li,
[data-theme="dark"] .rx-method-card p,
[data-theme="dark"] .rx-method-head p,
[data-theme="dark"] .rx-program-head p,
[data-theme="dark"] .rx-fact-txt {
    color: var(--text-secondary, #cbd5e1) !important;
}

[data-theme="dark"] .rx-context-head h2,
[data-theme="dark"] .rx-program-head h2,
[data-theme="dark"] .rx-method-head h2,
[data-theme="dark"] .rx-method-card h3,
[data-theme="dark"] .rx-fact-txt strong {
    color: var(--text-primary, #e2e8f0) !important;
}

[data-theme="dark"] .rx-wp,
[data-theme="dark"] .rx-method-card {
    background: var(--surface, #111827) !important;
    border-color: var(--border-default, rgba(148,163,184,0.24)) !important;
}

[data-theme="dark"] .rx-context-aside {
    background: linear-gradient(160deg, var(--surface-soft, #1f2937) 0%, var(--surface, #111827) 100%) !important;
    border-color: var(--border-default) !important;
}

[data-theme="dark"] .rx-program {
    background: var(--surface-soft, #1f2937) !important;
}

[data-theme="dark"] .rx-wp-sub {
    color: var(--text-muted, #94a3b8) !important;
}