/* ══════════════════════════════════════════════════════════════════════════
   HORIZON CONSEIL — WIDGETS CSS
   Styles pour les widgets Elementor personnalisés.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 1. HERO WIDGET ─────────────────────────────────────────────────────── */
.hc-hero-widget {
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hc-hero-widget .hc-container {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hc-hero-widget__inner {
    max-width: 720px;
}

.hc-hero-widget__kicker {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--hc-accent, #3095d1);
    margin-bottom: 1.25rem;
    opacity: .9;
}

.hc-hero-widget__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 1.5rem;
    letter-spacing: -.02em;
}

.hc-hero-widget__desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255,255,255,.8);
    margin: 0 0 2.5rem;
    max-width: 600px;
}

.hc-hero-widget__actions {
    display: flex;
    gap: .875rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ── 2. PATHWAY WIDGET ──────────────────────────────────────────────────── */
.hc-pathway-widget {
    position: relative;
}

.hc-pathway-widget--navy {
    background: var(--hc-primary, #011c49);
}

.hc-pathway-widget--tint {
    background: #f0f5fb;
}

.hc-pathway-widget__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--hc-space-16, 4rem);
}

.hc-pathway-widget--navy .hc-pathway-widget__title,
.hc-pathway-widget--navy .hc-pathway-widget__desc {
    color: rgba(255,255,255,.9);
}

.hc-pathway-widget__title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    margin: .75rem 0 1rem;
    letter-spacing: -.02em;
}

.hc-pathway-widget__desc {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255,255,255,.7);
}

.hc-pathway-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    position: relative;
}

.hc-pathway-step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hc-pathway-step__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--hc-accent, #3095d1);
    line-height: 1;
    opacity: .9;
}

.hc-pathway-step__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -.01em;
}

.hc-pathway-widget--tint .hc-pathway-step__title,
.hc-pathway-widget .hc-pathway-step__title:not(.hc-pathway-widget--navy .hc-pathway-step__title) {
    color: var(--hc-primary, #011c49);
}

.hc-pathway-step__desc {
    font-size: .875rem;
    line-height: 1.65;
    color: rgba(255,255,255,.65);
    margin: 0;
}

.hc-pathway-widget--tint .hc-pathway-step__desc {
    color: var(--hc-text-light, #5a6478);
}

.hc-pathway-step__arrow {
    position: absolute;
    right: -1.25rem;
    top: .5rem;
    font-size: 1.25rem;
    color: var(--hc-accent, #3095d1);
    opacity: .6;
}

/* ── 3. SECTORS PILLS SLIDER ────────────────────────────────────────────── */
.hc-sectors-widget {
    overflow: hidden;
}

.hc-sectors-widget--tint {
    background: #f0f5fb;
}

.hc-sectors-widget--navy {
    background: var(--hc-primary, #011c49);
}

.hc-sectors-widget--white {
    background: #fff;
}

.hc-sectors-widget__header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto var(--hc-space-12, 3rem);
}

.hc-sectors-widget__title {
    font-size: clamp(1.625rem, 3vw, 2.125rem);
    font-weight: 700;
    margin: .625rem 0 .875rem;
    letter-spacing: -.02em;
    color: var(--hc-primary, #011c49);
}

.hc-sectors-widget--navy .hc-sectors-widget__title {
    color: #fff;
}

.hc-sectors-widget__desc {
    font-size: .9375rem;
    line-height: 1.7;
    color: var(--hc-text-light, #5a6478);
    margin: 0;
}

.hc-sectors-widget--navy .hc-sectors-widget__desc {
    color: rgba(255,255,255,.7);
}

/* Slider container */
.hc-sectors-slider {
    position: relative;
    overflow: hidden;
}

.hc-sectors-slider::before,
.hc-sectors-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.hc-sectors-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--hc-fade-from, #f0f5fb), transparent);
}

.hc-sectors-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--hc-fade-from, #f0f5fb), transparent);
}

.hc-sectors-widget--white .hc-sectors-slider::before,
.hc-sectors-widget--white .hc-sectors-slider::after {
    --hc-fade-from: #fff;
}

.hc-sectors-widget--navy .hc-sectors-slider::before,
.hc-sectors-widget--navy .hc-sectors-slider::after {
    --hc-fade-from: var(--hc-primary, #011c49);
}

/* Rangée marquee */
.hc-marquee-row {
    overflow: hidden;
    margin-bottom: .75rem;
}

.hc-marquee-row:last-child {
    margin-bottom: 0;
}

/* Animation infinie */
@keyframes hc-marquee-fwd {
    from { transform: translateX(0); }
    to   { transform: translateX(-33.333%); }
}

@keyframes hc-marquee-rev {
    from { transform: translateX(-33.333%); }
    to   { transform: translateX(0); }
}

.hc-marquee-track {
    display: flex;
    gap: .625rem;
    width: max-content;
    animation: hc-marquee-fwd 25s linear infinite;
    will-change: transform;
}

.hc-marquee-row--reverse .hc-marquee-track {
    animation: hc-marquee-rev 25s linear infinite;
}

/* Pause au survol */
.hc-sectors-slider:hover .hc-marquee-track {
    animation-play-state: paused;
}

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
    .hc-marquee-track {
        animation: none;
    }
}

/* Pill buttons */
.hc-sectors-pill {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: .5rem 1.25rem;
    border-radius: 100px;
    font-size: .875rem;
    font-weight: 500;
    font-family: var(--hc-font, 'Inter', sans-serif);
    letter-spacing: .01em;
    cursor: default;
    transition: all .2s;
    text-decoration: none;
    flex-shrink: 0;
}

a.hc-sectors-pill {
    cursor: pointer;
}

a.hc-sectors-pill:hover {
    transform: translateY(-2px);
}

/* Style outline (défaut) */
.hc-sectors-pill--outline {
    background: transparent;
    border: 1.5px solid rgba(1, 28, 73, .25);
    color: var(--hc-primary, #011c49);
}

.hc-sectors-pill--outline:hover {
    border-color: var(--hc-accent, #3095d1);
    color: var(--hc-accent, #3095d1);
    background: rgba(48, 149, 209, .05);
}

/* Style navy background */
.hc-sectors-widget--navy .hc-sectors-pill--outline {
    border-color: rgba(255,255,255,.25);
    color: rgba(255,255,255,.85);
}

.hc-sectors-widget--navy .hc-sectors-pill--outline:hover {
    border-color: var(--hc-accent, #3095d1);
    color: #fff;
}

/* Style filled */
.hc-sectors-pill--filled {
    background: var(--hc-primary, #011c49);
    border: 1.5px solid transparent;
    color: #fff;
}

.hc-sectors-pill--filled:hover {
    background: var(--hc-accent, #3095d1);
}

/* Style ghost */
.hc-sectors-pill--ghost {
    background: rgba(1, 28, 73, .06);
    border: 1.5px solid transparent;
    color: var(--hc-primary, #011c49);
}

.hc-sectors-pill--ghost:hover {
    background: rgba(48, 149, 209, .1);
    color: var(--hc-accent, #3095d1);
}

/* ── 4. SERVICES WIDGET ─────────────────────────────────────────────────── */
.hc-services-widget__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--hc-space-12, 3rem);
}

.hc-services-widget__title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    margin: .75rem 0 1rem;
    letter-spacing: -.02em;
    color: var(--hc-primary, #011c49);
}

.hc-services-widget--navy .hc-services-widget__title {
    color: #fff;
}

.hc-services-widget__desc {
    font-size: .9375rem;
    line-height: 1.7;
    color: var(--hc-text-light, #5a6478);
}

.hc-services-widget--navy {
    background: var(--hc-primary, #011c49);
}

.hc-services-widget--tint {
    background: #f0f5fb;
}

/* Carte service */
.hc-card--service {
    padding: 2rem;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: var(--hc-radius, 12px);
    transition: all .25s;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hc-card--service:hover {
    border-color: var(--hc-accent, #3095d1);
    box-shadow: 0 8px 32px rgba(1,28,73,.1);
    transform: translateY(-4px);
}

.hc-services-widget--navy .hc-card--service {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.12);
}

.hc-services-widget--navy .hc-card--service:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--hc-accent, #3095d1);
}

.hc-card__icon {
    font-size: 2rem;
    line-height: 1;
}

.hc-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0;
    color: var(--hc-primary, #011c49);
    letter-spacing: -.01em;
}

.hc-card__title a {
    color: inherit;
    text-decoration: none;
}

.hc-card__title a:hover {
    color: var(--hc-accent, #3095d1);
}

.hc-services-widget--navy .hc-card__title {
    color: #fff;
}

.hc-card__subtitle {
    font-size: .875rem;
    color: var(--hc-text-light, #5a6478);
    margin: 0;
    line-height: 1.55;
}

.hc-services-widget--navy .hc-card__subtitle {
    color: rgba(255,255,255,.6);
}

.hc-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    flex: 1;
}

.hc-card__list li {
    font-size: .8125rem;
    color: var(--hc-text-light, #5a6478);
    padding-left: 1.1rem;
    position: relative;
}

.hc-card__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--hc-accent, #3095d1);
}

.hc-services-widget--navy .hc-card__list li {
    color: rgba(255,255,255,.6);
}

.hc-card__link {
    display: inline-flex;
    align-items: center;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--hc-accent, #3095d1);
    text-decoration: none;
    transition: gap .2s;
    gap: .25rem;
    margin-top: auto;
}

.hc-card__link:hover {
    gap: .5rem;
}

/* ── 5. PROJETS WIDGET ──────────────────────────────────────────────────── */
.hc-projets-widget__header {
    margin-bottom: var(--hc-space-12, 3rem);
}

.hc-projets-widget__header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.hc-projets-widget__title {
    font-size: clamp(1.75rem, 3vw, 2.125rem);
    font-weight: 700;
    margin: .5rem 0 0;
    letter-spacing: -.02em;
    color: var(--hc-primary, #011c49);
}

/* Carte projet */
.hc-card--projet {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: var(--hc-radius, 12px);
    overflow: hidden;
    transition: all .25s;
    display: flex;
    flex-direction: column;
}

.hc-card--projet:hover {
    box-shadow: 0 8px 32px rgba(1,28,73,.1);
    transform: translateY(-4px);
    border-color: var(--hc-accent, #3095d1);
}

.hc-card__img-wrap {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.hc-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.hc-card--projet:hover .hc-card__img {
    transform: scale(1.04);
}

.hc-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    flex: 1;
}

.hc-card__meta {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    align-items: center;
}

.hc-card__year {
    font-size: .75rem;
    color: var(--hc-text-light, #5a6478);
    margin-left: auto;
}

.hc-card__excerpt {
    font-size: .875rem;
    line-height: 1.6;
    color: var(--hc-text-light, #5a6478);
    margin: 0;
    flex: 1;
}

/* ── 6. BLOG WIDGET ─────────────────────────────────────────────────────── */
.hc-blog-widget__header {
    margin-bottom: var(--hc-space-12, 3rem);
}

.hc-blog-widget__header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.hc-blog-widget__title {
    font-size: clamp(1.75rem, 3vw, 2.125rem);
    font-weight: 700;
    margin: .5rem 0 0;
    letter-spacing: -.02em;
    color: var(--hc-primary, #011c49);
}

/* Swiper overrides */
.hc-projets-swiper,
.hc-blog-swiper {
    overflow: visible;
    padding-bottom: 2rem;
}

.hc-projets-swiper .swiper-button-prev,
.hc-projets-swiper .swiper-button-next {
    color: var(--hc-primary, #011c49);
    background: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(1,28,73,.15);
}

.hc-projets-swiper .swiper-button-prev::after,
.hc-projets-swiper .swiper-button-next::after {
    font-size: .875rem;
    font-weight: 700;
}

.hc-blog-swiper .swiper-pagination-bullet {
    background: var(--hc-primary, #011c49);
    opacity: .3;
}

.hc-blog-swiper .swiper-pagination-bullet-active {
    background: var(--hc-accent, #3095d1);
    opacity: 1;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
    .hc-pathway-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .hc-pathway-step__arrow {
        display: none;
    }
}

@media (max-width: 767px) {
    .hc-hero-widget__title {
        font-size: 2rem;
    }

    .hc-hero-widget .hc-container {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hc-pathway-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hc-projets-widget__header-row,
    .hc-blog-widget__header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .hc-sectors-slider::before,
    .hc-sectors-slider::after {
        width: 40px;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   NOUVELLE BIBLIOTHÈQUE DE WIDGETS (.hc-w-*)
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Shared ─────────────────────────────────────────────────────────────── */
.hc-kicker {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #3095d1;
    margin-bottom: .5rem;
}

/* ── HC Hero Premium ─────────────────────────────────────────────────────── */
.hc-w-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.hc-w-hero--content-image,
.hc-w-hero--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.hc-w-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(1,28,73,.55);
    pointer-events: none;
}
.hc-w-hero__content { position: relative; z-index: 1; }
.hc-w-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hc-w-hero__btn-primary,
.hc-w-hero__btn-secondary {
    display: inline-block;
    padding: .75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s;
}
.hc-w-hero__btn-primary  { background: #3095d1; color: #fff; }
.hc-w-hero__btn-secondary{ background: transparent; color: #fff; border: 2px solid #fff; }
.hc-w-hero__media { display: flex; align-items: center; justify-content: center; }
.hc-w-hero__img   { width: 100%; height: auto; border-radius: 8px; }
.hc-w-hero__breadcrumb { font-size: .8rem; opacity: .75; margin-bottom: 1rem; }
.hc-w-hero__breadcrumb a { color: inherit; text-decoration: none; }

/* ── HC Section Heading ──────────────────────────────────────────────────── */
.hc-w-heading__sep {
    width: 60px;
    height: 3px;
    background: #3095d1;
    margin-top: 1rem;
    display: block;
}

/* ── HC Positioning Cards ────────────────────────────────────────────────── */
.hc-w-pos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.hc-w-pos__card {
    padding: 2rem;
    border-radius: 8px;
    background: #fff;
    transition: transform .25s, box-shadow .25s;
}
.hc-w-pos__card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.hc-w-pos__icon  { font-size: 2rem; margin-bottom: 1rem; display: block; }
.hc-w-pos__title { margin: 0 0 .5rem; font-size: 1.1rem; font-weight: 700; }
.hc-w-pos__link  { color: #3095d1; text-decoration: none; font-weight: 600; }

/* ── HC Investment Pathway™ ──────────────────────────────────────────────── */
.hc-w-pathway--cards .hc-w-pathway__steps,
.hc-w-pathway--horizontal .hc-w-pathway__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 1.5rem;
}
.hc-w-pathway--vertical .hc-w-pathway__steps   { display: flex; flex-direction: column; gap: 1.5rem; }
.hc-w-pathway--steps .hc-w-pathway__steps      { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hc-w-pathway__step  { position: relative; padding: 2rem; border-radius: 8px; background: #fff; }
.hc-w-pathway__num   { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #011c49; color: #fff; font-weight: 700; margin-bottom: 1rem; }
.hc-w-pathway__connector { position: absolute; right: -1.5rem; top: 50%; transform: translateY(-50%); width: 1.5rem; height: 3px; background: #3095d1; }
.hc-w-pathway__header { margin-bottom: 3rem; }

/* ── HC Sectors Marquee ──────────────────────────────────────────────────── */
.hc-w-marquee-wrap { overflow: hidden; position: relative; }
.hc-w-marquee-wrap--fade::before,
.hc-w-marquee-wrap--fade::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.hc-w-marquee-wrap--fade::before { left: 0;  background: linear-gradient(to right, var(--hc-marquee-fade, #fff) 0%, transparent 100%); }
.hc-w-marquee-wrap--fade::after  { right: 0; background: linear-gradient(to left,  var(--hc-marquee-fade, #fff) 0%, transparent 100%); }
.hc-w-marquee-row   { display: flex; }
.hc-w-marquee-track {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 12px;
    animation: hc-marquee-fwd var(--hc-marquee-speed, 30s) linear infinite;
}
.hc-w-marquee-row--rev .hc-w-marquee-track { animation-name: hc-marquee-rev; }
@keyframes hc-marquee-fwd { from { transform: translateX(0);    } to { transform: translateX(-50%); } }
@keyframes hc-marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0);    } }
.hc-w-pill {
    display: inline-flex; align-items: center; gap: .4em;
    padding: .4em 1em; border-radius: 50px;
    background: #f0f4f8; color: #011c49;
    white-space: nowrap; font-size: .875rem; font-weight: 600;
    text-decoration: none; cursor: default;
    border: 1px solid transparent;
    transition: background .2s, color .2s, border-color .2s;
}
.hc-w-pill--featured { background: #011c49; color: #fff; }
.hc-w-pill--muted    { opacity: .45; }
.hc-w-marquee__header { margin-bottom: 2rem; }

/* ── HC Services Slider / Grid ───────────────────────────────────────────── */
.hc-w-svc-card,
.hc-w-sg__card {
    display: flex; flex-direction: column;
    padding: 2rem; border-radius: 8px; background: #fff;
    transition: transform .25s, box-shadow .25s;
    height: 100%;
}
.hc-w-svc-card:hover,
.hc-w-sg__card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.hc-w-svc-card__icon,
.hc-w-sg__icon { font-size: 2rem; margin-bottom: 1rem; }
.hc-w-svc-card__title,
.hc-w-sg__title { font-size: 1.1rem; font-weight: 700; margin: 0 0 .5rem; }
.hc-w-svc-card__list,
.hc-w-sg__list { list-style: none; padding: 0; margin: .5rem 0 1rem; }
.hc-w-svc-card__list li,
.hc-w-sg__list li { display: flex; align-items: baseline; gap: .5rem; }
.hc-w-svc-card__list li::before,
.hc-w-sg__list li::before {
    content: '';
    display: inline-block;
    flex-shrink: 0;
    width: .85em;
    height: .85em;
    background-color: #3095d1;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}
.hc-w-svc-card__btn,
.hc-w-sg__btn {
    display: inline-block; margin-top: auto;
    padding: .6rem 1.25rem; border-radius: 4px;
    background: #3095d1; color: #fff; text-decoration: none;
    font-weight: 600; transition: background .2s;
}
.hc-w-sg__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.hc-w-swiper { overflow: hidden; position: relative; }

/* ── HC Projects Slider / Grid ───────────────────────────────────────────── */
.hc-w-pj-card,
.hc-w-pg__card {
    border-radius: 8px; background: #fff; overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.hc-w-pj-card:hover,
.hc-w-pg__card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.hc-w-pj-card__img-wrap,
.hc-w-pg__img-wrap { height: 200px; overflow: hidden; }
.hc-w-pj-card__img-wrap img,
.hc-w-pg__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hc-w-pj-card:hover .hc-w-pj-card__img-wrap img,
.hc-w-pg__card:hover .hc-w-pg__img-wrap img { transform: scale(1.04); }
.hc-w-pj-card__body,
.hc-w-pg__body { padding: 1.5rem; }
.hc-w-pj-card__sector,
.hc-w-pg__sector {
    display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: #3095d1; margin-bottom: .5rem;
    width: fit-content; align-self: flex-start;
}
.hc-w-pj-card__title,
.hc-w-pg__title { font-size: 1.05rem; font-weight: 700; margin: 0 0 .5rem; }
.hc-w-pj-card__btn,
.hc-w-pg__btn {
    display: inline-block; margin-top: 1rem;
    color: #3095d1; font-weight: 600; text-decoration: none;
}
.hc-w-pg__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.hc-w-pg__filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.hc-w-pg__filter-btn {
    padding: .4rem 1rem; border-radius: 50px;
    border: 1px solid #ddd; background: #f5f5f5; cursor: pointer; font-size: .875rem;
    transition: background .2s, color .2s, border-color .2s;
}
.hc-w-pg__filter-btn.is-active { background: #011c49; color: #fff; border-color: #011c49; }

/* ── HC Blog Slider / Grid ───────────────────────────────────────────────── */
.hc-w-bl-card,
.hc-w-bg__card { border-radius: 8px; background: #fff; overflow: hidden; transition: box-shadow .25s; }
.hc-w-bl-card:hover,
.hc-w-bg__card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.hc-w-bl-card__img-wrap,
.hc-w-bg__img-wrap { height: 180px; overflow: hidden; }
.hc-w-bl-card__img-wrap img,
.hc-w-bg__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hc-w-bl-card__body,
.hc-w-bg__body { padding: 1.5rem; }
.hc-w-bl-card__cat,
.hc-w-bg__cat {
    display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: #3095d1; margin-bottom: .25rem;
}
.hc-w-bl-card__date,
.hc-w-bg__date { display: block; font-size: .8rem; color: #888; margin-bottom: .5rem; }
.hc-w-bl-card__title a,
.hc-w-bg__title a { color: inherit; text-decoration: none; }
.hc-w-bl-card__btn,
.hc-w-bg__btn { display: inline-block; margin-top: 1rem; color: #3095d1; font-weight: 600; text-decoration: none; }
.hc-w-bg__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ── HC CTA Block ────────────────────────────────────────────────────────── */
.hc-w-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; padding: 3rem; border-radius: 8px; background: #011c49; }
.hc-w-cta--centered { align-items: center; text-align: center; }
.hc-w-cta--split    { flex-direction: row; align-items: center; justify-content: space-between; }
.hc-w-cta--compact  { flex-direction: row; align-items: center; gap: 1.5rem; padding: 1.5rem 2rem; }
.hc-w-cta__title    { color: #fff; margin: 0 0 .75rem; }
.hc-w-cta__desc     { color: rgba(255,255,255,.8); }
.hc-w-cta__actions  { display: flex; gap: 1rem; flex-wrap: wrap; }
.hc-w-cta__btn-primary  { display: inline-block; padding: .75rem 1.5rem; border-radius: 4px; background: #3095d1; color: #fff; text-decoration: none; font-weight: 600; }
.hc-w-cta__btn-secondary{ display: inline-block; padding: .75rem 1.5rem; border-radius: 4px; border: 2px solid rgba(255,255,255,.6); color: #fff; text-decoration: none; font-weight: 600; }

/* ── HC Director Message ─────────────────────────────────────────────────── */
.hc-w-dm {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}
.hc-w-dm--portrait-right { direction: rtl; }
.hc-w-dm--portrait-right > * { direction: ltr; }
.hc-w-dm--portrait-top  { grid-template-columns: 1fr; text-align: center; }
.hc-w-dm--portrait-top .hc-w-dm__portrait { margin: 0 auto 2rem; }
.hc-w-dm__portrait img { width: 100%; border-radius: 8px; }
.hc-w-dm__quote {
    font-size: 1.25rem; font-style: italic; font-weight: 600;
    border-left: 4px solid #3095d1; padding-left: 1.25rem;
    margin: 0 0 1.5rem; color: #011c49;
}
.hc-w-dm__name { font-weight: 700; margin: 0; }
.hc-w-dm__function { color: #3095d1; font-size: .875rem; margin: .25rem 0 0; }
.hc-w-dm__signature { max-width: 140px; margin-bottom: .75rem; }
.hc-w-dm__attribution { margin-top: 1.5rem; }

/* ── HC Values Block ─────────────────────────────────────────────────────── */
.hc-w-val__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.hc-w-val__card { padding: 1.5rem; border-radius: 8px; background: #fff; transition: transform .25s; }
.hc-w-val__card:hover { transform: translateY(-4px); }
.hc-w-val__icon  { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.hc-w-val__title { font-weight: 700; margin: 0 0 .5rem; }

/* ── HC Jobs Grid ────────────────────────────────────────────────────────── */
.hc-w-jg__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.hc-w-jg__card {
    padding: 1.5rem; border-radius: 8px; background: #fff;
    border-left: 4px solid #3095d1;
}
.hc-w-jg__card--closed { border-left-color: #ccc; opacity: .7; }
.hc-w-jg__badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.hc-w-jg__badge {
    display: inline-block; padding: .2rem .6rem; border-radius: 4px;
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    background: #e8f4fd; color: #3095d1;
}
.hc-w-jg__badge-status { background: #f0f0f0; color: #888; }
.hc-w-jg__title { font-size: 1.05rem; font-weight: 700; margin: 0 0 .5rem; }
.hc-w-jg__btn {
    display: inline-block; margin-top: 1rem;
    padding: .5rem 1.25rem; border-radius: 4px;
    background: #011c49; color: #fff; text-decoration: none; font-weight: 600;
}

/* ── HC Contact Info ─────────────────────────────────────────────────────── */
.hc-w-ci__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.hc-w-ci--horizontal .hc-w-ci__list { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
.hc-w-ci--horizontal .hc-w-ci__item { flex: 1; min-width: 180px; }
.hc-w-ci__item { display: flex; align-items: flex-start; gap: .75rem; }
.hc-w-ci__icon { font-size: 1.25rem; flex-shrink: 0; }
.hc-w-ci__label { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #888; }
.hc-w-ci__value { display: block; font-size: .95rem; }
.hc-w-ci__value a { color: inherit; text-decoration: none; }
.hc-w-ci__value a:hover { color: #3095d1; }

/* ── HC Contact Form Block ───────────────────────────────────────────────── */
.hc-w-cfb { }
.hc-w-cfb__header { margin-bottom: 2rem; }
.hc-w-cfb--split .hc-w-cfb__body {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start;
}
.hc-w-cfb__form-wrap { }

/* ── HC Page Title ───────────────────────────────────────────────────────── */
.hc-w-pt {
    display: flex; flex-direction: column; justify-content: center;
    padding: 4rem 0 3rem;
}
.hc-w-pt__breadcrumb { font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.hc-w-pt__breadcrumb a { color: inherit; text-decoration: none; }
.hc-w-pt__breadcrumb a:hover { color: #fff; }

/* ── HC Stats ────────────────────────────────────────────────────────────── */
.hc-w-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.hc-w-stats--dividers .hc-w-stats__item + .hc-w-stats__item {
    border-left: 1px solid rgba(0,0,0,.1);
    padding-left: 2rem;
}
.hc-w-stats__number { font-size: 2.5rem; font-weight: 800; color: #3095d1; line-height: 1; }
.hc-w-stats__suffix { font-size: 1.2rem; }
.hc-w-stats__label  { font-weight: 600; margin-top: .4rem; }
.hc-w-stats__desc   { font-size: .8rem; color: #888; }
.hc-w-stats__icon   { font-size: 2rem; margin-bottom: .5rem; }

/* ── HC Filters Bar ──────────────────────────────────────────────────────── */
.hc-w-fb__list { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.hc-w-fb__btn {
    padding: .4rem 1rem; border-radius: 50px; cursor: pointer;
    border: 1px solid #ddd; background: #f5f5f5; font-size: .875rem;
    transition: background .2s, color .2s, border-color .2s;
}
.hc-w-fb__btn.is-active { background: #011c49; color: #fff; border-color: #011c49; }
.hc-w-fb__select {
    padding: .5rem 1rem; border-radius: 4px;
    border: 1px solid #ddd; font-size: .875rem; background: #fff;
}

/* ── HC Coming Soon ──────────────────────────────────────────────────────── */
.hc-w-cs {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 4rem 2rem; min-height: 100vh;
    justify-content: center; gap: 2rem;
}
.hc-w-cs__logo { max-width: 160px; height: auto; }
.hc-w-cs__countdown { display: flex; gap: 1.5rem; }
.hc-w-cs__cd-item {
    display: flex; flex-direction: column; align-items: center;
    background: rgba(255,255,255,.1); padding: 1rem 1.5rem; border-radius: 8px; min-width: 80px;
}
.hc-w-cs__cd-value { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.hc-w-cs__cd-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; margin-top: .25rem; }
.hc-w-cs__newsletter { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 480px; }
.hc-w-cs__nl-input { flex: 1; padding: .75rem 1rem; border-radius: 4px; border: 1px solid #ddd; font-size: 1rem; }
.hc-w-cs__nl-btn {
    padding: .75rem 1.5rem; border-radius: 4px;
    background: #3095d1; color: #fff; border: none; font-weight: 700; cursor: pointer;
}
.hc-w-cs__social { display: flex; gap: 1rem; }
.hc-w-cs__social-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem; border-radius: 50%;
    background: rgba(255,255,255,.15); text-decoration: none;
    font-weight: 700; transition: background .2s;
}
.hc-w-cs__social-link:hover { background: rgba(255,255,255,.3); }

/* ── HC Maintenance ──────────────────────────────────────────────────────── */
.hc-w-mn {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 4rem 2rem; gap: 1.5rem; min-height: 100vh;
    justify-content: center;
}
.hc-w-mn__logo { max-width: 160px; height: auto; }
.hc-w-mn__icon { font-size: 4rem; }
.hc-w-mn__contact { display: flex; flex-direction: column; gap: .5rem; }
.hc-w-mn__contact-link { color: #3095d1; text-decoration: none; font-weight: 600; }
.hc-w-mn__back-btn {
    display: inline-block; padding: .6rem 1.25rem; border-radius: 4px;
    border: 1px solid #ddd; font-size: .875rem; text-decoration: none; color: #555;
}

/* ── HC Sidebar ──────────────────────────────────────────────────────────── */
.hc-w-sb { display: flex; flex-direction: column; gap: 1.5rem; }
.hc-w-sb__block { padding: 1.5rem; border-radius: 8px; background: #f8f9fa; }
.hc-w-sb__block-title { font-size: 1rem; font-weight: 700; margin: 0 0 1rem; }
.hc-w-sb__post-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem; }
.hc-w-sb__post-item { display: flex; gap: .75rem; align-items: center; }
.hc-w-sb__post-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; }
.hc-w-sb__post-title { font-size: .875rem; font-weight: 600; text-decoration: none; color: inherit; }
.hc-w-sb__post-date  { font-size: .75rem; color: #888; }
.hc-w-sb__cat-list { list-style: none; padding: 0; margin: 0; }
.hc-w-sb__cat-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: .35rem 0; border-bottom: 1px solid #eee;
}
.hc-w-sb__cat-item a { text-decoration: none; color: inherit; font-size: .9rem; }
.hc-w-sb__cat-count  { font-size: .75rem; color: #888; }
.hc-w-sb__service-list { list-style: none; padding: 0; margin: 0; }
.hc-w-sb__service-list li { padding: .35rem 0; border-bottom: 1px solid #eee; }
.hc-w-sb__service-list a { text-decoration: none; color: inherit; font-size: .9rem; }
.hc-w-sb__cta {
    padding: 1.75rem; border-radius: 8px;
    background: #011c49; color: #fff; text-align: center;
}
.hc-w-sb__cta-icon  { font-size: 2rem; margin-bottom: .75rem; }
.hc-w-sb__cta-title { color: #fff; margin: 0 0 .5rem; font-size: 1rem; font-weight: 700; }
.hc-w-sb__cta-desc  { color: rgba(255,255,255,.75); font-size: .875rem; margin-bottom: 1rem; }
.hc-w-sb__cta-btn {
    display: inline-block; padding: .6rem 1.25rem; border-radius: 4px;
    background: #3095d1; color: #fff; text-decoration: none;
    font-weight: 700; font-size: .875rem;
}

/* ── Swiper Navigation ───────────────────────────────────────────────────── */
.swiper-button-next,
.swiper-button-prev {
    width: 2.5rem; height: 2.5rem;
    border-radius: 50%; background: rgba(1,28,73,.85);
    color: #fff !important;
}
.swiper-button-next::after,
.swiper-button-prev::after { font-size: .9rem !important; }
.swiper-pagination-bullet        { background: #011c49; }
.swiper-pagination-bullet-active { background: #3095d1; }

/* ── Pagination native WP ────────────────────────────────────────────────── */
.page-numbers { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2rem; padding: 0; list-style: none; }
.page-numbers li a,
.page-numbers li span {
    display: inline-block; padding: .4rem .85rem; border-radius: 4px;
    border: 1px solid #ddd; font-size: .875rem; text-decoration: none; color: inherit;
}
.page-numbers li .current { background: #011c49; color: #fff; border-color: #011c49; }

/* ── Responsive new widgets ──────────────────────────────────────────────── */
@media (max-width: 1023px) {
    .hc-w-hero--content-image,
    .hc-w-hero--split        { grid-template-columns: 1fr; }
    .hc-w-pos__grid          { grid-template-columns: repeat(2, 1fr); }
    .hc-w-val__grid          { grid-template-columns: repeat(2, 1fr); }
    .hc-w-stats__grid        { grid-template-columns: repeat(2, 1fr); }
    .hc-w-sg__grid           { grid-template-columns: repeat(2, 1fr); }
    .hc-w-pg__grid           { grid-template-columns: repeat(2, 1fr); }
    .hc-w-bg__grid           { grid-template-columns: repeat(2, 1fr); }
    .hc-w-jg__grid           { grid-template-columns: 1fr; }
    .hc-w-dm                 { grid-template-columns: 1fr; }
    .hc-w-cta--split         { flex-direction: column; }
    .hc-w-pathway--horizontal .hc-w-pathway__steps { grid-template-columns: repeat(2, 1fr); }
    .hc-w-cfb--split .hc-w-cfb__body { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .hc-w-pos__grid    { grid-template-columns: 1fr; }
    .hc-w-val__grid    { grid-template-columns: 1fr; }
    .hc-w-stats__grid  { grid-template-columns: repeat(2, 1fr); }
    .hc-w-sg__grid     { grid-template-columns: 1fr; }
    .hc-w-pg__grid     { grid-template-columns: 1fr; }
    .hc-w-bg__grid     { grid-template-columns: 1fr; }
    .hc-w-cs__countdown{ gap: .75rem; }
    .hc-w-cs__cd-item  { padding: .75rem 1rem; min-width: 60px; }
    .hc-w-cs__cd-value { font-size: 1.75rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   AMÉLIORATIONS PREMIUM WIDGETS v2
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Base card premium — règle partagée ────────────────────────────────── */
.hc-w-svc-card,
.hc-w-sg__card,
.hc-w-pj-card,
.hc-w-pg__card,
.hc-w-bl-card,
.hc-w-bg__card,
.hc-w-val__card,
.hc-w-pos__card,
.hc-w-jg__card {
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.07);
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 1px 3px rgba(1,28,73,0.04);
}
.hc-w-svc-card:hover,
.hc-w-sg__card:hover,
.hc-w-pj-card:hover,
.hc-w-pg__card:hover,
.hc-w-bl-card:hover,
.hc-w-bg__card:hover,
.hc-w-val__card:hover,
.hc-w-pos__card:hover,
.hc-w-jg__card:hover {
    box-shadow: 0 18px 45px rgba(15,23,42,0.09);
    transform: translateY(-4px);
    border-color: rgba(0,53,190,0.12);
}

/* ── Services cards premium ─────────────────────────────────────────────── */
.hc-w-svc-card,
.hc-w-sg__card {
    padding: 2.125rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.hc-w-svc-card .hc-w-svc-card__icon,
.hc-w-sg__card .hc-w-sg__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(48,149,209,0.09);
    color: var(--hc-accent, #3095d1);
    font-size: 1.625rem;
    margin-bottom: 1.375rem;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.hc-w-svc-card .hc-w-svc-card__icon i,
.hc-w-sg__card .hc-w-sg__icon i,
.hc-w-svc-card .hc-w-svc-card__icon svg,
.hc-w-sg__card .hc-w-sg__icon svg {
    color: inherit;
    font-size: inherit;
    fill: currentColor;
    width: 1em;
    height: 1em;
}
.hc-w-svc-card:hover .hc-w-svc-card__icon,
.hc-w-sg__card:hover .hc-w-sg__icon {
    background: var(--hc-primary, #011c49);
    color: #fff;
}
.hc-w-svc-card__title,
.hc-w-sg__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.625rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--hc-primary, #011c49);
}
.hc-w-svc-card__subtitle {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 1rem;
}
.hc-w-svc-card__btn,
.hc-w-sg__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: auto;
    padding: 0.625rem 1.125rem;
    border-radius: 8px;
    background: transparent;
    color: var(--hc-accent, #3095d1);
    border: 1.5px solid rgba(48,149,209,0.3);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}
.hc-w-svc-card__btn:hover,
.hc-w-sg__btn:hover {
    background: var(--hc-accent, #3095d1);
    color: #fff;
    border-color: transparent;
}

/* ── Grille services — 3 col desktop ────────────────────────────────────── */
.hc-w-sg__grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }

/* ── Projects cards premium ─────────────────────────────────────────────── */
.hc-w-pj-card,
.hc-w-pg__card {
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
}
.hc-w-pj-card__img-wrap,
.hc-w-pg__img-wrap {
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 0;
}
.hc-w-pj-card__img-wrap img,
.hc-w-pg__img-wrap img {
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.hc-w-pj-card:hover .hc-w-pj-card__img-wrap img,
.hc-w-pg__card:hover .hc-w-pg__img-wrap img { transform: scale(1.05); }
.hc-w-pj-card__body,
.hc-w-pg__body {
    padding: 1.625rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hc-w-pj-card__sector,
.hc-w-pg__sector {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.625rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background: rgba(48,149,209,0.09);
    color: var(--hc-accent, #3095d1);
    margin-bottom: 0.625rem;
    width: fit-content;
    align-self: flex-start;
}
.hc-w-pj-card__title,
.hc-w-pg__title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--hc-primary, #011c49);
}
.hc-w-pj-card__btn,
.hc-w-pg__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
    padding-top: 0.875rem;
    color: var(--hc-accent, #3095d1);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: gap 0.2s;
}
.hc-w-pj-card__btn:hover,
.hc-w-pg__btn:hover { gap: 0.5rem; }

/* ── Grille projets — 3 col desktop ─────────────────────────────────────── */
.hc-w-pg__grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }

/* ── Filtres projets premium ─────────────────────────────────────────────── */
.hc-w-pg__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.25rem;
}
.hc-w-pg__filter-btn,
.hc-w-fb__btn {
    padding: 0.5625rem 1.25rem;
    border-radius: 999px;
    border: 1.5px solid rgba(1,28,73,0.14);
    background: #f8f9fc;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--hc-primary, #011c49);
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.hc-w-pg__filter-btn:hover,
.hc-w-fb__btn:hover {
    border-color: var(--hc-accent, #3095d1);
    color: var(--hc-accent, #3095d1);
    background: rgba(48,149,209,0.06);
}
.hc-w-pg__filter-btn.is-active,
.hc-w-fb__btn.is-active {
    background: var(--hc-primary, #011c49);
    color: #fff;
    border-color: var(--hc-primary, #011c49);
    box-shadow: 0 4px 14px rgba(1,28,73,0.18);
}

/* ── Blog cards premium ──────────────────────────────────────────────────── */
.hc-w-bl-card,
.hc-w-bg__card {
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
}
.hc-w-bl-card__img-wrap,
.hc-w-bg__img-wrap {
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}
.hc-w-bl-card__img-wrap img,
.hc-w-bg__img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.hc-w-bl-card:hover .hc-w-bl-card__img-wrap img,
.hc-w-bg__card:hover .hc-w-bg__img-wrap img { transform: scale(1.04); }
.hc-w-bl-card__body,
.hc-w-bg__body {
    padding: 1.625rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hc-w-bl-card__cat,
.hc-w-bg__cat {
    display: inline-flex;
    padding: 0.2rem 0.625rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background: rgba(48,149,209,0.09);
    color: var(--hc-accent, #3095d1);
    margin-bottom: 0.375rem;
    align-self: flex-start;
}
.hc-w-bl-card__date,
.hc-w-bg__date {
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    font-weight: 500;
    display: block;
}
.hc-w-bl-card__title a,
.hc-w-bg__title a {
    color: var(--hc-primary, #011c49);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    display: block;
}
.hc-w-bl-card:hover .hc-w-bl-card__title a,
.hc-w-bg__card:hover .hc-w-bg__title a { color: var(--hc-accent, #3095d1); }
.hc-w-bl-card__btn,
.hc-w-bg__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
    padding-top: 0.875rem;
    color: var(--hc-accent, #3095d1);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: gap 0.2s;
    align-self: flex-start;
}
.hc-w-bl-card__btn:hover,
.hc-w-bg__btn:hover { gap: 0.5rem; }

/* ── Grille blog — 3 col desktop ─────────────────────────────────────────── */
.hc-w-bg__grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }

/* ── Values cards premium ───────────────────────────────────────────────── */
.hc-w-val__card {
    padding: 2rem 1.75rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}
.hc-w-val__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(48,149,209,0.08);
    font-size: 1.5rem;
    margin-bottom: 1.125rem;
    flex-shrink: 0;
}
.hc-w-val__title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
    color: var(--hc-primary, #011c49);
}
.hc-w-val__desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

/* ── Positioning cards premium ──────────────────────────────────────────── */
.hc-w-pos__card { padding: 2rem 1.75rem; border-radius: 20px; }
.hc-w-pos__title { font-size: 1.0625rem; font-weight: 700; margin: 0 0 0.5rem; letter-spacing: -0.01em; }

/* ── Jobs cards premium ─────────────────────────────────────────────────── */
.hc-w-jg__grid { gap: 1.25rem; }
.hc-w-jg__card {
    padding: 1.625rem;
    border-left: none;
    border-radius: 20px;
    position: relative;
}
.hc-w-jg__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--hc-accent, #3095d1);
    border-radius: 20px 0 0 20px;
}
.hc-w-jg__card--closed::before { background: #cbd5e1; }
.hc-w-jg__title { font-size: 1.0625rem; font-weight: 700; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
.hc-w-jg__badges { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 0.875rem; }
.hc-w-jg__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.625rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(48,149,209,0.09);
    color: var(--hc-accent, #3095d1);
}
.hc-w-jg__badge-status { background: rgba(100,116,139,0.1); color: #64748b; }
.hc-w-jg__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 1rem;
    padding: 0.5625rem 1.125rem;
    border-radius: 8px;
    background: var(--hc-primary, #011c49);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.2s;
}
.hc-w-jg__btn:hover { background: #02286a; }

/* ── Contact info premium ────────────────────────────────────────────────── */
.hc-w-ci__item {
    padding: 1.25rem;
    border-radius: 16px;
    background: #f8f9fc;
    border: 1px solid rgba(15,23,42,0.06);
    transition: all 0.2s;
}
.hc-w-ci__item:hover {
    background: #fff;
    box-shadow: 0 6px 20px rgba(1,28,73,0.08);
    transform: translateY(-2px);
}
.hc-w-ci__label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hc-accent, #3095d1);
    margin-bottom: 0.25rem;
    display: block;
}
.hc-w-ci__value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--hc-primary, #011c49);
    display: block;
}

/* ── Marquee pills premium ───────────────────────────────────────────────── */
.hc-w-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.875rem 1.75rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.88);
    color: var(--hc-primary, #011c49);
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: default;
    border: 1px solid rgba(15,23,42,0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    letter-spacing: -0.005em;
}
a.hc-w-pill { cursor: pointer; }
a.hc-w-pill:hover {
    background: #fff;
    box-shadow: 0 4px 14px rgba(1,28,73,0.10);
    transform: translateY(-2px);
}
.hc-w-pill--featured {
    background: var(--hc-primary, #011c49);
    color: #fff;
    border-color: transparent;
}
.hc-w-pill--muted { opacity: 0.5; }

/* ── Swiper arrows premium ───────────────────────────────────────────────── */
.swiper-button-next,
.swiper-button-prev {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1px solid rgba(15,23,42,0.10) !important;
    color: var(--hc-primary, #011c49) !important;
    box-shadow: 0 4px 12px rgba(1,28,73,0.10) !important;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s !important;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--hc-primary, #011c49) !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(1,28,73,0.22) !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 0.8125rem !important;
    font-weight: 800 !important;
}
/* Pagination — bullet large actif */
.swiper-pagination-bullet {
    width: 6px !important;
    height: 6px !important;
    background: rgba(1,28,73,0.25) !important;
    opacity: 1 !important;
    transition: width 0.25s, background 0.25s !important;
    border-radius: 3px !important;
}
.swiper-pagination-bullet-active {
    background: var(--hc-accent, #3095d1) !important;
    width: 20px !important;
}

/* ── CTA block — radius premium ──────────────────────────────────────────── */
.hc-w-cta { border-radius: 20px; }

/* ── Responsive amélioré ─────────────────────────────────────────────────── */
@media (max-width: 1023px) {
    .hc-w-sg__grid { grid-template-columns: repeat(2, 1fr); }
    .hc-w-pg__grid { grid-template-columns: repeat(2, 1fr); }
    .hc-w-bg__grid { grid-template-columns: repeat(2, 1fr); }
    .hc-w-jg__grid { grid-template-columns: 1fr; }
    .hc-w-val__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
    .hc-w-sg__grid { grid-template-columns: 1fr; }
    .hc-w-pg__grid { grid-template-columns: 1fr; }
    .hc-w-bg__grid { grid-template-columns: 1fr; }
    .hc-w-val__grid { grid-template-columns: 1fr; }
    .hc-w-pill { padding: 0.75rem 1.375rem; font-size: 0.9375rem; }
}
