@extends('layouts.pmar.theme') @section("title", env("APP_NAME") . " - " . $conselho->nome) @section('content')

{{ $conselho->nome }}

{{ $conselho->nome }}
@if($conselho->possuiRecursosMultifuncionais) Recursos Especiais @endif

{{ $conselho->nome }}

{{ $conselho->endereco->bairro }} {{ $conselho->endereco->complemento ? ', ' . $conselho->endereco->complemento : '' }} - Angra dos Reis/RJ

Endereço:
{{ $conselho->endereco->logradouro }}, {{ $conselho->endereco->numero }} - CEP: {{ $conselho->endereco->cep ?? 'Não informado' }}
E-mail:
@if($conselho->email) {{ $conselho->email }} @else Não informado @endif
Telefone:
@if($conselho->telefone) {{ preg_replace('/(\d{2})(\d{4,5})(\d{4})/', '($1) $2-$3', $conselho->telefone) }} @else Não informado @endif

@if($conselho->informacoes)

{!! $conselho->informacoes !!}

@else

Nenhuma informação disponível.

@endif
@php // Filtra apenas os tipos que possuem arquivos $tiposComArquivos = array_filter($tipos, fn($arquivos) => count($arquivos) > 0); @endphp

Arquivos

@if(count($tiposComArquivos) === 0)
Nenhum arquivo disponível no momento.
@else
@foreach($tiposComArquivos as $tipoNome => $arquivos) @php $id = Str::slug($tipoNome); $isHidden = $loop->index >= 6 ? 'd-none extra-item' : ''; @endphp

@endforeach
@if(count($tiposComArquivos) > 6)
@endif @endif
@endsection