/* ===== FASTPANEL — SAAS SUR MESURE ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
    background-color: #181a1b !important;
    background-image: none !important;
}

.ssm-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ===== EYEBROW ===== */
.ssm-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #E63B2E;
    margin: 0 0 14px;
}

/* ===== HERO ===== */
.ssm-hero {
    position: relative;
    padding: 150px 48px 120px;
    text-align: center;
    overflow: hidden;
    background: transparent;
}

.ssm-hero-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(230, 59, 46, 0.055) 0%, transparent 65%);
    pointer-events: none;
}

.ssm-hero-title {
    font-size: clamp(40px, 5.5vw, 76px);
    font-weight: 800;
    color: #F5F5F5;
    line-height: 1.07;
    letter-spacing: -0.04em;
    margin: 0 0 22px;
}

.ssm-accent {
    color: #E63B2E;
}

.ssm-hero-sub {
    font-size: clamp(15px, 1.6vw, 18px);
    color: rgba(255, 255, 255, 0.42);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.ssm-hero-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.ssm-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.ssm-btn-primary {
    background: #E63B2E;
    color: #fff;
    border: 1px solid #E63B2E;
}

.ssm-btn-primary:hover {
    background: #cc3325;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(230, 59, 46, 0.28);
}

.ssm-btn-outline {
    background: transparent;
    color: #D0D0D0;
    border: 1px solid #282828;
}

.ssm-btn-outline:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.2);
    color: #F5F5F5;
    text-decoration: none;
}

.ssm-btn-white {
    background: transparent;
    color: #c0c0c0;
    border: 1px solid rgba(255,255,255,.15);
    font-size: 16px;
    padding: 16px 36px;
}

.ssm-btn-white:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.25);
    color: #f5f5f5;
    transform: translateY(-2px);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.ssm-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.ssm-badges span {
    font-size: 12px;
    color: #484848;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #1E1E1E;
    border-radius: 6px;
    padding: 5px 14px;
    font-weight: 500;
}

/* ===== STATS BAR ===== */
.ssm-stats-bar {
    background: rgba(255,255,255,.03);
    border-top: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.ssm-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.ssm-stat {
    padding: 30px 20px;
    text-align: center;
    border-left: 1px solid #191919;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ssm-stat:first-child {
    border-left: none;
}

.ssm-stat-val {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    color: #F5F5F5;
    letter-spacing: -0.025em;
    line-height: 1;
}

.ssm-stat-lab {
    font-size: 12px;
    color: #484848;
    font-weight: 500;
    line-height: 1.4;
}

/* ===== DIVIDER ===== */
.ssm-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

/* ===== SECTIONS ===== */
.ssm-section {
    padding: 104px 48px;
    background: transparent;
}

.ssm-alt {
    background: transparent;
}


.ssm-section-head {
    margin-bottom: 60px;
}

.ssm-section-head.ssm-center {
    text-align: center;
}

.ssm-section-head h2 {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 800;
    color: #F0F0F0;
    letter-spacing: -0.028em;
    line-height: 1.1;
    margin: 0 0 14px;
}

.ssm-section-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.35);
    max-width: 520px;
    line-height: 1.75;
    margin: 0;
}

/* ===== SOLUTIONS GRID ===== */
.ssm-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.ssm-sol-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.22s ease;
    cursor: default;
}

.ssm-sol-card:hover {
    border-color: rgba(230, 59, 46, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.ssm-sol-card:hover .ssm-sol-icon {
    background: rgba(230, 59, 46, 0.09);
    border-color: rgba(230, 59, 46, 0.2);
    color: #E63B2E;
}

.ssm-sol-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.ssm-sol-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555555;
    transition: all 0.22s;
    flex-shrink: 0;
}

.ssm-sol-icon svg {
    width: 21px;
    height: 21px;
}

.ssm-sol-num {
    font-size: 10px;
    color: #202020;
    font-weight: 800;
    font-family: monospace;
    letter-spacing: 4px;
}

.ssm-sol-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #EEEEEE;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.ssm-sol-card p {
    font-size: 13px;
    color: #666666;
    line-height: 1.72;
    margin: 0 0 18px;
    flex: 1;
}

.ssm-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.ssm-tags span {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,.3);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 5px;
    padding: 3px 9px;
}

/* ===== TOGGLE MARCHÉ ===== */
.ssm-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.ssm-toggle-wrap > div,
.ssm-toggle-wrap {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    padding: 4px;
    gap: 3px;
    display: inline-flex;
}

.ssm-toggle-btn {
    padding: 10px 26px;
    border-radius: 9px;
    border: none;
    background: transparent;
    color: #555555;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.ssm-toggle-btn.active {
    background: #E63B2E;
    color: #fff;
}

/* ===== PLANS ===== */
.ssm-plans {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.ssm-plan {
    flex: 1;
    min-width: 0;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.22s;
}

.ssm-plan:hover {
    border-color: rgba(255,255,255,.12);
}

.ssm-plan-featured {
    position: relative;
    background: rgba(255,255,255,.06);
    border-color: rgba(230, 59, 46, 0.4);
    transform: scale(1.03);
    box-shadow: 0 0 50px rgba(230, 59, 46, 0.05);
}

.ssm-plan-featured:hover {
    border-color: #E63B2E;
}

.ssm-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #E63B2E;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 5px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.ssm-plan-name {
    font-size: 20px;
    font-weight: 800;
    color: #F5F5F5;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

.ssm-plan-price-block {
    margin-bottom: 28px;
}

.ssm-plan-setup-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #383838;
    margin-bottom: 8px;
}

.ssm-plan-setup {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    color: #F5F5F5;
    letter-spacing: -0.035em;
    margin-bottom: 8px;
    line-height: 1;
}

.ssm-plan-mo {
    font-size: 13px;
    color: #444444;
    line-height: 1.5;
}

.ssm-plan-mo strong {
    color: #666666;
    font-weight: 600;
}

.ssm-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.ssm-plan-features li {
    font-size: 13px;
    color: rgba(230, 230, 230, 0.78);
    padding-left: 22px;
    position: relative;
    line-height: 1.52;
}

.ssm-plan-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2322C55E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.ssm-feature-intro {
    color: #484848 !important;
    font-style: italic;
}

.ssm-feature-intro::before {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23E63B2E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3Cpath d='M12 19V5'/%3E%3C/svg%3E") !important;
}

.ssm-plan-cta {
    display: block;
    text-align: center;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.18s;
    background: transparent;
    color: #C0C0C0;
    border: 1px solid #1E1E1E;
}

.ssm-plan-cta:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.15);
    color: #F5F5F5;
    text-decoration: none;
}

.ssm-plan-cta-featured {
    background: #E63B2E;
    color: #fff;
    border-color: #E63B2E;
}

.ssm-plan-cta-featured:hover {
    background: #cc3325 !important;
    border-color: #cc3325 !important;
    color: #fff !important;
}

.ssm-plans-note {
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    margin-top: 24px;
    line-height: 1.65;
}

/* ===== PROCESSUS ===== */
.ssm-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ssm-process-step {
    padding: 28px 24px;
    position: relative;
    cursor: default;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
    transition: border-color .25s, transform .25s;
    overflow: hidden;
}

.ssm-process-step:hover {
    border-color: rgba(230,59,46,.3);
    transform: translateY(-2px);
}

/* Accent rouge en haut au hover */
.ssm-process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #E63B2E;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ssm-process-step:hover::before { transform: scaleX(1); }

.ssm-process-index { display: none; }

/* Icône */
.ssm-process-icon-raw {
    color: rgba(255,255,255,.32);
    margin-bottom: 20px;
    display: block;
    transition: color 0.25s, transform 0.25s;
}

.ssm-process-icon-raw svg {
    width: 26px;
    height: 26px;
    display: block;
}

.ssm-process-step:hover .ssm-process-icon-raw {
    color: #E63B2E;
    transform: translateY(-3px);
}

.ssm-process-step h3 {
    font-size: 15px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.ssm-process-step p {
    font-size: 12.5px;
    color: rgba(255,255,255,.35);
    line-height: 1.65;
    margin: 0;
}

/* Masquer tous les anciens éléments */
.ssm-process-num,
.ssm-process-badge,
.ssm-process-badge-dot,
.ssm-process-icon,
.ssm-process-node,
.ssm-process-label { display: none; }

/* Responsive */
@media (max-width: 1100px) {
    .ssm-process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .ssm-process-grid { grid-template-columns: 1fr; }
    .ssm-process-step { padding: 24px 20px; }
}

/* ===== PORTFOLIO ===== */
.ssm-pf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 64px;
}

.ssm-pf-card {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #141414;
    transition: border-color 0.3s;
    outline: none;
}

.ssm-pf-card:hover,
.ssm-pf-card:focus-visible { border-color: #262626; }

/* Zone image */
.ssm-pf-img {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.ssm-pf-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.ssm-pf-card:hover .ssm-pf-img img { transform: scale(1.06); }

/* Placeholder gradient */
.ssm-pf-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.ssm-pf-card:hover .ssm-pf-placeholder { transform: scale(1.04); }


/* Badge catégorie */
.ssm-pf-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 5px;
    padding: 4px 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Overlay description au hover */
.ssm-pf-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 45%, transparent 75%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 22px;
}

.ssm-pf-card:hover .ssm-pf-overlay { opacity: 1; }

.ssm-pf-overlay-text {
    font-size: 13px;
    color: rgba(255,255,255,0.72);
    line-height: 1.72;
    transform: translateY(8px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ssm-pf-card:hover .ssm-pf-overlay-text { transform: translateY(0); }

/* Bas de carte */
.ssm-pf-body {
    background: rgba(255,255,255,.03);
    padding: 18px 20px 16px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.ssm-pf-body-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.ssm-pf-client {
    font-size: 11px;
    color: #363636;
    font-weight: 600;
    margin-bottom: 5px;
}

.ssm-pf-title {
    font-size: 17px;
    font-weight: 800;
    color: #F0F0F0;
    letter-spacing: -0.03em;
    line-height: 1.18;
}

.ssm-pf-cta-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #1E1E1E;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E63B2E;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    margin-top: 2px;
}

.ssm-pf-card:hover .ssm-pf-cta-icon {
    background: rgba(230,59,46,0.1);
    border-color: rgba(230,59,46,0.3);
    transform: translate(2px, -2px);
}

.ssm-pf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.ssm-pf-tags span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,.3);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 4px;
    padding: 3px 8px;
}

/* ===== MODALE PORTFOLIO ===== */
.ssm-pf-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.88);
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.ssm-pf-modal.open { display: flex; }

.ssm-pf-modal-box {
    background: #181a1b;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: ssmPfIn 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
    scrollbar-width: thin;
    scrollbar-color: #222 transparent;
}

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

.ssm-pf-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(14, 14, 14, 0.9);
    border: 1px solid #222;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
}

.ssm-pf-modal-close:hover { background: rgba(255,255,255,.08); color: #E63B2E; }

.ssm-pf-modal-close svg { width: 14px; height: 14px; }

.ssm-pf-modal-img {
    height: 230px;
    border-radius: 18px 18px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    overflow: hidden;
}

.ssm-pf-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ssm-pf-modal-content { padding: 28px 30px 30px; }

.ssm-pf-modal-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #E63B2E;
    margin-bottom: 8px;
}

.ssm-pf-modal-who {
    font-size: 12px;
    color: #363636;
    margin-bottom: 14px;
}

.ssm-pf-modal-content h2 {
    font-size: 26px;
    font-weight: 800;
    color: #F5F5F5;
    letter-spacing: -0.03em;
    margin: 0 0 14px;
    line-height: 1.18;
}

.ssm-pf-modal-content p {
    font-size: 14px;
    color: #505050;
    line-height: 1.8;
    margin: 0 0 22px;
}

.ssm-pf-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 26px;
}

.ssm-pf-modal-tags span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #E63B2E;
    background: rgba(230, 59, 46, 0.06);
    border: 1px solid rgba(230, 59, 46, 0.15);
    border-radius: 5px;
    padding: 4px 11px;
}

.ssm-pf-modal-stats {
    display: flex;
    border-top: 1px solid #151515;
    padding-top: 22px;
}

.ssm-pf-modal-stat {
    flex: 1;
    text-align: center;
    border-right: 1px solid #151515;
    padding: 0 12px;
}

.ssm-pf-modal-stat:first-child { padding-left: 0; text-align: left; }
.ssm-pf-modal-stat:last-child  { border-right: none; }

.ssm-pf-modal-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #F5F5F5;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 5px;
}

.ssm-pf-modal-stat span {
    font-size: 10px;
    color: #2E2E2E;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* ===== CTA FINAL ===== */
.ssm-cta-section {
    position: relative;
    padding: 120px 48px;
    text-align: center;
    background: transparent;
    overflow: hidden;
}

.ssm-cta-glow { display: none; }

.ssm-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0 auto;
}

.ssm-cta-inner h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -0.035em;
    margin: 0 0 18px;
    line-height: 1.08;
}

.ssm-cta-sub {
    font-size: clamp(15px, 1.7vw, 18px);
    color: rgba(255, 255, 255, 0.45);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

.ssm-cta-note {
    margin: 22px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: 0.3px;
}

/* ===== CAROUSEL GALERIE MODAL ===== */
.ssm-pf-carousel {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: rgba(255,255,255,.04);
}

.ssm-pf-cs-track {
    display: flex;
    height: 100%;
    transition: transform 0.38s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

.ssm-pf-cs-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.ssm-pf-cs-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Boutons prev / next */
.ssm-pf-cs-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    transition: background 0.18s, transform 0.18s;
}

.ssm-pf-cs-btn svg { width: 16px; height: 16px; }
.ssm-pf-cs-prev { left: 12px; }
.ssm-pf-cs-next { right: 12px; }
.ssm-pf-cs-btn:hover { background: rgba(230,59,46,0.80); transform: translateY(-50%) scale(1.08); }

/* Points dots */
.ssm-pf-cs-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 4;
}

.ssm-pf-cs-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.28);
    cursor: pointer;
    padding: 0;
    transition: background 0.18s, transform 0.18s;
}

.ssm-pf-cs-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Compteur */
.ssm-pf-cs-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 3px 8px;
    border-radius: 20px;
    z-index: 4;
    letter-spacing: 0.5px;
}

/* responsive portfolio */
@media (max-width: 700px) {
    .ssm-pf-grid { grid-template-columns: 1fr; }
    .ssm-pf-img  { height: 200px; }
    .ssm-pf-modal-box { border-radius: 14px; }
    .ssm-pf-modal-content { padding: 22px 18px 24px; }
    .ssm-pf-modal-img { height: 180px; font-size: 60px; }
    .ssm-pf-carousel { height: 210px; }
}

/* ===== TICKER ===== */
.ssm-ticker-section {
    padding: 0 0 20px;
    overflow: hidden;
}

.ssm-ticker-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.35);
    margin: 0 0 36px;
}

.ssm-ticker-outer {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.ssm-ticker-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 180px;
    z-index: 2;
    pointer-events: none;
}

.ssm-ticker-fade-l {
    left: 0;
    background: linear-gradient(to right, #181a1b 30%, transparent 100%);
}

.ssm-ticker-fade-r {
    right: 0;
    background: linear-gradient(to left, #181a1b 30%, transparent 100%);
}

.ssm-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
}

.ssm-logo-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 90px;
    flex-shrink: 0;
    opacity: 0.55;
    transition: opacity 0.3s ease;
    cursor: default;
}

.ssm-logo-chip[data-url] { cursor: pointer; }

.ssm-logo-chip:hover {
    opacity: 1;
}

.ssm-logo-img {
    height: 110px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    mix-blend-mode: screen;
    filter: brightness(1.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .ssm-solutions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .ssm-plans { flex-direction: column; }
    .ssm-plan-featured { transform: none; }
    .ssm-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ssm-stat:nth-child(2) { border-left: 1px solid #191919; }
    .ssm-stat:nth-child(3) { border-left: none; border-top: 1px solid #191919; }
    .ssm-stat:nth-child(4) { border-top: 1px solid #191919; }
    .ssm-wrap { padding: 0 28px; }
    .ssm-section { padding-left: 28px; padding-right: 28px; }
    .ssm-hero { padding-left: 28px; padding-right: 28px; }
}

@media (max-width: 640px) {
    .ssm-solutions-grid { grid-template-columns: 1fr; }
    .ssm-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ssm-wrap { padding: 0 20px; }
    .ssm-section, .ssm-hero { padding-left: 20px; padding-right: 20px; }
    .ssm-hero-btns { flex-direction: column; }
    .ssm-hero-btns .ssm-btn { justify-content: center; }
    .ssm-plan { min-width: 100%; }
}
