/* Accueil & identité publique v2 — compact, cascade parallax (réf. Afiyah) */

.public-site {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ── Hero stack (carrousel + confiance) ── */
.pub-home-hero-stack {
    position: relative;
    margin-top: var(--pub-nav-h);
    z-index: 2;
}

.pub-home-hero.pub-home-hero-v2 {
    margin-top: 0;
}

.pub-home-hero-v2 .carousel-item {
    height: clamp(420px, 58vh, 560px);
    min-height: 0;
}

.pub-home-hero.pub-home-hero-v2 .carousel-item::after {
    display: none !important;
}

.pub-home-hero-v2 .carousel-item {
    background: linear-gradient(135deg, #0c4a5e 0%, #0B2A4A 55%, #1F8A4C 100%);
}

.pub-hero-v2-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.pub-home-hero-v2 .pub-hero-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.03);
    transform-origin: center center;
    will-change: transform;
    transition: transform 0.6s ease-out;
    filter: brightness(0.76) saturate(1.02) contrast(1.04);
}

.pub-home-hero-v2 .pub-hero-banner-img--1 {
    object-position: 32% center;
    transform-origin: 32% center;
}

.pub-home-hero-v2 .pub-hero-banner-img--2 {
    object-position: 48% center;
}

.pub-home-hero-v2 .pub-hero-banner-img--3 {
    object-position: 55% center;
}

.pub-home-hero-v2 .pub-hero-banner-img--4 {
    object-position: 62% center;
}

.pub-hero-v2-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(12, 74, 110, 0.92) 0%,
            rgba(31, 138, 76, 0.72) 38%,
            rgba(14, 116, 144, 0.4) 60%,
            rgba(11, 42, 74, 0.18) 100%
        ),
        linear-gradient(0deg, rgba(15, 52, 96, 0.4) 0%, transparent 45%);
    pointer-events: none;
}

.pub-hero-v2-tint {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(12, 74, 110, 0.14);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.pub-hero-v2-caption-wrap {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: flex-end;
    padding-bottom: 2.25rem;
    pointer-events: none;
}

.pub-hero-v2-row {
    width: 100%;
    align-items: flex-end;
}

.pub-hero-v2-caption {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    text-align: left;
    max-width: 34rem;
    padding: 0;
    margin: 0;
    pointer-events: auto;
    color: #fff;
}

.pub-hero-v2-caption .pub-hero-v2-title,
.pub-hero-v2-caption .pub-hero-v2-lead {
    color: #fff !important;
}

.pub-hero-v2-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
    backdrop-filter: blur(8px);
}

.pub-hero-v2-title {
    font-size: clamp(1.55rem, 3.2vw, 2.45rem) !important;
    font-weight: 800 !important;
    line-height: 1.14 !important;
    letter-spacing: -0.035em;
    margin-bottom: 0.65rem !important;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.pub-hero-v2-lead {
    font-size: clamp(0.88rem, 1.6vw, 1rem) !important;
    line-height: 1.55 !important;
    opacity: 0.92 !important;
    max-width: 32rem;
    margin-bottom: 1rem !important;
}

.pub-hero-v2-actions {
    margin-top: 0;
    gap: 0.55rem;
}

.pub-hero-v2-actions .pub-hero-btn {
    padding: 0.62rem 1.15rem;
    font-size: 0.88rem;
    border-radius: 999px;
}

.pub-hero-v2-btn-primary {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
}

.pub-hero-v2-indicators {
    margin-bottom: 0.85rem;
    gap: 0.35rem;
    z-index: 4;
}

.pub-hero-v2-indicators [data-bs-target] {
    width: 2.5rem;
    height: 4px;
    border-radius: 999px;
    border: 0;
    opacity: 0.45;
    transition: opacity 0.2s, transform 0.2s;
}

.pub-hero-v2-indicators .active {
    opacity: 1;
    transform: scaleX(1.15);
}

.pub-hero-v2-control {
    width: 3rem;
    opacity: 0.85;
}

.pub-hero-v2-control-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 1rem;
}

/* ── Trust band (carte flottante — cascade) ── */
.pub-trust-band--cascade {
    position: relative;
    z-index: 5;
    margin-top: -2.75rem;
    padding: 0 0 0.5rem;
    background: transparent;
    border: 0;
    pointer-events: none;
}

.pub-trust-band--cascade .container {
    pointer-events: auto;
}

.pub-trust-band__card {
    background: #fff;
    border: 1px solid var(--pub-border);
    border-radius: 16px;
    padding: 0.85rem 1.25rem 1rem;
    box-shadow: 0 20px 50px rgba(11, 42, 74, 0.12);
}

.pub-trust-band__eyebrow {
    text-align: center;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0d6e7a;
    margin: 0 0 0.55rem;
}

.pub-trust-band__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1.15rem;
}

.pub-trust-band__list li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pub-text);
}

.pub-trust-band__list i {
    color: #1F8A4C;
    font-size: 0.85rem;
}

/* ── Cascade parallax sections ── */
.pub-home-cascade {
    position: relative;
    z-index: 1;
}

.pub-cascade-section {
    --parallax-y: 0px;
    position: relative;
    transform: translate3d(0, var(--parallax-y), 0);
    will-change: transform;
}

.pub-cascade-section.is-cascade-pending {
    opacity: 0;
    transform: translate3d(0, calc(var(--parallax-y) + 28px), 0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.pub-cascade-section.is-cascade-visible {
    opacity: 1;
    transform: translate3d(0, var(--parallax-y), 0);
}

.pub-cascade-section.is-cascade-visible:nth-child(odd) {
    transition-delay: 0.04s;
}

.pub-home-cascade .pub-cascade-section::before {
    content: '';
    position: absolute;
    width: min(420px, 70vw);
    height: min(420px, 70vw);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
    z-index: -1;
    top: -10%;
    right: -8%;
    background: radial-gradient(circle, rgba(31, 138, 76, 0.14) 0%, transparent 70%);
    transform: translate3d(0, calc(var(--parallax-y) * -0.5), 0);
}

.pub-home-cascade .pub-cascade-section:nth-child(even)::before {
    left: -8%;
    right: auto;
    background: radial-gradient(circle, rgba(11, 42, 74, 0.16) 0%, transparent 70%);
}

/* ── Section heads v2 ── */
.pub-section-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pub-primary);
    margin-bottom: 0.65rem;
}

.pub-section-title--v2 {
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    color: var(--pub-text) !important;
}

.pub-section-sub--v2 {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.pub-section-head {
    margin-bottom: 2rem;
}

/* ── Pillars ── */
.pub-pillars {
    padding: 3rem 0 3.25rem;
    background: linear-gradient(180deg, var(--pub-cream) 0%, #fff 100%);
}

.pub-pillar-card {
    height: 100%;
    padding: 1.35rem 1.25rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--pub-border);
    box-shadow: 0 12px 40px rgba(11, 42, 74, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pub-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(11, 42, 74, 0.1);
}

.pub-pillar-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--pub-primary);
    background: var(--pub-light);
    margin-bottom: 1.1rem;
}

.pub-pillar-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.55rem;
    letter-spacing: -0.02em;
}

.pub-pillar-card__text {
    font-size: 0.92rem;
    color: var(--pub-muted);
    line-height: 1.65;
    margin: 0;
}

.pub-pillar-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 991.98px) {
    .pub-pillar-bento {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Hub mobile (puces + promo) ── */
.pub-mobile-hub {
    padding: 0.85rem 0.65rem 0.25rem;
    margin-bottom: 0.35rem;
}

.pub-mobile-hub__chips-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--bs-gutter-x, 1.5rem) * 0.5);
    padding: 0 calc(var(--bs-gutter-x, 1.5rem) * 0.5) 0.65rem;
}

.pub-mobile-hub__chips-scroll::-webkit-scrollbar {
    display: none;
}

.pub-mobile-hub__chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    width: max-content;
    min-width: 100%;
    padding-bottom: 0.15rem;
}

.pub-mobile-hub__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(11, 42, 74, 0.1);
    box-shadow: 0 4px 14px rgba(11, 42, 74, 0.06);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--pub-text);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pub-mobile-hub__chip:active {
    border-color: rgba(21, 128, 141, 0.45);
    box-shadow: 0 6px 18px rgba(21, 128, 141, 0.12);
}

.pub-mobile-hub__chip-ico {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: var(--pub-primary-deep);
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.95), rgba(241, 245, 249, 0.98));
}

.pub-mobile-hub__promo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(237, 233, 254, 0.65) 0%, rgba(224, 242, 254, 0.85) 100%);
    border: 1px solid rgba(99, 102, 241, 0.18);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
}

.pub-mobile-hub__promo-ico {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--pub-primary);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(11, 42, 74, 0.08);
}

.pub-mobile-hub__promo-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.pub-mobile-hub__promo-copy strong {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--pub-text);
}

.pub-mobile-hub__promo-copy small {
    font-size: 0.72rem;
    color: var(--pub-muted);
}

.pub-mobile-hub__promo-arrow {
    color: var(--pub-primary);
    font-size: 0.85rem;
    opacity: 0.85;
}

/* ── Modules — puces catégories (mobile) ── */
.pub-modules-chips-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 0 1rem;
    padding-bottom: 0.25rem;
}

.pub-modules-chips-scroll::-webkit-scrollbar {
    display: none;
}

.pub-modules-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    width: max-content;
}

.pub-modules-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--pub-text);
    background: #fff;
    border: 1px solid rgba(11, 42, 74, 0.1);
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(11, 42, 74, 0.05);
}

.pub-modules-chip i {
    color: var(--pub-teal);
    font-size: 0.8rem;
}

/* ── Solutions tiles ── */
.pub-solutions {
    padding: 3rem 0 3.25rem;
    background: #fff;
}

.pub-solution-tile {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.35rem;
    border-radius: 16px;
    border: 1px solid var(--pub-border);
    background: var(--pub-cream);
    text-decoration: none !important;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.pub-solution-tile:hover {
    border-color: rgba(31, 138, 76, 0.35);
    box-shadow: 0 16px 40px rgba(31, 138, 76, 0.12);
    transform: translateY(-3px);
}

.pub-solution-tile h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0.85rem 0 0.5rem;
}

.pub-solution-tile p {
    font-size: 0.88rem;
    color: var(--pub-muted);
    line-height: 1.6;
    flex-grow: 1;
    margin: 0;
}

.pub-solution-tile__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
}

.pub-solution-tile__icon--clinical { background: linear-gradient(135deg, #0B2A4A, #1F8A4C); }
.pub-solution-tile__icon--pharma { background: linear-gradient(135deg, #1F8A4C, #059669); }
.pub-solution-tile__icon--patient { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.pub-solution-tile__icon--cta { background: linear-gradient(135deg, #ea580c, #f59e0b); }

.pub-solution-tile__link {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pub-primary);
}

.pub-solution-tile--cta {
    background: linear-gradient(145deg, #fff7ed 0%, #fff 100%);
    border-color: rgba(234, 88, 12, 0.25);
}

/* ── Portal section after carousel ── */
.pub-portal-hero--after-carousel {
    padding-top: 2.25rem;
    padding-bottom: 3rem;
}

.pub-home-v2 .pub-portal-intro {
    margin-bottom: 1.75rem;
}

.pub-home-v2 .pub-portal-title {
    font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.pub-home-v2 .pub-portal-lead {
    font-size: 0.95rem;
}

.pub-home-v2 .pub-portal-card {
    padding: 1.5rem 1.35rem;
}

.pub-home-v2 .pub-section {
    padding: 3rem 0;
}

.pub-home-v2 .pub-how-section {
    margin: 0 0 2rem;
}

.pub-home-v2 .container > .pub-how-section {
    max-width: 100%;
}

.pub-home-cascade > .pub-how-section,
.pub-home-cascade > .pub-sync-flash {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

#espaces {
    scroll-margin-top: calc(var(--pub-nav-h) + 16px);
}

/* ── Carrousel témoignages ── */
.pub-testimonials-carousel {
    position: relative;
}

.pub-testimonials-carousel--static .pub-testimonials-carousel__toolbar {
    display: none;
}

.pub-testimonials-carousel--static .pub-testimonials-carousel__mask::before,
.pub-testimonials-carousel--static .pub-testimonials-carousel__mask::after {
    display: none;
}

.pub-testimonials-carousel__toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.pub-testimonials-carousel__nav {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(11, 42, 74, 0.12);
    background: #fff;
    color: var(--pub-primary-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(11, 42, 74, 0.08);
}

.pub-testimonials-carousel__nav:hover {
    background: var(--pub-light);
    border-color: rgba(21, 128, 141, 0.35);
    transform: translateY(-1px);
}

.pub-testimonials-carousel__nav:focus-visible {
    outline: 2px solid var(--pub-teal);
    outline-offset: 2px;
}

.pub-testimonials-carousel__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2rem;
    padding: 0 0.35rem;
}

.pub-testimonials-carousel__dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(11, 42, 74, 0.22);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.pub-testimonials-carousel__dot.is-active {
    width: 1.35rem;
    background: linear-gradient(90deg, var(--pub-primary), var(--pub-teal));
}

.pub-testimonials-carousel__mask {
    position: relative;
    margin: 0 -0.35rem;
}

.pub-testimonials-carousel__mask::before,
.pub-testimonials-carousel__mask::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(3rem, 8vw);
    z-index: 2;
    pointer-events: none;
}

.pub-testimonials-carousel__mask::before {
    left: 0;
    background: linear-gradient(90deg, #f1f5f9 15%, transparent);
}

.pub-testimonials-carousel__mask::after {
    right: 0;
    background: linear-gradient(270deg, #f1f5f9 15%, transparent);
}

.pub-testimonials-carousel__viewport {
    overflow: hidden;
    outline: none;
}

.pub-testimonials-carousel__track {
    display: flex;
    gap: 1.25rem;
    will-change: transform;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.pub-testimonials-carousel__slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 0.35rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .pub-testimonials-carousel__slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 992px) {
    .pub-testimonials-carousel__slide {
        flex: 0 0 33.333%;
    }
}

.pub-testimonial--carousel {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.4rem 1.25rem;
    border-radius: 18px;
    border: 1px solid rgba(11, 42, 74, 0.08);
    background: #fff;
    box-shadow: 0 14px 40px rgba(11, 42, 74, 0.07);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pub-testimonials-carousel__slide.is-active .pub-testimonial--carousel {
    box-shadow: 0 20px 48px rgba(11, 42, 74, 0.12);
    transform: translateY(-2px);
}

.pub-testimonial--carousel .pub-testimonial-text {
    flex: 1 1 auto;
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.1rem;
}

.pub-testimonial--carousel .pub-testimonial-author {
    margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
    .pub-testimonials-carousel__track {
        transition: none;
    }

    .pub-testimonials-carousel__slide.is-active .pub-testimonial--carousel {
        transform: none;
    }
}

/* ── Avis + FAQ côte à côte ── */
.pub-reviews-faq-section {
    background: linear-gradient(180deg, #f1f5f9 0%, var(--pub-cream) 100%);
}

.pub-reviews-faq-duo {
    margin-top: 0.25rem;
}

.pub-faq-column {
    padding: 0.15rem 0 0;
}

.pub-reviews-faq-duo__faq-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    margin-bottom: 0.65rem;
}

.pub-reviews-faq-duo__faq-lead {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    max-width: 42rem;
}

.pub-reviews-faq-duo__faq-doc {
    margin-top: 1.25rem;
}

.pub-comment-card--duo {
    box-shadow: 0 16px 48px rgba(11, 42, 74, 0.1);
}

.pub-comment-card--duo .pub-comment-card-head {
    padding-top: 1.35rem;
}

.pub-section-kicker--sm {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.pub-submit--block {
    width: 100%;
    max-width: none;
}

@media (min-width: 992px) {
    .pub-faq-column {
        padding-left: 0.75rem;
        border-left: 1px solid rgba(11, 42, 74, 0.08);
    }

    .pub-reviews-faq-duo .pub-faq-accordion {
        max-height: min(520px, 58vh);
        overflow-y: auto;
        padding-right: 0.35rem;
        scrollbar-gutter: stable;
    }

    .pub-reviews-faq-duo .pub-faq-accordion::-webkit-scrollbar {
        width: 6px;
    }

    .pub-reviews-faq-duo .pub-faq-accordion::-webkit-scrollbar-thumb {
        background: rgba(11, 42, 74, 0.18);
        border-radius: 999px;
    }
}

@media (max-width: 991.98px) {
    .pub-faq-column {
        padding-top: 0.5rem;
        border-top: 1px solid rgba(11, 42, 74, 0.08);
        margin-top: 0.25rem;
        padding-left: 0;
    }

    #faq {
        scroll-margin-top: calc(var(--pub-nav-h, 72px) + 12px);
    }
}

/* ── FAQ (page seule) ── */
.pub-faq {
    padding: 3rem 0;
    background: var(--pub-cream);
}

.pub-faq-accordion .accordion-item {
    border: 1px solid var(--pub-border);
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 0.65rem;
    background: #fff;
}

.pub-faq-accordion .accordion-button {
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1.1rem 1.25rem;
    box-shadow: none !important;
}

.pub-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--pub-primary-deep);
    background: var(--pub-light);
}

.pub-faq-accordion .accordion-body {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--pub-muted);
}

/* ── CTA banner ── */
.pub-cta-banner {
    padding: 0 0 3rem;
    background: var(--pub-cream);
}

.pub-cta-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.65rem 1.75rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--pub-primary-deep) 0%, var(--pub-primary) 55%, var(--pub-teal) 100%);
    color: #fff;
    box-shadow: 0 24px 56px rgba(11, 42, 74, 0.25);
}

.pub-cta-banner__title {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.pub-cta-banner__text {
    opacity: 0.92;
    font-size: 0.95rem;
}

.pub-cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pub-cta-banner__phone {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #fff !important;
}

/* ── Portails empilés (scroll mask) ── */
.pub-portal-stack-wrap {
    padding: 2rem 0 0;
    background: linear-gradient(180deg, var(--pub-cream) 0%, #fff 35%);
}

.pub-portal-stack-intro {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pub-portal-stack {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.pub-portal-stack__slide {
    height: calc(100vh - var(--pub-nav-h));
    min-height: 520px;
    position: relative;
}

.pub-portal-stack__panel {
    position: sticky;
    top: calc(var(--pub-nav-h) + 10px);
    z-index: calc(10 + var(--stack-i, 0));
    height: calc(100vh - var(--pub-nav-h) - 28px);
    max-height: 680px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 -8px 0 rgba(255, 255, 255, 0.65), 0 24px 60px rgba(11, 42, 74, 0.14);
    transform-origin: center top;
    transition: transform 0.15s ease-out;
    background-color: #ecf8f4;
    background-image:
        radial-gradient(circle at 88% 22%, rgba(31, 138, 76, 0.12) 0%, transparent 45%),
        repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(31, 138, 76, 0.06) 23px, rgba(31, 138, 76, 0.06) 24px),
        repeating-linear-gradient(90deg, transparent, transparent 23px, rgba(31, 138, 76, 0.06) 23px, rgba(31, 138, 76, 0.06) 24px);
}

.pub-portal-stack__panel--clinical {
    background-color: #d8f3ea;
    background-image:
        radial-gradient(circle at 88% 18%, rgba(26, 71, 49, 0.08) 0%, transparent 48%),
        repeating-linear-gradient(0deg, transparent, transparent 22px, rgba(26, 71, 49, 0.055) 22px, rgba(26, 71, 49, 0.055) 23px),
        repeating-linear-gradient(90deg, transparent, transparent 22px, rgba(26, 71, 49, 0.055) 22px, rgba(26, 71, 49, 0.055) 23px);
}

.pub-portal-stack__panel--pharma {
    background-color: #ffecc7;
    background-image:
        radial-gradient(circle at 88% 18%, rgba(180, 83, 9, 0.1) 0%, transparent 48%),
        repeating-linear-gradient(0deg, transparent, transparent 22px, rgba(180, 83, 9, 0.06) 22px, rgba(180, 83, 9, 0.06) 23px),
        repeating-linear-gradient(90deg, transparent, transparent 22px, rgba(180, 83, 9, 0.06) 22px, rgba(180, 83, 9, 0.06) 23px);
}

.pub-portal-stack__panel--patient {
    background-color: #f6efe6;
    background-image:
        radial-gradient(circle at 88% 18%, rgba(79, 70, 229, 0.08) 0%, transparent 48%),
        repeating-linear-gradient(0deg, transparent, transparent 22px, rgba(120, 113, 108, 0.07) 22px, rgba(120, 113, 108, 0.07) 23px),
        repeating-linear-gradient(90deg, transparent, transparent 22px, rgba(120, 113, 108, 0.07) 22px, rgba(120, 113, 108, 0.07) 23px);
}

.pub-portal-stack__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 1.5rem;
    height: 100%;
    align-items: center;
    padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.5rem);
}

.pub-portal-stack__title {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.35rem;
    color: var(--pub-text);
}

.pub-portal-stack__lead {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--pub-primary-deep);
    margin: 0 0 0.65rem;
}

.pub-portal-stack__text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--pub-muted);
    margin: 0 0 1.15rem;
    max-width: 28rem;
}

.pub-portal-stack__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.75rem;
}

.pub-portal-stack__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.62rem 1.15rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid transparent;
}

.pub-portal-stack__btn--primary {
    background: #1a4731;
    color: #fff;
}

.pub-portal-stack__panel--pharma .pub-portal-stack__btn--primary {
    background: #166534;
}

.pub-portal-stack__panel--patient .pub-portal-stack__btn--primary {
    background: #4338ca;
}

.pub-portal-stack__btn--ghost {
    background: rgba(255, 255, 255, 0.75);
    border-color: var(--pub-border);
    color: var(--pub-text);
}

.pub-portal-stack__link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pub-primary);
    text-decoration: none;
}

.pub-portal-stack__visual {
    position: relative;
    height: min(100%, 420px);
    min-height: 260px;
}

.pub-portal-stack__device {
    position: absolute;
    background: #1e293b;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(11, 42, 74, 0.22);
}

.pub-portal-stack__device--laptop {
    inset: 8% 4% 8% 10%;
    border-radius: 12px 12px 8px 8px;
    padding-top: 22px;
}

.pub-portal-stack__device-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 22px;
    background: linear-gradient(180deg, #334155, #1e293b);
}

.pub-portal-stack__device--laptop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
    background: #f1f5f9;
}

.pub-portal-stack__device--phone {
    width: 28%;
    max-width: 120px;
    aspect-ratio: 9 / 18;
    right: 0;
    bottom: 6%;
    border-radius: 18px;
    padding: 8px 6px;
    border: 3px solid #0f172a;
}

.pub-portal-stack__device-notch {
    width: 40%;
    height: 5px;
    background: #0f172a;
    border-radius: 999px;
    margin: 0 auto 4px;
}

.pub-portal-stack__device--phone img {
    width: 100%;
    height: calc(100% - 12px);
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.pub-portal-stack__tail {
    height: 18vh;
    min-height: 120px;
}

.pub-portal-stack__panel.is-stack-pinned {
    transform: scale(0.985);
}

@media (max-width: 991.98px) {
    .pub-portal-stack__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        padding: 1.25rem;
    }

    .pub-portal-stack__slide {
        min-height: 640px;
    }

    .pub-portal-stack__visual {
        min-height: 200px;
        height: 220px;
    }

    .pub-portal-stack__device--laptop {
        inset: 0 8% 0 8%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pub-portal-stack__panel {
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
        max-height: none;
        margin-bottom: 1rem;
    }

    .pub-portal-stack__slide {
        height: auto;
        min-height: 0;
    }

    .pub-portal-stack__tail {
        display: none;
    }
}

/* ── Pages intérieures (tarifs, doc…) ── */
.pub-page-hero {
    background: linear-gradient(135deg, #0B2A4A 0%, #0B2A4A 45%, #1F8A4C 100%);
}

.pub-section-title {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ── À propos + métriques (bloc fusionné) ── */
.pub-about-fusion {
    padding: 2.5rem 0 3rem;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.pub-about-fusion__shell {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(11, 42, 74, 0.08);
    box-shadow: 0 28px 64px rgba(11, 42, 74, 0.1);
}

.pub-about-fusion__media-col {
    background: #0B2A4A;
}

.pub-about-fusion__media {
    position: relative;
    min-height: 280px;
    height: 100%;
}

.pub-about-fusion__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(11, 42, 74, 0.35) 100%);
    pointer-events: none;
}

.pub-about-fusion__img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.pub-about-fusion__content-col {
    display: flex;
}

.pub-about-fusion__content {
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.35rem, 3vw, 2.5rem);
}

.pub-about-fusion__lead,
.pub-about-fusion__text {
    color: var(--pub-muted);
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.pub-about-fusion__checks li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--pub-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 0.55rem;
}

.pub-about-fusion__checks li i {
    color: var(--pub-teal);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.pub-about-fusion__metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background: linear-gradient(135deg, #0B2A4A 0%, #0B2A4A 52%, #15808d 100%);
    color: #fff;
}

@media (min-width: 768px) {
    .pub-about-fusion__metrics {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pub-about-fusion__metric {
    padding: 1.15rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pub-about-fusion__metric:nth-child(2n) {
    border-right: none;
}

@media (min-width: 768px) {
    .pub-about-fusion__metric {
        border-top: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pub-about-fusion__metric:last-child {
        border-right: none;
    }
}

.pub-about-fusion__metric-val {
    display: block;
    font-size: clamp(1.65rem, 3vw, 2.1rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.pub-about-fusion__metric-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    line-height: 1.35;
    opacity: 0.88;
}

@media (min-width: 992px) {
    .pub-about-fusion__media {
        min-height: 100%;
    }

    .pub-about-fusion__img {
        min-height: 100%;
    }
}

@media (max-width: 991.98px) {
    .pub-about-fusion__shell {
        border-radius: 20px;
    }

    .pub-about-fusion__content {
        padding-bottom: 1.75rem;
    }
}

/* ── Navbar / footer polish ── */
.pub-main-nav {
    row-gap: 0.35rem;
}

@media (min-width: 992px) {
    .pub-navbar > .container {
        max-width: 1280px;
    }

    .pub-main-nav {
        flex-wrap: nowrap;
        gap: 0.05rem;
    }

    .pub-main-nav .pub-nav-link {
        font-size: 0.8125rem !important;
        padding: 0.42rem 0.48rem !important;
        white-space: nowrap;
    }

    .pub-nav-pharma-toggle {
        padding: 0.26rem 0.45rem 0.26rem 0.32rem !important;
    }

    .pub-nav-pharma-label--compact strong {
        font-size: 0.8125rem;
        font-weight: 700;
    }

    .pub-main-nav .pub-nav-cta {
        margin-left: 0.28rem !important;
        flex-shrink: 0;
    }

    .pub-main-nav .pub-nav-cta .btn-sm {
        font-size: 0.78rem;
        padding: 0.38rem 0.62rem;
        white-space: nowrap;
    }
}

.pub-navbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.pub-navbar.scrolled {
    box-shadow: 0 8px 32px rgba(11, 42, 74, 0.08);
}

.pub-footer {
    background: #0f172a;
    color: #cbd5e1;
}

.pub-footer h6 {
    color: #f8fafc;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.pub-footer-desc,
.pub-footer-links li {
    color: #94a3b8;
}

.pub-footer-links a {
    color: #cbd5e1;
}

.pub-footer-links a:hover {
    color: #fff;
}

.pub-footer-bottom {
    border-top-color: rgba(148, 163, 184, 0.25);
    color: #64748b;
}

@media (prefers-reduced-motion: reduce) {
    .pub-cascade-section,
    .pub-cascade-section.is-cascade-pending {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .pub-home-hero-v2 .pub-hero-banner-img {
        transform: none !important;
    }
}

@media (max-width: 767.98px) {
    .pub-home-hero-v2 .carousel-item {
        height: clamp(460px, 72vh, 540px);
    }

    .pub-home-hero-v2 .pub-hero-banner-img {
        object-position: 62% center;
    }

    .pub-home-hero-v2 .pub-hero-banner-img--1 {
        object-position: 28% 22%;
    }

    .pub-hero-v2-scrim {
        background:
            linear-gradient(
                180deg,
                rgba(31, 138, 76, 0.38) 0%,
                rgba(12, 74, 110, 0.8) 52%,
                rgba(15, 52, 96, 0.9) 100%
            );
    }

    .pub-hero-v2-tint {
        background: rgba(12, 74, 110, 0.16);
    }

    .pub-hero-v2-caption-wrap {
        align-items: flex-end;
        padding-bottom: 1.5rem;
    }

    .pub-hero-v2-caption {
        max-width: 100%;
    }

    .pub-hero-v2-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pub-hero-v2-actions .pub-hero-btn {
        justify-content: center;
    }

    .pub-trust-band--cascade {
        margin-top: -2rem;
    }

    .pub-trust-band__list {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.5rem;
        padding-bottom: 0.15rem;
    }

    .pub-trust-band__list::-webkit-scrollbar {
        display: none;
    }

    .pub-trust-band__list li {
        flex: 0 0 auto;
        padding: 0.35rem 0.65rem;
        border-radius: 999px;
        background: rgba(241, 245, 249, 0.95);
        border: 1px solid rgba(11, 42, 74, 0.06);
        font-size: 0.72rem;
    }

    .pub-home-v2 .pub-home-cascade {
        background: #eef2f7;
        padding-bottom: 1.25rem;
    }

    .pub-home-v2 .pub-home-cascade > .pub-cascade-section,
    .pub-home-v2 .pub-home-cascade > .pub-mobile-hub {
        scroll-margin-top: calc(var(--pub-nav-h, 72px) + 12px);
    }

    .pub-home-v2 .pub-pillars,
    .pub-home-v2 .pub-how-section,
    .pub-home-v2 #services.pub-section-modules,
    .pub-home-v2 .pub-reviews-faq-section,
    .pub-home-v2 .pub-about-fusion,
    .pub-home-v2 #tarifs.pub-section {
        margin-left: 0.65rem;
        margin-right: 0.65rem;
        border-radius: 22px;
        box-shadow: 0 10px 36px rgba(11, 42, 74, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.85);
    }

    .pub-home-v2 .pub-pillars {
        padding: 1.35rem 0.85rem 1.5rem;
        background: #fff;
    }

    .pub-home-v2 .pub-section-head {
        margin-bottom: 1.15rem;
        text-align: left;
    }

    .pub-home-v2 .pub-section-sub--v2 {
        margin-left: 0;
        margin-right: 0;
        font-size: 0.88rem;
    }

    .pub-pillar-bento {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: minmax(108px, auto);
        gap: 0.65rem;
    }

    .pub-pillar-card--b0 {
        grid-row: span 2;
    }

    .pub-pillar-card--b0 .pub-pillar-card__icon {
        width: 3.25rem;
        height: 3.25rem;
        font-size: 1.35rem;
    }

    .pub-pillar-card {
        padding: 0.95rem 0.85rem;
        border-radius: 18px;
        box-shadow: 0 6px 22px rgba(11, 42, 74, 0.06);
    }

    .pub-pillar-card__title {
        font-size: 0.88rem;
        line-height: 1.35;
    }

    .pub-pillar-card__text {
        font-size: 0.78rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pub-pillar-card--b0 .pub-pillar-card__text {
        -webkit-line-clamp: 8;
    }

    .pub-pillar-card__icon {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 0.95rem;
        border-radius: 12px;
        margin-bottom: 0.65rem;
    }

    .pub-home-v2 .pub-how-section {
        padding: 1.25rem 0.85rem 1.5rem;
        background: #fff;
    }

    .pub-home-v2 .pub-how-step-card {
        border-radius: 16px;
        border: 1px solid rgba(11, 42, 74, 0.08);
        box-shadow: 0 6px 20px rgba(11, 42, 74, 0.05);
    }

    .pub-home-v2 #services.pub-section-modules {
        padding: 1.25rem 0.85rem 1.35rem;
        background: #fff;
    }

    .pub-home-v2 #services .pub-section-title,
    .pub-home-v2 #services .pub-section-sub {
        text-align: left;
    }

    .pub-home-v2 .pub-modules-group {
        background: #f8fafc;
        border: 1px solid rgba(11, 42, 74, 0.07);
        border-radius: 18px;
        padding: 0.85rem 0.75rem 0.95rem;
        margin-bottom: 0.75rem;
        scroll-margin-top: calc(var(--pub-nav-h, 72px) + 56px);
    }

    .pub-home-v2 .pub-modules-group-title {
        font-size: 0.82rem;
        border-bottom: none;
        margin-bottom: 0.65rem;
        padding-bottom: 0;
    }

    .pub-home-v2 .pub-modules-grid > [class*="col-"] {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .pub-home-v2 .pub-module-card {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.75rem 0.85rem;
        border-radius: 14px;
        background: #fff;
        border: 1px solid rgba(11, 42, 74, 0.06);
        box-shadow: 0 4px 14px rgba(11, 42, 74, 0.04);
        height: auto;
    }

    .pub-home-v2 .pub-module-card .pub-service-icon {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        font-size: 0.95rem;
        margin-bottom: 0;
        border-radius: 11px;
    }

    .pub-home-v2 .pub-module-card h4 {
        font-size: 0.84rem;
        line-height: 1.35;
    }

    .pub-home-v2 .pub-module-card p {
        font-size: 0.75rem;
        line-height: 1.45;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pub-home-v2 #tarifs.pub-section {
        padding: 1.25rem 0.85rem;
        background: #fff;
    }

    .pub-home-v2 .pub-about-fusion {
        padding: 0.85rem 0 1rem;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    .pub-home-v2 .pub-about-fusion__shell {
        border-radius: 22px;
    }

    .pub-home-v2 .pub-reviews-faq-section {
        padding: 1.25rem 0.65rem 1.5rem;
        background: #fff;
    }

    .pub-cta-banner__inner {
        text-align: center;
        justify-content: center;
    }

    .pub-cta-banner__actions {
        width: 100%;
        justify-content: center;
    }
}
