<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag;

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames((['title' => 'OPCON Soluções Contábeis', 'description' => 'Contabilidade inteligente para empresas que querem crescer.', 'head' => null, 'scripts' => null]));

foreach ($attributes->all() as $__key => $__value) {
    if (in_array($__key, $__propNames)) {
        $$__key = $$__key ?? $__value;
    } else {
        $__newAttributes[$__key] = $__value;
    }
}

$attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes);

unset($__propNames);
unset($__newAttributes);

foreach (array_filter((['title' => 'OPCON Soluções Contábeis', 'description' => 'Contabilidade inteligente para empresas que querem crescer.', 'head' => null, 'scripts' => null]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
}

$__defined_vars = get_defined_vars();

foreach ($attributes->all() as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
}

unset($__defined_vars, $__key, $__value); ?>

<!DOCTYPE html>
<html lang="pt-BR" class="scroll-smooth">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <title><?php echo e($title); ?></title>
    <meta name="description" content="<?php echo e($description); ?>">
    <meta name="robots" content="index, follow">
    <link rel="canonical" href="<?php echo e(url()->current()); ?>">

    <link rel="icon" type="image/jpeg" href="<?php echo e(asset('favicon.jpg')); ?>">
    <link rel="shortcut icon" href="<?php echo e(asset('favicon.jpg')); ?>">
    <link rel="apple-touch-icon" href="<?php echo e(asset('favicon.jpg')); ?>">

    <meta property="og:type" content="website">
    <meta property="og:site_name" content="OPCON Soluções Contábeis">
    <meta property="og:title" content="<?php echo e($title); ?>">
    <meta property="og:description" content="<?php echo e($description); ?>">
    <meta property="og:url" content="<?php echo e(url()->current()); ?>">
    <meta property="og:locale" content="pt_BR">

    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:title" content="<?php echo e($title); ?>">
    <meta name="twitter:description" content="<?php echo e($description); ?>">

    <script type="application/ld+json">
    {
        "@context": "https://schema.org",
        "@type": "AccountingService",
        "name": "OPCON Soluções Contábeis",
        "description": "<?php echo e($description); ?>",
        "url": "<?php echo e(config('app.url')); ?>"
    }
    </script>

    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap" rel="stylesheet">

    <?php echo app('Illuminate\Foundation\Vite')(['resources/css/app.css', 'resources/js/app.js']); ?>

    <?php echo e($head ?? ''); ?>

</head>

<body style="background: #ffffff; color: #565656; font-family: 'Poppins', sans-serif;">

    <?php echo $__env->make('partials.navbar', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

    <main>
        <?php echo e($slot); ?>

    </main>

    <?php echo $__env->make('partials.footer', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

    
    <a href="https://wa.me/556332197100?text=Olá!%20Gostaria%20de%20saber%20mais%20sobre%20os%20serviços%20da%20OPCON."
       target="_blank" rel="noopener"
       class="fixed bottom-6 right-6 z-50 flex items-center justify-center w-14 h-14 rounded-full transition-all duration-300 hover:scale-110"
       style="background: #25D366; box-shadow: 0 4px 20px rgba(37,211,102,0.4);"
       aria-label="Falar no WhatsApp">
        <svg xmlns="http://www.w3.org/2000/svg" class="w-7 h-7 text-white" fill="currentColor" viewBox="0 0 24 24">
            <path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z"/>
        </svg>
    </a>

    <?php echo e($scripts ?? ''); ?>


    
    <div x-data="lgpdConsent()"
         x-show="show"
         x-transition:enter="transition ease-out duration-500"
         x-transition:enter-start="opacity-0 translate-y-6"
         x-transition:enter-end="opacity-100 translate-y-0"
         x-transition:leave="transition ease-in duration-300"
         x-transition:leave-start="opacity-100 translate-y-0"
         x-transition:leave-end="opacity-0 translate-y-6"
         class="fixed bottom-0 left-0 right-0 z-[60] p-3 sm:p-5"
         style="display: none;">
        <div class="max-w-5xl mx-auto bg-white rounded-2xl p-4 sm:p-5 flex flex-col sm:flex-row items-start sm:items-center gap-4"
             style="border: 1px solid #e2e8f0; box-shadow: 0 -4px 40px rgba(0,0,0,0.12);">

            <div class="flex items-start gap-3 flex-1">
                <span class="text-xl flex-shrink-0 mt-0.5">🍪</span>
                <div>
                    <p class="text-sm font-semibold mb-0.5" style="color: #1e3a5f;">Usamos cookies</p>
                    <p class="text-xs leading-relaxed" style="color: #565656;">
                        Utilizamos cookies para melhorar sua experiência e analisar o tráfego. Ao continuar você concorda com nossa
                        <a href="<?php echo e(route('privacidade')); ?>" style="color: #25b87e; text-decoration: underline;" class="hover:no-underline">Política de Privacidade</a>
                        e
                        <a href="<?php echo e(route('termos')); ?>" style="color: #25b87e; text-decoration: underline;" class="hover:no-underline">Termos de Uso</a>.
                    </p>
                </div>
            </div>

            <div class="flex items-center gap-2 flex-shrink-0 w-full sm:w-auto">
                <a href="<?php echo e(route('privacidade')); ?>"
                   class="flex-1 sm:flex-none text-center text-xs font-semibold px-4 py-2 rounded-xl border transition-all"
                   style="border-color: #d1d9e6; color: #1e3a5f;"
                   onmouseover="this.style.borderColor='#1e3a5f'" onmouseout="this.style.borderColor='#d1d9e6'">
                    Saiba mais
                </a>
                <button @click="accept()"
                        class="flex-1 sm:flex-none text-xs font-semibold px-5 py-2 rounded-xl text-white transition-all"
                        style="background: #25b87e;"
                        onmouseover="this.style.background='#1fa06d'" onmouseout="this.style.background='#25b87e'">
                    Aceitar todos
                </button>
            </div>
        </div>
    </div>

    <script>
    function lgpdConsent() {
        return {
            show: false,
            init() {
                if (!localStorage.getItem('lgpd_consent')) {
                    setTimeout(() => { this.show = true; }, 1200);
                }
            },
            accept() {
                localStorage.setItem('lgpd_consent', '1');
                this.show = false;
            },
        };
    }
    </script>
</body>
</html>
<?php /**PATH C:\ProjetosWeb\OPCON\resources\views\components\layout.blade.php ENDPATH**/ ?>