<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo e($content->meta_title ?: $content->title); ?> - Pirras'Associe</title>
    <?php if($content->meta_description): ?>
        <meta name="description" content="<?php echo e($content->meta_description); ?>">
    <?php endif; ?>
    <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; --text:#101418; --muted:#5f6b76; --line:#e7eaee; --shadow:0 12px 28px rgba(16,24,40,.08); }
        *{box-sizing:border-box;margin:0;padding:0}
        body{font-family:"DM Sans",sans-serif;color:var(--text);line-height:1.65;background:#faf7f4}
        a{color:var(--orange);font-weight:600}
        .container{width:min(760px,92%);margin:0 auto}
        .bar{background:#fff;border-bottom:1px solid var(--line);padding:14px 0;margin-bottom:28px}
        .bar .container{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
        .brand{font:800 18px "Syne",sans-serif;color:var(--text);text-decoration:none}
        .brand span{color:var(--orange)}
        .tag{display:inline-block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:var(--orange);margin-bottom:10px}
        h1{font-family:"Syne",sans-serif;font-size:clamp(26px,4vw,40px);line-height:1.15;margin-bottom:12px}
        .ex{color:var(--muted);font-size:18px;margin-bottom:28px}
        .body{background:#fff;border:1px solid rgba(240,90,26,.14);border-radius:16px;padding:28px;box-shadow:var(--shadow);margin-bottom:40px}
        .body :where(p,ul,ol){margin-bottom:1em}
        .cta{margin-top:24px}
        .btn{display:inline-flex;align-items:center;padding:12px 20px;border-radius:10px;background:linear-gradient(135deg,var(--orange),#ff7a3d);color:#fff;font-family:"Syne",sans-serif;font-weight:700;text-decoration:none}
    </style>
</head>
<body>
    <div class="bar">
        <div class="container">
            <a class="brand" href="/">Pirras<span>'</span>Associe</a>
            <a href="<?php echo e(route('ressources.index')); ?>#<?php echo e($content->type === 'guide' ? 'guides' : ($content->type === 'news' ? 'actualites' : 'blog')); ?>">← Ressources</a>
        </div>
    </div>

    <article class="container">
        <?php if($content->tag): ?>
            <span class="tag"><?php echo e($content->tag); ?></span>
        <?php endif; ?>
        <h1><?php echo e($content->title); ?></h1>
        <?php if($content->excerpt): ?>
            <p class="ex"><?php echo e($content->excerpt); ?></p>
        <?php endif; ?>

        <div class="body">
            <?php if($content->body): ?>
                <?php echo $content->body; ?>

            <?php else: ?>
                <p style="color:var(--muted);">Contenu detaille a venir.</p>
            <?php endif; ?>
            <div class="cta">
                <?php
                    $href = $content->cta_url ?: route('contact');
                    $label = $content->cta_label ?: 'Nous contacter';
                ?>
                <a class="btn" href="<?php echo e($href); ?>"><?php echo e($label); ?></a>
            </div>
        </div>
    </article>
</body>
</html>
<?php /**PATH C:\Softsys\new_pirras\resources\views/content-show.blade.php ENDPATH**/ ?>