<?php $__env->startSection('title', "Ressources - Blog, guides et actualites | Pirras'Associe"); ?>
<?php $__env->startSection('meta_description', "Articles, guides pratiques et actualites Chine-Afrique : import, fournisseurs, salons et tendances marche."); ?>
<?php ($activeNav = 'ressources'); ?>

<?php $__env->startPush('styles'); ?>
<style>
    :root {
        --orange: #f05a1a;
        --orange-2: #ff7a3d;
        --line: #e7eaee;
        --text: #101418;
        --muted: #5f6b76;
        --shadow: 0 12px 28px rgba(16, 24, 40, .08);
    }

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0
    }

    html {
        scroll-behavior: smooth
    }

    body {
        font-family: "DM Sans", sans-serif;
        color: var(--text);
        background: #fff;
        line-height: 1.6
    }

    a {
        text-decoration: none;
        color: inherit
    }

    h1,
    h2,
    h3 {
        font-family: "Syne", sans-serif;
        line-height: 1.15
    }

    .container {
        width: min(1160px, 92%);
        margin: 0 auto
    }

    nav {
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(255, 255, 255, .92);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid var(--line)
    }

    .nav-wrap {
        height: 74px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px
    }

    .brand {
        font: 800 22px "Syne", sans-serif
    }

    .brand span {
        color: var(--orange)
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 14px;
        font-size: 14px;
        color: #2b3540
    }

    .nav-links a {
        padding: 7px 10px;
        border-radius: 8px;
        transition: .2s
    }

    .nav-links a:hover {
        background: #f2f4f7;
        color: var(--orange)
    }

    .nav-dropdown {
        position: relative
    }

    .nav-dropdown-toggle {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 10px;
        border-radius: 8px;
        transition: .2s;
        cursor: pointer;
        border: 0;
        background: transparent;
        font: inherit;
        color: inherit
    }

    .nav-dropdown-toggle::after {
        content: "▾";
        font-size: 10px;
        transform: translateY(1px)
    }

    .nav-dropdown:hover .nav-dropdown-toggle,
    .nav-dropdown.open .nav-dropdown-toggle {
        background: #f2f4f7;
        color: var(--orange)
    }

    .nav-dropdown-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        min-width: 230px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 8px;
        box-shadow: 0 12px 28px rgba(16, 24, 40, .14);
        opacity: 0;
        transform: translateY(6px);
        pointer-events: none;
        transition: .2s;
        z-index: 120
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown.open .nav-dropdown-menu {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto
    }

    .nav-dropdown-menu a {
        display: block;
        padding: 10px 12px;
        border-radius: 8px;
        color: #334155
    }

    .nav-dropdown-menu a:hover {
        background: #f7f8fb;
        color: var(--orange)
    }

    .hero {
        color: #fff;
        padding: 96px 0 70px;
        background: linear-gradient(120deg, rgba(8, 14, 20, .84), rgba(8, 14, 20, .60)), url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat
    }

    .hero .kicker {
        color: #ffb088;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 10px
    }

    .hero .title {
        font-size: clamp(26px, 3.4vw, 44px);
        margin-bottom: 12px
    }

    .hero .sub {
        color: #f3f4f6;
        max-width: 720px;
        margin-bottom: 24px
    }

    .jump-wrap {
        margin-top: 8px
    }

    .jump-label {
        color: #e5e7eb;
        font-size: 13px;
        margin-bottom: 10px;
        opacity: .9
    }

    .jump-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 10px
    }

    .jump-pills a {
        display: inline-flex;
        align-items: center;
        padding: 10px 16px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .12);
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        border: 1px solid rgba(255, 255, 255, .22);
        transition: .2s
    }

    .jump-pills a:hover {
        background: rgba(255, 255, 255, .22);
        border-color: rgba(255, 255, 255, .35)
    }

    .jump-pills a.is-active {
        background: rgba(240, 90, 26, .85);
        border-color: rgba(240, 90, 26, .95)
    }

    section {
        padding: 76px 0 80px;
        border-bottom: 1px solid var(--line)
    }

    section[id] {
        scroll-margin-top: 86px
    }

    .section-head {
        margin-bottom: 8px
    }

    .section-head .kicker {
        color: var(--orange);
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 10px
    }

    .section-head .title {
        font-size: clamp(26px, 3.2vw, 40px);
        margin-bottom: 10px;
        color: var(--text)
    }

    .section-head .lead {
        color: var(--muted);
        max-width: 720px
    }

    .grid-blog {
        margin-top: 32px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px
    }

    .grid-2 {
        margin-top: 32px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px
    }

    .card {
        border: 1px solid rgba(240, 90, 26, .14);
        border-radius: 16px;
        padding: 24px;
        background: linear-gradient(165deg, rgba(240, 90, 26, .07) 0%, #fff 42%);
        box-shadow: var(--shadow);
        transition: .2s ease;
        display: flex;
        flex-direction: column;
        height: 100%
    }

    .card:hover {
        border-color: rgba(240, 90, 26, .26);
        box-shadow: var(--shadow), 0 12px 36px rgba(240, 90, 26, .08);
        transform: translateY(-3px)
    }

    .card .tag {
        display: inline-block;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .8px;
        color: var(--orange);
        margin-bottom: 10px
    }

    .card h3 {
        font-size: 22px;
        margin-bottom: 10px
    }

    .card p {
        color: var(--muted);
        flex: 1;
        font-size: 15px
    }

    .card .meta {
        font-size: 13px;
        color: #8b96a0;
        margin-top: 14px
    }

    .card-cta {
        margin-top: 16px;
        font-family: "Syne", sans-serif;
        font-weight: 700;
        font-size: 14px;
        color: var(--orange);
        display: inline-flex;
        align-items: center;
        gap: 6px
    }

    .card-cta::after {
        content: "→";
        transition: transform .2s
    }

    .card:hover .card-cta::after {
        transform: translateX(4px)
    }

    .ico {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #fff3ed;
        color: var(--orange);
        margin-bottom: 12px
    }

    .ico svg {
        width: 24px;
        height: 24px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round
    }

    .guide-card {
        padding: 28px
    }

    .guide-card h3 {
        font-size: 24px
    }

    .news-row {
        margin-top: 32px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px
    }

    .subtabs {
        margin-top: 28px;
        display: inline-flex;
        gap: 10px;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 6px;
        background: #fff
    }

    .subtab {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        padding: 10px 16px;
        font-size: 14px;
        font-weight: 700;
        color: #475569;
        transition: .2s
    }

    .subtab:hover {
        color: var(--orange);
        background: #fff3ed
    }

    .subtab.is-active {
        background: linear-gradient(135deg, var(--orange), var(--orange-2));
        color: #fff
    }

    .pagination-wrap {
        margin-top: 22px
    }

    .pagination-wrap nav {
        position: static;
        background: transparent;
        border-bottom: 0;
        backdrop-filter: none
    }

    .strip-cta {
        text-align: center;
        background: #faf7f4;
        border-bottom: 1px solid rgba(240, 90, 26, .12)
    }

    .strip-cta .inner {
        max-width: 560px;
        margin: 0 auto
    }

    .strip-cta p {
        color: var(--muted);
        margin-bottom: 18px
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        padding: 13px 22px;
        font-family: "Syne", sans-serif;
        font-weight: 700;
        color: #fff;
        background: linear-gradient(135deg, var(--orange), var(--orange-2));
        box-shadow: 0 10px 22px rgba(240, 90, 26, .28);
        transition: .2s
    }

    .btn:hover {
        filter: brightness(1.05)
    }

    footer {
        background: #06090d;
        color: #cbd5e1;
        border-top: 1px solid rgba(255, 255, 255, .08);
        padding: 62px 0 28px
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1.8fr 1fr 1fr 1fr;
        gap: 34px;
        margin-bottom: 28px
    }

    .footer-brand .brand {
        display: inline-block;
        color: #fff;
        margin-bottom: 14px
    }

    .footer-brand p {
        color: #9ca3af;
        max-width: 360px;
        margin-bottom: 20px
    }

    .footer-flags {
        display: flex;
        gap: 10px;
        color: #d1d5db;
        font-size: 14px;
        letter-spacing: .5px
    }

    .footer-col h4 {
        color: #fff;
        font-size: 17px;
        margin-bottom: 12px
    }

    .footer-col a {
        display: block;
        color: #9ca3af;
        margin-bottom: 8px;
        transition: color .2s
    }

    .footer-col a:hover {
        color: #fff
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, .09);
        padding-top: 18px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #9ca3af;
        font-size: 14px;
        gap: 12px
    }

    @media (max-width:900px) {

        .grid-blog,
        .grid-2,
        .news-row {
            grid-template-columns: 1fr
        }
    }

    @media (max-width:768px) {
        .nav-links {
            display: none
        }

        .footer-grid {
            grid-template-columns: 1fr;
            gap: 24px
        }

        .footer-bottom {
            flex-direction: column;
            text-align: center
        }
    }

</style>
<?php $__env->stopPush(); ?>

<?php $__env->startSection('content'); ?>
<header class="hero">
    <div class="container">
        <div class="kicker">Ressources</div>
        
        <h1 class="sub"><?php echo e($heroSub ?? 'Blog oriente SEO, guides pratiques et veille actualites pour securiser vos imports.'); ?></h1>
        <div class="jump-wrap">
            <div class="jump-label">Accès rapide</div>
            <div class="jump-pills">
                <a href="<?php echo e(route('ressources.index', ['section' => 'blog'])); ?>" class="<?php echo e(($activeSection ?? 'blog') === 'blog' ? 'is-active' : ''); ?>">Blog</a>
                <a href="<?php echo e(route('ressources.index', ['section' => 'guides'])); ?>" class="<?php echo e(($activeSection ?? 'blog') === 'guides' ? 'is-active' : ''); ?>">Guides</a>
                <a href="<?php echo e(route('ressources.index', ['section' => 'actualites'])); ?>" class="<?php echo e(($activeSection ?? 'blog') === 'actualites' ? 'is-active' : ''); ?>">Actualités</a>
            </div>
        </div>
    </div>
</header>

<section id="ressources-listing">
    <div class="container">
        <div class="section-head">
            <div class="kicker">Ressources</div>
            <?php if(($activeSection ?? 'blog') === 'actualites'): ?>
            <h2 class="title">Toutes les actualités</h2>
            <p class="lead">Retrouvez les dernières actualités Chine-Afrique avec affichage paginé pour une lecture claire.</p>
            <?php elseif(($activeSection ?? 'blog') === 'guides'): ?>
            <h2 class="title">Guides pratiques</h2>
            <p class="lead">Import Chine, securite fournisseurs et bonnes pratiques operationnelles.</p>
            <?php else: ?>
            <h2 class="title">Tous les articles de blog</h2>
            <p class="lead">Retrouvez les articles de blog classés dans la sous-section dédiée, paginés par 10.</p>
            <?php endif; ?>
        </div>
        <div class="subtabs" role="tablist" aria-label="Sous-sections ressources">
            <a class="subtab <?php echo e(($activeSection ?? 'blog') === 'blog' ? 'is-active' : ''); ?>" href="<?php echo e(route('ressources.index', ['section' => 'blog'])); ?>">Blog</a>
            <a class="subtab <?php echo e(($activeSection ?? 'blog') === 'guides' ? 'is-active' : ''); ?>" href="<?php echo e(route('ressources.index', ['section' => 'guides'])); ?>">Guides</a>
            <a class="subtab <?php echo e(($activeSection ?? 'blog') === 'actualites' ? 'is-active' : ''); ?>" href="<?php echo e(route('ressources.index', ['section' => 'actualites'])); ?>">Actualités</a>
        </div>
        <div class="grid-blog">
            <?php $__empty_1 = true; $__currentLoopData = $resourceItems; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
            <article class="card">
                <?php if($item->tag): ?>
                <span class="tag"><?php echo e($item->tag); ?></span>
                <?php elseif(($activeSection ?? 'blog') === 'actualites'): ?>
                <span class="tag">Actualite</span>
                <?php elseif(($activeSection ?? 'blog') === 'guides'): ?>
                <span class="tag">Guide</span>
                <?php else: ?>
                <span class="tag">Blog</span>
                <?php endif; ?>
                <h3><?php echo e($item->title); ?></h3>
                <p><?php echo e($item->excerpt); ?></p>
                <a class="card-cta" href="<?php echo e(route('ressources.show', $item)); ?>">Voir les détails</a>
            </article>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
            <p class="lead" style="grid-column:1/-1;color:#5f6b76;">
                <?php if(($activeSection ?? 'blog') === 'actualites'): ?>
                Aucune actualite disponible pour le moment.
                <?php elseif(($activeSection ?? 'blog') === 'guides'): ?>
                Aucun guide disponible pour le moment.
                <?php else: ?>
                Aucun article de blog disponible pour le moment.
                <?php endif; ?>
            </p>
            <?php endif; ?>
        </div>
        <div class="pagination-wrap">
            <?php echo e($resourceItems->links()); ?>

        </div>
    </div>
</section>

<section class="strip-cta">
    <div class="container">
        <div class="inner">
            <h2 class="title" style="font-size:clamp(22px,3vw,32px);margin-bottom:10px">Un sujet précis en tête ?</h2>
            <p>Nous pouvons vous orienter vers le bon contenu ou vous accompagner directement sur votre projet.</p>
            <a href="/contact" class="btn">Contacter Pirras'Associe</a>
        </div>
    </div>
</section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.public', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\Softsys\new_pirras\resources\views/ressources.blade.php ENDPATH**/ ?>