<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{ $secteur['meta_title'] }}</title>
    <meta name="description" content="{{ $secteur['meta_description'] }}">
    <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;
            --line: #e7eaee;
            --text: #101418;
            --muted: #5f6b76;
            --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)
        }

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

        h1,
        h2,
        h3 {
            font-family: "Syne", sans-serif
        }

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

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

        .nav-wrap {
            min-height: 72px;
            display: flex;
            align-items: center;
            justify-content: space-between
        }

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

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

        .link {
            color: var(--muted);
            font-weight: 600
        }

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

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

        .title {
            font-size: clamp(30px, 4.2vw, 52px);
            margin-bottom: 10px
        }

        .sub {
            color: #f3f4f6;
            max-width: 760px
        }

        section {
            padding: 72px 0
        }

        .card {
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 16px;
            padding: 24px;
            box-shadow: var(--shadow)
        }

        .card p {
            color: var(--muted)
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 18px;
            border-radius: 10px;
            background: var(--orange);
            color: #fff;
            font-family: "Syne", sans-serif;
            font-weight: 700
        }

    </style>
</head>
<body>
    <nav>
        <div class="container nav-wrap">
            <a class="brand" href="/">Pirras<span>'</span>Associe</a>
            <a class="link" href="/secteurs">← Retour aux secteurs</a>
        </div>
    </nav>
    <section class="hero">
        <div class="container">
            <div class="kicker">Secteur</div>
            <h1 class="title">{{ $secteur['nom'] }}</h1>
            <p class="sub">{{ $secteur['meta_description'] }}</p>
        </div>
    </section>
    <section>
        <div class="container">
            <article class="card">
                <h2 style="margin-bottom:10px;">Opportunites {{ $secteur['nom'] }}</h2>
                <p style="margin-bottom:18px;">{{ $secteur['contenu'] }}</p>
                <a class="btn" href="/contact">Demander un accompagnement</a>
            </article>
        </div>
    </section>
</body>
</html>
