
.bg-no-repeat {
    background-repeat: no-repeat;
}

.hidden-label {
    visibility: hidden;
}

.text-black-important {
    color: black !important;
}

.swiper-custom-transition {
    transition-duration: 0ms;
    transition-delay: 0ms;
    transform: translate3d(-5px, 0px, 0px);
}

.swiper-slide-custom {
    width: 301.5px;
    margin-right: 30px;
}

.img-relative {
    position: relative;
}

/* Responsive padding/margin adjustments */


.counter-wrapper {
    display: flex;
    align-items: center;
    font-size: 3rem;
    font-weight: bold;
    color: white;
    position: relative;
}

.counter-symbol {
    position: relative;
    left: 47px;
    top: -4px;
}

.count-text {
    position: relative;
    left: -9px;
    top: 1px;
}


@media (min-width: 330px) {

    .heroSection-Heading {
        font-size: 23px;
        font-style: normal;
        font-weight: 600;
        letter-spacing: 1.28px;
        padding-right: 1px;
    }
}

@media (min-width: 768px) {
    .heroSection-Heading {
        font-size: 36px;
    }

}

@media (min-width: 1024px) {
    .heroSection-Heading {
        font-size: 40px;
    }
}


@media (min-width: 1280px) {
    .heroSection-Heading {
        font-size: 45px;
    }
}

@media (min-width: 1536px) {
    .heroSection-Heading {
        font-size: 45px;
        padding-right: 118px;
    }
}

/* Scoped styles for the experimental new-home page */
.nh-hero {
    position: relative;
    background: radial-gradient(1200px 600px at 10% 10%, rgba(99, 102, 241, 0.35), transparent 60%),
    linear-gradient(180deg, #0a0f1f 0%, #0b1220 100%);
    color: #fff;
    overflow: hidden;
}

/* Translation block */
.nh-translate {
    background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
}

.nh-translate-card {
    border: 1px solid #eef2f7;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(16, 24, 40, 0.06);
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.nh-translate-title {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nh-translate-sub {
    color: #334155;
}

.nh-ys-chip {
    height: 28px;
}

.nh-translate-form .form-label {
    font-weight: 600;
    color: #0f172a;
}

.nh-translate-form .form-select {
    padding-top: .65rem;
    padding-bottom: .65rem;
    border-radius: 10px;
}

.nh-translate-form .btn-primary {
    padding-top: .8rem;
    padding-bottom: .8rem;
}

.nh-translate-hint i {
    color: #10b981;
}

.nh-hero .container {
    padding-top: 72px;
    padding-bottom: 72px;
}

@media (min-width: 992px) {
    .nh-hero .container {
        padding-top: 96px;
        padding-bottom: 96px;
    }
}

.nh-hero .glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    border-radius: 16px;
}

.nh-hero h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.nh-hero .lead {
    color: #f3f4f6;
}

.nh-cta .btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.45);
}

.nh-cta .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.95);
    border-width: 2px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nh-cta .btn-outline-light:hover {
    background: #ffffff;
    color: #0b1220;
    border-color: #ffffff;
}

.nh-hero-logo {
    opacity: 0.55;
    max-width: 360px;
}

.nh-hero-slogan {
    color: #cbd5e1;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    opacity: 0.9;
}

.nh-search {
    margin-top: 24px;
}

/* Skip link */
.visually-hidden-focusable {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.visually-hidden-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 8px 0;
    padding: 8px 12px;
    background: #ffffff;
    color: #111827;
    border: 2px solid #111827;
    border-radius: 6px;
    z-index: 2000;
}

/* Fix Bootstrap modal stacking on this page only */
.modal-backdrop.show {
    z-index: 1050 !important;
}

.modal {
    z-index: 1060 !important;
}

/* Yousign section */
.nh-yousign {
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.nh-card {
    border-radius: 16px;
    border: 1px solid #eef2f7;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
    background: #fff;
}

.nh-yousign .badge {
    background: #eef2ff;
    color: #3730a3;
    font-weight: 700;
    border-radius: 999px;
    padding: 8px 14px;
}

.nh-yousign h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.nh-yousign p {
    color: #334155;
}

.nh-yousign .brand {
    height: 28px;
}

/* Partnership composition */
.nh-partner-compo {
    max-width: 520px;
    margin: 0 auto;
}

.nh-card.skin {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.nh-lockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nh-orb {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08), inset 0 0 0 1px #eef2f7;
    position: relative;
}

.nh-orb--dark {
    background: radial-gradient(85% 85% at 30% 25%, #111827, #0b1220);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22), inset 0 0 0 1px rgba(148, 163, 184, 0.25);
}

.nh-orb.ring::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    background: conic-gradient(from 180deg at 50% 50%, #1f2937, #334155, #1e293b, #1f2937);
    opacity: 0.6;
    filter: blur(0.3px);
    z-index: 0;
}

.nh-orb.ring > * {
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .nh-orb {
        width: 150px;
        height: 150px;
    }
}

.nh-orb-img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.nh-x {
    font-weight: 800;
    color: #475569;
    font-size: 20px;
}

.nh-connector {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nh-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    display: inline-block;
}

.nh-line {
    width: 372px;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, #cbd5e1, #e2e8f0);
    display: inline-block;
    margin: 0 10px;
    border-radius: 2px;
}

.nh-powered {
    color: #64748b;
}


.nh-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.nh-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-weight: 600;
    font-size: 13px;
}

.nh-step i {
    color: #10b981;
}

.nh-arrow {
    width: 28px;
    height: 2px;
    background: #cbd5e1;
    border-radius: 2px;
}

.nh-seal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-weight: 700;
}

.nh-seal .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 2px #dcfce7;
}

/* Offer (Notre offre) */
.nh-offer {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.nh-offer-title {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.nh-offer-sub {
    max-width: 820px;
    color: #475569;
}

.nh-offer-note {
    color: #64748b;
}

.nh-offer-card {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 22px rgba(16, 24, 40, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.nh-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(16, 24, 40, 0.10);
    border-color: #e2e8f0;
}

.nh-offer-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f1f5f9 0%, #e9eef5 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px #e2e8f0;
    margin-bottom: 12px;
}

.nh-offer-icon .fa {
    font-size: 26px;
    color: #0f172a;
}

.nh-offer-text {
    color: #0f172a;
    font-weight: 700;
}

.nh-offer-btn {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25);
}

.nh-offer-btn:hover {
    opacity: .95;
    color: #fff;
}

/* Horizontal card helpers and badges */
.nh-offer-body {
    min-height: 100%;
}

.nh-offer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.nh-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 4px 8px;
    font-weight: 600;
    font-size: 12px;
}

.nh-badge-trust {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}

.nh-badge-fast {
    background: #eff6ff;
    color: #1e40af;
    border-color: #bfdbfe;
}

.nh-badge-easy {
    background: #f5f3ff;
    color: #5b21b6;
    border-color: #ddd6fe;
}

.nh-offer-desc {
    color: #64748b;
}

/* YouTube presentation dark band */
.nh-yt {
    position: relative;
    background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
    color: #e5e7eb;
    overflow: hidden;
}

.nh-yt .container {
    padding-top: 56px;
    padding-bottom: 56px;
}

@media (min-width: 992px) {
    .nh-yt .container {
        padding-top: 72px;
        padding-bottom: 72px;
    }
}

.nh-yt .kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a5b4fc;
    font-weight: 700;
    font-size: 12px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 999px;
    padding: 6px 10px;
}

.nh-yt .title {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nh-yt .subtitle {
    color: #cbd5e1;
}

.nh-yt .points {
    color: #cbd5e1;
}

.nh-yt .points li {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 10px;
}

.nh-yt .points i {
    color: #22c55e !important;
    margin-top: 2px;
}

.nh-yt .trust {
    color: #94a3b8;
}

.nh-yt .trust img {
    height: 26px;
    border-radius: 6px;
    background: #0b1020;
    padding: 2px 6px;
}

.nh-yt .halo {
    position: absolute;
    inset: -20%;
    background: radial-gradient(600px 600px at 20% 10%, rgba(79, 70, 229, 0.25), transparent 60%), radial-gradient(600px 600px at 80% 90%, rgba(6, 182, 212, 0.18), transparent 60%);
    filter: blur(12px);
    opacity: .7;
    pointer-events: none;
}

/* Video wrapper with real thumbnail and stable overlay */
.nh-yt .video-shell {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #0b1220;
    min-height: 320px;
}

@media (min-width: 992px) {
    .nh-yt .video-shell {
        min-height: 420px;
    }
}

.nh-yt .video-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nh-yt .video-placeholder::before {
    /* Darken thumbnail for contrast */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.55), rgba(2, 6, 23, 0.35));
}

.nh-yt .play-button {
    position: relative;
    z-index: 2;
    width: 74px;
    height: 74px;
    border-radius: 999px;
    border: none;
    background: radial-gradient(circle at 30% 30%, #ffffff, #c7d2fe);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.45);
    cursor: pointer;
    transition: transform .2s ease;
}

.nh-yt .play-button::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 16px solid #312e81;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.nh-yt .play-button:hover {
    transform: scale(1.05);
}

.nh-yt .video-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0;
    transition: opacity .25s ease;
}

.nh-yt .video-shell.is-playing .video-iframe {
    opacity: 1;
}

.nh-yt .video-shell.is-playing .play-button {
    display: none;
}

.nh-yt .video-shell.is-playing .video-placeholder::before {
    background: rgba(0, 0, 0, 0.05);
}

/* Ensure the thumbnail overlay doesn't cover the iframe when playing */
.nh-yt .video-shell.is-playing .video-placeholder {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Counters (Quelques chiffres) */
.nh-counters-row {
    margin-top: 6px;
}

.nh-counter-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 10px 8px;
    box-shadow: none;
    transition: transform .2s ease;
}

.nh-counter-card:hover {
    transform: translateY(-2px);
}

.nh-counter-circle {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: radial-gradient(85% 85% at 30% 25%, #f8fafc, #eef2f7);
    box-shadow: inset 0 0 0 2px #e5e7eb, 0 8px 18px rgba(15, 23, 42, 0.05);
}

.nh-counter-circle .fa, .nh-counter-circle .fas {
    color: #0f172a;
    font-size: 36px;
}

.nh-counter-value {
    font-weight: 800;
    color: #0f172a;
    font-size: 46px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

.nh-counter-value::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #e2e8f0, #cbd5e1);
    margin: 6px auto 0;
}

.nh-counter-label {
    color: #475569;
    font-size: 14px;
    margin-top: 2px;
}

.nh-source {
    color: #64748b !important;
}