/* ============================================================
 * frontend-sourcingplace-index-v2.css
 * Auto-extracted from frontends/public-bff/resources/views/frontend/sourcingplace/index-v2.blade.php
 * by scripts/extract-blade-styles.php
 * Règle CLAUDE.md §389 : CSS jamais dans les Blades.
 * ============================================================ */

/* ════════════════════════════════════════════════════════════════
 * HERO SOURCING — refonte 2026-05-26
 * Colonne gauche : badge + H1 + lead + 4 piliers icônes + 4 portes
 * d'entrée (Flex24/Fournisseur/Vendeur/Vendeur PRO) + 3 mini-stats
 * inline. Colonne droite : visuel CIRCULAIRE + overlay « réseau de
 * vendeurs » + avatars + badge actif.
 * Couleurs plates · FA 6 · classes uniquement (pas d'inline).
 * ════════════════════════════════════════════════════════════════ */

.src-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    background: #f4f8ff;
    border-radius: 24px;
    padding: 56px 56px;
}

/* ---- Colonne gauche ---- */
.src-hero-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.src-hero-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eaf0ff;
    color: #022d94;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 99px;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 26px;
}
.src-hero-badge i { font-size: 12px; }

.src-hero-title {
    margin: 0 0 22px;
    font-size: 60px;
    font-weight: 800;
    color: #0f1111;
    line-height: 1.05;
    letter-spacing: -1px;
}
.src-hero-title-accent { color: #022d94; }

.src-hero-lead {
    margin: 0 0 32px;
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    max-width: 620px;
}

/* ---- 4 piliers icônes ---- */
.src-hero-pillars {
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.src-hero-pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    min-width: 0;
}
.src-hero-pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eaf0ff;
    color: #022d94;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.src-hero-pillar-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f1111;
    line-height: 1.45;
}

/* ---- 4 portes d'entrée (CTAs colorés) ---- */
.src-hero-ctas {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.src-hero-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
    min-width: 0;
    flex: 1;            /* remplit la largeur du <li> */
}
/* Le <li> remplit la cellule de grille → toutes les cartes à la même hauteur */
.src-hero-ctas > li { display: flex; }
.src-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 17, 17, .10);
}
.src-hero-cta-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.src-hero-cta-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.src-hero-cta-label {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}
.src-hero-cta-sub {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
    opacity: .85;
}

/* Variante navy plein (Flex24) */
.src-hero-cta-flex {
    background: #022d94;
    color: #fff;
}
.src-hero-cta-flex .src-hero-cta-icon {
    background: rgba(255, 255, 255, .15);
    color: #ffd84d;
}

/* Variante outline bleu (Fournisseur) */
.src-hero-cta-supplier {
    background: #fff;
    color: #022d94;
    border: 1.5px solid #c7d2fe;
}
.src-hero-cta-supplier:hover { border-color: #022d94; }
.src-hero-cta-supplier .src-hero-cta-icon {
    background: #eaf0ff;
    color: #022d94;
}

/* Variante outline vert (Vendeur) */
.src-hero-cta-seller {
    background: #fff;
    color: #076a30;
    border: 1.5px solid #bbf7d0;
}
.src-hero-cta-seller:hover { border-color: #076a30; }
.src-hero-cta-seller .src-hero-cta-icon {
    background: #e6f6ee;
    color: #076a30;
}

/* Variante violet plein (Vendeur PRO/PREMIUM) — violet assombri pour contraste AA du texte blanc */
.src-hero-cta-pro {
    background: #6d28d9;
    color: #fff;
}
.src-hero-cta-pro .src-hero-cta-icon {
    background: rgba(255, 255, 255, .18);
    color: #ffd84d;
}

/* ── Contraste accessible (WCAG AA) : on force la couleur du texte des cartes
   avec assez de spécificité pour battre la règle de lien globale (qui forçait le noir). ── */
.src-hero-cta-flex .src-hero-cta-label,
.src-hero-cta-pro  .src-hero-cta-label { color: #fff; }
.src-hero-cta-flex .src-hero-cta-sub,
.src-hero-cta-pro  .src-hero-cta-sub { color: #fff; opacity: .92; }

.src-hero-cta-supplier .src-hero-cta-label,
.src-hero-cta-supplier .src-hero-cta-sub { color: #022d94; }
.src-hero-cta-seller .src-hero-cta-label,
.src-hero-cta-seller .src-hero-cta-sub { color: #076a30; }

/* ---- 3 mini-stats inline ---- */
.src-hero-stats-inline {
    list-style: none;
    margin: 0;
    padding: 18px 0 0;
    border-top: 1px solid #d9e2f3;
    display: flex;
    flex-wrap: wrap;
    gap: 32px 36px;
}
.src-hero-stat-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.src-hero-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eaf0ff;
    color: #022d94;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.src-hero-stat-content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}
.src-hero-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: #022d94;
    line-height: 1.1;
}
.src-hero-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

/* ---- Colonne droite ---- */
.src-hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.src-hero-visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    background: #e7ecf5;
    box-shadow: 0 24px 60px rgba(2, 45, 148, .12);
}
.src-hero-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay « réseau de vendeurs » */
.src-hero-network {
    position: absolute;
    bottom: 8%;
    right: -8%;
    width: 320px;
    background: #fff;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 16px 40px rgba(15, 17, 17, .12);
    border: 1px solid #ebeded;
}
.src-hero-network-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}
.src-hero-network-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eaf0ff;
    color: #022d94;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.src-hero-network-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f1111;
    line-height: 1.3;
}
.src-hero-network-text {
    margin: 0 0 14px;
    font-size: 12px;
    color: #4b5563;
    line-height: 1.5;
}
.src-hero-network-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}
.src-hero-network-avatars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.src-hero-network-avatars li {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    overflow: hidden;
    background: #d9e2f3;
}
.src-hero-network-avatars li + li {
    margin-left: -10px;
}
.src-hero-network-avatars img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.src-hero-network-badge {
    background: #eaf0ff;
    color: #022d94;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 99px;
}

/* ════════════════════════════════════════════════════════════════
 * ÉCOSYSTÈME GAGNANT — section §B
 * 3 cards (vendeurs / fournisseurs / écosystème) + trust strip bas.
 * ════════════════════════════════════════════════════════════════ */

.src-eco {
    background: #eef3fb;
    border-radius: 24px;
    padding: 56px 48px;
}
.src-eco-header {
    text-align: center;
    margin-bottom: 36px;
}
.src-eco-title {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 800;
    color: #0f1111;
    letter-spacing: -0.3px;
}
.src-eco-underline {
    display: inline-block;
    width: 60px;
    height: 3px;
    background: #022d94;
    border-radius: 3px;
}

/* ---- 3 cards ---- */
.src-eco-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}
.src-eco-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: 0 2px 6px rgba(15, 17, 17, .04);
}
.src-eco-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.src-eco-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eaf0ff;
    color: #022d94;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.src-eco-card-title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #0f1111;
    line-height: 1.3;
}
.src-eco-card-desc {
    margin: 0 0 18px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.55;
}
.src-eco-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.src-eco-checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #0f1111;
}
.src-eco-checks li i {
    color: #16a34a;
    font-size: 12px;
}

/* ---- Trust strip (bas de section) ---- */
.src-eco-trust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid #d9e2f3;
    flex-wrap: wrap;
}
.src-eco-trust-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}
.src-eco-trust-text {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #0f1111;
}
.src-eco-trust-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.src-eco-trust-avatars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.src-eco-trust-avatars li {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    overflow: hidden;
    background: #d9e2f3;
}
.src-eco-trust-avatars li + li {
    margin-left: -10px;
}
.src-eco-trust-avatars img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.src-eco-trust-badge {
    background: #eaf0ff;
    color: #022d94;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 99px;
}
.src-eco-trust-badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.src-eco-trust-badges li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.src-eco-trust-badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e6f6ee;
    color: #076a30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.src-eco-trust-badge-label {
    font-size: 12px;
    font-weight: 700;
    color: #0f1111;
    line-height: 1.25;
}

/* ---- Responsive ---- */
@media (max-width: 1280px) {
    .src-hero { padding: 48px 36px; gap: 36px; }
    .src-hero-title { font-size: 44px; }
    .src-hero-pillars { grid-template-columns: repeat(2, 1fr); }
    .src-hero-ctas { grid-template-columns: repeat(2, 1fr); }
    .src-hero-network { width: 280px; right: -4%; }
}
@media (max-width: 980px) {
    .src-hero { grid-template-columns: 1fr; padding: 40px 28px; }
    .src-hero-title { font-size: 38px; }
    .src-hero-visual { max-width: 380px; margin: 0 auto; }
    .src-hero-network {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin: 16px 0 0;
    }
    .src-eco-cards { grid-template-columns: 1fr; }
    .src-eco-trust { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .src-hero { padding: 28px 18px; }
    .src-hero-title { font-size: 28px; letter-spacing: -0.5px; }
    .src-hero-pillars { grid-template-columns: 1fr 1fr; gap: 16px; }
    .src-hero-ctas { grid-template-columns: 1fr; }
    .src-hero-stats-inline { gap: 18px 24px; }
    .src-eco { padding: 36px 22px; border-radius: 18px; }
    .src-eco-trust-badges { gap: 18px; }
}

.sourcing-page,
    .sourcing-page h1, .sourcing-page h2, .sourcing-page h3,
    .sourcing-page p, .sourcing-page span, .sourcing-page a, .sourcing-page li, .sourcing-page div {
        font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    }

    .src-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

    .src-card { transition: transform .15s ease, box-shadow .15s ease; }
    .src-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }

    .src-cat-side-item:hover { background: #eef2ff; }
    .src-cat-side-item:focus-visible { outline: 2px solid #022d94; outline-offset: -2px; }
    .src-cat-product-card:hover { transform: translateY(-2px); border-color: #022d94 !important; box-shadow: 0 6px 18px rgba(2,45,148,.15); }
    .src-cat-product-card:hover .src-card-cta { background: #021f6a !important; }
    /* Verified badge — réutilisé sur la card sourcing landing /sourcing */
    .src-verified-badge {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: #e6f6ee;
        color: #15784f;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 99px;
        text-transform: uppercase;
        letter-spacing: .3px;
        border: 1px solid #c6e9d6;
    }
    .src-verified-badge i { font-size: 10px; }
    /* Pulse dot vert — signal "sourcing actif" cohérent avec /sourcing/products et home sourcing-bff */
    @keyframes srcRfqPulse {
        0%   { box-shadow: 0 0 0 0 rgba(7, 106, 48, .55); }
        70%  { box-shadow: 0 0 0 6px rgba(7, 106, 48, 0); }
        100% { box-shadow: 0 0 0 0 rgba(7, 106, 48, 0); }
    }

    /* ═══════════ MODAL SOUS-CATÉGORIES ═══════════ */
    .src-subcat-modal {
        padding: 0;
        border: none;
        background: transparent;
        max-width: 960px;
        width: 92%;
        margin: auto;
    }
    .src-subcat-modal::backdrop {
        background: rgba(2, 45, 148, 0.55);
        backdrop-filter: blur(4px);
    }
    .src-subcat-modal-inner {
        background: #fff;
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
        display: flex;
        flex-direction: column;
        max-height: 86vh;
    }
    .src-subcat-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;
        padding: 22px 24px 18px;
        border-bottom: 1px solid #ebeded;
    }
    .src-subcat-modal-title {
        margin: 0;
        font-size: 24px;
        font-weight: 800;
        color: #0f1111;
        line-height: 1.2;
    }
    .src-subcat-modal-headright {
        display: flex;
        align-items: center;
        gap: 18px;
        flex-shrink: 0;
    }
    .src-subcat-modal-featured-link {
        color: #022d94;
        font-size: 13px;
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 3px;
    }
    .src-subcat-modal-featured-link:hover { color: #021f6a; }
    .src-subcat-modal-close {
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: none;
        background: #f5f5f5;
        color: #0f1111;
        font-size: 13px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background .15s ease, color .15s ease;
    }
    .src-subcat-modal-close:hover { background: #022d94; color: #fff; }
    .src-subcat-modal-body { padding: 24px 28px; overflow-y: auto; flex: 1; }
    .src-subcat-modal-grid {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 22px 14px;
    }
    .src-subcat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 8px 4px;
        text-decoration: none;
        color: #0f1111;
        transition: transform .15s ease;
    }
    .src-subcat-item:hover { transform: translateY(-2px); }
    .src-subcat-item .src-subcat-circle {
        width: 96px;
        height: 96px;
        border-radius: 50%;
        background: #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition: box-shadow .15s ease;
    }
    .src-subcat-item:hover .src-subcat-circle {
        box-shadow: 0 6px 18px rgba(2,45,148,.18);
    }
    .src-subcat-item .src-subcat-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .src-subcat-item .src-subcat-circle i {
        color: #022d94;
        font-size: 30px;
    }
    .src-subcat-item .src-subcat-label {
        font-size: 13px;
        font-weight: 500;
        color: #0f1111;
        text-align: center;
        line-height: 1.3;
        max-width: 110px;
    }
    .src-subcat-item.src-subcat-more .src-subcat-circle {
        background: #eef2ff;
    }
    .src-subcat-item.src-subcat-more .src-subcat-circle i { color: #022d94; }
    .src-subcat-item.src-subcat-more .src-subcat-label { color: #022d94; font-weight: 600; }

    @media (max-width: 880px) {
        .src-subcat-modal-grid { grid-template-columns: repeat(4, 1fr); }
    }
    @media (max-width: 560px) {
        .src-subcat-modal-grid { grid-template-columns: repeat(3, 1fr); }
    }
    .src-subcat-modal-empty {
        margin: 0;
        padding: 16px 18px;
        background: #fff8e1;
        border: 1px solid #ffd1a8;
        border-radius: 10px;
        font-size: 13px;
        color: #0f1111;
        line-height: 1.5;
    }
    .src-subcat-modal-footer {
        padding: 16px 24px;
        border-top: 1px solid #ebeded;
        display: flex;
        justify-content: center;
    }
    .src-subcat-modal-allbtn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #022d94;
        color: #fff;
        padding: 12px 22px;
        border-radius: 99px;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        transition: background .15s ease, transform .15s ease;
    }
    .src-subcat-modal-allbtn:hover { background: #021f6a; transform: translateY(-1px); color: #fff; }

    @media (max-width: 1280px) {
        .src-cat-2col-grid { grid-template-columns: 240px 1fr !important; }
    }
    @media (max-width: 1024px) {
        .sourcing-page section { width: 92% !important; }
        .src-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
    }
    @media (max-width: 640px) {
        .sourcing-page section { width: 96% !important; }
        .src-cat-2col-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
        .src-cat-2col-grid .src-cat-products { grid-template-columns: repeat(2, 1fr) !important; }
        .src-grid-4 { grid-template-columns: 1fr !important; }
        .src-subcat-modal-grid { grid-template-columns: repeat(2, 1fr) !important; }
        .src-subcat-modal-title { font-size: 18px !important; }
        .src-subcat-modal-header { padding: 18px 18px 14px !important; }
        .src-subcat-modal-body { padding: 18px !important; }
    }
    @media (hover: none) {
        .src-card:hover, .src-cat-product-card:hover { transform: none; box-shadow: none; }
    }
