@extends('v2-portal::app-layout', [ 'pageTitle' => 'Associe-se — ' . config('app.name'), 'pageDescription' => 'Torne-se um associado da ' . config('app.name') . '. Conheça nossos planos e preencha o formulário.', 'fullWidthMain' => true, 'showHeader' => false, 'showMainHeader' => false, 'showMainFooter' => false, 'showFooter' => false, 'showAccessibilityBar' => false, 'showMainLeftArea' => false, 'showMainRightArea' => false, ]) @section('main-section-area') {{-- HERO BREADCRUMB — mesmo padrão do portal (breadcrumb-wrapper bg-cover) --}} {{-- INTRO TEXT --}} @if(!empty($configs['associese_intro_text']))

{{ $configs['associese_intro_text'] }}

@endif {{-- PLANS SECTION --}} @if(($configs['associese_show_plans'] ?? '1') === '1' && $plans->count() > 0)

Nossos Planos

Escolha o plano ideal para você

@foreach($plans as $plan)
@if($plan->gallery->count() > 0 && $plan->gallery->first()->galleryMedia) @php $firstMedia = $plan->gallery->first()->galleryMedia; $isImage = strpos($firstMedia->mime_type ?? '', 'image/') === 0; $imgVariants = !empty($firstMedia->variants) ? json_decode($firstMedia->variants, true) : []; @endphp @if($isImage) @include('v2-service-media::components.picture', [ 'originalPath' => $firstMedia->file_path, 'variants' => is_array($imgVariants) ? $imgVariants : [], 'alt' => $plan->name, 'class' => 'w-100', 'style' => 'height: 200px; object-fit: cover;', 'lazy' => true, ]) @endif @else
@endif

{{ $plan->name }}

R$ {{ number_format($plan->price, 2, ',', '.') }} /{{ $plan->billing_cycle === 'monthly' ? 'mês' : 'ano' }}
@if(!empty($plan->htmlDescription))
{!! $plan->htmlDescription !!}
@endif @if($plan->gallery->count() > 1)
@foreach($plan->gallery->take(4) as $idx => $item) @if($item->galleryMedia && strpos($item->galleryMedia->mime_type ?? '', 'image/') === 0) Galeria {{ $plan->name }} @endif @endforeach @if($plan->gallery->count() > 4) +{{ $plan->gallery->count() - 4 }} @endif
@endif
@endforeach
@endif {{-- FORM SECTION --}}

Formulário de Interesse

{{ csrf_field() }}
{{-- Nome --}}
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
{{-- Email --}}
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
{{-- Telefone --}}
@if ($errors->has('phone'))
{{ $errors->first('phone') }}
@endif
{{-- Empresa --}}
@if ($errors->has('company'))
{{ $errors->first('company') }}
@endif
{{-- Estado (UF) --}}
@if ($errors->has('state'))
{{ $errors->first('state') }}
@endif
{{-- Cidade --}}
@if ($errors->has('city'))
{{ $errors->first('city') }}
@endif
{{-- Plano --}} @if($plans->count() > 0)
@if ($errors->has('plan_id'))
{{ $errors->first('plan_id') }}
@endif
@endif {{-- Mensagem --}}
@if ($errors->has('message'))
{{ $errors->first('message') }}
@endif
@if (count($errors) > 0) @endif
{{-- BENEFITS STRIP --}}

Benefícios Exclusivos

Acesso a vantagens e descontos especiais para associados.

Suporte Prioritário

Atendimento dedicado para tirar suas dúvidas.

Networking

Conecte-se com profissionais e empresas do setor.

{{-- JS: elimina o wrapper nice-select dos selects deste formulário --}} @push('scripts') @endpush @push('head-styles') @endpush @endsection