/* ============================================================
   NEURO SOFT — Animations & effets visuels avancés
   Fichier autonome, chargé en dernier pour prendre le dessus.
   Palette : --ns-teal / --ns-navy définies dans _Layout.
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   1. PRELOADER — écran de chargement branded
   ──────────────────────────────────────────────────────────── */
.ns-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--ns-grad-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity .6s ease, visibility .6s ease;
}

.ns-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ns-preloader-logo {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(34,197,177,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c5b1;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: .1em;
    box-shadow: 0 20px 60px rgba(0,0,0,.4), inset 0 0 30px rgba(34,197,177,.2);
    animation: ns-pl-pulse 1.6s ease-in-out infinite;
    position: relative;
}

.ns-preloader-logo::before,
.ns-preloader-logo::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 26px;
    border: 2px solid rgba(34,197,177,.35);
    animation: ns-pl-ring 1.8s ease-out infinite;
}

.ns-preloader-logo::after {
    animation-delay: .6s;
}

@keyframes ns-pl-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes ns-pl-ring {
    0% { transform: scale(1); opacity: .8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.ns-preloader-text {
    margin-top: 1.4rem;
    font-family: 'Rajdhani', sans-serif;
    color: rgba(255,255,255,.9);
    letter-spacing: .3em;
    font-size: .75rem;
    text-transform: uppercase;
}

.ns-preloader-bar {
    width: 180px;
    height: 3px;
    background: rgba(255,255,255,.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
    position: relative;
}

.ns-preloader-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, #22c5b1, transparent);
    animation: ns-pl-bar 1.4s ease-in-out infinite;
}

@keyframes ns-pl-bar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ────────────────────────────────────────────────────────────
   2. SCROLL PROGRESS BAR — indicateur de lecture
   ──────────────────────────────────────────────────────────── */
.ns-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a9c8c, #22c5b1, #1a9c8c);
    background-size: 200% 100%;
    z-index: 9999;
    transition: width .1s linear;
    box-shadow: 0 0 12px rgba(34,197,177,.6);
    animation: ns-sp-shine 3s linear infinite;
}

@keyframes ns-sp-shine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ────────────────────────────────────────────────────────────
   3. HERO — orbes animées + grille + gradient shift
   ──────────────────────────────────────────────────────────── */
.hero-section .ns-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .55;
    pointer-events: none;
    z-index: 0;
    animation: ns-orb-float 20s ease-in-out infinite;
    will-change: transform;
}

.hero-section .ns-orb--1 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(34,197,177,.55), transparent 65%);
    top: -80px; left: -100px;
}

.hero-section .ns-orb--2 {
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(21,69,112,.6), transparent 60%);
    bottom: -140px; right: -120px;
    animation-delay: -8s;
    animation-duration: 26s;
}

.hero-section .ns-orb--3 {
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(26,156,140,.45), transparent 60%);
    top: 40%; right: 20%;
    animation-delay: -14s;
    animation-duration: 22s;
}

@keyframes ns-orb-float {
    0%, 100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(60px,-40px) scale(1.1); }
    66%      { transform: translate(-40px,50px) scale(.95); }
}

.hero-section .ns-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    z-index: 0;
    pointer-events: none;
}

.hero-section .ns-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Hero titre : effet gradient animé */
.hero-title .ns-shine {
    background: linear-gradient(90deg, #22c5b1, #ffffff, #22c5b1);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ns-shine 4s linear infinite;
    display: inline-block;
}

@keyframes ns-shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Curseur typewriter */
.ns-typed-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: #22c5b1;
    margin-left: 4px;
    vertical-align: -0.1em;
    animation: ns-blink-cursor .9s step-end infinite;
    box-shadow: 0 0 10px rgba(34,197,177,.6);
}

@keyframes ns-blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ────────────────────────────────────────────────────────────
   4. SECTION HEADERS — badges + soulignage animé
   ──────────────────────────────────────────────────────────── */
.section-badge {
    display: inline-block;
    padding: .4rem 1.1rem;
    background: rgba(26,156,140,.10);
    color: var(--ns-teal-dark);
    border: 1px solid rgba(26,156,140,.28);
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(34,197,177,.35), transparent);
    transform: translateX(-100%);
    animation: ns-badge-shine 3.5s ease-in-out infinite;
}

@keyframes ns-badge-shine {
    0%, 60% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
    color: var(--ns-navy);
    line-height: 1.2;
    margin-bottom: .8rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin: .8rem auto 0;
    background: var(--ns-grad-teal);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--ns-gray);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ────────────────────────────────────────────────────────────
   5. PRODUCT CARDS — tilt 3D + glow + effet réflexion
   ──────────────────────────────────────────────────────────── */
.product-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1.8rem;
    box-shadow: 0 6px 24px rgba(13,45,74,.08);
    transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid transparent;
    transform-style: preserve-3d;
    will-change: transform;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(26,156,140,0), rgba(34,197,177,.6), rgba(21,69,112,0));
    -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;
    transition: opacity .35s ease;
    z-index: -1;
}

.product-card::after {
    /* halo glow qui suit la souris */
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(34,197,177,.28), transparent 60%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
    z-index: -1;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(13,45,74,.18);
}

.product-card:hover::before,
.product-card:hover::after {
    opacity: 1;
}

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ns-grad-teal);
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 10px 24px rgba(26,156,140,.28);
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
    position: relative;
}

.product-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: inherit;
    filter: blur(14px);
    opacity: .5;
    z-index: -1;
    transition: opacity .35s ease, transform .35s ease;
}

.product-card:hover .product-icon {
    transform: rotate(-6deg) scale(1.08);
}

.product-card:hover .product-icon::before {
    opacity: .85;
    transform: scale(1.2);
}

.product-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--ns-navy);
    margin-bottom: .6rem;
    letter-spacing: .02em;
}

.product-description {
    font-size: .92rem;
    color: var(--ns-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    font-size: .87rem;
    color: var(--ns-text);
    margin-bottom: .45rem;
    line-height: 1.45;
}

.product-features i {
    color: var(--ns-teal);
    margin-top: 3px;
    font-size: .9rem;
    flex-shrink: 0;
}

.product-actions .btn {
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: .05em;
    padding: .55rem 1.2rem;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.product-actions .btn-primary,
.product-actions [class^="btn-"]:not([class*="outline"]) {
    background: var(--ns-grad-teal);
    border: none;
    color: #fff;
    box-shadow: 0 8px 18px rgba(26,156,140,.28);
}

.product-actions .btn-primary:hover,
.product-actions [class^="btn-"]:not([class*="outline"]):hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(26,156,140,.4);
    filter: brightness(1.05);
}

.product-actions [class*="outline"] {
    background: transparent;
    border: 1.5px solid var(--ns-teal);
    color: var(--ns-teal-dark);
}

.product-actions [class*="outline"]:hover {
    background: rgba(26,156,140,.08);
    color: var(--ns-teal-dark);
    transform: translateY(-2px);
}

/* ────────────────────────────────────────────────────────────
   6. FEATURE CARDS — glassmorphism + micro-anim
   ──────────────────────────────────────────────────────────── */
.features-section {
    background: var(--ns-offwhite);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(34,197,177,.12), transparent 65%);
    border-radius: 50%;
    filter: blur(40px);
    animation: ns-orb-float 22s ease-in-out infinite;
    pointer-events: none;
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(21,69,112,.10), transparent 65%);
    border-radius: 50%;
    filter: blur(40px);
    animation: ns-orb-float 26s ease-in-out infinite reverse;
    pointer-events: none;
}

.feature-card {
    position: relative;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(26,156,140,.14);
    border-radius: 18px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(13,45,74,.12);
    border-color: rgba(26,156,140,.35);
}

.feature-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(26,156,140,.10);
    color: var(--ns-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 1rem;
    transition: transform .5s cubic-bezier(.2,.8,.2,1), background .35s ease, color .35s ease;
}

.feature-card:hover .feature-icon {
    background: var(--ns-grad-teal);
    color: #fff;
    transform: rotateY(180deg);
}

.feature-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ns-navy);
    margin-bottom: .5rem;
}

.feature-description {
    font-size: .9rem;
    color: var(--ns-gray);
    line-height: 1.6;
    margin: 0;
}

/* ────────────────────────────────────────────────────────────
   7. STATS SECTION — compteurs animés sur fond gradient
   ──────────────────────────────────────────────────────────── */
.stats-section {
    background: var(--ns-grad-hero);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(34,197,177,.18), transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(21,69,112,.30), transparent 55%);
    pointer-events: none;
}

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

.stat-card {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 16px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    transition: transform .4s ease, background .35s ease, border-color .35s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.08);
    border-color: rgba(34,197,177,.35);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(34,197,177,.15);
    color: #22c5b1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

.stat-number {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 2.6rem;
    color: #fff;
    line-height: 1;
    margin-bottom: .3rem;
    background: linear-gradient(180deg, #ffffff 0%, #22c5b1 120%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    margin: 0;
}

/* ────────────────────────────────────────────────────────────
   8. CTA BOX — fond gradient animé + effet aurora
   ──────────────────────────────────────────────────────────── */
.cta-section {
    position: relative;
}

.cta-box {
    position: relative;
    padding: 3rem 3rem;
    border-radius: 24px;
    background: var(--ns-grad-brand);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(13,45,74,.28);
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(34,197,177,.6), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(26,156,140,.5), transparent 40%),
        radial-gradient(circle at 60% 20%, rgba(255,255,255,.15), transparent 30%);
    filter: blur(20px);
    opacity: .8;
    animation: ns-aurora 14s ease-in-out infinite;
    pointer-events: none;
}

.cta-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
}

@keyframes ns-aurora {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(-20px, 20px) scale(1.05); }
    66%      { transform: translate(30px, -15px) scale(.95); }
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    line-height: 1.2;
    margin-bottom: .8rem;
}

.cta-text {
    color: rgba(255,255,255,.85);
    line-height: 1.7;
    margin: 0;
}

.cta-box .btn-light {
    background: #fff;
    color: var(--ns-navy);
    border-radius: 50px;
    padding: .7rem 1.6rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: .05em;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    transition: transform .25s ease, box-shadow .25s ease;
}

.cta-box .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0,0,0,.25);
}

.cta-box .btn-outline-light {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.5);
    color: #fff;
    border-radius: 50px;
    padding: .7rem 1.6rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: .05em;
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.cta-box .btn-outline-light:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    transform: translateY(-3px);
    color: #fff;
}

/* ────────────────────────────────────────────────────────────
   9. FAQ ACCORDION — style branded + animation
   ──────────────────────────────────────────────────────────── */
.faq-section {
    background: var(--ns-offwhite);
}

.faq-section .accordion-item {
    background: #fff;
    border: 1px solid rgba(26,156,140,.15);
    border-radius: 14px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow .3s ease, border-color .3s ease;
}

.faq-section .accordion-item:hover {
    box-shadow: 0 10px 30px rgba(13,45,74,.08);
    border-color: rgba(26,156,140,.35);
}

.faq-section .accordion-button {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--ns-navy);
    background: #fff;
    padding: 1.1rem 1.4rem;
    border: none;
    letter-spacing: .02em;
    transition: background .25s ease, color .25s ease;
}

.faq-section .accordion-button:not(.collapsed) {
    background: rgba(26,156,140,.06);
    color: var(--ns-teal-dark);
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(26,156,140,.15);
}

.faq-section .accordion-button::after {
    filter: hue-rotate(140deg) saturate(2);
}

.faq-section .accordion-body {
    padding: 1.1rem 1.4rem;
    color: var(--ns-text);
    font-size: .95rem;
    line-height: 1.7;
    background: #fff;
}

/* ────────────────────────────────────────────────────────────
   10. TILT 3D — appliqué via JS (data-tilt)
   ──────────────────────────────────────────────────────────── */
[data-tilt] {
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: transform .3s ease-out;
}

/* ────────────────────────────────────────────────────────────
   11. MAGNETIC BUTTONS — attirés par le curseur (JS)
   ──────────────────────────────────────────────────────────── */
.ns-magnet {
    display: inline-block;
    transition: transform .25s cubic-bezier(.2,.8,.2,1);
    will-change: transform;
}

/* ────────────────────────────────────────────────────────────
   12. REVEAL ON SCROLL — via IntersectionObserver (JS)
   ──────────────────────────────────────────────────────────── */
.ns-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}

.ns-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ns-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}

.ns-reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.ns-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}

.ns-reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.ns-reveal-scale {
    opacity: 0;
    transform: scale(.9);
    transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}

.ns-reveal-scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Delays réutilisables */
.ns-delay-1 { transition-delay: .1s; }
.ns-delay-2 { transition-delay: .2s; }
.ns-delay-3 { transition-delay: .3s; }
.ns-delay-4 { transition-delay: .4s; }
.ns-delay-5 { transition-delay: .5s; }

/* ────────────────────────────────────────────────────────────
   13. BUTTON RIPPLE effect
   ──────────────────────────────────────────────────────────── */
.btn-ns-demo,
.hero-btn-primary,
.cta-box .btn-light,
.cta-box .btn-outline-light,
.product-actions .btn {
    position: relative;
    overflow: hidden;
}

.ns-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    transform: scale(0);
    animation: ns-ripple-anim .7s ease-out;
    pointer-events: none;
}

@keyframes ns-ripple-anim {
    to { transform: scale(4); opacity: 0; }
}

/* ────────────────────────────────────────────────────────────
   14. IMAGE HOVER — zoom + overlay teal
   ──────────────────────────────────────────────────────────── */
.ns-img-hover {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.ns-img-hover img {
    display: block;
    width: 100%;
    transition: transform .8s cubic-bezier(.2,.8,.2,1);
}

.ns-img-hover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(13,45,74,.7));
    opacity: 0;
    transition: opacity .35s ease;
}

.ns-img-hover:hover img {
    transform: scale(1.06);
}

.ns-img-hover:hover::after {
    opacity: 1;
}

/* ────────────────────────────────────────────────────────────
   15. SVG WAVE DIVIDERS
   ──────────────────────────────────────────────────────────── */
.ns-wave-divider {
    display: block;
    width: 100%;
    height: 70px;
    margin-bottom: -1px;
}

.ns-wave-divider path {
    fill: currentColor;
}

/* ────────────────────────────────────────────────────────────
   16. WHATSAPP amélioré (surcharge du _Layout)
   ──────────────────────────────────────────────────────────── */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37,211,102,.45);
    animation: ns-wa-ring 2s ease-out infinite;
}

@keyframes ns-wa-ring {
    0%   { transform: scale(1);   opacity: .8; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ────────────────────────────────────────────────────────────
   17. PREFERS REDUCED MOTION — accessibilité
   ──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ────────────────────────────────────────────────────────────
   18. RESPONSIVE — ajustements mobile
   ──────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .cta-box {
        padding: 2rem 1.5rem;
    }
    .section-title::after {
        margin-top: .6rem;
    }
    .hero-section .ns-orb--1,
    .hero-section .ns-orb--2 {
        width: 260px;
        height: 260px;
    }
    .stat-number {
        font-size: 2rem;
    }
}
