:root {
    --orange: #ff5f13;
}

.orange {
    color: var(--orange);
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--orange);
    z-index: 99999;
}

.slider-height2 {
    min-height: 608px !important;
    background-position: bottom !important;
}

.barra-contato .info-icon {
    font-size: 35px;
    color: var(--orange);
}

.barra-contato .custom-icon {
    width: 55px;
    height: 55px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.barra-contato .custom-icon.icon-call {
    background-image: url(../img/icons/call.webp);
}

.barra-contato .custom-icon.icon-clock {
    background-image: url(../img/icons/clock.webp);
}

.barra-contato .custom-icon.icon-mapa {
    background-image: url(../img/icons/mapa.webp);
}

div.quote-arrow {
    position: relative;
}

div.quote-arrow span.quote {
    position: absolute;
    top: -50px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
}

div.quote-arrow span.quote span.italic {
    font-style: italic;
}

div.quote-arrow .arrow-down {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -15px;
    font-size: 22px;
    color: var(--orange);
    background: #061326;
    padding: 0 20px 5px 20px;
    border-radius: 0 0 20px 20px;
}

div.servicos .custom-icon,
div.sobre .custom-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 15px !important;
    margin: auto;
    display: inline-block !important;
}

div.sobre {
    background-color: #e9edf4;
}

div.sobre .single-cat::before {
    transition: 0.3s !important;
}

div.sobre .single-cat {
    background-color: #f9f9f9;
}

div.sobre .custom-icon.icon-truck {
    background-image: url(../img/icons/truck.webp);
    width: 101px;
    height: 57px;
    animation: 1s infinite alternate topDown;
}

div.sobre .single-cat:hover .custom-icon.icon-truck {
    filter: grayscale(1) brightness(100);
}

@keyframes topDown {
    0% {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        -webkit-transform: translateY(-6px);
        -moz-transform: translateY(-6px);
        -ms-transform: translateY(-6px);
        -o-transform: translateY(-6px);
        transform: translateY(-6px);
    }
}

div.sobre .section-tittle span {
    font-size: 22px;
}

div.sobre .sospindorama-in-numbers {
    text-align: center;
    padding: 2.5rem !important;
    background-color: #d9e0ed;
}

div.sobre .sospindorama-in-numbers h1 {
    font-family: Barlow, sans-serif;
    font-size: 4.5rem;
    font-weight: 600;
}

div.sobre .sospindorama-in-numbers.reboques h1,
div.sobre .sospindorama-in-numbers.rodados h1 {
    display: inline;
}

div.sobre .sospindorama-in-numbers h5 {
    font-family: Barlow, sans-serif;
    text-transform: uppercase;
}

.politica p {
    background-color: #fcfcfc;
    border-radius: 0 5px 5px 0;
    padding-left: 10px;
    border-left: 2px solid #555;
    margin-bottom: 20px;
}

.politica p a {
    color: #000;
    text-decoration: underline;
}

div.barra-solicitar-guincho {
    min-height: 297px;
    padding-top: 40px;
    padding-bottom: 40px;
}

div.barra-solicitar-guincho p {
    color: #fff;
    font-size: 17px;
}

div.servicos div.section-tittle > p {
    font-size: 19px;
}

div.servicos .custom-icon.icon-guincho {
    background-image: url(../img/icons/guincho.webp);
}

div.servicos .custom-icon.icon-24hs {
    background-image: url(../img/icons/24hs.webp);
}

div.servicos .custom-icon.icon-oil {
    background-image: url(../img/icons/oil.webp);
}

div.servicos .custom-icon.icon-bateria {
    background-image: url(../img/icons/bateria.webp);
}

div.servicos .custom-icon.icon-carro-quebrado {
    background-image: url(../img/icons/carro-quebrado.webp);
}

div.servicos .custom-icon.icon-pneu {
    background-image: url(../img/icons/pneu.webp);
}

div.servicos .custom-icon.icon-agricola {
    background-image: url(../img/icons/agricola.webp);
}

div.servicos .custom-icon.icon-motorista {
    background-image: url(../img/icons/motorista.webp);
}

/* MODAL PARCEIRO */
#modalParceiro .form-contact label {
    color: #000000;
}

#modalParceiro .form-contact label.error {
    color: red;
    text-align: right;
}

#modalParceiro .form-contact .form-group {
    margin-bottom: 0;
}

#modalParceiro .form-contact input,
#modalParceiro .form-contact select {
    margin-bottom: 20px;
}

.close-btn {
    width: 100%;
    padding: 19px 44px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    border: 0;
    font-family: Barlow, sans-serif;
    color: #212529;
    background-color: #e2e6ea;
    border-color: #dae0e5;
    text-transform: uppercase;
}

/* POSTAGENS EM DESTAQUE */

.postagens-destaque {
    margin-top: 20px;
}

.postagens-destaque img,
.postagem-card-image img {
    float: left;
    margin-right: 10px;
    margin-bottom: 8px;
    border-radius: 15px;
    width: 100%;
    height: 200px;
    max-height: 200px;
    object-fit: cover;
}

.postagens-destaque a:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.postagens-destaque span.data-hora {
    font-size: 14px;
    color: var(--orange);
    font-weight: 600;
}

.postagens-destaque h5 {
    text-transform: uppercase;
}

/* BOTÃO INSTAGRAM */

.insta-fixo {
    display: block !important;
    position: fixed;
    z-index: 999999;
    bottom: 85px;
    right: 15px;
    width: 56px;
    height: 56px;
    border-radius: 100px;
    transition: all 0.3s;
    overflow: hidden;
    background: linear-gradient(
        45deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
    );
}

.insta-fixo:hover {
    transform: scale(1.1);
}

.insta-fixo__right {
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 100%;
    z-index: 1;
    border-radius: 100px;
    text-align: center;
}

.insta-fixo__right i {
    font-size: 35px;
    color: var(--white);
    margin-top: 10px;
}

/* BOTÃO WHATSAPP */

.wpp-fixo {
    display: block !important;
    position: fixed;
    z-index: 999999;
    bottom: 15px;
    right: 15px;
    width: 56px;
    height: 56px;
    border-radius: 100px;
    transition: all 0.5s;
    overflow: hidden;
    background: #03af4f;
}

.wpp-fixo:hover {
    padding-right: 200px;
}

.wpp-fixo__left {
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 100%;
    z-index: 1;
    border-radius: 100px;
    background-color: #03af4f;
    background-size: 34px;
}

.wpp-fixo__right {
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 100%;
    z-index: 1;
    border-radius: 100px;
    background-color: #03af4f;
    text-align: center;
}

.wpp-fixo__right i {
    font-size: 35px;
    color: var(--white);
    margin-top: 10px;
}

.wpp-fixo__txt {
    color: white;
    white-space: nowrap;
    padding-left: 22px;
    width: 110px;
}

.wpp-fixo__txt--primary {
    font-weight: 600;
    padding-top: 15px;
}

/* PÁGINA INDIVIDUAL DA POSTAGEM */
.postagem-single,
.postagens-listagem {
    background-color: #f8f9fa;
}

.postagem-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.postagem-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c234d;
    line-height: 1.2;
    margin-bottom: 20px;
}

.postagem-meta {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
}

.postagem-meta .meta-item {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.postagem-meta .meta-item i {
    color: var(--orange);
}

.postagem-image img {
    width: 100%;
    height: auto;
}

.postagem-description {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
}

.postagem-description p {
    margin-bottom: 20px;
}

/* Botões de compartilhamento */
.share-buttons .btn {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-facebook {
    background-color: #1877f2;
    border-color: #1877f2;
    color: white;
}

.btn-facebook:hover {
    background-color: #166fe5;
    color: white;
}

.btn-twitter {
    background-color: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.btn-twitter:hover {
    background-color: #0d95e8;
    color: white;
}

.btn-whatsapp {
    background-color: #25d366;
    border-color: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #20bd5a;
    color: white;
}

/* Navegação entre postagens */
.postagem-navigation .nav-post {
    display: block;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.postagem-navigation .nav-post:hover {
    background: var(--orange);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.postagem-navigation .nav-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
    opacity: 0.8;
}

.postagem-navigation .nav-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

/* Breadcrumb customizado */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "→";
    color: var(--orange);
}

.breadcrumb-item a {
    color: var(--orange);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

/* MEDIA QUERY */

@media (max-width: 575px) {
    header div.logo img {
        width: 60% !important;
    }

    div.sobre {
        padding-bottom: 0 !important;
        padding-top: 20px;
    }
}

@media (max-width: 575px) {
    header div.logo img {
        width: 60% !important;
    }

    div.sobre {
        padding-bottom: 0 !important;
        padding-top: 20px;
    }

    div.quote-arrow {
        display: none;
    }
}

/* SLIDER GALERIA FROTA - MOBILE */
@media (max-width: 767px) {
    .frota-gallery {
        overflow: hidden;
        position: relative;
    }

    .gallery-slide {
        display: none;
        width: 100%;
        padding: 0 15px;
    }

    .gallery-slide.active {
        display: block;
    }

    .gallery-slide .single-gallery-image {
        height: 250px;
        margin-top: 0;
    }

    .frota-slider-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }

    .slider-btn {
        background: var(--orange);
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 14px;
    }

    .slider-btn:hover {
        background: #e0581e;
        transform: scale(1.1);
    }

    .slider-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: scale(1);
    }

    .slider-counter {
        font-weight: 600;
        color: #2c234d;
        font-size: 16px;
    }

    .current-slide {
        color: var(--orange);
    }
}

/* Indicadores de slide para mobile */
@media (max-width: 767px) {
    .frota-gallery::after {
        content: "";
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
    }
}

/* Responsividade para postagem */
@media (max-width: 767px) {
    .postagem-content {
        padding: 20px;
        margin: 0 15px;
    }

    .postagem-title {
        font-size: 1.8rem;
    }

    .postagem-meta {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .postagem-meta .meta-item {
        margin-left: 0 !important;
        margin-bottom: 5px;
    }

    .postagem-navigation .col-md-6:last-child {
        text-align: left !important;
        margin-top: 15px;
    }

    .share-buttons {
        text-align: center;
    }
}
