@php
// dd($payload);
	$data =[];
	if(isset($payload)){
        $item = (object) [];
        foreach ($payload as $key => $value) {
                $item = (object) [
                    'title' => $payload->title->value?? null,
                    'subtitle' => $payload->subtitle->value?? null,
                    'imgLogo' => $payload->imageLogo->src ?? null,
                    'altLogo' => $payload->imageLogo->alt ?? null,
                    'description' => $payload->description->value ?? null,
                    'interval' => $payload->interval->value ?? null,
                    'image' => $value, 
                ];
                $data[] = $item;
        }
	}
	// dd($data)
@endphp
<div style="width:100vw; background-color:var(--secondary)">
	<div class="container container-botton">
		<div class="header-counter">
			<div class="header-bottom d-flex justify-content-between">
				<div class="d-flex flex-column" style="width: 100%">
					<div class="d-flex justify-content-start align-items-stretch" style="width:100%; ">
						<div class="box-icon" style="width: 100%">
							@if ( $payload->title)
							<h2><strong>{{ $payload->title->value}}</strong></h2>
							@endif
						</div>
					</div>
					<form action="">
						<div class="d-flex justify-content-between">
							<input class="input-contact" type="text" name="name" placeholder="Nome"/>
							<input class="input-contact" type="text" name="email" placeholder="email"/>
						</div>
						<div>
							<input class="input-contact" type="text" name="assunto" placeholder="Assunto"/>
							<textarea class="input-contact" name="" id="" cols="20" rows="5"placeholder="Mensagem"></textarea>
						</div>
						<div class=" m-auto" style="text-align:end;">
							<button class="btn btn-primary soluti-btn" type="submit" style="margin: 10px">Enviar</button>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>

<!-- End Header Counter Area -->


<!-- End Header Counter Area -->
