@if (@$obj->tituloctasol)
    @php $image = ($obj->imagectasolucao != '') ? url('storage/about/'.$obj->imagectasolucao) : asset('assets/img/content/illustration-02.png'); @endphp
    <section class="c-cta-2" style="background-color: {{ (@$obj->corctasol != '' ) ? $obj->corctasol : '#673BEB'  }}">
        <div class="container">
            <div class="c-cta-2__wrap">
                <div class="c-cta-2__cover">
                    <img src="{{$image}}" alt="illustration">
                </div>
                <div class="c-cta-2__info">
                    <h1 class="c-cta-2__title">{!!$obj->tituloctasol!!}</h1>
                    @if ($obj->btnctasol != '')
                        @php
                        $target = ($obj->targetctasol == 1) ? "target=_blank": '';
                        @endphp

                        <a class="c-button --primary-light" {{ $target }} href="{{$obj->linkctasol}}"
                            style="background-color:{{ ($obj->bt_color_cta_sol != '') ? $obj->bt_color_cta_sol : '#C5D105' }}; color: #fff;  border-color: transparent;"
                            onMouseOver="this.style.backgroundColor='#fff'; this.style.color='{{ ($obj->bt_color_cta_sol != '') ? $obj->bt_color_cta_sol :  '#C5D105' }}'; this.style.borderColor='{{ ($obj->bt_color_cta_sol != '') ? $obj->bt_color_cta_sol : 'transparent' }}'"
                            onMouseOut="this.style.backgroundColor='{{ ($obj->bt_color_cta_sol != '') ? $obj->bt_color_cta_sol : '#C5D105' }}'; this.style.color='#fff'; this.style.borderColor='{{ ($obj->bt_color_cta_sol != '') ? $obj->bt_color_cta_sol : 'transparent' }}'">{{$obj->btnctasol}}</a>
                    @endif
                </div>
            </div>
        </div>
    </section>
@endif
