<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@yield('title', '(RE)Sources Relationnelles - Ministère des Solidarités et de la Santé')</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <style>
        /* Couleurs officielles du cahier des charges */
        .bg-niagara { background-color: #06989e; }
        .text-niagara { color: #06989e; }
        .border-niagara { border-color: #06989e; }
        .bg-candlelight { background-color: #fce117; }
        
        /* Améliorations de style */
        body { 
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
        }
        .transition-smooth {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .glow-niagara {
            box-shadow: 0 0 20px rgba(6, 152, 158, 0.3);
        }
        .gradient-niagara {
            background: linear-gradient(135deg, #06989e 0%, #048a91 100%);
        }
        .gradient-light {
            background: linear-gradient(135deg, #f8f9fa 0%, #f0f1f3 100%);
        }
    </style>
    @stack('styles')
</head>
<body class="bg-white text-gray-900 font-sans leading-relaxed">

    <a href="#main-content" class="sr-only focus:not-sr-only aria-label font-bold p-4 bg-niagara text-white block text-center z-50">
        Aller au contenu principal
    </a>

    @include('layout.header')

    <main id="main-content">
        @yield('content')
    </main>

    @include('layout.footer')

    @stack('scripts')
</body>
</html>
