/* Page d'accueil — Hub SanDiCom */

/* ── Hero carousel ── */
.home-banner {
    position: relative;
    color: #fff;
    background: linear-gradient(135deg, #0A3A22 0%, #00953E 100%);
    overflow: hidden;
}

.home-banner::before {
    display: none;
}

/* Cercles décoratifs — 3 cercles de tailles différentes, tangents deux à deux */
.home-banner-orbs {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.home-banner-orb {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(134, 199, 31, 0.55);
    background: rgba(134, 199, 31, 0.08);
    box-shadow: inset 0 0 40px rgba(134, 199, 31, 0.06);
    overflow: hidden;
}

.home-banner-orb--photo {
    background: transparent;
    border: 2px solid rgba(134, 199, 31, 0.75);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    isolation: isolate;
}

.home-banner-orb--photo img,
.home-banner-orb--photo picture,
.home-banner-orb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

.home-banner-orb--photo img,
.home-banner-orb-img {
    object-fit: cover;
    object-position: center center;
    transform: scale(1.02);
}

.home-banner-orb-img--photo {
    opacity: 0;
    transition: opacity 0.35s ease;
}

.home-banner-orb-img--photo.is-loaded,
.home-banner-orb--logo .home-banner-orb-img {
    opacity: 1;
}

/* Logos / graphiques : contenus dans le cercle, un peu plus grands */
.home-banner-orb--logo {
    background: transparent;
}

.home-banner-orb--logo img {
    object-fit: contain;
    object-position: center center;
    transform: scale(0.88);
    background: transparent;
}

.home-banner-orb--logo-sm img {
    transform: scale(0.86);
    object-position: center 46%;
}

.home-banner-orb--logo-vbg img {
    transform: scale(0.8);
    object-position: 28% center;
}

.home-banner-orb--logo-oi img {
    transform: scale(0.84);
    object-position: center 48%;
}

.home-banner-orb--logo-prev img {
    transform: scale(0.82);
    object-position: center 42%;
}

/* Cercle du haut : encore un peu plus grand (logo produit) */
.home-banner-orb--top.home-banner-orb--logo img {
    transform: scale(0.94);
}

.home-banner-orb--top.home-banner-orb--logo-sm img {
    transform: scale(0.92);
}

.home-banner-orb--top.home-banner-orb--logo-vbg img {
    transform: scale(0.88);
}

.home-banner-orb--top.home-banner-orb--logo-oi img {
    transform: scale(0.9);
}

.home-banner-orb--top.home-banner-orb--logo-prev img {
    transform: scale(0.88);
}

.home-banner-orbs--slide {
    position: relative;
    inset: auto;
    z-index: 2;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    overflow: visible;
    pointer-events: none;
}

.home-banner-orbs--static .home-banner-orb--left {
    z-index: 0;
}

/* Gauche — partiellement hors écran (décor uniquement) */
.home-banner-orb--left {
    width: clamp(200px, 28vw, 420px);
    height: clamp(200px, 28vw, 420px);
    left: clamp(-160px, -12vw, -80px);
    top: 48%;
    transform: translateY(-50%);
}

/* Bouquet droite : rayons 120 / 95 / 145 — côte à côte avec le texte via la grille */
.home-banner-orb-cluster {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(100%, 560px);
    max-width: 100%;
    aspect-ratio: 480 / 468.28;
    flex-shrink: 0;
}

.home-banner-orb-cluster .home-banner-orb {
    height: auto;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
}

.home-banner-orb-cluster .home-banner-orb--photo {
    /* carré strict → cercle parfait avec object-fit: cover */
    width: var(--orb-size, 50%);
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    min-height: 0;
}

.home-banner-orb--photo:not(.home-banner-orb--logo) img {
    object-fit: cover;
    object-position: center center;
    transform: none;
    border-radius: 0;
}

/* Haut — r = 120 */
.home-banner-orb--top {
    --orb-size: 50%;
    width: 50%;
    left: 34.375%;
    top: 25.63%;
}

/* Bas-gauche — r = 95 (le plus petit) */
.home-banner-orb--bl {
    --orb-size: 39.583%;
    width: 39.583%;
    left: 19.792%;
    top: 69.03%;
}

/* Bas-droite — r = 145 (le plus grand) */
.home-banner-orb--br {
    --orb-size: 60.417%;
    width: 60.417%;
    left: 69.792%;
    top: 69.03%;
}

@media (prefers-reduced-motion: no-preference) {
    .home-banner-orb--left {
        animation: home-banner-orb-nudge-y 8s ease-in-out infinite;
    }
    .home-banner-orb-cluster {
        animation: home-banner-orb-nudge-cluster 9s ease-in-out infinite;
    }
}

@keyframes home-banner-orb-nudge-y {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 8px)); }
}

@keyframes home-banner-orb-nudge-cluster {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.home-banner .ul-banner-txt {
    max-width: none;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: clamp(96px, 10vw, 180px) 0 clamp(88px, 8vw, 140px);
    margin-left: 0;
    min-width: 0;
    overflow: hidden;
}

.home-banner .ul-banner-container {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    min-width: 0;
    overflow: hidden;
}

.home-banner .ul-banner-txt-vector,
.home-banner .ul-banner-img,
.home-banner .ul-banner-img-vectors,
.home-banner .ul-banner-vectors {
    display: none !important;
}

.home-banner-slider {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.home-banner-slider .swiper-slide.home-banner-slide {
    position: relative;
    height: auto;
    min-height: 90vh;
    background: transparent;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(150px, 0.85fr);
    align-items: center;
    column-gap: clamp(0.5rem, 2.2vw, 2.5rem);
    padding-inline: clamp(0.85rem, 4.5vw, 5.5rem);
    overflow: hidden;
}

.home-banner-slide__bg {
    display: none !important;
}

.home-banner-slider .swiper-slide.home-banner-slide::before {
    display: none;
}

.home-banner-txt-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    animation: home-banner-fade-in 0.7s ease both;
}

.home-banner .ul-banner-title {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    line-height: 1.12;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: balance;
}

.home-banner .home-banner-title-line2 {
    display: inline;
}

.home-banner .ul-banner-descr {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.55;
}

.home-banner .ul-banner-btns {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(0.65rem, 1.5vw, 1.25rem);
}

.home-banner .ul-banner-btns .ul-btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
}

.home-banner-scroll {
    position: absolute;
    left: 50%;
    bottom: clamp(100px, 9vw, 130px);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    cursor: pointer;
    color: #fff;
    animation: home-banner-scroll-float 2.4s ease-in-out infinite;
}

.home-banner-scroll:hover {
    color: #fff;
}

.home-banner-scroll:hover .home-banner-scroll__mouse {
    border-color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.home-banner-scroll__mouse {
    position: relative;
    display: block;
    width: 28px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.home-banner-scroll__wheel {
    position: absolute;
    top: 9px;
    left: 50%;
    width: 4px;
    height: 9px;
    border-radius: 999px;
    background: #fff;
    transform: translateX(-50%);
    animation: home-banner-scroll-wheel 2s ease-in-out infinite;
}

.home-banner-scroll__chevron {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.75);
    border-bottom: 2px solid rgba(255, 255, 255, 0.75);
    transform: rotate(45deg);
    opacity: 0.85;
}

@keyframes home-banner-scroll-float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

@keyframes home-banner-scroll-wheel {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.35;
        transform: translateX(-50%) translateY(12px);
    }
}

.home-banner-slider .swiper-slide-active .home-banner-txt-inner {
    animation: home-banner-fade-in 0.85s ease both;
}

@keyframes home-banner-fade-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-banner-btn-outline {
    background: transparent !important;
    border: 2px solid #fff !important;
    color: #fff !important;
}

.home-banner-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

/* Photos JPG dans le masque organique du banner */
.home-banner-img .img-wrapper.home-banner-photo-wrap {
    background: linear-gradient(180deg, var(--ul-primary) 0%, rgba(235, 83, 16, 0) 51%, var(--ul-primary) 100%);
}

.home-banner-img .home-banner-slide-photo {
    object-fit: cover;
    object-position: center center;
    display: block;
    width: 100%;
    height: 100%;
}

.home-banner-controls {
    position: absolute;
    left: 50%;
    bottom: clamp(24px, 3vw, 48px);
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.5rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-banner-nav {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.home-banner-nav:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.05);
}

.home-banner-pagination {
    position: static !important;
    width: auto !important;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.home-banner-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    transition: width 0.25s, background 0.25s;
}

.home-banner-pagination .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 999px;
    background: #86c71f;
}

#home-applications {
    scroll-margin-top: 100px;
    background-color: var(--alliance-section-bg) !important;
}

#home-applications::before,
#home-applications::after {
    display: none;
}

#home-applications .ul-section-heading {
    justify-content: center;
    text-align: center;
}

#home-applications .ul-section-heading .left {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 991px) {
    .home-banner-slider .swiper-slide.home-banner-slide {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
        min-height: 90vh;
        column-gap: 0;
        row-gap: 0.75rem;
        padding-inline: clamp(1rem, 4vw, 2rem);
        padding-bottom: clamp(5.5rem, 12vw, 7rem);
        align-items: stretch;
        justify-items: center;
    }

    .home-banner .ul-banner-container {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 36rem;
        margin-inline: auto;
    }

    .home-banner-orbs--slide {
        grid-column: 1;
        grid-row: 2;
        width: min(78vw, 320px);
        margin-inline: auto;
        margin-bottom: 0.25rem;
    }

    .home-banner-orb-cluster {
        width: 100%;
    }

    .home-banner-orb--left {
        left: -38%;
        opacity: 0.35;
    }

    .home-banner-orb--photo {
        border-width: 2px;
    }

    .home-banner .ul-banner-txt {
        padding: clamp(5.5rem, 12vw, 7rem) 0 0.5rem;
        text-align: center;
        overflow: visible;
    }

    .home-banner-txt-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .home-banner .ul-banner-title {
        font-size: clamp(1.55rem, 6.2vw, 2.35rem);
        line-height: 1.12;
        letter-spacing: -0.02em;
        text-align: center;
    }

    .home-banner .ul-banner-descr {
        font-size: clamp(0.9rem, 3.4vw, 1.02rem);
        margin-bottom: 1.15rem;
        text-align: center;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-width: 34rem;
    }

    .home-banner .ul-banner-btns {
        gap: 0.65rem;
        justify-content: center;
    }

    .home-banner .ul-banner-btns .ul-btn {
        flex: 0 1 auto;
        min-width: 0;
    }

    .home-banner-controls {
        bottom: 14px;
    }

    .home-banner-scroll {
        bottom: clamp(4.75rem, 11vw, 6rem);
    }
}

@media (max-width: 576px) {
    .home-banner-slider .swiper-slide.home-banner-slide {
        padding-inline: 1rem;
        padding-bottom: 5.25rem;
        row-gap: 0.5rem;
    }

    .home-banner .ul-banner-txt {
        padding-top: 5.25rem;
    }

    .home-banner-orbs--slide {
        width: min(72vw, 280px);
    }

    .home-banner .ul-banner-descr {
        -webkit-line-clamp: 4;
    }

    .home-banner .ul-banner-btns .ul-btn {
        font-size: 0.82rem;
        padding: 0.6rem 0.95rem;
    }

    .home-banner-orb-cluster .home-banner-orb--photo {
        border-width: 1.5px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
    }
}

@media (prefers-reduced-motion: reduce) {

    .home-banner-txt-inner,
    .home-banner-slider .swiper-slide-active .home-banner-txt-inner {
        animation: none;
    }

    .home-banner-scroll {
        animation: none;
        transform: translateX(-50%);
    }

    .home-banner-scroll__wheel {
        animation: none;
    }
}

.home-back-to-top {
    position: fixed;
    right: clamp(18px, 2.2vw, 32px);
    bottom: clamp(18px, 2.2vw, 32px);
    z-index: 999;
    width: 3rem;
    height: 3rem;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5c518;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

.home-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.home-back-to-top:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    filter: brightness(1.04);
}

.home-back-to-top:focus-visible {
    outline: 3px solid rgba(245, 197, 24, 0.45);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .home-back-to-top {
        transition: opacity 0.2s ease, visibility 0.2s ease;
        transform: none;
    }

    .home-back-to-top.is-visible {
        transform: none;
    }
}

.home-stats-strip {
    background: #0f172a;
    color: #fff;
    padding: 2rem 0;
}

.home-stat-item {
    text-align: center;
    padding: 0.5rem 1rem;
}

.home-stat-item .num {
    font-size: 2rem;
    font-weight: 800;
    color: #4ade80;
    line-height: 1.1;
}

.home-stat-item .lbl {
    font-size: 0.8rem;
    opacity: 0.85;
    margin-top: 0.25rem;
}

.home-filters {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    padding: 1.25rem 1.5rem;
    margin-top: -2.5rem;
    position: relative;
    z-index: 2;
}

.home-filter-chip {
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    color: #475569;
}

.home-filter-chip:hover,
.home-filter-chip.is-active {
    background: #00B050;
    border-color: #00B050;
    color: #fff;
}

.home-programme-card {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
    background: #fff;
}

.home-programme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 176, 80, 0.1);
}

.home-programme-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1rem;
}

.home-app-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.home-app-card:hover {
    transform: translateY(-6px);
    border-color: #00B050;
    box-shadow: 0 20px 48px rgba(0, 176, 80, 0.15);
}

.home-app-card__media {
    position: relative;
    overflow: hidden;
}

.home-app-card__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.home-app-card:hover .home-app-card__media img {
    transform: scale(1.05);
}

.home-app-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.55) 100%);
    pointer-events: none;
}

.home-app-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 46, 21, 0.15);
}

.home-app-card__icon {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 1;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: #009734;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.home-app-card__body {
    padding: 1.25rem 1.25rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-app-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.65rem;
    line-height: 1.35;
}

.home-app-card__descr {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 1.25rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-app-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: #0f172a;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.home-app-card__cta:hover {
    background: #00B050;
    color: #fff;
}

.home-app-card__cta i {
    font-size: 0.85rem;
}

/* ── Cartes applications (section Nos Produits) ── */
#home-applications .ul-events-wrapper {
    margin-top: clamp(1.5rem, 2.5vw, 2.5rem);
}

#home-applications .ul-events-wrapper .row {
    --bs-gutter-y: clamp(1.25rem, 2vw, 1.75rem);
    --bs-gutter-x: clamp(1rem, 1.8vw, 1.5rem);
}

#home-applications .ul-events-wrapper .row>.col {
    display: flex;
}

.home-app-event {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 2px solid transparent;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    padding: clamp(1rem, 1.5vw, 1.35rem) !important;
    gap: clamp(1rem, 1.6vw, 1.5rem) !important;
    align-items: stretch !important;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease;
}

.home-app-event .ul-event-img.home-app-event__media {
    flex-shrink: 0;
    align-self: center;
    width: 172px;
    max-width: 172px;
    min-width: 172px;
    height: 172px;
    min-height: 172px;
    max-height: 172px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    box-shadow: none;
}

.home-app-event .ul-event-img.home-app-event__media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

/* Logos / graphiques : même cadre, image un peu plus grande */
.home-app-event--logo .ul-event-img.home-app-event__media {
    width: 172px;
    max-width: 172px;
    min-width: 172px;
    height: 172px;
    min-height: 172px;
    max-height: 172px;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    border-radius: 14px;
}

.home-app-event--logo .ul-event-img.home-app-event__media img {
    object-fit: contain;
    object-position: center center;
    transform: scale(1.06);
    transform-origin: center center;
}

.hub-other-products__item .home-app-event--logo .ul-event-img.home-app-event__media {
    width: 172px;
    min-width: 172px;
    max-width: 172px;
    height: 172px;
    min-height: 172px;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.hub-other-products__item .home-app-event--logo .ul-event-img.home-app-event__media img {
    object-fit: contain !important;
}

.home-app-event .ul-event-txt {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    min-height: 0;
    padding: 0;
    gap: 0.35rem;
}

.home-app-event .ul-event-title {
    font-size: clamp(1.1rem, 1.4vw, 1.3rem) !important;
    line-height: 1.25;
    margin-bottom: 0.25rem !important;
    min-height: calc(1.25em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-app-event .ul-event-descr.home-app-event__descr {
    font-size: clamp(0.82rem, 0.95vw, 0.95rem);
    line-height: 1.45;
    margin-bottom: 0.65rem !important;
    flex: 1 1 auto;
    min-height: calc(1.45em * 3);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-app-event .home-app-event__btn {
    align-self: flex-start;
    margin-top: auto;
    flex-shrink: 0;
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);
    padding: 0.55rem 1.1rem !important;
}

@media (max-width: 991px) {
    .home-app-event {
        align-items: stretch !important;
    }
}

@media (max-width: 575px) {
    .home-app-event {
        flex-direction: column !important;
        align-items: stretch !important;
        min-height: 0;
        padding: 1rem !important;
    }

    .home-app-event .ul-event-img.home-app-event__media,
    .home-app-event--logo .ul-event-img.home-app-event__media {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: 160px;
        min-height: 160px;
        max-height: 160px;
        aspect-ratio: auto;
        align-self: stretch;
    }

    .home-app-event .ul-event-descr.home-app-event__descr {
        -webkit-line-clamp: 3;
        min-height: calc(1.45em * 3);
    }
}

.home-app-event::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(135deg,
            #00B050 0%,
            #86c71f 28%,
            #009734 52%,
            #fd341a 78%,
            #00B050 100%);
    background-size: 280% 280%;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.4s ease;
    animation: home-app-gradient-flow 4s ease infinite;
    animation-play-state: paused;
}

.home-app-event:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
        0 22px 48px rgba(0, 151, 52, 0.18),
        0 8px 20px rgba(15, 23, 42, 0.08);
}

.home-app-event:hover::before {
    opacity: 1;
    animation-play-state: running;
}

.home-app-event>* {
    position: relative;
    z-index: 1;
}

.home-app-event .ul-event-img {
    overflow: hidden;
    transition: box-shadow 0.45s ease;
}

.home-app-event .ul-event-img img {
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.home-app-event:hover .ul-event-img img {
    transform: scale(1.05);
}

.home-app-event--logo:hover .ul-event-img.home-app-event__media img {
    transform: scale(1.1);
}

.home-app-event:hover .ul-event-img {
    box-shadow: 0 12px 28px rgba(0, 151, 52, 0.22);
}

.home-app-event .ul-event-title a {
    transition: color 0.3s ease, opacity 0.3s ease;
}

.home-app-event:hover .ul-event-title a {
    opacity: 0.92;
}

.home-app-event__descr {
    opacity: 0.9;
}

.home-app-event__btn {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1a2420 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.home-app-event__btn:hover {
    background: #fff !important;
    color: #009734 !important;
}

.home-app-event__media {
    position: relative;
}

.home-app-event .ul-btn {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.home-app-event:hover .ul-btn {
    transform: translateX(4px);
}

@keyframes home-app-gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .home-app-event,
    .home-app-event::before,
    .home-app-event .ul-event-img img,
    .home-app-event .ul-btn {
        transition: none;
        animation: none;
    }

    .home-app-event:hover {
        transform: none;
    }

    .home-app-event:hover .ul-event-img img {
        transform: none;
    }
}

.home-apps-empty {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: #64748b;
    border: 2px dashed rgba(255, 255, 255, 0.35);
}

.home-apps-empty i {
    font-size: 2.5rem;
    color: #00B050;
    margin-bottom: 1rem;
    display: block;
}

.ul-testimonial-slider {
    --shadow-space: 20px;
}

.ul-testimonial-slider .swiper-slide {
    height: auto;
}

/* Un seul témoignage : centré (hors Swiper) */
.ul-testimonial-slider--single {
    overflow: visible;
}

.ul-testimonial-slider--single .swiper-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: stretch;
    transform: none !important;
    width: 100% !important;
}

.ul-testimonial-slider--single .swiper-slide {
    width: min(720px, 100%) !important;
    max-width: min(720px, 100%);
    margin: 0 auto !important;
    flex: 0 0 auto;
}

.ul-testimonial-slider--single .ul-testimonial-slider-pagination {
    display: none;
}

.ul-testimonial-slider .ul-event.home-temoignage-card,
.home-temoignage-card {
    height: 100%;
    text-align: left;
    box-shadow: 0 8px 32px rgba(1, 44, 21, 0.08);
    padding: 26px 28px;
    gap: 22px;
    align-items: flex-start;
    border-radius: 20px;
    min-height: 240px;
    display: flex;
    background: #fff;
}

.home-temoignage-aside {
    flex-shrink: 0;
    width: 108px;
    text-align: center;
}

.ul-testimonial-slider .home-temoignage-img,
.home-temoignage-card .home-temoignage-img {
    width: 84px;
    height: 84px;
    max-width: 84px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.ul-testimonial-slider .home-temoignage-img img,
.home-temoignage-card .home-temoignage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.home-temoignage-author {
    margin-top: 12px;
}

.home-temoignage-author-name {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: var(--ul-black, #1a1a1a);
}

.home-temoignage-author-meta {
    font-size: 0.75rem;
    color: var(--ul-p, #64748b);
    margin: 4px 0 0;
    line-height: 1.3;
}

.ul-testimonial-slider .ul-event-txt,
.home-temoignage-card .ul-event-txt {
    flex: 1;
    min-width: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    padding-top: 4px;
    padding-right: 36px;
}

.home-temoignage-quote {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0 !important;
    color: var(--ul-primary);
    opacity: 0.35;
    font-size: 1.75rem;
    line-height: 1;
}

.home-temoignage-quote i {
    display: block;
}

.home-temoignage-aside .home-temoignage-date {
    position: static;
    transform: none;
    margin: 12px auto 0;
    background: #fff;
    color: var(--ul-primary);
    font-weight: 900;
    font-size: 13px;
    line-height: 1.1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 6px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.ul-testimonial-slider .ul-event-title,
.home-temoignage-card .ul-event-title {
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

.ul-testimonial-slider .ul-event-title a,
.home-temoignage-card .ul-event-title a {
    color: inherit;
    text-decoration: none;
}

.ul-testimonial-slider .ul-event-title a:hover,
.home-temoignage-card .ul-event-title a:hover {
    color: var(--ul-primary);
}

.ul-testimonial-slider .ul-event-descr,
.home-temoignage-card .ul-event-descr {
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-temoignage-divider {
    border-top: 1px solid #D2D2D1;
    margin-top: 22px;
    margin-bottom: 18px;
}

.home-temoignage-date span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
}

.ul-testimonial-slider .home-temoignage-action,
.home-temoignage-card .home-temoignage-action {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.ul-testimonial-slider .home-temoignage-action .ul-btn,
.home-temoignage-card .home-temoignage-action .ul-btn {
    font-size: 0.875rem;
    padding: 10px 18px;
}

@media screen and (min-width: 992px) {

    .ul-testimonial-slider .ul-event.home-temoignage-card,
    .home-temoignage-card {
        padding: 28px 30px;
        min-height: 260px;
    }

    .home-temoignage-aside {
        width: 118px;
    }

    .ul-testimonial-slider .home-temoignage-img,
    .home-temoignage-card .home-temoignage-img {
        width: 92px;
        height: 92px;
        max-width: 92px;
    }
}

/* Modal de bienvenue (connexion) */

.welcome-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
    background: #fff;
}

.welcome-modal__inner {
    padding: 24px;
}

.welcome-modal__top {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ul-gray2, #e8e8e8);
}

.welcome-modal__logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-modal__logo-card img {
    max-width: 100%;
    max-height: 64px;
    height: auto;
    object-fit: contain;
}

.welcome-modal__title-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.welcome-modal__title-card span {
    font-size: 14px;
    font-weight: 700;
    color: var(--ul-black, #1a1a1a);
}

.welcome-modal__body {
    text-align: center;
}

.welcome-modal__text {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    color: var(--ul-p, #434343);
}

.welcome-modal__text strong {
    color: var(--ul-black, #1a1a1a);
    font-weight: 600;
}

.welcome-modal__body .ul-btn {
    min-width: 220px;
    justify-content: center;
}

@media (max-width: 400px) {
    .welcome-modal__top {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ── Home blogs (layout type témoignages + cartes compactes) ── */
.home-blogs {
    background-color: var(--alliance-section-bg);
    max-width: none;
    overflow: visible;
}

.home-blogs .ul-section-heading {
    background: transparent;
    height: auto;
    justify-content: center;
    text-align: center;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.home-blogs .ul-section-heading .left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    max-width: 40rem;
    margin: 0 auto;
}

.home-blogs > .ul-container {
    width: 100%;
}

.home-blogs-slider-wrap {
    position: relative;
    padding: 0 clamp(2.75rem, 5vw, 4rem);
}

.home-blogs .ul-blogs-slider {
    --shadow-space: 12px;
    padding: 0.5rem var(--shadow-space) 1.35rem;
    margin: 0 calc(var(--shadow-space) * -1);
}

.home-blogs .ul-blogs-slider .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.home-blogs-nav {
    position: absolute;
    inset: 0;
    width: 100%;
    margin: 0;
    transform: none;
    pointer-events: none;
    z-index: 4;
}

.home-blogs-nav .prev,
.home-blogs-nav .next {
    pointer-events: auto;
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--ul-black, #1a2420);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-blogs-nav .prev { left: 0; }
.home-blogs-nav .next { right: 0; }

.home-blogs-nav .prev:hover,
.home-blogs-nav .next:hover {
    background: #EA0029;
    color: #fff;
    border-color: #EA0029;
}

.home-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: none;
    margin: 0;
    background: #00953e;
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 28px rgba(10, 58, 34, 0.14);
    text-align: left;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.home-blog-card:hover {
    box-shadow: 0 16px 36px rgba(10, 58, 34, 0.2);
    transform: translateY(-3px);
}

.home-blog-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    min-height: clamp(170px, 18vw, 210px);
    background: #0a3a22;
}

.home-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.home-blog-card:hover .home-blog-card__media img {
    transform: scale(1.04);
}

.home-blog-card__date {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    min-width: 2.65rem;
    padding: 0.35rem 0.45rem;
    border-radius: 7px;
    background: #0a3a22;
    color: #fff;
    text-align: center;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.home-blog-card__date .number {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.15rem;
}

.home-blog-card__date .txt {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.95;
}

.home-blog-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.1rem 1.15rem;
    flex: 1;
    min-height: 9.5rem;
    background: #00953e;
    color: #fff;
}

.home-blog-card__category {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #86c71f;
}

.home-blog-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.32;
    color: #fff;
    text-decoration: none;
    min-height: 2.5em;
}

.home-blog-card__title:hover {
    color: #86c71f;
}

.home-blog-card__excerpt {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.home-blog-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.75);
}

.home-blog-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.home-blog-card__meta .bi {
    font-size: 0.9rem;
}

.home-blog-card--empty {
    min-height: 140px;
    justify-content: center;
}

.home-blog-card--empty .home-blog-card__excerpt {
    color: rgba(255, 255, 255, 0.88);
}

.home-blogs-slider-pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.home-blogs-slider-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    opacity: 1;
    border-radius: 999px;
    transition: width 0.25s ease, background 0.25s ease;
}

.home-blogs-slider-pagination .swiper-pagination-bullet-active {
    width: 22px;
    background: #EA0029;
}

@media (max-width: 767px) {
    .home-blogs-slider-wrap {
        padding: 0 2.5rem;
    }

    .home-blogs-nav .prev,
    .home-blogs-nav .next {
        width: 2.35rem;
        height: 2.35rem;
        top: 38%;
    }
}

/* ── Fond mint #e8f8f3 — sections accueil ciblées ── */
.home-page .ul-testimonial.ul-section-spacing,
.home-page .ul-gallery.ul-section-spacing,
.home-page .ul-why-join.ul-section-spacing {
    background-color: var(--alliance-section-bg);
}

.home-page .ul-testimonial.ul-section-spacing {
    background-color: var(--alliance-section-bg) !important;
}

/* Galerie accueil — marquee continu (chaine sans trou) */
.home-gallery-marquee {
    overflow: hidden;
    width: 100%;
}

.home-gallery-marquee__track {
    --gallery-marquee-shift: 50%;
    display: flex;
    width: max-content;
    animation: home-gallery-marquee-scroll 45s linear infinite;
    will-change: transform;
}

.home-gallery-marquee:hover .home-gallery-marquee__track {
    animation-play-state: paused;
}

.home-gallery-marquee__group {
    display: flex;
    align-items: center;
    gap: clamp(15px, 2vw, 28px);
    padding-inline-end: clamp(15px, 2vw, 28px);
    flex-shrink: 0;
}

.home-page .home-gallery-marquee .ul-gallery-item {
    flex: 0 0 auto;
    width: clamp(108px, 10vw, 148px);
}

@keyframes home-gallery-marquee-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(calc(-1 * var(--gallery-marquee-shift)), 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-gallery-marquee__track {
        animation: none;
    }
}

.home-page .ul-gallery-item {
    width: 100%;
}

.home-page .ul-gallery-item__trigger {
    display: block;
    position: relative;
    border-radius: 999px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.home-page .ul-gallery-item__trigger:hover .ul-gallery-item-btn-wrapper {
    opacity: 1;
}

.home-page .ul-gallery-item-btn-wrapper {
    pointer-events: none;
}

.home-page .ul-gallery-item-btn-wrapper a {
    font-size: clamp(22px, 1.6vw, 30px);
}

/* Lightbox galerie — image circulaire en grand */
img.home-gallery-lightbox-img,
.home-gallery-lightbox-img {
    border-radius: 50% !important;
    width: min(72vmin, 560px) !important;
    height: min(72vmin, 560px) !important;
    max-width: min(72vmin, 560px) !important;
    max-height: min(72vmin, 560px) !important;
    object-fit: cover !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.home-page .ul-why-join .ul-why-join-wrapper {
    background-color: #fff;
    max-width: none;
    width: 100%;
}

.home-page .ul-why-join .ul-why-join-wrapper::before {
    opacity: 0.04;
}

/* ── Rejoignez-nous (accueil) — taille équilibrée ── */
.home-page .ul-why-join.ul-section-spacing {
    padding-top: clamp(3rem, 5vw, 4rem);
    padding-bottom: clamp(3rem, 5vw, 4rem);
}

.home-page .ul-why-join .ul-why-join-wrapper.ul-section-spacing {
    padding-top: clamp(1.75rem, 3.2vw, 2.75rem);
    padding-bottom: clamp(1.75rem, 3.2vw, 2.75rem);
    padding-left: clamp(1rem, 2.2vw, 1.75rem);
    padding-right: clamp(1rem, 2.2vw, 1.75rem);
    max-width: none;
    width: 100%;
    border-radius: 20px;
}

.home-page .ul-why-join .row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 1.5rem;
    align-items: center;
}

.home-page .ul-why-join-img {
    margin: 0 auto;
}

.home-page .ul-why-join-img::before {
    bottom: -14px;
    left: -14px;
    border-radius: 16px;
}

.home-page .ul-why-join-img img {
    width: clamp(260px, 30vw, 480px);
    max-height: 420px;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 16px;
}

.home-page .ul-why-join-txt .ul-section-sub-title {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.home-page .ul-why-join-txt .ul-section-sub-title::before {
    width: 10px;
    margin-right: 7px;
}

.home-page .ul-why-join-txt .ul-section-title {
    font-size: clamp(1.35rem, 2.4vw, 2.1rem);
    font-weight: 800;
    line-height: 1.28;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.home-page .ul-why-join-txt .home-why-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.home-page .ul-why-join-txt .ul-section-descr {
    font-size: clamp(0.9rem, 1vw, 1.05rem);
    line-height: 1.58;
    margin-bottom: 1.15rem;
}

.home-page .ul-why-join .ul-accordion {
    margin-top: 0;
}

.home-page .ul-why-join .ul-single-accordion-item {
    padding: 0.8rem 1.1rem;
    margin-bottom: 0.55rem;
    border-radius: 10px;
    border-color: rgba(0, 0, 0, 0.12);
}

.home-page .ul-why-join .ul-single-accordion-item__title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
}

.home-page .ul-why-join .ul-single-accordion-item__header i {
    font-size: 1rem;
}

.home-page .ul-why-join .ul-single-accordion-item.open .ul-single-accordion-item__body {
    padding-top: 0.5rem;
}

.home-page .ul-why-join .ul-single-accordion-item__body p {
    font-size: 0.88rem;
    line-height: 1.52;
}

@media (max-width: 767px) {
    .home-page .ul-why-join-img img {
        width: min(320px, 88vw);
        max-height: 280px;
    }

    .home-page .ul-why-join .ul-why-join-wrapper.ul-section-spacing {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

/* ── Obtenir de l'aide (accueil) ── */
.home-get-help {
    background-color: var(--alliance-section-bg);
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-bottom: clamp(2.75rem, 5.5vw, 4rem);
}

.home-get-help__title {
    margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
    font-size: clamp(1.65rem, 2.2vw + 1rem, 2.25rem);
    font-weight: 800;
    color: #0d9488;
    letter-spacing: -0.02em;
}

.home-get-help__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
    max-width: 920px;
    margin: 0 auto;
}

.home-get-help__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.65rem;
    min-height: 168px;
    padding: 1.5rem 1.25rem;
    background: #fff;
    border: none;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    font-family: inherit;
}

.home-get-help__card:hover,
.home-get-help__card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    outline: none;
}

.home-get-help__card--chat:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 149, 62, 0.35), 0 16px 36px rgba(15, 23, 42, 0.1);
}

.home-get-help__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: #fff;
}

.home-get-help__icon--find {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.home-get-help__icon--chat {
    background: linear-gradient(135deg, #00953e 0%, #94c11f 100%);
}

.home-get-help__icon--call {
    background: linear-gradient(135deg, #00953e, #94c11f);
}

.home-get-help__label {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.home-get-help__descr {
    font-size: 0.875rem;
    line-height: 1.45;
    color: #475569;
    max-width: 14rem;
}

@media (max-width: 767px) {
    .home-get-help__grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .home-get-help__card {
        min-height: 0;
        padding: 1.35rem 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .home-get-help__grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }

    .home-get-help__descr {
        font-size: 0.8rem;
    }
}
