Server error: `POST http://veiculos.fipe.org.br/api/veiculos/ConsultarValorComTodosParametros` resulted in a `503 Service Unavailable` response: Service Un (truncated...) </p></div> </div> <!-- Default Modal --> <!-- The Gallery as lightbox dialog, should be a child element of the document body --> <div id="blueimp-gallery" class="blueimp-gallery blueimp-gallery-controls d-none"> <div class="slides"></div> <h3 class="title">Imagem Ampliada</h3> <a class="prev" href="#" rel="nofollow">«</a> <a class="next" href="#" rel="nofollow">»</a> <a class="close" href="#" rel="nofollow"></a> <ol class="indicator"></ol> </div> <!-- Inicio Rodapé --> </main><div class="hideloadmore bg-color-3"> <div class="pt-0 pb-4 mb-4 mx-3"> <!--Modelos mais buscados texto --> <!-- maisbuscados_sp 11/12 17:34:15 --> <div class="p-3 rounded h-100 bg-white border shadow box-buscados"> <section> <h2 class="text-color-1 font-weight-bold"><strong>Mais buscados no estado de São Paulo</strong></h2> <ul class="row pl-0"> <li class="col-6 col-lg-2 p-2"> <a title="Chevette" href="/carros/hatch/chevrolet/chevette-hatch/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Chevette </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Corsa Sedan" href="/carros/sedan/chevrolet/corsa-sedan/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Corsa Sedan </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Crossfox" href="/carros/hatch/volkswagen/crossfox/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Crossfox </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Ecosport" href="/carros/suv/ford/ecosport/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Ecosport </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Fiat Argo preço" href="/carros/hatch/fiat/argo/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Fiat Argo preço </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Fiat Idea" href="/carros/monovolume/fiat/idea/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Fiat Idea </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Fiat Mobi" href="/carros/hatch/fiat/mobi/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Fiat Mobi </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Fiat Strada" href="/carros/picape/fiat/strada/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Fiat Strada </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Fiesta Sedan" href="/carros/sedan/ford/fiesta-sedan/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Fiesta Sedan </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Fusca" href="/carros/hatch/volkswagen/fusca/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Fusca </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Grand Siena" href="/carros/sedan/fiat/grand-siena/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Grand Siena </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="HB20" href="/carros/hatch/hyundai/hb-20-hatch/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> HB20 </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="HB20 Sedan" href="/carros/sedan/hyundai/hb-20-sedan/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> HB20 Sedan </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Hilux SW4" href="/carros/suv/toyota/hilux-sw4/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Hilux SW4 </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Nivus" href="/carros/suv/volkswagen/nivus/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Nivus </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Onix" href="/carros/hatch/chevrolet/onix-hatch/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Onix </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Onix Sedan" href="/carros/sedan/chevrolet/onix-sedan/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Onix Sedan </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Pajero Dakar" href="/carros/suv/mitsubishi/pajero-dakar/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Pajero Dakar </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Palio Weekend" href="/carros/swperua/fiat/palio-weekend/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Palio Weekend </a> </li> <li class="col-6 col-lg-2 p-2"> <a title="Saveiro" href="/carros/picape/volkswagen/saveiro/" class="text-color-2 text-center font-weight-bold stretched-link d-flex justify-content-center align-items-center border py-3 link-b-maisb" style="text-decoration: none;"> Saveiro </a> </li> </ul> </section> </div> </div> <footer class="bg-color-2 p-3 pb-5"> <div class="container"> <nav> <div class="pt-3 font-weight-bold" style="font-size: 18px !important;"> <ul class="d-flex justify-content-center nav nav-link-site"> <li class="nav-item text-color-4 mb-3"><a class="text-color-4 text-capitalize mx-2 text-decoration-none font-weight-bold" title="Página Inicial" href="/">Inicial</a> </li> <li class="nav-item text-color-4 mb-3"><a class="text-color-4 text-capitalize mx-2 text-decoration-none font-weight-bold" title="Como anunciar?" href="/anuncio-particular/">Vender</a> </li> <li class="nav-item text-color-4 mb-3"><a class="text-color-4 text-capitalize mx-2 text-decoration-none font-weight-bold" title="Revendas atendidas" href="/revendas/">Revendas</a> </li> <li class="nav-item text-color-4 mb-3"><a class="text-color-4 text-capitalize mx-2 text-decoration-none font-weight-bold" title="Meus veículos favoritos" href="/favoritos/" rel="nofollow">Favoritos</a> </li> <li class="nav-item text-color-4 mb-3"><a class="text-color-4 text-capitalize mx-2 text-decoration-none font-weight-bold" title="Página de contato" href="/contato/">Contato</a> </li> <li class="nav-item text-color-4 mb-3"><a class="text-color-4 text-capitalize mx-2 text-decoration-none font-weight-bold" title="Depoimentos" href="/depoimentos/">Depoimentos</a> </li> <li class="nav-item text-color-4 mb-3"><a class="text-color-4 text-capitalize mx-2 text-decoration-none font-weight-bold" title="Tabela Fipe" href="/tabela-fipe/">Tabela Fipe</a> </li> <li class="nav-item text-color-4 mb-3"><a class="text-color-4 text-capitalize mx-2 text-decoration-none font-weight-bold" title="Termos de Uso" href="/termos-de-uso/" rel="nofollow">Termos de Uso</a></li> </ul> </div> <div class="py-5"> <ul class="nav nav-link-cidades"> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="AUTO MARILIA" href="https://carrosp.com.br/carros/marilia-sp/"> AUTO MARILIA </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="AUTO MINEIRO" href="https://carrosp.com.br/carros/pocos-de-caldas-mg/"> AUTO MINEIRO </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="AUTO MOGI" href="https://carrosp.com.br/carros/mogi-das-cruzes-sp/"> AUTO MOGI </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="AUTO RIBEIRÃO" href="https://carrosp.com.br/carros/ribeirao-preto-sp/"> AUTO RIBEIRÃO </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="AUTO SAO CARLOS" href="https://carrosp.com.br/carros/sao-carlos-sp/"> AUTO SAO CARLOS </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO AMERICANA" href="https://carrosp.com.br/carros/americana-sp/"> CARRO AMERICANA </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO ARARAQUARA" href="https://carrosp.com.br/carros/araraquara-sp/"> CARRO ARARAQUARA </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO ARARAS" href="https://carrosp.com.br/carros/araras-sp/"> CARRO ARARAS </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO AVARE" href="https://carrosp.com.br/carros/avare-sp/"> CARRO AVARE </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO BAURU" href="https://carrosp.com.br/carros/bauru-sp/"> CARRO BAURU </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO BOITUVA" href="https://carrosp.com.br/carros/boituva-sp/"> CARRO BOITUVA </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO BOTUCATU" href="https://carrosp.com.br/carros/botucatu-sp/"> CARRO BOTUCATU </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO CAMPINAS" href="https://carrosp.com.br/carros/campinas-sp/"> CARRO CAMPINAS </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO GUARA" href="https://carrosp.com.br/carros/guaratingueta-sp/"> CARRO GUARA </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO ITU" href="https://carrosp.com.br/carros/itu-sp/"> CARRO ITU </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO JACAREI" href="https://carrosp.com.br/carros/jacarei-sp/"> CARRO JACAREI </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO JAU" href="https://carrosp.com.br/carros/jau-sp/"> CARRO JAU </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO JUNDIAÍ" href="https://carrosp.com.br/carros/jundiai-sp/"> CARRO JUNDIAÍ </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO LEME" href="https://carrosp.com.br/carros/leme-sp/"> CARRO LEME </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO LIMEIRA" href="https://carrosp.com.br/carros/limeira-sp/"> CARRO LIMEIRA </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO LORENA" href="https://carrosp.com.br/carros/lorena-sp/"> CARRO LORENA </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO MOGI" href="https://carrosp.com.br/carros/mogi-guacu-sp/"> CARRO MOGI </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO OURINHOS" href="https://carrosp.com.br/carros/ourinhos-sp/"> CARRO OURINHOS </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO PINDA" href="https://carrosp.com.br/carros/pindamonhangaba-sp/"> CARRO PINDA </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO PIRACICABA" href="https://carrosp.com.br/carros/piracicaba-sp/"> CARRO PIRACICABA </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO PIRASSUNUNGA" href="https://carrosp.com.br/carros/pirassununga-sp/"> CARRO PIRASSUNUNGA </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO RIOCLARO" href="https://carrosp.com.br/carros/rio-claro-sp/"> CARRO RIOCLARO </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO SALTO" href="https://carrosp.com.br/carros/salto-sp/"> CARRO SALTO </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO SÃO JOSÉ DO RIO PRETO" href="https://carrosp.com.br/carros/sao-jose-do-rio-preto-sp/"> CARRO SÃO JOSÉ DO RIO PRETO </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO SÃO PAULO" href="https://carrosp.com.br/carros/sao-paulo-sp/"> CARRO SÃO PAULO </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO SAOJOAO" href="https://carrosp.com.br/carros/sao-joao-da-boa-vista-sp/"> CARRO SAOJOAO </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO SAOJOSE" href="https://carrosp.com.br/carros/sao-jose-dos-campos-sp/"> CARRO SAOJOSE </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO SOROCABA" href="https://carrosp.com.br/carros/sorocaba-sp/"> CARRO SOROCABA </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO SUMARE" href="https://carrosp.com.br/carros/sumare-sp/"> CARRO SUMARE </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO SUZANO" href="https://carrosp.com.br/carros/suzano-sp/"> CARRO SUZANO </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO TATUI" href="https://carrosp.com.br/carros/tatui-sp/"> CARRO TATUI </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO TAUBATE" href="https://carrosp.com.br/carros/taubate-sp/"> CARRO TAUBATE </a> </li> <li class="col-md-3 col-sm-6 col-6 mb-3 text-center"> <a class="text-white" title="CARRO VOTORANTIM" href="https://carrosp.com.br/carros/votorantim-sp/"> CARRO VOTORANTIM </a> </li> </ul> </div> </nav> <form id="formNewsletter" class="d-flex justify-content-center"> <div class="form-group mensagem"> <input name="email" id="email" style="border-radius: 2px;" type="text" class="form-control form-controle" placeholder="Receba informativos via e-mail"> </div> <div class="form-group cadastrar"> <button type="submit" class="btn btn-block bg-color-1 button-border-red text-white" aria-label="Cadastrar" style="font-size: 18px !important;"><i aria-hidden="true" class="far fa-envelope h5 mb-0 "></i><span class="d-none d-sm-inline"> Cadastrar</span></button> </div> <input type="hidden" name="req" value="ajax"> </form> <div class="row pt-5"> <p class="text-white text-justify" style="line-height: 18px; font-size: 15px !important;">ATENÇÃO: O site não se responsabiliza pelos anúncios constantes de seu site, que são de responsabilidade exclusiva de cada anunciante. Cabe ao consumidor assegurar-se de que o negócio é idôneo antes de realizar qualquer transação. O site não realiza intermediação das vendas e compras, trocas ou qualquer tipo de transação feita pelos usuários de seu site, tratando-se de serviço exclusivamente de disponibilização de mídia para divulgação. A transação é feita diretamente entre as partes interessadas. Fotos ilustrativas. Os preços podem sofrer alterações sem prévio aviso.</p> </div> <div class="row"> <div class="col-md-6 text-white pl-0"> Copyright © 2024 - <a title="CarroSP | Os Melhores Carros para Comprar de sua Cidade e Região" href="https://carrosp.com.br/" class="text-white text-decoration-u"><strong>CarroSP</strong></a> | Todos os direitos reservados. </div> <div class="col-md-6 text-md-right pr-0 pl-0 text-white"> by <a title="Desenvolvido por NSWEB" href="https://nsweb.com.br?utm_campaign=clientes&utm_medium=rodape&utm_source=Carro%20SP" target="_blank" rel="nofollow noopener noreferrer" class="pull-right text-white text-decoration-u"> NSWEB </a> </div> </div> </div> </footer> </div> <!-- Fim Rodapé --> <a id="btnTopBottom" class="tops"> <i class="fa fa-angle-down" aria-hidden="true"></i> </a> </div> <script> var infoPager = []; var loadMoreLink = null; currentPage = typeof infoPager == 'object' ? infoPager.currentPage : 1; totalPages = typeof infoPager == 'object' ? infoPager.totalPages : 1; </script><script src="https://cdn.carrosp.com.br/temas/bootstrap4/dist/js/jquery.min.js?v=1706137540"></script> <script src="https://cdn.carrosp.com.br/temas/bootstrap4/dist/js/bootstrap4.min.js?v=1706137540"></script> <script src="https://cdn.carrosp.com.br/temas/bootstrap4/dist/js/front.min.js?v=1733923364"></script> <script> /* LGPD JS */ /*! * ihavecookies - jQuery plugin for displaying cookie/privacy message * v0.3.2 * * Copyright (c) 2018 Ketan Mistry (https://iamketan.com.au) * Licensed under the MIT license: * http://www.opensource.org/licenses/mit-license.php * */ (function($) { /* |-------------------------------------------------------------------------- | Cookie Message |-------------------------------------------------------------------------- | | Displays the cookie message on first visit or 30 days after their | last visit. | | @param event - 'reinit' to reopen the cookie message | */ $.fn.ihavecookies = function(options, event) { var $element = $(this); // Set defaults var settings = $.extend({ cookieTypes: [ { type: 'Site Preferences', value: 'preferences', description: 'These are cookies that are related to your site preferences, e.g. remembering your username, site colours, etc.' }, { type: 'Analytics', value: 'analytics', description: 'Cookies related to site visits, browser types, etc.' }, { type: 'Marketing', value: 'marketing', description: 'Cookies related to marketing, e.g. newsletters, social media, etc' } ], title: 'Cookies & Privacy', message: 'Cookies enable you to use shopping carts and to personalize your experience on our sites, tell us which parts of our websites people have visited, help us measure the effectiveness of ads and web searches, and give us insights into user behavior so we can improve our communications and products.', link: '/privacy-policy', delay: 2000, expires: 30, moreInfoLabel: 'More information', acceptBtnLabel: 'Accept Cookies', advancedBtnLabel: 'Customise Cookies', cookieTypesTitle: 'Select cookies to accept', fixedCookieTypeLabel:'Necessary', fixedCookieTypeDesc: 'These are cookies that are essential for the website to work correctly.', onAccept: function(){}, uncheckBoxes: false }, options); var myCookie = getCookie('cookieControl'); var myCookiePrefs = getCookie('cookieControlPrefs'); if (!myCookie || !myCookiePrefs || event == 'reinit') { // Remove all instances of the cookie message so it's not duplicated $('#gdpr-cookie-message').remove(); // Set the 'necessary' cookie type checkbox which can not be unchecked var cookieTypes = '<li><input type="checkbox" name="gdpr[]" value="necessary" checked="checked" disabled="disabled"> <label title="' + settings.fixedCookieTypeDesc + '">' + settings.fixedCookieTypeLabel + '</label></li>'; // Generate list of cookie type checkboxes preferences = JSON.parse(myCookiePrefs); $.each(settings.cookieTypes, function(index, field) { if (field.type !== '' && field.value !== '') { var cookieTypeDescription = ''; if (field.description !== false) { cookieTypeDescription = ' title="' + field.description + '"'; } cookieTypes += '<li><input type="checkbox" id="gdpr-cookietype-' + field.value + '" name="gdpr[]" value="' + field.value + '" data-auto="on"> <label for="gdpr-cookietype-' + field.value + '"' + cookieTypeDescription + '>' + field.type + '</label></li>'; } }); // Display cookie message on page var cookieMessage = '<div id="gdpr-cookie-message"><p class="gdpr-title">' + settings.title + '</p><p>' + settings.message + ' <a href="' + settings.link + '" title="' + settings.moreInfoLabel + '">Veja nossa ' + settings.moreInfoLabel + '.</a><div id="gdpr-cookie-types" style="display:none;"><p class="gdpr-subtitle">' + settings.cookieTypesTitle + '</p><ul>' + cookieTypes + '</ul></div><p><button id="gdpr-cookie-accept" type="button">' + settings.acceptBtnLabel + '</button><button id="gdpr-cookie-advanced" type="button">' + settings.advancedBtnLabel + '</button></p></div>'; setTimeout(function(){ $($element).append(cookieMessage); $('#gdpr-cookie-message').hide().fadeIn('slow', function(){ // If reinit'ing, open the advanced section of message // and re-check all previously selected options. if (event == 'reinit') { $('#gdpr-cookie-advanced').trigger('click'); $.each(preferences, function(index, field) { $('input#gdpr-cookietype-' + field).prop('checked', true); }); } }); }, settings.delay); // When accept button is clicked drop cookie $('body').on('click','#gdpr-cookie-accept', function(){ // Set cookie dropCookie(true, settings.expires); // If 'data-auto' is set to ON, tick all checkboxes because // the user hasn't clicked the customise cookies button $('input[name="gdpr[]"][data-auto="on"]').prop('checked', true); // Save users cookie preferences (in a cookie!) var prefs = []; $.each($('input[name="gdpr[]"]').serializeArray(), function(i, field){ prefs.push(field.value); }); setCookie('cookieControlPrefs', encodeURIComponent(JSON.stringify(prefs)), 365); // Run callback function settings.onAccept.call(this); }); // Toggle advanced cookie options $('body').on('click', '#gdpr-cookie-advanced', function(){ // Uncheck all checkboxes except for the disabled 'necessary' // one and set 'data-auto' to OFF for all. The user can now // select the cookies they want to accept. $('input[name="gdpr[]"]:not(:disabled)').attr('data-auto', 'off').prop('checked', false); $('#gdpr-cookie-types').slideDown('fast', function(){ $('#gdpr-cookie-advanced').prop('disabled', true); }); }); } else { var cookieVal = true; if (myCookie == 'false') { cookieVal = false; } dropCookie(cookieVal, settings.expires); } // Uncheck any checkboxes on page load if (settings.uncheckBoxes === true) { $('input[type="checkbox"].ihavecookies').prop('checked', false); } }; // Method to get cookie value $.fn.ihavecookies.cookie = function() { var preferences = getCookie('cookieControlPrefs'); return JSON.parse(preferences); }; // Method to check if user cookie preference exists $.fn.ihavecookies.preference = function(cookieTypeValue) { var control = getCookie('cookieControl'); var preferences = getCookie('cookieControlPrefs'); preferences = JSON.parse(preferences); if (control === false) { return false; } if (preferences === false || preferences.indexOf(cookieTypeValue) === -1) { return false; } return true; }; /* |-------------------------------------------------------------------------- | Drop Cookie |-------------------------------------------------------------------------- | | Function to drop the cookie with a boolean value of true. | */ var dropCookie = function(value, expiryDays) { setCookie('cookieControl', value, expiryDays); $('#gdpr-cookie-message').fadeOut('fast', function() { $(this).remove(); }); }; /* |-------------------------------------------------------------------------- | Set Cookie |-------------------------------------------------------------------------- | | Sets cookie with 'name' and value of 'value' for 'expiry_days'. | */ var setCookie = function(name, value, expiry_days) { var d = new Date(); d.setTime(d.getTime() + (expiry_days*24*60*60*1000)); var expires = "expires=" + d.toUTCString(); document.cookie = name + "=" + value + ";" + expires + ";path=/"; return getCookie(name); }; /* |-------------------------------------------------------------------------- | Get Cookie |-------------------------------------------------------------------------- | | Gets cookie called 'name'. | */ var getCookie = function(name) { var cookie_name = name + "="; var decodedCookie = decodeURIComponent(document.cookie); var ca = decodedCookie.split(';'); for (var i = 0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') { c = c.substring(1); } if (c.indexOf(cookie_name) === 0) { return c.substring(cookie_name.length, c.length); } } return false; }; }(jQuery)); var ihavecookiesOptions = { title:'Cookies e Privacidade', acceptBtnLabel: 'Entendi', link:'/politica-de-privacidade', delay:2000, advancedBtnLabel: '', moreInfoLabel:'Política de Privacidade', message:'Ao navegar neste site, você aceita os cookies que usamos para melhorar sua experiência.' }; $('body').ihavecookies(ihavecookiesOptions); function checkIhaveCookiesWG() { if ($('#gdpr-cookie-message').length) { if (ihavecookiesOptions.moreInfoLabel == '') { $('#gdpr-cookie-message p a').remove(); } } else { window.setTimeout(checkIhaveCookiesWG, 200); } } checkIhaveCookiesWG(); </script> <link href="/temas/bootstrap4/dist/css/home2.min.css?v=1718796456" media="screen" rel="stylesheet" > <link href="/temas/bootstrap4/dist/css/fonts.min.css?v=499162500" media="screen" rel="stylesheet" > <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-TFW01JZ1QD"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-TFW01JZ1QD'); </script> <script src="https://cdn.carrosp.com.br/sw-connect.js"></script> <script> defer(function(){ setTimeout(function() { $(".page-loader").fadeOut(200, function() { $(".page-loader").css('display', 'none')}); },200); }); </script> </body> </html>