/* Variáveis */
:root {
    --primary-color: #ffd700;
    --secondary-color: #000000;
    --text-color: #333333;
    --white: #ffffff;
    --dark-gray: #353535;
    --menu-font: 'Roboto Condensed', sans-serif;
    --jcb-orange: #fcae26; /* Cor laranja da JCB */
    --primary-font: 'JCB Euro', sans-serif;
    --secondary-font: 'Gill JCB', sans-serif;
    --light-font: 'JCB Euro Light', sans-serif;
}

/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--primary-font);
    line-height: 1.6;
    color: var(--text-color);
}

/* Barra superior */
.top-bar {
    background-color: #1a1a1a;
    padding: 10px 0;
    font-family: var(--menu-font);
    position: relative;
}

.top-bar .container {
    max-width: 1600px;
    padding: 0 5.5rem 0 2rem;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-bar-links {
    display: flex;
    gap: 30px;
    padding-right: 0;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    justify-content: flex-end;
}

.phone-link {
    color: var(--jcb-orange);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #fff;
    text-decoration: none;
}

.livelink-login {
    color: var(--jcb-orange);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.livelink-login:hover {
    color: #fff;
    text-decoration: none;
}

/* Header e Navegação */
.navbar {
    background-color: var(--jcb-orange);
    padding: 1rem 0;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.navbar > .container {
    max-width: 1600px;
    padding: 0 3.5rem 0 2rem;
    width: 100%;
}

.navbar-brand {
    margin-right: 3rem;
    margin-left: 2rem;
}

.navbar-brand img {
    max-height: 35px;
}

.navbar-nav {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

/* Container para itens da esquerda */
.nav-left {
    display: flex;
    gap: 2.5rem;
    margin-left: 1rem;
}

/* Container para itens da direita */
.nav-right {
    display: flex;
    gap: 2.5rem;
    margin-right: 1.5rem;
}

.nav-link {
    font-family: var(--menu-font);
    color: #000 !important;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.7rem 1rem;
    position: relative;
    transition: color 0.3s ease;
    margin: 0;
}

.nav-link:hover {
    color: #fff !important;
}

/* Estilo dos dropdowns */
.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-menu {
    background-color: #000;
    border: none;
    border-radius: 0;
    margin-top: 1.2rem;
    padding: 0;
    min-width: 250px;
}

.dropdown-item {
    color: #fff;
    font-family: var(--menu-font);
    padding: 1rem 1.5rem;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: var(--jcb-orange);
    color: #000;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ajuste para manter o dropdown visível durante o hover */
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

/* Garantir que o link principal do dropdown seja clicável */
.dropdown > .nav-link {
    pointer-events: auto;
}

/* Banner Principal */
.hero-banner {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background-color: #000;
}

.hero-banner .carousel,
.hero-banner .carousel-inner,
.hero-banner .carousel-item {
    height: 100%;
    width: 100%;
}

.hero-banner .carousel-item .banner-image {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
}

.hero-banner .carousel-item .container {
    position: absolute;
    bottom: 20%;
    left: 0;
    right: 0;
    color: #fff;
    padding: 2rem;
}

.hero-banner .carousel-item h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-banner .carousel-item p {
    font-size: 24px;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.banner-image {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    width: 100%;
}

.banner-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-image .container {
    position: absolute;
    bottom: 20%;
    left: 5%;
    z-index: 3;
    text-align: left;
    padding: 40px;
    max-width: 550px;
    background: rgba(0, 0, 0, 0.85);
    width: 100%;
    border-left: 4px solid var(--jcb-orange);
}

.banner-image h1 {
    font-size: 55px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
    color: #fff;
    margin-bottom: 15px;
    word-break: break-word;
}

.banner-image p {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: -0.5px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.4;
}

.btn-banner {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 12px 0;
    border: none;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid #fff;
}

.btn-banner:hover {
    border-bottom: 1px solid transparent;
}

.btn-banner::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.btn-banner:hover::after {
    transform: translateX(8px);
}

/* Estilização dos controles do carousel */
.carousel-indicators {
    margin-bottom: 2rem;
    z-index: 3;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: var(--white);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    opacity: 1;
    background-color: var(--jcb-orange);
    transform: scale(1.2);
}

/* Animação dos slides */
.carousel-item {
    transition: transform 0.8s ease;
}

.hero-banner .btn-primary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.75rem 2rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.hero-banner .btn-primary:hover {
    background-color: var(--jcb-orange);
    border-color: var(--jcb-orange);
    color: var(--secondary-color);
}

/* Seção de Segmentos */
.segments {
    padding: 4rem 0;
    background-color: #fff;
}

.segments h2 {
    font-size: 42px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.segment-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.segment-card {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 400px;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.segment-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.segment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.segment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
}

.segment-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
}

.segment-content h3 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.segment-card:hover .segment-image img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .segment-card {
        height: 300px;
    }
    
    .segment-content {
        bottom: 20px;
        left: 20px;
    }
    
    .segment-content h3 {
        font-size: 28px;
    }
}

/* Seção de Produtos */
.products {
    padding: 0 0 4rem 0;
    background-color: var(--white);
}

/* Container do título */
.products-title-container {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.products-title-container h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.products h2 {
    text-align: center;
    color: var(--jcb-orange);
    font-family: var(--primary-font);
    font-weight: bold;
    letter-spacing: 1px;
    padding: 2rem 0;
    text-transform: uppercase;
    margin: 0;
}

/* Seção de Inovação */
.innovation {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.innovation-content {
    padding-right: 2rem;
}

.innovation-content h2 {
    color: var(--jcb-orange);
    font-family: var(--primary-font);
    font-weight: bold;
    margin-bottom: 1rem;
}

.innovation-content h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.innovation-content p {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-family: var(--light-font);
}

.innovation-image {
    text-align: center;
}

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

/* Seção LiveLink */
.livelink {
    padding: 4rem 0;
    background-color: transparent;
}

.livelink-content {
    padding-right: 2rem;
}

.livelink-content h2 {
    color: var(--jcb-orange);
    font-family: var(--primary-font);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.livelink-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-family: var(--light-font);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: none;
    background-color: transparent;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}

/* Citação */
.quote {
    position: relative;
    background-image: url('../images/banners/JCB.png');
    background-size: cover;
    background-position: center;
    padding: 14rem 0; /* Altura ainda maior */
    text-align: center;
    color: var(--white);
    filter: grayscale(100%);
}

.quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.quote .container {
    position: relative;
    z-index: 2;
}

.quote blockquote {
    font-size: 1.1rem; /* Fonte ainda menor */
    font-style: italic;
    font-family: var(--menu-font);
    font-weight: 400;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    background: none;
}

.quote blockquote footer {
    display: inline;
    font-size: 1.1rem; /* Fonte ainda menor, mantendo consistência */
    font-weight: 700;
    color: var(--jcb-orange);
    margin-left: 10px;
    background: none;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Footer Styles */
footer {
    background-color: #000;
    padding: 3rem 0 1rem;
    color: #fff;
}

footer h4 {
    color: var(--jcb-orange);
    margin-bottom: 1.2rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--jcb-orange);
    text-decoration: none;
}

footer p {
    color: #fff;
}

footer .btn-outline-light {
    border-color: var(--jcb-orange);
    color: #fff;
}

.copyright {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Botões */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.75rem 2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

/* Produtos */
.products .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.products .col-md-4 {
    padding: 15px;
}

/* Primeiros 4 itens */
.products .col-md-4:nth-child(-n+4) {
    flex: 0 0 25%;
    max-width: 25%;
}

/* Últimos 3 itens */
.products .col-md-4:nth-child(n+5) {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

.product-card {
    background: var(--white);
    border: 3px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: var(--secondary-color);
    padding: 2.5rem 1.5rem;
    text-align: center;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 160px;
}

.product-icon img {
    width: 200px;
    height: auto;
}

.product-card h3 {
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
    color: var(--secondary-color);
    font-weight: bold;
    font-family: var(--primary-font);
}

@media (max-width: 992px) {
    .products .col-md-4:nth-child(-n+4),
    .products .col-md-4:nth-child(n+5) {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .product-icon img {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .products .col-md-4:nth-child(-n+4),
    .products .col-md-4:nth-child(n+5) {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-icon {
        min-height: 140px;
    }

    .product-icon img {
        width: 140px;
    }

    .product-card {
        padding: 1.5rem;
    }

    .product-icon img {
        width: 100px;
    }

    .product-card h3 {
        font-size: 0.9rem;
    }
}

/* Botão LiveLink */
.livelink-content {
    background-color: transparent;
}

.livelink-content .btn-primary {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.75rem 2rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.livelink-content .btn-primary:hover {
    background-color: transparent;
    border-color: var(--jcb-orange);
    color: var(--secondary-color);
}

/* Responsividade */
@media (max-width: 768px) {
    .navbar-brand {
        margin-left: 1rem;
    }

    .navbar-brand img {
        max-height: 35px;
    }

    .navbar {
        padding: 0.8rem 0;
    }

    .navbar > .container {
        justify-content: space-between;
        padding: 0 1rem;
    }

    /* Menu mobile quando aberto */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--secondary-color);
        padding: 1rem;
        z-index: 1000;
        margin: 0 1rem;
        border-radius: 8px;
    }

    .navbar-nav {
        margin: 0;
        padding: 0.5rem;
    }

    .nav-link {
        color: var(--white) !important;
        padding: 1rem 1.5rem;
        font-size: 14px;
        border-radius: 4px;
    }

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* Ajustes dropdown mobile */
    .dropdown-menu {
        position: static !important;
        min-width: 100%;
        margin: 0.5rem 0;
        padding: 0.5rem;
        border: none;
        border-radius: 4px;
        background-color: #1a1a1a !important;
    }

    .dropdown-item {
        padding: 1rem 1.5rem;
        font-size: 14px;
        white-space: normal;
        border-bottom: 1px solid var(--jcb-orange);
        border-radius: 4px;
    }

    /* Botão toggle */
    .navbar-toggler {
        padding: 0.5rem;
        margin-right: 0.5rem;
        border: none;
        background-color: transparent;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 24px;
        height: 24px;
    }

    .product-card {
        padding: 1.5rem;
    }

    .product-icon img {
        width: 100px;
    }

    .product-card h3 {
        font-size: 0.9rem;
    }
}

/* Ajustando o toggler para mobile */
.navbar-toggler {
    border-color: var(--white);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Ajustando a cor do texto do dropdown toggle */
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: middle;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
    margin-bottom: 0;
}

/* Seção de Redes Sociais */
.social-media-section {
    background-color: var(--jcb-orange);
    padding: 2rem 0;
    text-align: center;
}

.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.social-media-icon {
    color: var(--secondary-color);
    font-size: 24px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    text-decoration: none !important;
}

.social-media-icon:hover {
    color: var(--jcb-orange);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-decoration: none !important;
}

/* Removendo estilos antigos do social media no footer */
.social-media {
    display: none;
}

/* Página Sobre */
.page-banner {
    position: relative;
    background-image: url('../images/banners/JCB_banner.jpg');
    background-size: cover;
    background-position: center;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 4rem;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: var(--white);
    font-family: var(--primary-font);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.about-content {
    padding-bottom: 4rem;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: var(--jcb-orange);
    font-family: var(--primary-font);
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.about-section p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-section ul li {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background-color: var(--jcb-orange);
    border-radius: 50%;
}

/* Responsividade da página Sobre */
@media (max-width: 768px) {
    .page-banner {
        height: 300px;
        margin-bottom: 3rem;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .about-section h2 {
        font-size: 1.5rem;
    }

    .about-section p,
    .about-section ul li {
        font-size: 1rem;
    }
}

/* Estilos específicos para a página Sobre a JCB */
.signature {
    margin: 3rem 0;
    text-align: right;
}

.signature p {
    margin: 0;
    line-height: 1.4;
}

.quote-section {
    background-color: var(--light-gray);
    padding: 4rem 0;
    margin: 4rem 0;
    text-align: center;
}

.quote-section blockquote {
    font-size: 1.8rem;
    font-style: italic;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.quote-section blockquote footer {
    font-size: 1.2rem;
    color: var(--jcb-orange);
    margin-top: 1.5rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .quote-section blockquote {
        font-size: 1.4rem;
    }
    
    .quote-section blockquote footer {
        font-size: 1rem;
    }
}

/* Estilos específicos para a página de Peças */
.page-banner h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-top: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Seção de Introdução */
.parts-intro {
    padding: 4rem 0;
}

.parts-intro .container {
    max-width: 1000px;
    text-align: center;
}

.parts-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.parts-intro p:last-child {
    margin-bottom: 0;
}

/* Seção Grid de Peças */
.parts-grid {
    background-color: #f5f5f5;
    padding: 4rem 0;
}

.parts-grid .container {
    max-width: 1000px;
}

.parts-item {
    display: flex;
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.parts-item:last-child {
    margin-bottom: 0;
}

.parts-image-wrapper {
    width: 300px;
    height: 200px;
    overflow: hidden;
}

.parts-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.parts-item:hover .parts-image {
    transform: scale(1.1);
}

.parts-content {
    padding: 2rem;
    flex: 1;
}

.parts-item h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.parts-item p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.parts-cta {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    background-color: var(--secondary-color);
    border: none;
    padding: 1.2rem;
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 700;
    text-decoration: none !important;
}

.parts-cta:hover {
    background-color: var(--jcb-orange);
    color: var(--white);
    text-decoration: none !important;
}

/* Seção CTA */
.cta-section {
    display: none;
}

/* Seção de Serviços */
.services-section {
    background-color: #f5f5f5;
    padding: 4rem 0;
}

.services-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.service-item:hover .service-image {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color 0.3s ease;
}

.service-link:hover {
    background-color: var(--jcb-orange);
    color: var(--white);
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .parts-item {
        flex-direction: column;
    }

    .parts-image-wrapper {
        width: 100%;
    }

    .parts-content {
        padding: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .parts-intro p {
        font-size: 1rem;
    }
}

/* Estilos para a página de Suporte */
.support-content {
    padding: 4rem 0;
}

.support-content h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.support-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.support-list {
    list-style: none;
    padding: 0;
    margin: 3rem 0;
}

.support-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.support-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--jcb-orange);
    font-size: 1.5rem;
    line-height: 1;
}

.support-content .cta-button {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 4px;
    margin-top: 3rem;
}

.support-content .cta-button:hover {
    background-color: var(--jcb-orange);
    color: var(--white);
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .support-content {
        padding: 3rem 0;
    }

    .support-content h2 {
        font-size: 1.8rem;
    }

    .support-content p,
    .support-list li {
        font-size: 1rem;
    }
}

.support-content .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Estilos para a página LiveLink */
.livelink-features {
    padding: 4rem 0;
}

.livelink-features .container {
    max-width: 1000px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    text-align: center;
}

.feature-image {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 8px;
}

.feature-image img {
    width: 100%;
    height: auto;
    transition: transform 1.2s ease;
}

.feature-item:hover .feature-image img {
    transform: scale(1.1);
}

.feature-item h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.livelink-content {
    padding: 4rem 0;
    background-color: transparent;
}

.livelink-content .container {
    max-width: 1000px;
    margin: 0 auto;
}

.livelink-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.livelink-features-list {
    margin: 3rem 0;
}

.livelink-features-list .feature {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.livelink-features-list .feature:last-child {
    margin-bottom: 0;
}

.livelink-features-list h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.livelink-features-list p {
    margin-bottom: 0;
}

.livelink-content .cta-button {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 4px;
}

.livelink-content .cta-button:hover {
    background-color: var(--jcb-orange);
    color: var(--white);
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .livelink-content {
        padding: 3rem 0;
    }

    .livelink-features-list .feature {
        padding: 1.5rem;
    }

    .livelink-content p,
    .livelink-features-list p {
        font-size: 1rem;
    }
}

/* Estilos para a página de Financiamento */
.finance-banner,
.finance-banner-secondary {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.finance-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.finance-content {
    padding: 4rem 0;
    text-align: left;
    background-color: #262626;
}

.finance-content .container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.finance-content .content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 0;
}

.finance-content h2 {
    color: var(--jcb-orange);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    min-width: 180px;
}

.finance-content .text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.finance-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--white);
    margin: 0;
}

.finance-content .cta-button {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--jcb-orange);
    color: #262626;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 50px;
}

.finance-content .cta-button:hover {
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .finance-content .content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .finance-content h2 {
        font-size: 1.6rem;
        min-width: auto;
    }

    .finance-content .text-wrapper {
        align-items: center;
    }

    .finance-content p {
        text-align: center;
    }
}

/* Estilos para a página de Contato */
.contact-title {
    color: #000;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-content {
    padding: 3rem 0;
    background-color: var(--white);
}

.contact-content .container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}

/* Formulário */
.form-group {
    margin-bottom: 0.8rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: var(--text-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-button {
    display: inline-block;
    background-color: #000;
    color: var(--white);
    padding: 0.6rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.8rem;
}

/* Informações de Contato */
.contact-info {
    background-color: #000;
    padding: 2rem;
    border-radius: 4px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.phone-number i {
    font-size: 1.8rem;
}

.phone-number h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.address {
    margin-bottom: 1.5rem;
}

.address h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.address p {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

.lgpd p {
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        padding: 2rem 0;
    }
}

/* Fontes JCB */
@font-face {
    font-family: 'JCB Euro';
    src: url('../fontes-jcb/JCBER___.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'JCB Euro';
    src: url('../fontes-jcb/JCBEB___.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'JCB Euro';
    src: url('../fontes-jcb/JCBEI___.TTF') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'JCB Euro Light';
    src: url('../fontes-jcb/JCBEL___.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gill JCB';
    src: url('../fontes-jcb/GILLJCB_.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gill JCB';
    src: url('../fontes-jcb/GILLJCBB.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Estilos base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--primary-font);
    font-weight: bold;
}

/* Títulos de seção */
.products h2,
.innovation-content h2,
.livelink-content h2 {
    font-family: var(--primary-font);
    font-weight: bold;
}

/* Textos de conteúdo */
p {
    font-family: var(--light-font);
}

/* Botões */
.btn {
    font-family: var(--secondary-font);
    font-weight: bold;
}

/* Página de Produtos Específicos */
.product-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.product-banner .banner-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-banner .banner-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.product-banner .banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.product-banner h1 {
    color: var(--jcb-orange);
    font-family: var(--primary-font);
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
}

.product-description {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0;
}

.product-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.product-description p:last-child {
    margin-bottom: 0;
}

.product-list {
    padding: 4rem 0;
}

.product-list h2 {
    text-align: center;
    color: var(--secondary-color);
    font-family: var(--primary-font);
    font-weight: bold;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.product-item {
    background: var(--white);
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-item:last-child {
    margin-bottom: 0;
}

.product-image {
    border-radius: 8px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 0 1rem;
}

.product-info h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-info p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.product-actions .btn {
    padding: 0.8rem 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-actions .btn-dark {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.product-actions .btn-warning {
    background-color: var(--jcb-orange);
    border-color: var(--jcb-orange);
    color: var(--secondary-color);
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.spec-item {
    text-align: center;
}

.spec-item h4 {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.spec-item p {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

@media (max-width: 992px) {
    .product-actions {
        flex-direction: column;
    }

    .product-specs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-banner {
        height: 300px;
    }

    .product-banner h1 {
        font-size: 2rem;
    }

    .product-item {
        padding: 1rem;
    }

    .product-info {
        padding: 1rem 0 0 0;
    }

    .product-specs {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Mega Menu */
.mega-menu {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.98);
    padding: 100px 0;
    z-index: 1020;
    top: 108px;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    will-change: transform, opacity, visibility;
    transform: translateY(-10px);
}

.mega-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Garantir que ao rolar, o menu fique oculto - regra mais forte */
html.is-scrolling .mega-menu,
html.is-scrolling .mega-menu.show {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
}

.mega-menu-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    color: #666;
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.mega-menu-close:hover {
    color: var(--jcb-orange);
}

.mega-menu .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mega-menu h2 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 0;
    margin-top: -80px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JCB Euro', sans-serif;
}

.mega-menu-content {
    display: flex;
    gap: 60px;
    margin-top: 30px;
    min-height: 300px;
}

.mega-menu-categories {
    display: flex;
    flex-direction: column;
    min-width: 280px;
}

.mega-menu-category {
    color: #666;
    text-decoration: none;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'JCB Euro', sans-serif;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
}

.mega-menu-category.active {
    color: var(--jcb-orange);
    font-weight: 700;
    border-top: 1px solid var(--jcb-orange);
    border-bottom: 1px solid var(--jcb-orange);
}

.mega-menu-category:hover {
    color: #fff;
    text-decoration: none;
}

.mega-menu-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 50px;
    flex-grow: 1;
    margin-top: 0;
}

#agronegocio-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 50px;
}

#servicos-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 50px;
}

.mega-menu-product {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 8px 12px;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin: 0%;
    line-height: 1.3;
    border-radius: 5px;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.mega-menu-product:before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--jcb-orange);
    border-radius: 50%;
    margin-right: 10px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.mega-menu-product:hover {
    color: var(--jcb-orange);
    border-color: var(--jcb-orange);
    background-color: rgba(255,255,255,0.05);
    padding-left: 20px;
    text-decoration: none;
}

.mega-menu-product:hover:before {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 991px) {
    .mega-menu-products, 
    #agronegocio-products,
    #servicos-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mega-menu-products, 
    #agronegocio-products,
    #servicos-products {
        grid-template-columns: 1fr;
    }
    
    .mega-menu-product {
        padding: 8px;
        font-size: 14px;
    }
}

/* Removendo o overlay */
.mega-menu::before {
    content: none;
}

/* Ajuste para o hover do dropdown */
.dropdown {
    position: relative;
    margin: 0;
    padding: 0;
}

.dropdown-toggle {
    cursor: pointer;
}

/* Ajuste específico para o menu SOBRE */
.nav-right .mega-menu {
    right: 0;
}

.nav-right .mega-menu .container {
    max-width: 800px; /* Menu mais estreito para SOBRE */
}

.nav-right .mega-menu-categories {
    min-width: 100%; /* Categorias ocupam toda largura */
    border-right: none;
}

.nav-right .mega-menu-category {
    padding: 25px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.nav-right .mega-menu-category:last-child {
    border-bottom: none;
}

.nav-right .mega-menu-category:hover {
    color: var(--jcb-orange);
}

/* Menu Mobile */
.mobile-header {
    display: none;
    background-color: var(--jcb-orange);
    padding: 12px 15px;
    position: relative;
}

.mobile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.mobile-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
    text-decoration: none;
    font-size: 11px;
    gap: 4px;
    position: relative;
    padding-right: 15px;
}

.mobile-action-btn::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 25px;
    background-color: rgba(0,0,0,0.2);
}

.mobile-menu-btn {
    background: #000;
    border: none;
    color: #fff;
    padding: 8px 15px;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 2px;
}

.menu-icon span {
    display: block;
    width: 16px;
    height: 2px;
    background-color: #fff;
}

.mobile-action-btn i {
    font-size: 16px;
    margin-bottom: 2px;
}

/* Menu Mobile Sidebar */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 9999;
    transition: right 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    background: #000;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-header h2 {
    color: #fff;
    margin: 0;
    font-size: 18px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav {
    padding-bottom: 2rem;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.mobile-nav li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    text-transform: uppercase;
    font-family: var(--primary-font);
}

.mobile-nav .has-submenu i {
    font-size: 12px;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.mobile-phone, .mobile-livelink {
    color: #666 !important;
    font-size: 14px !important;
    margin-top: auto;
}

/* Ajuste do logo no mobile */
.mobile-header .navbar-brand img {
    max-height: 25px;
}

/* Responsividade */
@media (max-width: 768px) {
    .mobile-header {
        display: block;
    }
}

@media (max-width: 991px) {
    /* Esconde elementos desktop */
    .top-bar,
    .navbar,
    .navbar-collapse,
    .navbar-nav {
        display: none !important;
    }
    
    /* Mostra elementos mobile */
    .mobile-header {
        display: block;
    }
    
    /* Ajusta espaçamento dos botões de ação */
    .mobile-actions {
        gap: 15px;
    }
    
    /* Ajusta tamanho do logo */
    .mobile-header .navbar-brand img {
        max-height: 25px;
    }
}

/* Garante que elementos desktop não apareçam em mobile */
@media (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }
}

/* Estilo do submenu mobile */
.mobile-submenu {
    display: none;
    background-color: rgba(255,255,255,0.05);
}

.mobile-submenu a {
    padding: 1rem 1rem 1rem 2rem;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #999;
}

.mobile-submenu a:last-child {
    border-bottom: none;
}

/* Quando o submenu está ativo */
.mobile-nav li.active .has-submenu i {
    transform: rotate(90deg);
}

.mobile-nav li.active .mobile-submenu {
    display: block;
}

/* Classe para fixar o menu no topo */
.navbar.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transform: translateY(-120%);
}

/* Classe para mostrar o menu fixo */
.navbar.fixed-top.show {
    transform: translateY(0);
}

/* Ajuste para o mega menu acompanhar o navbar fixo */
.navbar.fixed-top .mega-menu {
    position: fixed;
    top: 78px;
    transition: opacity 0.3s ease;
}

/* Quando o menu está fixo e tem um dropdown aberto */
.navbar.fixed-top.show .mega-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Responsividade */
@media (max-width: 991px) {
    .hero-banner {
        height: 450px;
    }
    
    .hero-banner h1 {
        font-size: 42px;
    }
    
    .hero-banner p {
        font-size: 18px;
    }
}

/* Faixa de ações */
.action-bar {
    background-color: #1a1a1a;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 10rem;
}

.action-button {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 25px;
    font-weight: 500;
    transition: color 0.3s ease;
    text-align: center;
    padding: 2px;
}

.action-button i {
    color: var(--jcb-orange);
    font-size: 30px; /* Aumentado de 18px para 30px */
    margin-bottom: 0;
}

.action-button:hover {
    color: var(--jcb-orange);
    text-decoration: none;
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        padding: 0 1rem;
    }

    .action-button {
        font-size: 12px;
        padding: 5px;
        text-align: center;
        width: auto;
    }

    .action-button i {
        font-size: 25px; /* Aumentado também para mobile */
    }
}

@media (max-width: 480px) {
    .action-buttons {
        gap: 1rem;
    }
    
    .action-button {
        font-size: 11px;
    }
    
    .action-button i {
        font-size: 16px;
    }
}

/* Seção A Caminho do Zero */
.zero-path {
    background-color: #f5f5f5;
    padding: 4rem 0;
    margin-top: 4rem;
}

.zero-path-content {
    max-width: 1300px;
    margin: 0 auto;
}

.zero-path h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.zero-path p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.zero-path h2 a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.zero-path h2 a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: background-color 0.3s ease;
}

.zero-path h2 a:hover {
    color: var(--jcb-orange);
    text-decoration: none;
}

.zero-path h2 a:hover::after {
    background-color: var(--jcb-orange);
}

@media (max-width: 768px) {
    .zero-path {
        padding: 3rem 0;
        margin-top: 2rem;
    }
    
    .zero-path-content {
        padding: 0 1rem;
    }
    
    .zero-path h2 {
        font-size: 28px;
    }
    
    .zero-path p {
        font-size: 16px;
    }
}

/* Estilos para as filiais */
.footer-filiais {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-filiais .row {
    width: 100%;
    justify-content: center;
}

footer .row h4 {
    color: var(--jcb-orange);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

footer .row p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

footer .row strong {
    color: var(--jcb-orange);
    display: block;
    margin-top: 0.5rem;
}

/* Redes Sociais no Footer */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    color: var(--jcb-orange);
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #fff;
}

/* Media query para dispositivos móveis */
@media (max-width: 767px) {
    .hero-banner .carousel-item .banner-image {
        height: 500px;
    }

    .banner-image .container {
        position: absolute;
        bottom: auto;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
        margin: 0 20px;
        padding: 1.5rem;
        max-width: calc(100% - 40px);
        width: auto;
        border-left: none;
        border-top: 4px solid var(--jcb-orange);
        border-bottom: 4px solid var(--jcb-orange);
        background: rgba(0, 0, 0, 0.9);
    }

    .banner-image h1 {
        font-size: 28px;
        text-align: center;
        margin-bottom: 12px;
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .banner-image p {
        font-size: 16px;
        margin-bottom: 20px;
        text-align: center;
        line-height: 1.4;
        padding: 0;
    }

    .banner-image .btn-banner {
        display: inline-block;
        padding: 10px 0;
        font-size: 16px;
        white-space: nowrap;
    }
}

/* Media query para tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .banner-image .container {
        left: 5%;
        max-width: 500px;
    }

    .banner-image h1 {
        font-size: 42px;
    }

    .banner-image p {
        font-size: 20px;
    }
}

/* Classes específicas para o banner da index */
.index-banner .container {
    position: absolute;
    bottom: 20%;
    left: 5%;
    right: auto;
    transform: none;
    text-align: left;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding: 40px;
    max-width: 550px;
    background: rgba(0, 0, 0, 0.85);
    width: 100%;
    border-left: 4px solid var(--jcb-orange);
}

.index-banner .carousel-item .container {
    left: 5% !important;
    right: auto !important;
    transform: none !important;
    text-align: left !important;
}

.index-banner .carousel-item h1,
.index-banner .carousel-item p {
    text-align: left !important;
}

.index-banner h1 {
    font-size: 55px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
    text-align: left;
    margin-bottom: 15px;
}

.index-banner p {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: -0.5px;
    text-align: left;
    margin-bottom: 20px;
    line-height: 1.4;
}

@media (max-width: 767px) {
    /* Ajustes do banner e carousel */
    .carousel-item {
        position: relative !important;
        height: 100vh !important;
        display: flex !important;
        align-items: center !important;
    }

    .carousel-item .banner-image {
        height: 100vh !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
    }

    .carousel-item .container {
        position: relative !important; /* Mudado para relative */
        z-index: 10 !important;
        width: calc(100% - 40px) !important;
        max-width: 400px !important;
        margin: 0 auto !important; /* Centralizar horizontalmente */
        padding: 20px !important;
        background: rgba(0, 0, 0, 0.85) !important;
        border-top: 4px solid var(--jcb-orange) !important;
        border-bottom: 4px solid var(--jcb-orange) !important;
        text-align: center !important;
        transform: none !important; /* Removido o transform */
    }

    /* Ajuste da estrutura do carousel */
    .carousel, 
    .carousel-inner {
        height: 100vh !important;
    }

    .carousel-inner {
        display: flex !important;
        align-items: center !important;
    }

    /* Garantir que os textos fiquem visíveis e centralizados */
    .carousel-item h1,
    .carousel-item p {
        color: #fff !important;
        text-align: center !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        position: relative !important;
    }

    .carousel-item h1 {
        font-size: 28px !important;
        margin-bottom: 10px !important;
        line-height: 1.2 !important;
    }

    .carousel-item p {
        font-size: 15px !important;
        margin-bottom: 15px !important;
    }

    /* Ajuste do botão do banner */
    .carousel-item .btn-banner {
        display: inline-block !important;
        text-align: center !important;
        margin: 15px auto 0 !important;
        width: auto !important;
        min-width: 200px !important;
        color: #fff !important;
        border-color: #fff !important;
        padding: 10px 20px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Ajustes específicos para telas muito pequenas */
@media (max-width: 360px) {
    .index-banner .container {
        width: 95% !important;
        padding: 15px !important;
    }

    .index-banner h1 {
        font-size: 24px;
    }

    .index-banner p {
        font-size: 14px;
    }
}

/* Banner Principal do Agronegócio */
.product-hero {
    height: 600px;
    background-image: url('../images/produtos/manipuladores-telescopicos/banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-top: 400px;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content h1 {
    color: #fff;
    font-size: 64px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    display: inline-block;
}

/* Botões de Ação */
.action-buttons {
    background-color: #1a1a1a;
    padding: 25px 0;
}

.buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    border: none;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.action-button:hover {
    color: var(--jcb-orange);
    text-decoration: none;
}

/* Introdução do Agronegócio */
.agro-intro {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.agro-intro h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--jcb-orange);
    text-transform: uppercase;
    margin: 0;
}

.agro-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #fff;
    margin: 0;
    margin-bottom: 20px;
}

.agro-intro p:last-child {
    margin-bottom: 0;
}

/* Responsivo */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
        text-align: center;
    }
    
    .buttons-wrapper {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .action-button {
        width: 100%;
        justify-content: center;
    }
    
    .agro-intro {
        padding: 40px 0;
    }
    
    .agro-intro h2 {
        margin-bottom: 20px;
        text-align: center;
    }
}

/* Botões de Ação */
.action-buttons {
    background-color: #1a1a1a;
    padding: 25px 0;
}

.buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    border: none;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.action-button:hover {
    color: var(--jcb-orange);
    text-decoration: none;
}

/* Responsivo */
@media (max-width: 768px) {
    .buttons-wrapper {
        flex-direction: row;
        padding: 0 20px;
        gap: 20px;
    }
    
    .action-button {
        width: auto;
        justify-content: center;
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .buttons-wrapper {
        gap: 10px;
    }
    
    .action-button {
        font-size: 12px;
        padding: 10px 15px;
    }
}

/* Estilos para a página de Carreira */
.career-hero {
    background-color: #1a1a1a;
    padding: 60px 0;
    text-align: center;
}

.career-hero h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.career-content {
    padding: 80px 0;
}

.career-text {
    margin-bottom: 60px;
}

.career-text .main-text {
    font-size: 24px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
    font-weight: 300;
}

.career-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.career-contact {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 60px;
    text-align: center;
}

.career-contact h2 {
    color: var(--jcb-orange);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.career-contact p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--jcb-orange);
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #fff;
    text-decoration: none;
}

.career-notice {
    background-color: #f5f5f5;
    padding: 40px;
    border-radius: 8px;
}

.career-notice h3 {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.career-notice p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.career-notice p:last-child {
    margin-bottom: 0;
}

/* Responsivo */
@media (max-width: 768px) {
    .career-hero {
        padding: 40px 0;
    }

    .career-hero h1 {
        font-size: 32px;
    }

    .career-content {
        padding: 40px 0;
    }

    .career-text .main-text {
        font-size: 20px;
    }

    .career-contact {
        padding: 30px 20px;
    }

    .career-contact h2 {
        font-size: 28px;
    }

    .email-link {
        font-size: 20px;
    }

    .career-notice {
        padding: 30px 20px;
    }
}

/* Estilos para Road to Zero */
.roadtozero-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.roadtozero-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Overlay escuro para melhor legibilidade do texto */
}

.roadtozero-hero h1 {
    color: #fff;
    position: relative;
    z-index: 1;
    font-size: 3em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.roadtozero-intro {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.roadtozero-intro h2 {
    color: var(--jcb-orange);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.roadtozero-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline */
.timeline {
    padding: 100px 0;
    background-color: #1a1a1a;
    position: relative;
}

.timeline-items {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.timeline-items::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: calc(100% - 100px);
    background: linear-gradient(to bottom, 
        transparent,
        var(--jcb-orange) 10%,
        var(--jcb-orange) 90%,
        transparent
    );
    margin-top: 50px;
}

.timeline-item {
    position: relative;
    margin-bottom: 120px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    position: absolute;
    top: 20px;
    right: calc(50% + 30px);
    background-color: var(--jcb-orange);
    color: #fff;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 20px;
    z-index: 2;
    transform: translateY(-50%);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.timeline-item:nth-child(even) .timeline-year {
    right: auto;
    left: calc(50% + 30px);
}

.timeline-content {
    width: 45%;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 30px;
    height: 3px;
    background-color: var(--jcb-orange);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-right: calc(50% + 30px);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-left: calc(50% + 30px);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
}

.timeline-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.timeline-text {
    margin-top: 30px;
    padding: 0 20px;
}

.timeline-content h3 {
    color: var(--jcb-orange);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.timeline-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    margin: 0;
}

/* Hover Effects */
.timeline-content:hover .timeline-image img {
    transform: scale(1.05);
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--jcb-orange);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(252, 174, 38, 0.2);
}

/* Responsivo */
@media (max-width: 991px) {
    .timeline-items {
        padding: 0 20px;
    }

    .timeline-items::before {
        left: 20px;
    }

    .timeline-item::after {
        left: 20px;
    }

    .timeline-year {
        left: 50px !important;
        right: auto !important;
        top: 0;
    }

    .timeline-content {
        width: calc(100% - 70px);
        margin-left: 70px !important;
    }

    .timeline-content::before {
        left: -30px !important;
        right: auto !important;
    }
}

@media (max-width: 576px) {
    .timeline-image {
        height: 200px;
    }

    .timeline-year {
        font-size: 16px;
        padding: 6px 15px;
    }

    .timeline-content h3 {
        font-size: 20px;
    }
}

/* Ajustes para mobile */
@media (max-width: 767px) {
    /* Ajuste do header mobile */
    .mobile-header {
        width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Ajustes da action bar */
    .action-bar {
        padding: 0.8rem 0 !important;
        background-color: #1a1a1a !important;
    }

    .action-buttons {
        display: flex !important;
        justify-content: center !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
    }

    .action-button {
        color: #fff !important;
        text-decoration: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.3rem !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        padding: 5px !important;
    }

    .action-button i {
        color: var(--jcb-orange) !important;
        font-size: 18px !important;
        margin-bottom: 2px !important;
    }

    /* Ajustes do banner */
    .index-banner {
        height: 60vh !important;
        width: 100% !important;
        overflow: hidden !important;
        position: relative !important;
    }

    .carousel,
    .carousel-inner {
        height: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .carousel-item {
        height: 100% !important;
        width: 100% !important;
        display: none !important;
    }

    .carousel-item.active {
        display: block !important;
    }

    .carousel-item .banner-image {
        height: 100% !important;
        width: 100% !important;
        position: relative !important;
    }

    .carousel-item .banner-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .index-banner .container {
        position: absolute !important;
        z-index: 2 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 20% !important;
        transform: none !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 20px !important;
        padding: 20px !important;
        background: #000 !important;
        border: none !important;
        border-left: 4px solid var(--jcb-orange) !important;
        text-align: left !important;
    }

    .index-banner h1 {
        font-size: 32px !important;
        text-align: left !important;
        margin-bottom: 8px !important;
        line-height: 1.2 !important;
        letter-spacing: -1px !important;
        color: #fff !important;
        width: 100% !important;
        text-transform: uppercase !important;
    }

    .index-banner p {
        font-size: 16px !important;
        margin-bottom: 15px !important;
        text-align: left !important;
        line-height: 1.4 !important;
        color: #fff !important;
        width: 100% !important;
        font-weight: 300 !important;
    }

    .index-banner .btn-banner {
        display: inline-block !important;
        margin: 0 !important;
        text-align: left !important;
        color: #fff !important;
        border-color: #fff !important;
        font-size: 14px !important;
        padding-bottom: 5px !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        border-bottom: 1px solid #fff !important;
    }

    /* Ajustes dos indicadores do carousel */
    .carousel-indicators {
        bottom: 10px !important;
        margin-bottom: 0 !important;
        z-index: 5 !important;
    }

    .carousel-indicators button {
        width: 8px !important;
        height: 8px !important;
        border-radius: 50% !important;
        background-color: #fff !important;
        margin: 0 4px !important;
        opacity: 0.7 !important;
    }

    .carousel-indicators button.active {
        background-color: var(--jcb-orange) !important;
        opacity: 1 !important;
        transform: scale(1.2) !important;
    }

    /* Melhorar transição do carousel */
    .carousel-fade .carousel-item {
        opacity: 0 !important;
        transition: none !important;
    }

    .carousel-fade .carousel-item.active {
        opacity: 1 !important;
        z-index: 1 !important;
    }

    .carousel-item-next.carousel-item-start,
    .carousel-item-prev.carousel-item-end {
        transition: opacity .6s ease-in-out !important;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 360px) {
    .index-banner .container {
        margin: 0 15px !important;
        padding: 15px !important;
    }

    .index-banner h1 {
        font-size: 28px !important;
    }

    .index-banner p {
        font-size: 14px !important;
    }

    .index-banner .btn-banner {
        font-size: 13px !important;
    }

    .action-buttons {
        gap: 1rem !important;
    }
    
    .action-button {
        font-size: 11px !important;
    }
    
    .action-button i {
        font-size: 16px !important;
    }
}

/* Garantir que não haja overflow horizontal em nenhum breakpoint */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.finance-benefits {
    padding: 4rem 0;
    background-color: #1a1a1a;
}

.finance-benefits .container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-header {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-header h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background-color: #262626;
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    border: 1px solid var(--jcb-orange);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    color: var(--jcb-orange);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.benefit-card p {
    color: var(--jcb-orange);
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 991px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .finance-benefits {
        padding: 3rem 0;
    }

    .benefits-header h2 {
        font-size: 1.4rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .benefit-card h3 {
        font-size: 1.1rem;
    }
}

/* Página de Contato */
.contact-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/banners/contato-banner.jpg');
    height: 300px;
}

.contact-banner .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-banner h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-banner p {
    color: #fff;
    font-size: 1.2rem;
}

/* Seção do Mapa */
.map-section {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.map-title {
    text-align: center;
    color: #000;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.map-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    height: 600px;
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.branches-list {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    overflow-y: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.branch-item {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
}

.branch-item:last-child {
    border-bottom: none;
}

.branch-item.active {
    background-color: #f8f9fa;
    border-left: 4px solid var(--jcb-orange);
}

.branch-item h3 {
    color: #000;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.branch-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.branch-item strong {
    color: var(--jcb-orange);
    display: block;
    margin-top: 0.5rem;
}

/* Formulário de Contato */
.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background-color: var(--jcb-orange);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.submit-button:hover {
    background-color: #000;
    color: #fff;
}

/* Informações de Contato */
.contact-info {
    background: #000;
    padding: 2rem;
    border-radius: 8px;
    color: #fff;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.phone-number i {
    font-size: 2rem;
    color: var(--jcb-orange);
}

.phone-number h2 {
    font-size: 1.8rem;
    margin: 0;
}

.address {
    margin-bottom: 2rem;
}

.address h3 {
    color: var(--jcb-orange);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.address p {
    line-height: 1.6;
    margin: 0;
}

.lgpd p {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

/* Captcha */
#captcha-container {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

#captcha-question {
    font-size: 1rem;
    color: #000;
    margin-right: 1rem;
}

/* Responsividade */
@media (max-width: 991px) {
    .map-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    #map {
        height: 400px;
    }

    .branches-list {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-banner {
        height: 200px;
    }

    .contact-banner h1 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .submit-button {
        width: 100%;
    }

    .phone-number h2 {
        font-size: 1.5rem;
    }
}