@extends('layouts.app') @section('title', $bien->titre) @section('content')
{{-- ══ Contenu principal ══ --}}
{{-- Galerie d'images --}} @php $imageUrls = $bien->images->map(fn($i) => $i->url)->values()->toArray(); if (empty($imageUrls) && $bien->image_url) $imageUrls = [$bien->image_url]; @endphp @if(count($imageUrls) > 0) @include('components.image-gallery', ['images' => $imageUrls, 'alt' => $bien->titre, 'emoji' => $bien->emoji]) @else
{{ $bien->emoji }}
@endif {{-- Header --}}
{{ $bien->service_type }} {{ $bien->type }} {{ $bien->statut }} @if($bien->featured)★ Coup de cœur@endif

{{ $bien->titre }}

@if($bien->localisation)

{{ $bien->localisation }}

@endif
{{ $bien->prix ?? 'Prix sur demande' }}
{{-- Specs --}}
@if($bien->surface)
Surface
{{ $bien->surface }}
@endif @if($bien->pieces)
Pièces
{{ $bien->pieces }}
@endif
Type
{{ $bien->type }}
@if($bien->statut === 'Disponible')@else@endif
Statut
{{ $bien->statut }}
@if($bien->description)

Description

{{ $bien->description }}

@endif @if($biensRelies->count())

Biens similaires

@foreach($biensRelies as $b) @include('components.bien-card', ['bien' => $b]) @endforeach
@endif
{{-- ══ Sidebar ══ --}}
@endsection