/* ============================================================================
   SNAZZY ISYPV PRODUITS · FRONTEND v2.4.0
   ============================================================================ */

.sipf {
    /* ----- BRAND PALETTE (ISY-PV) ----- */
    --c-brand-navy:    #1c1f5a;
    --c-brand-blue:    #0438c7;
    --c-brand-orange:  #ffb000;

    /* ----- TYPOGRAPHY: based on brand palette ----- */
    --c-navy:      #0a1e3f;
    --c-navy-2:    #1a3e72;
    --c-text:      #1c1f5a;          /* h1/h2/h3 → brand navy */
    --c-text-2:    #2c3275;          /* darker body text variant */
    --c-text-3:    #6b709c;          /* secondary text */
    --c-text-4:    #a0a4c2;          /* muted text */
    --c-bg:        #ffffff;
    --c-bg-2:      #f7f8fc;
    --c-bg-3:      #eef0f9;
    --c-line:      #e0e3f0;
    --c-line-2:    #c8ccdf;

    --shadow-sm:   0 1px 2px rgba(28,31,90,0.05);
    --shadow:      0 1px 3px rgba(28,31,90,0.06), 0 10px 24px -8px rgba(28,31,90,0.12);
    --shadow-lg:   0 4px 12px rgba(28,31,90,0.06), 0 24px 60px -16px rgba(28,31,90,0.2);
    --shadow-xl:   0 8px 20px rgba(28,31,90,0.07), 0 40px 80px -20px rgba(28,31,90,0.3);
    --ease:        cubic-bezier(0.16, 1, 0.3, 1);
    --r:           20px;
    --r-sm:        14px;

    /* Aliases used by v2.3 styles */
    --sipf-t:      var(--c-text);
    --sipf-line:   var(--c-line);
    --sipf-card-bg: var(--c-bg);

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--c-text-2);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "ss01", "kern", "cv11";
    letter-spacing: -0.005em;

    /* Contain the full-bleed hero's negative-margin trick — prevents horizontal scroll */
    overflow-x: hidden;
}
.sipf *,
.sipf *::before,
.sipf *::after { box-sizing: border-box; }
.sipf h1, .sipf h2, .sipf h3, .sipf h4, .sipf h5 {
    color: var(--c-text);
    font-family: inherit;
    letter-spacing: -0.02em;
}

/* ============ STICKY NAV ============ */

.sipf-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.88);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(226,232,240,0.7);
    margin-bottom: 0;
}

.sipf-nav-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    justify-content: center;
    position: relative;
}
.sipf-nav-inner::-webkit-scrollbar { display: none; }

.sipf-tab {
    --tab-c: #1a3e72;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 10px 14px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--c-text-3);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    font-family: inherit;
    white-space: nowrap;
}
.sipf-tab:hover {
    color: var(--c-text);
    background: var(--c-bg-3);
}
.sipf-tab.is-active {
    color: #fff;
    background: var(--tab-c);
    border-color: var(--tab-c);
    box-shadow: 0 6px 20px -6px var(--tab-c), 0 1px 0 rgba(255,255,255,0.2) inset;
    transform: translateY(-1px);
}

.sipf-tab-num {
    font-size: 10px;
    font-weight: 800;
    background: rgba(15,23,42,0.06);
    color: var(--tab-c);
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
    transition: all 0.3s var(--ease);
}
.sipf-tab.is-active .sipf-tab-num {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.sipf-tab-count {
    font-size: 11px;
    color: var(--c-text-4);
    margin-left: 2px;
    font-variant-numeric: tabular-nums;
    transition: color 0.3s var(--ease);
}
.sipf-tab.is-active .sipf-tab-count { color: rgba(255,255,255,0.8); }

/* ============ SECTIONS ============ */

.sipf-section {
    --gamme-c: #1a3e72;
    padding: 80px 0 100px;
    position: relative;
    scroll-margin-top: 80px;
}

/* When the hero is present, it handles its own top spacing — kill the section padding-top
   so there's no white gap between the floating header pill and the hero. */
.sipf-section:has( .sipf-hero ) {
    padding-top: 0;
}

/* Below the hero we stay pure white for an Apple-style seamless flow.
   Only sections WITHOUT a hero keep the subtle alternating gradient. */
.sipf-section:nth-child(odd):not(:has(.sipf-hero)) {
    background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-2) 100%);
}

/* HERO HEADER */
.sipf-section-hero {
    position: relative;
    text-align: center;
    margin-bottom: 70px;
    padding: 60px 24px 20px;
    overflow: hidden;
}

.sipf-section-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15,23,42,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,23,42,0.045) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    mask-image: radial-gradient(ellipse 50% 60% at center, black 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 50% 60% at center, black 0%, transparent 75%);
    opacity: 0.6;
    pointer-events: none;
}

.sipf-section-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gamme-c) 0%, transparent 60%);
    opacity: 0.08;
    pointer-events: none;
    filter: blur(40px);
}

.sipf-section-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.sipf-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gamme-c);
    font-variant-numeric: tabular-nums;
}
.sipf-section-eyebrow-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gamme-c), transparent);
}

.sipf-section-title {
    font-size: clamp( 40px, 6vw, 72px );
    font-weight: 800;
    color: var(--c-navy);
    margin: 0 0 16px;
    letter-spacing: -0.035em;
    line-height: 0.95;
    position: relative;
}
.sipf-section-title span {
    background: linear-gradient(180deg, var(--c-navy) 0%, var(--gamme-c) 200%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.sipf-section-subtitle {
    font-size: clamp( 15px, 1.8vw, 19px );
    color: var(--c-text-3);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.55;
    font-weight: 400;
}

/* ============ GRID ============ */

.sipf-grid {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat( auto-fill, minmax( 300px, 1fr ) );
    gap: 28px;
}

/* ============ CARDS ============ */

.sipf-card {
    --i: 0;
    position: relative;
    perspective: 1000px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    transition-delay: calc( var(--i) * 0.04s );
}
.sipf-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.sipf-card-inner {
    position: relative;
    background: var(--c-bg);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--c-line);
    transition: all 0.5s var(--ease);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sipf-card:hover .sipf-card-inner {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.sipf-card:hover .sipf-card-inner::before {
    opacity: 1;
}

.sipf-card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r);
    padding: 1.5px;
    background: linear-gradient(135deg, var(--gamme-c), transparent 50%, var(--gamme-c) 100%);
    -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 0.4s var(--ease);
    pointer-events: none;
    z-index: 1;
}

/* Numbered badge */
.sipf-card-num {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--gamme-c);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--c-line);
    font-variant-numeric: tabular-nums;
    transition: all 0.4s var(--ease);
}
.sipf-card:hover .sipf-card-num {
    background: var(--gamme-c);
    color: #fff;
    border-color: var(--gamme-c);
    transform: scale(1.08);
}

/* Image */
.sipf-card-img {
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}
.sipf-card-img-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 20%, rgba(255,255,255,0.9), transparent 60%),
        radial-gradient(circle at 75% 80%, color-mix(in srgb, var(--gamme-c) 8%, transparent) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
}
.sipf-card:hover .sipf-card-img-bg {
    background:
        radial-gradient(circle at 25% 20%, rgba(255,255,255,0.9), transparent 60%),
        radial-gradient(circle at 75% 80%, color-mix(in srgb, var(--gamme-c) 20%, transparent) 0%, transparent 50%);
}

.sipf-card-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 75%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(15,23,42,0.12));
    transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.sipf-card:hover .sipf-card-img img {
    transform: translate(-50%, -54%) scale(1.08) rotate(-2deg);
    filter: drop-shadow(0 24px 40px rgba(15,23,42,0.2));
}

/* Body */
.sipf-card-body {
    padding: 28px 28px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sipf-card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--c-navy);
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.25;
    transition: color 0.3s var(--ease);
}
.sipf-card:hover .sipf-card-title { color: var(--gamme-c); }

.sipf-card-rule {
    width: 28px;
    height: 3px;
    background: var(--gamme-c);
    border-radius: 3px;
    margin-bottom: 16px;
    transition: width 0.4s var(--ease);
}
.sipf-card:hover .sipf-card-rule { width: 56px; }

.sipf-card-desc {
    color: var(--c-text-2);
    font-size: 14px;
    line-height: 1.65;
    flex: 1;
}
.sipf-card-desc p { margin: 0 0 10px; }
.sipf-card-desc p:last-child { margin-bottom: 0; }

/* ============ RESPONSIVE ============ */

@media ( max-width: 900px ) {
    .sipf-nav-inner {
        padding: 12px 16px;
        justify-content: flex-start;
        gap: 6px;
    }
    .sipf-tab {
        padding: 8px 14px 8px 10px;
        font-size: 12px;
    }
    .sipf-tab-count { display: none; }
    .sipf-section { padding: 40px 0 60px; }
    .sipf-section-hero { padding: 30px 16px 10px; margin-bottom: 40px; }
    .sipf-section-hero-glow { width: 400px; height: 400px; }
    .sipf-grid {
        padding: 0 16px;
        gap: 14px;
        grid-template-columns: repeat(2, 1fr);
    }
    .sipf-card-body { padding: 14px 14px 18px; }
    .sipf-card-title { font-size: 12.5px; line-height: 1.3; }
    .sipf-card-desc { font-size: 12px; line-height: 1.5; }
    .sipf-card-num { font-size: 10px; padding: 4px 8px; }
    .sipf-card-rule { width: 36px; margin: 8px 0 10px; }
}

@media ( min-width: 901px ) and ( max-width: 1200px ) {
    .sipf-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Very small screens (< 380px) : fall back to 1 column for readability */
@media ( max-width: 379px ) {
    .sipf-grid { grid-template-columns: 1fr; }
    .sipf-card-title { font-size: 14px; }
    .sipf-card-desc { font-size: 13px; }
}

@media ( prefers-reduced-motion: reduce ) {
    .sipf-card { opacity: 1; transform: none; transition: none; }
    .sipf-card:hover .sipf-card-inner { transform: none; }
    .sipf-card:hover .sipf-card-img img { transform: translate(-50%, -50%); }
}

/* ============================================================================
   v2.3.0 · DOCUMENTS DOWNLOAD SECTION
   ============================================================================ */

.sipf-docs {
    position: relative;
    margin-top: 70px;
    padding: 0 32px;
}

.sipf-docs-head {
    text-align: center;
    margin-bottom: 36px;
}
.sipf-docs-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--gamme-c);
    margin-bottom: 12px;
    padding: 6px 14px;
    background: color-mix(in srgb, var(--gamme-c) 12%, transparent);
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--gamme-c) 30%, transparent);
}
.sipf-docs-head h3 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: var(--sipf-t);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.sipf-docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
}

.sipf-doc {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    background: var(--sipf-card-bg, #fff);
    border: 1px solid var(--sipf-line, rgba(15, 23, 42, 0.1));
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    cursor: pointer;
}
.sipf-doc::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--gamme-c) 0%, transparent) 0%,
        color-mix(in srgb, var(--gamme-c) 8%, transparent) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.sipf-doc:hover {
    transform: translateY(-4px);
    border-color: var(--gamme-c);
    box-shadow: 0 18px 36px -16px color-mix(in srgb, var(--gamme-c) 40%, transparent),
                0 0 0 1px var(--gamme-c);
}
.sipf-doc:hover::before { opacity: 1; }

.sipf-doc-icon {
    flex-shrink: 0;
    width: 56px; height: 56px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--gamme-c) 12%, #f8fafc);
    color: var(--gamme-c);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
}
.sipf-doc-icon svg { width: 28px; height: 28px; }
.sipf-doc:hover .sipf-doc-icon {
    background: var(--gamme-c);
    color: #fff;
    transform: scale(1.05) rotate(-3deg);
}

.sipf-doc-body {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}
.sipf-doc-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--sipf-t, #0f172a);
    margin: 0 0 4px;
    letter-spacing: -0.005em;
}
.sipf-doc-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gamme-c);
    letter-spacing: 0.02em;
    transition: gap 0.25s var(--ease, cubic-bezier(0.16, 1, 0.3, 1));
}
.sipf-doc-cta svg {
    width: 13px; height: 13px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.sipf-doc:hover .sipf-doc-cta { gap: 10px; }
.sipf-doc:hover .sipf-doc-cta svg { transform: translateY(2px); }

/* ============================================================================
   v2.3.0 · REALISATIONS CAROUSEL
   ============================================================================ */

.sipf-reals {
    margin-top: 70px;
    padding: 0 32px;
}

.sipf-reals-head {
    text-align: center;
    margin-bottom: 40px;
}
.sipf-reals-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--gamme-c);
    margin-bottom: 12px;
    padding: 6px 14px;
    background: color-mix(in srgb, var(--gamme-c) 12%, transparent);
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--gamme-c) 30%, transparent);
}
.sipf-reals-head h3 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: var(--sipf-t, #0f172a);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.sipf-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.sipf-carousel-track {
    display: flex;
    gap: 20px;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    /* Hide native scrollbar on supported browsers */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.sipf-carousel-track::-webkit-scrollbar { display: none; }

.sipf-carousel-slide {
    flex: 0 0 calc((100% - 40px) / 3);
    scroll-snap-align: start;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sipf-carousel-img {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.4);
}
.sipf-carousel-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0) 50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.sipf-carousel-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.sipf-carousel-slide:hover .sipf-carousel-img img { transform: scale(1.04); }
.sipf-carousel-slide:hover .sipf-carousel-img::after { opacity: 1; }

.sipf-carousel-title {
    margin: 16px 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--sipf-t, #0f172a);
    line-height: 1.45;
    letter-spacing: -0.005em;
}

.sipf-carousel-arrow {
    position: absolute;
    top: calc((100% - 30px) * 0.4 + 16px); /* center on the image area (excluding title) */
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--sipf-line, rgba(15, 23, 42, 0.1));
    color: var(--sipf-t, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.2);
}
.sipf-carousel-arrow:hover {
    background: var(--gamme-c);
    color: #fff;
    border-color: var(--gamme-c);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--gamme-c) 60%, transparent);
}
.sipf-carousel-arrow:active { transform: translateY(-50%) scale(0.95); }
.sipf-carousel-arrow svg { width: 22px; height: 22px; }
.sipf-carousel-prev { left: 0; }
.sipf-carousel-next { right: 0; }

.sipf-carousel-arrow[disabled],
.sipf-carousel-arrow.is-disabled {
    opacity: 0.3;
    pointer-events: none;
}

.sipf-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.sipf-carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--sipf-line, rgba(15, 23, 42, 0.15));
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.sipf-carousel-dot:hover {
    background: color-mix(in srgb, var(--gamme-c) 50%, transparent);
    transform: scale(1.2);
}
.sipf-carousel-dot.is-active {
    background: var(--gamme-c);
    width: 24px;
    border-radius: 4px;
}

/* Single-slide special case (e.g. ISY-RAIL has only 1 realisation) */
.sipf-carousel[data-count="1"] .sipf-carousel-arrow,
.sipf-carousel[data-count="1"] .sipf-carousel-dots { display: none; }
.sipf-carousel[data-count="1"] { padding: 0; }
.sipf-carousel[data-count="1"] .sipf-carousel-slide {
    flex: 0 0 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Tablet: 2 per view */
@media ( max-width: 900px ) {
    .sipf-carousel { padding: 0 50px; }
    .sipf-carousel-slide { flex: 0 0 calc((100% - 20px) / 2); }
    .sipf-carousel-arrow { width: 40px; height: 40px; }
    .sipf-carousel-arrow svg { width: 18px; height: 18px; }
}

/* Mobile: 1 per view */
@media ( max-width: 600px ) {
    .sipf-docs, .sipf-reals { padding: 0 16px; margin-top: 50px; }
    .sipf-docs-grid { gap: 12px; }
    .sipf-doc { padding: 18px 18px; gap: 14px; }
    .sipf-doc-icon { width: 48px; height: 48px; border-radius: 12px; }
    .sipf-doc-icon svg { width: 24px; height: 24px; }
    .sipf-doc-body h4 { font-size: 14px; }

    .sipf-carousel { padding: 0 44px; }
    .sipf-carousel-slide { flex: 0 0 100%; }
    .sipf-carousel-arrow { width: 36px; height: 36px; }
    .sipf-carousel-title { font-size: 13px; }
}

/* Reduced motion */
@media ( prefers-reduced-motion: reduce ) {
    .sipf-doc, .sipf-doc-icon, .sipf-carousel-arrow,
    .sipf-carousel-slide, .sipf-carousel-img img,
    .sipf-carousel-track { transition: none; scroll-behavior: auto; }
}

/* ============================================================================
   v2.4.0 · BRAND PALETTE OVERRIDES + POPUP RÉALISATION
   ============================================================================ */

/* ----- Apply brand colors consistently across components ----- */

/* Section title : gradient navy → bright brand blue */
.sipf-section-title { color: var(--c-brand-navy); }
.sipf-section-title span {
    background: linear-gradient(180deg, var(--c-brand-navy) 0%, var(--c-brand-blue) 220%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* All eyebrows now use brand orange */
.sipf-section-eyebrow { color: var(--c-brand-orange); }
.sipf-section-eyebrow-line { background: linear-gradient(90deg, transparent, var(--c-brand-orange), transparent); }

.sipf-docs-eyebrow,
.sipf-reals-eyebrow {
    color: var(--c-brand-orange);
    background: rgba(255, 176, 0, 0.10);
    border-color: rgba(255, 176, 0, 0.3);
}

/* Section docs/reals heads use brand navy */
.sipf-docs-head h3,
.sipf-reals-head h3 { color: var(--c-brand-navy); }

/* Card numbers : brand orange watermark */
.sipf-card-num { color: var(--c-brand-orange); opacity: 0.4; }
.sipf-card:hover .sipf-card-num { color: var(--c-brand-orange); opacity: 0.8; }

/* Card titles + hover → brand */
.sipf-card-title { color: var(--c-brand-navy); }
.sipf-card:hover .sipf-card-title { color: var(--c-brand-blue); }

/* Documents : brand-blue download CTAs */
.sipf-doc-icon {
    background: rgba(4, 56, 199, 0.07);
    color: var(--c-brand-blue);
}
.sipf-doc:hover {
    border-color: var(--c-brand-blue);
    box-shadow: 0 18px 36px -16px rgba(4, 56, 199, 0.35),
                0 0 0 1px var(--c-brand-blue);
}
.sipf-doc:hover .sipf-doc-icon {
    background: var(--c-brand-blue);
    color: #fff;
}
.sipf-doc-cta { color: var(--c-brand-blue); }
.sipf-doc::before {
    background: linear-gradient(135deg,
        rgba(4, 56, 199, 0) 0%,
        rgba(4, 56, 199, 0.06) 100%);
}
.sipf-doc-body h4 { color: var(--c-brand-navy); }

/* Carousel arrows hover : brand blue */
.sipf-carousel-arrow {
    color: var(--c-brand-navy);
    border-color: rgba(28, 31, 90, 0.12);
}
.sipf-carousel-arrow:hover {
    background: var(--c-brand-blue);
    color: #fff;
    border-color: var(--c-brand-blue);
    box-shadow: 0 10px 24px -8px rgba(4, 56, 199, 0.6);
}

/* Carousel dots : active = brand blue */
.sipf-carousel-dot:hover { background: rgba(4, 56, 199, 0.4); }
.sipf-carousel-dot.is-active { background: var(--c-brand-blue); }

/* Carousel titles */
.sipf-carousel-title { color: var(--c-brand-navy); }

/* ----- Zoom icon overlay on hover ----- */
.sipf-carousel-slide { cursor: pointer; }

.sipf-carousel-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(28, 31, 90, 0.0) 30%, rgba(28, 31, 90, 0.55) 100%);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    pointer-events: none;
}
.sipf-carousel-zoom svg {
    width: 44px; height: 44px;
    padding: 10px;
    background: #fff;
    border-radius: 50%;
    color: var(--c-brand-blue);
    box-shadow: 0 8px 20px -6px rgba(28, 31, 90, 0.4);
    transform: scale(0.6);
    transition: transform 0.3s var(--ease);
}
.sipf-carousel-slide:hover .sipf-carousel-zoom { opacity: 1; }
.sipf-carousel-slide:hover .sipf-carousel-zoom svg { transform: scale(1); }

/* ============================================================================
   POPUP RÉALISATION
   ============================================================================ */

.sipf-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.sipf-popup[hidden] { display: none; }

.sipf-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 31, 90, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: sipfPopupFadeIn 0.25s ease-out;
}

.sipf-popup-box {
    position: relative;
    background: #fff;
    border-radius: 22px;
    max-width: 880px;
    width: 100%;
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(28, 31, 90, 0.5);
    animation: sipfPopupIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sipf-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.9);
    color: var(--c-brand-navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    backdrop-filter: blur(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px -2px rgba(28, 31, 90, 0.2);
}
.sipf-popup-close:hover {
    background: var(--c-brand-blue);
    color: #fff;
    transform: scale(1.05);
}
.sipf-popup-close svg { width: 18px; height: 18px; }

.sipf-popup-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1c1f5a 0%, #0438c7 100%);
    overflow: hidden;
    position: relative;
}
.sipf-popup-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.sipf-popup-body {
    padding: 32px 36px 36px;
    overflow-y: auto;
}

#sipf-popup-title {
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 800;
    color: var(--c-brand-navy);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
#sipf-popup-title::before {
    content: '';
    display: inline-block;
    width: 36px;
    height: 3px;
    background: var(--c-brand-orange);
    margin-right: 14px;
    vertical-align: middle;
    margin-bottom: 6px;
    border-radius: 2px;
}

.sipf-popup-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--c-text-2);
    margin-top: 18px;
    white-space: pre-wrap;
}
.sipf-popup-desc:empty::before {
    content: 'Description à venir.';
    color: var(--c-text-4);
    font-style: italic;
}

@keyframes sipfPopupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes sipfPopupIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media ( max-width: 600px ) {
    .sipf-popup { padding: 0; }
    .sipf-popup-box {
        max-height: 100vh;
        border-radius: 0;
        height: 100vh;
    }
    .sipf-popup-body { padding: 24px 20px 28px; }
    .sipf-popup-img { aspect-ratio: 4 / 3; }
    #sipf-popup-title { font-size: 20px; }
    .sipf-popup-desc { font-size: 14px; }
}

/* Lock body scroll when popup open */
body.sipf-popup-open { overflow: hidden; }

@media ( prefers-reduced-motion: reduce ) {
    .sipf-popup-backdrop, .sipf-popup-box { animation: none; }
}

/* ============================================================================
   v2.5.0 · FAQ ACCORDION
   ============================================================================ */

.sipf-faqs {
    margin-top: 80px;
    padding: 0 32px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.sipf-faqs-head {
    text-align: center;
    margin-bottom: 40px;
}
.sipf-faqs-head h3 {
    font-size: clamp(22px, 3.2vw, 34px);
    font-weight: 800;
    color: var(--c-brand-navy);
    margin: 0 0 14px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-transform: none;
}
.sipf-faqs-head h3 span {
    color: var(--c-brand-blue);
    background: linear-gradient(180deg, var(--c-brand-blue) 0%, var(--c-brand-navy) 220%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sipf-faqs-intro {
    color: var(--c-text-3);
    font-size: 14px;
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto;
}

.sipf-faqs-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sipf-faq {
    background: #fff;
    border: 1px solid #d8dceb;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.sipf-faq[open] {
    border-color: var(--c-brand-blue);
    box-shadow: 0 4px 16px -6px rgba(4, 56, 199, 0.18);
}

.sipf-faq-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background-color 0.2s var(--ease);
}
.sipf-faq-summary::-webkit-details-marker { display: none; }
.sipf-faq-summary::marker { display: none; }
.sipf-faq-summary:hover { background: rgba(4, 56, 199, 0.025); }

.sipf-faq-icon-circle {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--c-brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sipf-faq-icon-circle svg { width: 22px; height: 22px; }

.sipf-faq-question {
    flex: 1;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--c-brand-navy);
    letter-spacing: -0.005em;
    line-height: 1.45;
}

.sipf-faq-chevron {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--c-brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--ease);
}
.sipf-faq-chevron svg { width: 18px; height: 18px; }
.sipf-faq[open] .sipf-faq-chevron { transform: rotate(180deg); }

.sipf-faq-content {
    padding: 0 24px 22px;
    padding-left: 62px; /* align with question text (icon + gap) */
    font-size: 14px;
    line-height: 1.7;
    color: var(--c-text-2);
    animation: sipfFaqIn 0.25s var(--ease);
}
.sipf-faq-content p { margin: 0 0 12px; }
.sipf-faq-content p:last-child { margin-bottom: 0; }
.sipf-faq-content a {
    color: var(--c-brand-blue);
    text-decoration: underline;
    text-decoration-color: rgba(4, 56, 199, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.15s;
}
.sipf-faq-content a:hover { text-decoration-color: var(--c-brand-blue); }

@keyframes sipfFaqIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media ( max-width: 600px ) {
    .sipf-faqs { padding: 0 16px; margin-top: 50px; }
    .sipf-faq-summary { padding: 14px 18px; gap: 12px; }
    .sipf-faq-question { font-size: 13.5px; }
    .sipf-faq-content { padding: 0 18px 18px; padding-left: 48px; font-size: 13.5px; }
}

@media ( prefers-reduced-motion: reduce ) {
    .sipf-faq, .sipf-faq-chevron, .sipf-faq-content { transition: none; animation: none; }
}

/* ============================================================================
   v2.6.0 · BANDEAU DE MISE EN AVANT
   ============================================================================ */

.sipf-banner {
    position: relative;
    margin: 80px auto 0;
    max-width: 1200px;
    background: linear-gradient(135deg, #1c1f5a 0%, #0a1240 100%);
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 24px 60px -20px rgba(28, 31, 90, 0.45),
                0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

/* Geometric pattern in the corner (top-right for split, top-right for features too) */
.sipf-banner-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    pointer-events: none;
    opacity: 0.55;
    z-index: 1;
}
.sipf-banner-pattern svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ---------- LAYOUT: SPLIT (image left, content right) ---------- */

.sipf-banner-split {
    display: grid;
    grid-template-columns: 380px 1fr;
    align-items: stretch;
    min-height: 280px;
}

.sipf-banner-split .sipf-banner-img {
    position: relative;
    margin: 32px 0 32px 32px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    z-index: 2;
}
.sipf-banner-split .sipf-banner-img::before {
    /* Orange offset accent border */
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--c-brand-orange);
    border-radius: 12px;
    z-index: -1;
}
.sipf-banner-split .sipf-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sipf-banner-split .sipf-banner-content {
    padding: 44px 48px 44px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* ---------- LAYOUT: FEATURES (centered with list) ---------- */

.sipf-banner-features {
    padding: 56px 48px;
}
.sipf-banner-features .sipf-banner-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.sipf-banner-features .sipf-banner-title {
    font-size: clamp(24px, 3.6vw, 38px);
    text-align: center;
}
.sipf-banner-features .sipf-banner-text {
    text-align: center;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Features list */
.sipf-banner-features ul.sipf-banner-features {
    /* Override the section's own padding */
    padding: 0;
    list-style: none;
    margin: 30px 0 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
.sipf-banner-feat {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.sipf-banner-feat-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.sipf-banner-feat-icon svg {
    width: 24px;
    height: 24px;
}
.sipf-banner-feat-text {
    flex: 1;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    padding-top: 8px;
    letter-spacing: -0.005em;
}

/* ---------- SHARED ELEMENTS ---------- */

.sipf-banner-title {
    font-size: clamp(22px, 3.2vw, 34px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-transform: uppercase;
}
/* Override .sipf h3 default color (which is brand navy) — specificity boost */
.sipf .sipf-banner .sipf-banner-title { color: #fff; }
.sipf-banner-hl {
    color: var(--c-brand-orange);
}
/* For split layout, highlight is electric blue (matches the "ASSISTANCE TECHNIQUE" screenshot) */
.sipf-banner-split .sipf-banner-hl {
    color: #6da9ff;  /* lighter blue for readability on dark bg */
}

.sipf-banner-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 540px;
}

.sipf-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--c-brand-blue);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.005em;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 20px -6px rgba(4, 56, 199, 0.6);
    align-self: flex-start;
    margin-top: 4px;
}
.sipf-banner-features .sipf-banner-cta { align-self: center; }
.sipf-banner-cta:hover {
    transform: translateY(-2px);
    background: #0529a8;
    box-shadow: 0 12px 28px -8px rgba(4, 56, 199, 0.8);
}
.sipf-banner-cta:active { transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */

@media ( max-width: 900px ) {
    .sipf-banner { margin-top: 60px; border-radius: 16px; }
    .sipf-banner-pattern { width: 180px; opacity: 0.35; }

    .sipf-banner-split {
        grid-template-columns: 1fr;
    }
    .sipf-banner-split .sipf-banner-img {
        margin: 24px 24px 0;
        max-width: 320px;
    }
    .sipf-banner-split .sipf-banner-content {
        padding: 32px 28px 36px;
    }

    .sipf-banner-features {
        padding: 40px 24px;
    }
}

@media ( max-width: 600px ) {
    .sipf-banner { margin-left: 16px; margin-right: 16px; margin-top: 50px; }
    .sipf-banner-pattern { width: 140px; opacity: 0.25; }

    .sipf-banner-split .sipf-banner-img {
        margin: 20px 20px 0;
        max-width: none;
    }
    .sipf-banner-split .sipf-banner-img::before {
        top: 12px; left: 12px;
    }
    .sipf-banner-split .sipf-banner-content {
        padding: 24px 22px 28px;
    }

    .sipf-banner-features {
        padding: 32px 20px 36px;
    }
    .sipf-banner-feat-icon { width: 38px; height: 38px; }
    .sipf-banner-feat-icon svg { width: 20px; height: 20px; }
    .sipf-banner-feat-text { font-size: 14px; padding-top: 6px; }
    .sipf-banner-cta { padding: 12px 22px; font-size: 13.5px; }
}

@media ( prefers-reduced-motion: reduce ) {
    .sipf-banner-cta { transition: none; }
}

/* ============================================================================
   v2.8.0 · HERO (top of each gamme section) — full-bleed atmospheric
   ============================================================================ */

.sipf-hero {
    /* Full-bleed: break out of any max-width parent to span viewport edges */
    position: relative;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 80px 0 100px;
    overflow: hidden;

    /* Apple-style atmosphere:
       — both brand halos in the UPPER HALF only (no bottom bleed)
       — linear gradient fades smoothly to PURE WHITE at bottom for seamless flow */
    background:
        radial-gradient(ellipse 65% 50% at 18% 28%, rgba(4, 56, 199, 0.085) 0%, transparent 60%),
        radial-gradient(ellipse 55% 45% at 82% 32%, rgba(255, 176, 0, 0.085) 0%, transparent 60%),
        linear-gradient(180deg,
            #f3f6ff 0%,
            #f7f9ff 35%,
            #fbfcff 70%,
            #ffffff 100%);
}

/* Decorative dot grid pattern — visible in upper-center only, fades out before bottom */
.sipf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(28, 31, 90, 0.06) 1px, transparent 1.2px);
    background-size: 28px 28px;
    background-position: 0 0;
    mask-image: radial-gradient(ellipse 80% 55% at 50% 40%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 40%, #000 0%, transparent 75%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.sipf-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
    min-height: 420px;
}

/* ---------- LEFT: content ---------- */

.sipf-hero-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 620px;
}

.sipf-hero-title {
    font-size: clamp(40px, 6.5vw, 80px);
    font-weight: 800;
    color: var(--c-brand-navy);
    margin: 0;
    line-height: 0.95;
    letter-spacing: -0.04em;
}
/* Specificity boost over .sipf h2 default */
.sipf .sipf-hero .sipf-hero-title { color: var(--c-brand-navy); }

.sipf-hero-subtitle {
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 600;
    color: var(--c-brand-blue);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
    /* Small accent line above */
    padding-top: 4px;
    position: relative;
}
.sipf-hero-subtitle::before {
    content: '';
    display: inline-block;
    width: 36px;
    height: 3px;
    background: var(--c-brand-orange);
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 12px;
    margin-bottom: 5px;
}

.sipf-hero-text {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--c-text-2);
    max-width: 580px;
    margin-top: 4px;
}

/* CTAs */
.sipf-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.sipf-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    letter-spacing: -0.005em;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}
.sipf-hero-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sipf-hero-cta-primary {
    background: var(--c-brand-blue);
    color: #fff !important;
    box-shadow: 0 10px 28px -10px rgba(4, 56, 199, 0.6);
}
.sipf-hero-cta-primary:hover {
    background: #0529a8;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px -10px rgba(4, 56, 199, 0.75);
}
.sipf-hero-cta-primary:hover svg { transform: translateX(3px); }

.sipf-hero-cta-secondary {
    background: transparent;
    color: var(--c-brand-navy) !important;
    border: 2px solid rgba(28, 31, 90, 0.15);
}
.sipf-hero-cta-secondary:hover {
    border-color: var(--c-brand-navy);
    background: var(--c-brand-navy);
    color: #fff !important;
    transform: translateY(-2px);
}

/* ---------- RIGHT: visual ---------- */

.sipf-hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 540px;
    justify-self: end;
    width: 100%;
}

.sipf-hero-img-glow {
    position: absolute;
    inset: -10%;
    background: radial-gradient(
        ellipse at center,
        rgba(4, 56, 199, 0.12) 0%,
        rgba(4, 56, 199, 0.04) 35%,
        transparent 70%
    );
    filter: blur(20px);
    z-index: 0;
}

.sipf-hero-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8%;
}
.sipf-hero-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(28, 31, 90, 0.18));
    animation: sipfHeroFloat 6s ease-in-out infinite;
}

@keyframes sipfHeroFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* Guarantee badge — circular sticker with rotating text */
.sipf-hero-badge {
    position: absolute;
    top: 8%;
    right: 4%;
    width: 110px;
    height: 110px;
    z-index: 2;
    color: var(--c-brand-orange);
    animation: sipfBadgeSpin 18s linear infinite;
}
.sipf-hero-badge svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}
.sipf-hero-badge-curve {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    fill: currentColor;
    letter-spacing: 0.18em;
}
.sipf-hero-badge::before {
    content: '';
    position: absolute;
    inset: 8%;
    border: 2px solid var(--c-brand-orange);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 22px -8px rgba(255, 176, 0, 0.55);
}
.sipf-hero-badge-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--c-brand-navy);
    /* Counter-rotate so the inner number doesn't spin */
    animation: sipfBadgeSpinReverse 18s linear infinite;
}
.sipf-hero-badge-num {
    font-size: 28px;
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.02em;
}
.sipf-hero-badge-unit {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-top: 2px;
    color: var(--c-brand-orange);
}

@keyframes sipfBadgeSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes sipfBadgeSpinReverse {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

/* ---------- Eyebrow between hero and grid ---------- */
.sipf-grid-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 20px auto 40px;
    max-width: 800px;
    padding: 0 32px;
}
.sipf-grid-eyebrow-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(28, 31, 90, 0.2), transparent);
    max-width: 100px;
}
.sipf-grid-eyebrow-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--c-brand-orange);
    white-space: nowrap;
}

/* ---------- RESPONSIVE ---------- */

@media ( max-width: 900px ) {
    .sipf-hero { padding: 50px 0 36px; }
    .sipf-hero-inner {
        padding: 0 24px;
        grid-template-columns: 1fr;
        gap: 24px;
        min-height: auto;
    }
    .sipf-hero-visual {
        max-width: 360px;
        margin: 0 auto;
        justify-self: center;
        order: 2;
    }
    .sipf-hero-content { order: 1; }
    .sipf-hero-badge { width: 88px; height: 88px; top: 4%; right: 4%; }
    .sipf-hero-badge-num { font-size: 22px; }
    .sipf-hero-badge-unit { font-size: 9px; }
    .sipf-grid-eyebrow { margin: 16px auto 28px; padding: 0 16px; }
    .sipf-grid-eyebrow-text { font-size: 10px; letter-spacing: 0.18em; }
}

@media ( max-width: 600px ) {
    .sipf-hero { padding: 36px 0 28px; }
    .sipf-hero-inner { padding: 0 16px; }
    .sipf-hero-visual { max-width: 280px; }
    .sipf-hero-badge { width: 72px; height: 72px; }
    .sipf-hero-badge-num { font-size: 18px; }
    .sipf-hero-badge-unit { font-size: 8px; letter-spacing: 0.15em; }
    .sipf-hero-badge-curve { font-size: 9px; letter-spacing: 0.14em; }
    .sipf-hero-ctas { flex-direction: column; align-items: stretch; }
    .sipf-hero-cta { justify-content: center; }
    .sipf-hero-text { font-size: 14.5px; }
}

@media ( prefers-reduced-motion: reduce ) {
    .sipf-hero-img img,
    .sipf-hero-badge,
    .sipf-hero-badge-center { animation: none; }
    .sipf-hero-cta { transition: none; }
}
