<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Ressources - Blog, guides et actualites | Pirras'Associe</title>
    <meta name="description" content="Articles, guides pratiques et actualites Chine-Afrique : import, fournisseurs, salons et tendances marche.">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link href="https://fonts.googleapis.com/css2?family=Syne:wght@500;700;800&family=DM+Sans:wght@400;500;700&display=swap" rel="stylesheet">
    <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-links a.is-active {
            background: rgba(240, 90, 26, .1);
            color: var(--orange);
            font-weight: 600
        }

        .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(30px, 4vw, 52px);
            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)
        }

        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
        }

        .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>
</head>
<body>
    <nav>
        <div class="container nav-wrap">
            <a class="brand" href="/">Pirras<span>'</span>Associe</a>
            <div class="nav-links">
                <a href="/#accueil">Accueil</a>
                <a href="/a-propos">A propos</a>
                <div class="nav-dropdown" id="servicesDropdown">
                    <button class="nav-dropdown-toggle" id="servicesDropdownToggle" aria-expanded="false" aria-controls="servicesDropdownMenu">Services</button>
                    <div class="nav-dropdown-menu" id="servicesDropdownMenu">
                        <a href="/centrale-achat">Centrale d'achat</a>
                        <a href="/logistique-groupage">Logistique et groupage</a>
                        <a href="/centrale-vente-abidjan">Centrale de vente</a>
                        <a href="/china-business-trip">China Business Trip</a>
                    </div>
                </div>
                <a href="/secteurs">Secteurs</a>
                <a href="/ressources" class="is-active">Ressources</a>
                <a href="/#temoignages">Temoignages</a>
                <a href="/#process">Comment ca marche</a>
                <a href="/contact">Contact</a>
            </div>
        </div>
    </nav>

    <header class="hero">
        <div class="container">
            {{-- <div class="kicker">Page ressources</div>  --}}
            {{-- <h1 class="title">{{ $heroTitle ?? 'Contenus pour reussir entre la Chine et l\'Afrique' }}</h1> --}}
            <h1 class="sub">{{ $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="#blog">Blog</a>
                    <a href="#guides">Guides</a>
                    <a href="#actualites">Actualités</a>
                </div>
            </div>
        </div>
    </header>

    <section id="blog">
        <div class="container">
            <div class="section-head">
                <div class="kicker">Blog</div>
                <h2 class="title">Articles pour le référencement</h2>
                <p class="lead">Des sujets concrets pour structurer votre sourcing, votre logistique et votre développement commercial.</p>
            </div>
            <div class="grid-blog">
                @forelse($blogPosts as $item)
                <article class="card">
                    @if($item->tag)
                    <span class="tag">{{ $item->tag }}</span>
                    @endif
                    <h3>{{ $item->title }}</h3>
                    <p>{{ $item->excerpt }}</p>
                    <a class="card-cta" href="{{ $item->cta_url ?: route('ressources.show', $item) }}">{{ $item->cta_label ?: 'Lire la suite' }}</a>
                </article>
                @empty
                <p class="lead" style="grid-column:1/-1;color:#5f6b76;">Les articles du blog seront publies prochainement. En attendant, <a href="/contact">contactez-nous</a> pour votre projet.</p>
                @endforelse
            </div>
        </div>
    </section>

    <section id="guides">
        <div class="container">
            <div class="section-head">
                <div class="kicker">Guides</div>
                <h2 class="title">Guides pratiques à télécharger ou consulter</h2>
                <p class="lead">Des synthèses actionnables pour avancer sans improvisation sur les sujets les plus demandés.</p>
            </div>
            <div class="grid-2">
                @forelse($guides as $item)
                <article class="card guide-card">
                    <div class="ico" aria-hidden="true">
                        <svg viewBox="0 0 24 24">
                            <path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path>
                            <path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path>
                            <line x1="8" y1="7" x2="16" y2="7"></line>
                            <line x1="8" y1="11" x2="16" y2="11"></line>
                        </svg>
                    </div>
                    <span class="tag">Guide</span>
                    <h3>{{ $item->title }}</h3>
                    <p>{{ $item->excerpt }}</p>
                    <div class="meta">Guide pratique</div>
                    <a class="card-cta" href="{{ $item->cta_url ?: route('ressources.show', $item) }}">{{ $item->cta_label ?: 'Consulter' }}</a>
                </article>
                @empty
                <p class="lead" style="grid-column:1/-1;color:#5f6b76;">Aucun guide pour le moment.</p>
                @endforelse
            </div>
        </div>
    </section>

    <section id="actualites">
        <div class="container">
            <div class="section-head">
                <div class="kicker">Actualites</div>
                <h2 class="title">Veille marche et salons</h2>
                <p class="lead">Dates clefs et tendances pour anticiper vos achats et vos deplacements.</p>
            </div>
            <div class="news-row">
                @forelse($newsItems as $item)
                <article class="card">
                    <div class="ico" aria-hidden="true">
                        @if($loop->iteration % 2 === 1)
                        <svg viewBox="0 0 24 24">
                            <rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
                            <line x1="16" y1="2" x2="16" y2="6"></line>
                            <line x1="8" y1="2" x2="8" y2="6"></line>
                            <line x1="3" y1="10" x2="21" y2="10"></line>
                        </svg>
                        @else
                        <svg viewBox="0 0 24 24">
                            <polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline>
                        </svg>
                        @endif
                    </div>
                    @if($item->tag)
                    <span class="tag">{{ $item->tag }}</span>
                    @else
                    <span class="tag">Actualite</span>
                    @endif
                    <h3>{{ $item->title }}</h3>
                    <p>{{ $item->excerpt }}</p>
                    <div class="meta">Veille</div>
                    <a class="card-cta" href="{{ $item->cta_url ?: route('ressources.show', $item) }}">{{ $item->cta_label ?: 'Lire' }}</a>
                </article>
                @empty
                <p class="lead" style="grid-column:1/-1;color:#5f6b76;">Aucune actualite pour le moment.</p>
                @endforelse
            </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>

    <footer>
        <div class="container">
            <div class="footer-grid">
                <div class="footer-brand">
                    <span class="brand">Pirras<span>'</span>Associe</span>
                    <p>Votre partenaire strategique pour developper votre activite import-export entre la Chine et l'Afrique francophone.</p>
                    <div class="footer-flags"><span>CI</span><span>CN</span><span>SN</span><span>ML</span><span>BF</span><span>GN</span></div>
                </div>
                <div class="footer-col">
                    <h4>Services</h4>
                    <a href="/centrale-achat">Centrale d'achat</a><a href="/logistique-groupage">Logistique &amp; groupage</a><a href="/centrale-vente-abidjan">Centrale de vente</a><a href="/china-business-trip">China Business Trip</a>
                </div>
                <div class="footer-col">
                    <h4>Ressources</h4>
                    <a href="/ressources#blog">Blog</a><a href="/ressources#guides">Guides pratiques</a><a href="/ressources#actualites">Actualites</a><a href="/#temoignages">Temoignages</a>
                </div>
                <div class="footer-col">
                    <h4>Entreprise</h4>
                    <a href="/a-propos">A propos</a><a href="/#process">Comment ca marche</a><a href="/contact">Contact</a><a href="/contact">Mentions legales</a>
                </div>
            </div>
            <div class="footer-bottom"><span>© 2026 Pirras'Associe - Tous droits reserves</span><span>Chine · Afrique · Business 🧡</span></div>
        </div>
    </footer>

    <script>
        const servicesDropdown = document.getElementById("servicesDropdown");
        const servicesDropdownToggle = document.getElementById("servicesDropdownToggle");
        servicesDropdownToggle.addEventListener("click", (event) => {
            event.stopPropagation();
            const isOpen = servicesDropdown.classList.toggle("open");
            servicesDropdownToggle.setAttribute("aria-expanded", String(isOpen));
        });
        document.addEventListener("click", (event) => {
            if (!servicesDropdown.contains(event.target)) {
                servicesDropdown.classList.remove("open");
                servicesDropdownToggle.setAttribute("aria-expanded", "false");
            }
        });
        servicesDropdown.querySelectorAll(".nav-dropdown-menu a").forEach((item) => {
            item.addEventListener("click", () => {
                servicesDropdown.classList.remove("open");
                servicesDropdownToggle.setAttribute("aria-expanded", "false");
            });
        });

    </script>
</body>
</html>
