<?php $__env->startSection('title', 'Contactos | SecureVision — Fale Connosco'); ?>
<?php $__env->startSection('meta_description', 'Contacte a SecureVision para dúvidas, suporte técnico ou pedidos de orçamento. Telefone, email ou formulário online — respondemos em até 2 horas.'); ?>

<?php $__env->startSection('content'); ?>
<div class="bg-navy-950 text-white min-h-screen py-24">
    <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8" style="padding-top:2.5rem; display:flex; flex-direction:column; gap:4rem;">

        
        <div class="text-center mx-auto" style="max-width:48rem; display:flex; flex-direction:column; gap:1rem;">
            <span class="text-xs font-bold uppercase tracking-wider" style="color:#3b82f6;">Fale Connosco</span>
            <h1 class="text-4xl sm:text-5xl font-extrabold tracking-tight text-white">Estamos à sua disposição</h1>
            <p class="text-lg" style="color:#94a3b8;">
                Dúvidas, suporte técnico ou agendamentos. Envie a sua mensagem ou utilize os nossos canais de contacto.
            </p>
        </div>

        
        <?php if(session('contact_success')): ?>
            <div class="alert-success">
                <div class="flex items-center gap-3">
                    <svg class="h-5 w-5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/></svg>
                    <?php echo e(session('contact_success')); ?>

                </div>
            </div>
        <?php endif; ?>
        <?php if($errors->any()): ?>
            <div class="alert-error">
                <ul class="space-y-1 list-disc list-inside text-sm">
                    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <li><?php echo e($error); ?></li>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </ul>
            </div>
        <?php endif; ?>

        
        <div class="grid grid-cols-1 lg:grid-cols-3 gap-12">

            
            <div class="lg:col-span-1 space-y-6">
                <div class="rounded-2xl p-8" style="border:1px solid #242d3d; background:#1a1f2e; display:flex; flex-direction:column; gap:2rem;">
                    <h2 class="text-xl font-bold text-white">Canais Diretos</h2>

                    <div style="display:flex; flex-direction:column; gap:1.5rem;">
                        
                        <div class="flex gap-4">
                            <div class="h-12 w-12 rounded-xl flex items-center justify-center shrink-0" style="background:rgba(59,130,246,0.1); border:1px solid rgba(59,130,246,0.2);">
                                <svg class="h-5 w-5" style="color:#3b82f6;" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"/></svg>
                            </div>
                            <div>
                                <h4 class="text-xs font-semibold uppercase tracking-wider" style="color:#94a3b8;">Telefone</h4>
                                <a href="tel:+244976463372" class="text-sm font-semibold mt-1 block transition-colors hover:text-blue-400" style="color:#e2e8f0;">+244 976 463 372</a>
                            </div>
                        </div>

                        
                        <div class="flex gap-4">
                            <div class="h-12 w-12 rounded-xl flex items-center justify-center shrink-0" style="background:rgba(59,130,246,0.1); border:1px solid rgba(59,130,246,0.2);">
                                <svg class="h-5 w-5" style="color:#3b82f6;" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"/></svg>
                            </div>
                            <div>
                                <h4 class="text-xs font-semibold uppercase tracking-wider" style="color:#94a3b8;">Email Geral</h4>
                                <a href="mailto:geral@securevision.ao" class="text-sm font-semibold mt-1 block transition-colors hover:text-blue-400" style="color:#e2e8f0;">geral@securevision.ao</a>
                            </div>
                        </div>

                        
                        <div class="flex gap-4">
                            <div class="h-12 w-12 rounded-xl flex items-center justify-center shrink-0" style="background:rgba(59,130,246,0.1); border:1px solid rgba(59,130,246,0.2);">
                                <svg class="h-5 w-5" style="color:#3b82f6;" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"/><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z"/></svg>
                            </div>
                            <div>
                                <h4 class="text-xs font-semibold uppercase tracking-wider" style="color:#94a3b8;">Sede Operacional</h4>
                                <p class="text-sm mt-1" style="color:#e2e8f0;">Camama, Belas<br>Luanda, Angola</p>
                            </div>
                        </div>
                    </div>

                    
                    <a href="https://wa.me/244976463372?text=Olá!%20Gostaria%20de%20mais%20informações%20sobre%20os%20vossos%20serviços."
                       target="_blank" rel="noopener noreferrer"
                       class="flex items-center justify-center gap-3 rounded-xl py-3 px-4 font-semibold text-sm transition-all"
                       style="background:rgba(37,211,102,0.1); border:1px solid rgba(37,211,102,0.3); color:#25d366;"
                       onmouseenter="this.style.background='#25d366'; this.style.color='#fff';"
                       onmouseleave="this.style.background='rgba(37,211,102,0.1)'; this.style.color='#25d366';">
                        <svg class="h-5 w-5" 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>
                        Falar via WhatsApp
                    </a>

                    
                    <div class="rounded-xl p-4" style="background:#0f1219; border:1px solid #242d3d;">
                        <p class="text-xs font-bold uppercase tracking-wider mb-3" style="color:#94a3b8;">Horário de Atendimento</p>
                        <div class="space-y-1.5 text-sm" style="color:#cbd5e1;">
                            <div class="flex justify-between"><span>Segunda - Sexta</span><span class="font-semibold" style="color:#10b981;">08:00 – 18:00</span></div>
                            <div class="flex justify-between"><span>Sábados</span><span class="font-semibold" style="color:#10b981;">09:00 – 13:00</span></div>
                            <div class="flex justify-between"><span>Emergências</span><span class="font-semibold" style="color:#3b82f6;">24h / 7 dias</span></div>
                        </div>
                    </div>
                </div>
            </div>

            
            <div class="lg:col-span-2">
                <div class="rounded-2xl p-8 sm:p-10" style="border:1px solid #242d3d; background:#1a1f2e;">
                    <h2 class="text-xl font-bold text-white mb-6">Enviar Mensagem</h2>

                    <form method="POST" action="<?php echo e(route('contact.send')); ?>" class="space-y-6">
                        <?php echo csrf_field(); ?>

                        <div class="grid grid-cols-1 sm:grid-cols-2 gap-6">
                            
                            <div>
                                <label for="contact-name" class="block text-xs font-bold uppercase tracking-wider mb-2" style="color:#94a3b8;">Nome Completo</label>
                                <input
                                    id="contact-name"
                                    type="text"
                                    name="name"
                                    value="<?php echo e(old('name')); ?>"
                                    placeholder="Ex: Manuel Silva"
                                    required
                                    class="w-full rounded-xl px-4 py-3 text-sm text-white focus:outline-none transition-colors"
                                    style="background:#0f1219; border:1px solid <?php echo e($errors->has('name') ? '#ef4444' : '#2f3a4f'); ?>;"
                                    onfocus="this.style.borderColor='#3b82f6'; this.style.boxShadow='0 0 0 3px rgba(59,130,246,0.1)';"
                                    onblur="this.style.borderColor='#2f3a4f'; this.style.boxShadow='none';">
                                <?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><p class="text-xs mt-1.5" style="color:#ef4444;"><?php echo e($message); ?></p><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>

                            
                            <div>
                                <label for="contact-email" class="block text-xs font-bold uppercase tracking-wider mb-2" style="color:#94a3b8;">Endereço de Email</label>
                                <input
                                    id="contact-email"
                                    type="email"
                                    name="email"
                                    value="<?php echo e(old('email')); ?>"
                                    placeholder="Ex: manuel@gmail.com"
                                    required
                                    class="w-full rounded-xl px-4 py-3 text-sm text-white focus:outline-none transition-colors"
                                    style="background:#0f1219; border:1px solid <?php echo e($errors->has('email') ? '#ef4444' : '#2f3a4f'); ?>;"
                                    onfocus="this.style.borderColor='#3b82f6'; this.style.boxShadow='0 0 0 3px rgba(59,130,246,0.1)';"
                                    onblur="this.style.borderColor='#2f3a4f'; this.style.boxShadow='none';">
                                <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><p class="text-xs mt-1.5" style="color:#ef4444;"><?php echo e($message); ?></p><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>

                        <div class="grid grid-cols-1 sm:grid-cols-2 gap-6">
                            
                            <div>
                                <label for="contact-phone" class="block text-xs font-bold uppercase tracking-wider mb-2" style="color:#94a3b8;">Contacto Telefónico</label>
                                <input
                                    id="contact-phone"
                                    type="text"
                                    name="phone"
                                    value="<?php echo e(old('phone')); ?>"
                                    placeholder="Ex: 912 345 678"
                                    required
                                    class="w-full rounded-xl px-4 py-3 text-sm text-white focus:outline-none transition-colors"
                                    style="background:#0f1219; border:1px solid <?php echo e($errors->has('phone') ? '#ef4444' : '#2f3a4f'); ?>;"
                                    onfocus="this.style.borderColor='#3b82f6'; this.style.boxShadow='0 0 0 3px rgba(59,130,246,0.1)';"
                                    onblur="this.style.borderColor='#2f3a4f'; this.style.boxShadow='none';">
                                <?php $__errorArgs = ['phone'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><p class="text-xs mt-1.5" style="color:#ef4444;"><?php echo e($message); ?></p><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>

                            
                            <div>
                                <label for="contact-subject" class="block text-xs font-bold uppercase tracking-wider mb-2" style="color:#94a3b8;">Assunto</label>
                                <input
                                    id="contact-subject"
                                    type="text"
                                    name="subject"
                                    value="<?php echo e(old('subject')); ?>"
                                    placeholder="Ex: Dúvida sobre câmeras"
                                    required
                                    class="w-full rounded-xl px-4 py-3 text-sm text-white focus:outline-none transition-colors"
                                    style="background:#0f1219; border:1px solid <?php echo e($errors->has('subject') ? '#ef4444' : '#2f3a4f'); ?>;"
                                    onfocus="this.style.borderColor='#3b82f6'; this.style.boxShadow='0 0 0 3px rgba(59,130,246,0.1)';"
                                    onblur="this.style.borderColor='#2f3a4f'; this.style.boxShadow='none';">
                                <?php $__errorArgs = ['subject'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><p class="text-xs mt-1.5" style="color:#ef4444;"><?php echo e($message); ?></p><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                            </div>
                        </div>

                        
                        <div>
                            <label for="contact-message" class="block text-xs font-bold uppercase tracking-wider mb-2" style="color:#94a3b8;">Mensagem</label>
                            <textarea
                                id="contact-message"
                                name="message"
                                rows="5"
                                placeholder="Descreva a sua solicitação em detalhe..."
                                required
                                class="w-full rounded-xl px-4 py-3 text-sm text-white focus:outline-none transition-colors resize-none"
                                style="background:#0f1219; border:1px solid <?php echo e($errors->has('message') ? '#ef4444' : '#2f3a4f'); ?>;"
                                onfocus="this.style.borderColor='#3b82f6'; this.style.boxShadow='0 0 0 3px rgba(59,130,246,0.1)';"
                                onblur="this.style.borderColor='#2f3a4f'; this.style.boxShadow='none';"><?php echo e(old('message')); ?></textarea>
                            <?php $__errorArgs = ['message'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><p class="text-xs mt-1.5" style="color:#ef4444;"><?php echo e($message); ?></p><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>

                        
                        <button type="submit"
                                class="w-full sm:w-auto flex items-center justify-center gap-2 rounded-xl px-8 py-4 text-sm font-bold text-white transition-all focus:outline-none"
                                style="background:#3b82f6;"
                                onmouseenter="this.style.background='#1d4ed8';"
                                onmouseleave="this.style.background='#3b82f6';">
                            Enviar Mensagem
                            <svg class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 19l9 2-9-18-9 18 9-2zm0 0v-8"/></svg>
                        </button>
                    </form>
                </div>
            </div>

        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.public', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\laragon\www\secure-vision-app\resources\views\public\contactos.blade.php ENDPATH**/ ?>