/* style.css */
:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #C8E6C9;
    --secondary-color: #FF9800;
    --dark-color: #2E7D32;
    --light-color: #F1F8E9;
    --text-color: #212121;
    --text-light: #757575;
    --white: #FFFFFF;
    --gray: #F5F5F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    scroll-behavior: smooth;
    font-family: "Montserrat", sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 1.6;
    margin-top: 4px;
}

.logo h2 {
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: -10px;
    line-height: 1.3;
}

.logo img {
    height: 60px;
    padding-right: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.login-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    margin-left: 15px;
}

.nav-link.sino::after {
    display: none;
}

.nav-link.login-button:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

/* Remover sublinhado do botão login */
.nav-link.no-underline::after {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('img/Campo.jpg');
    background-size: cover;
    background-position: top;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-family: "Zalando Sans SemiExpanded", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    text-shadow: #212121 0px 10px 30px;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: transparent;
    cursor: pointer;
}

#btn-vender{
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
    text-align: center;
    justify-content: center;
}

#btn-vender:hover {
    background-color: var(--white);
    color: var(--text-color);
    cursor: pointer;
}

.cta-button.secondary:hover {
    background-color: var(--white);
    color: var(--text-color);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    font-family: "Zalando Sans SemiExpanded", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.bg-light {
    background-color: var(--light-color);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0px;
    color: var(--dark-color);
}

/* Limitação de texto da descrição do produto - VERSÃO CORRIGIDA */
.product-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    /* Propriedades para limitar o texto */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-clamp: 1; /* Propriedade padrão adicionada */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 2.8em;
}

.price {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.buy-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 10px 0px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
    font-family: "Montserrat", sans-serif;
}

.buy-btn:hover {
    background-color: #F57C00;
}

.acessar-plataforma-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.acessar-plataforma-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Sell Section */
.sell-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.sell-text {
    flex: 1;
}

.sell-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    line-height: 1.2;
}

.sell-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.benefits-list {
    margin: 20px 0 30px;
    list-style: none;
}

.benefits-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.sell-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--light-color);
    height: 500px;
    max-width: 48%;
    padding: 0px 30px;
}

.logo-large img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    scale: 0.8;
}

.logo-large h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0;
}

.logo-large h2 {
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: -10px;
    color: var(--dark-color);
}

/* Transport Section */
.transport-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.transport-image {
    border-radius: 10px;
    overflow: hidden;
    max-width: 48%;
    height: 620px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
}

.transport-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.transport-image:hover img {
    transform: scale(1.05);
}

.transport-text {
    flex: 1;
}

.transport-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-family: "Montserrat", sans-serif;  
}

.transport-text p {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.transport-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
    margin-top: 30px;
}

.feature {
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

#messageGroup {
    display: none;
}

.end {
    display: flex;
    justify-content: end;
}

#submitOther {
    display: none;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-form {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    color: var(--primary-light);
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-logo h3 {
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: -5px;
}

.footer-logo p {
    margin-top: 10px;
    color: var(--primary-light);
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
}

/* Sistema de múltiplas etapas */
.multi-step-form {
    position: relative;
}

.progress-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.progress-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #ddd;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Botões de navegação */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.step-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-prev {
    background: #f5f5f5;
    color: var(--text-color);
}

.btn-next, .btn-submit {
    background: var(--primary-color);
    color: white;
}

.btn-ajax-submit {
    background-color: var(--primary-color);
    color: white;
}

.btn-prev:hover {
    background: #e0e0e0;
}

.btn-next:hover, .btn-submit:hover {
    background: var(--primary-dark);
}

/* Loading state para o botão de buscar CEP */
button[onclick*="buscarCEP"] {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap;
}

button[onclick*="buscarCEP"]:hover {
    background: var(--primary-dark) !important;
}

button[onclick*="buscarCEP"]:disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
}

/* Grupo de campos em linha */
.form-group-row {
    display: flex;
    gap: 15px;
}

.form-group-row .form-group {
    flex: 1;
}

/* Estilo para campos com máscara */
input:valid {
    border-color: var(--primary-light);
}

input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #ff6b6b;
}

/* Indicador de campo obrigatório */
.required::after {
    content: " *";
    color: #ff6b6b;
}

/* =============================================== */
/* CARROSSEL CORRIGIDO - SEM CORTES */
/* =============================================== */

.carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto 30px;
}

.carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 25px;
    padding: 10px 5px;
    width: max-content;
}

/* Cartão de produto - mantém o estilo original mas ajusta flex */
.carousel-track .product-card {
    flex: 0 0 auto;
    width: 280px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.carousel-track .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.carousel-track .product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.badge-desconto {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 10;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.price-original {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.economia-info {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #4CAF50;
    font-size: 0.85em;
    margin-top: 5px;
}

.economia-info i {
    font-size: 0.9em;
}

/* Responsividade para badges */
@media (max-width: 768px) {
    .badge-desconto {
        padding: 4px 8px;
        font-size: 0.8rem;
        top: 8px;
        left: 8px;
    }
    
    .price-display {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 5px;
    }
}

/* Estado de carregamento */
.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-style: italic;
    width: 100%;
}

/* Navegação simplificada */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.nav-btn {
    background: var(--primary-color);
    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: 18px;
    font-weight: bold;
}

.nav-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.nav-btn:active {
    transform: scale(0.95);
}

/* Pontos de navegação */
.carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: #bbb;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    width: 20px;
    border-radius: 10px;
}

/* Badge de estoque */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}
/* =============================================== */
/* MEDIA QUERIES - MOBILE FIRST                   */
/* =============================================== */

@media screen and (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.6rem;
        padding: 0 10px;
    }
    
    .hero-text {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Extra small devices (phones, 480px and down) */
@media screen and (max-width: 480px) {
    .carousel-track .product-card {
        width: 240px;
    }
    
    .carousel-nav {
        gap: 15px;
    }

    .hero-content {
        padding: 0 15px;
    }
    
    .hero-buttons .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .sell-image {
        height: 250px;
        padding: 15px;
    }

    .transport-image {
        max-height: 280px;
        aspect-ratio: 4/3;
    }

    .transport-text .cta-button,
    .sell-text .cta-button {
        padding: 10px 15px;
        font-size: 0.85rem;
        min-width: 160px;
    }
    
    .logo-large img {
        max-width: 200px;
        scale: 0.8;
    }

    .cep-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    
    .icon-wrapper {
        position: relative;
        display: inline-block;
    }

    .nav-link .icon-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
    }
    
    .notificacao-badge {
        top: -5px;
        right: -5px;
        padding: 2px 5px;
        font-size: 0.6em;
        min-width: 16px;
        height: 16px;
        line-height: 1.2;
    }
    
    /* Ajuste o menu mobile para não cortar a badge */
    .nav-menu.active .nav-item {
        margin: 12px 0;
    }
    
    .nav-menu.active .nav-link {
        padding: 10px 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Small devices (phones, 576px and down) */
@media screen and (max-width: 576px) {
    .hero {
        height: 70vh;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-buttons .cta-button,
    #btn-vender {
        width: 100%;
        max-width: 280px;
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .transport-image {
        max-height: 350px;
        aspect-ratio: 4/3;
    }

    .transport-text .cta-button,
    .sell-text .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 180px;
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .cta-button {
        display: block;
        margin: 10px auto;
        width: 80%;
        max-width: 250px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-row {
        flex-direction: column;
        gap: 0;
    }
    
    #sellerFields, #transportadorFields {
        padding: 15px;
    }
    
    button[onclick*="buscarCEP"] {
        width: 100%;
        margin-top: 10px;
    }
    
    .step-navigation {
        flex-direction: column;
    }
    
    .step-btn {
        width: 100%;
    }
    
    .progress-indicator {
        margin-bottom: 20px;
    }
    
    .progress-step {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .acessar-plataforma-btn {
        width: 80%;
        max-width: 250px;
        margin: 40px auto 0;
        display: block;
    }

    .cep-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* Medium devices (tablets, 768px and down) */
@media screen and (max-width: 768px) {
    .logo h1 {
        font-size: 1.5rem !important;
        line-height: 1.4;
        margin-top: 8px;
    }
    
    .logo h2 {
        font-size: 1.1rem !important;
        margin-top: -7px;
        line-height: 1.2;
    }

    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .sell-image {
        padding: 20px;
        height: 300px;
    }
    
    .logo-large img {
        max-width: 250px;
        scale: 0.9;
    }

    .transport-image {
        max-height: 350px;
        aspect-ratio: 4/3;
    }

    .transport-text .cta-button,
    .sell-text .cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
        width: auto;
        display: inline-block;
        min-width: 200px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        margin-top: 18px;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 16px 0;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }
    
    .hero-buttons .cta-button,
    #btn-vender {
        width: 90%;
        max-width: 280px;
        margin: 0 auto;
        text-align: center;
        display: block;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .carousel-track .product-card {
        width: 260px;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .form-group-row {
        flex-direction: column;
        gap: 0;
    }
    
    .cep-btn {
        width: 100%;
        padding: 10px;
        font-size: 0.9rem;
        white-space: normal;
        word-break: break-word;
        margin-top: 10px;
    }
    
    /* Container do CEP */
    .form-group > div {
        flex-direction: column;
    }
    
    .form-group > div input {
        margin-bottom: 10px;
    }
}

/* Large devices (desktops, 992px and down) */
@media screen and (max-width: 992px) {
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 16px 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 12px 0;
        width: 100%;
    }
    
    .nav-link.login-button {
        margin: 10px auto;
        width: 80%;
        max-width: 200px;
    }
    
    .sell-text,
    .transport-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .sell-text .cta-button,
    .transport-text .cta-button {
        margin: 20px auto 0;
        display: inline-block;
        width: auto;
        min-width: 220px;
        text-align: center;
    }

    .sell-content,
    .transport-content,
    .contact-content {
        flex-direction: column;
    }
    
    .sell-content {
        gap: 30px;
    }
    
    .sell-image {
        max-width: 100%;
        height: auto;
        padding: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logo-large img {
        max-width: 300px;
        height: auto;
        margin: 0 auto;
        display: block;
        scale: 1;
    }

    .transport-content {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .transport-image {
        max-width: 100%;
        width: 100%;
        height: auto;
        max-height: 400px;
    }
    
    .transport-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        justify-content: space-between;
    }
}

/* Extra large devices (large desktops, 1200px and down) */
@media screen and (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

/* =============================================== */
/* RESPONSIVE UTILITIES                           */
/* =============================================== */

/* Hide on mobile */
@media screen and (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
}

/* Hide on desktop */
@media screen and (min-width: 769px) {
    .hide-on-desktop {
        display: none !important;
    }
}

/* Stack elements on mobile */
@media screen and (max-width: 576px) {
    .stack-mobile {
        flex-direction: column !important;
    }
    
    .stack-mobile > * {
        width: 100% !important;
        margin-bottom: 15px;
    }
}

/* Adjust font sizes for better readability on mobile */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    p, li, a {
        font-size: 0.95rem !important;
    }
}

/* Adjust padding for mobile */
@media screen and (max-width: 576px) {
    .section {
        padding: 50px 0 !important;
    }
    
    .container {
        padding: 0 20px !important;
    }
}

/* Fix for iOS Safari viewport */
@supports (-webkit-touch-callout: none) {
    .hero {
        height: calc(80vh - env(safe-area-inset-top));
    }
}

/* Notificações */
.notificacao-badge {
    background-color: #f44336;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7em;
    position: absolute;
    top: -5px;
    right: -5px;
}


/* Estilos para o formulário de registro */
.form-help {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    color: #666;
}

.cep-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.cep-btn:hover {
    background-color: #218838;
}

.step-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.step-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.btn-prev {
    background-color: #6c757d;
}

.btn-prev:hover {
    background-color: #5a6268;
}

.required::after {
    content: " *";
    color: #dc3545;
}

/* Validação visual */
input:invalid, select:invalid, textarea:invalid {
    border-color: #ff6b6b !important;
}

input:valid, select:valid, textarea:valid {
    border-color: #28a745 !important;
}

/* Animações para as etapas */
.step-content {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==============================
   ESTILOS PARA O FORMULÁRIO MULTI-STEP
   ============================== */

/* Radio buttons customizados */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.radio-label:hover {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.05);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #666;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #4CAF50;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-text {
    font-size: 16px;
    color: #333;
}

/* Containers para CEP e Placa com botão */
.cep-container,
.placa-container {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.cep-container input,
.placa-container input {
    flex: 1;
}

.cep-btn,
.placa-btn {
    padding: 10px 15px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.cep-btn:hover,
.placa-btn:hover {
    background: #0056b3;
}

.cep-btn:disabled,
.placa-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Estilos para o multi-step form */
.multi-step-form {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.progress-indicator {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: default;
}

.progress-step.active {
    background: #4CAF50;
    color: white;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

.step-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navegação entre passos */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.step-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-prev {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.btn-prev:hover {
    background: #e9ecef;
    color: #333;
}

.btn-next,
.btn-ajax-submit {
    background: #4CAF50;
    color: white;
}

.btn-next:hover,
.btn-ajax-submit:hover {
    background: #3d8b40;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

/* Estilos para selects desabilitados */
select:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border-color: #ddd;
}

select:disabled option {
    color: #999;
}

/* Ajustes para responsividade */
@media (max-width: 768px) {
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .radio-label {
        padding: 8px 12px;
    }
    
    .cep-container,
    .placa-container {
        flex-direction: column;
    }
    
    .cep-btn,
    .placa-btn {
        width: 100%;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-btn {
        width: 100%;
        text-align: center;
    }
    
    .progress-indicator {
        gap: 10px;
    }
    
    .progress-step {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* Estilos para ajuda do formulário */
.form-help {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.form-help.italic {
    font-style: italic;
    color: #888;
}

/* Estilo para campos obrigatórios */
.required::after {
    content: " *";
    color: #ff6b6b;
}

/* Mensagens de validação */
input:invalid,
select:invalid,
textarea:invalid {
    border-color: #ff6b6b;
}

input:valid,
select:valid,
textarea:valid {
    border-color: #4CAF50;
}

/* Botão de envio principal */
.cta-button {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.2);
    background: linear-gradient(135deg, #3d8b40 0%, #1B5E20 100%);
}

.cta-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Ajustes para formulário em geral */
.form-group {
    margin-bottom: 20px;
}

.form-group-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .form-group-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* Labels do formulário */
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

/* Inputs, selects e textareas */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Adicione ao seu CSS existente */

/* Melhorias para os botões de busca */
.placa-btn {
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.placa-btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.placa-btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Feedback visual para botões */
.placa-btn.success {
    background-color: #4CAF50 !important;
}

.placa-btn.error {
    background-color: #f44336 !important;
}

.placa-btn.loading {
    background-color: #ff9800 !important;
}

/* Placeholder dinâmico */
input::placeholder {
    color: #888;
    transition: color 0.3s ease;
}

input:focus::placeholder {
    color: #ccc;
}

/* Mensagens de ajuda destacadas */
.form-help.important {
    color: #2196F3;
    font-weight: 500;
}

/* Contador de caracteres */
.char-counter {
    font-size: 12px;
    color: #666;
    text-align: right;
    margin-top: 5px;
}

.char-counter.warning {
    color: #ff9800;
}

.char-counter.error {
    color: #f44336;
}

/* Indicador de campo opcional */
.optional-label:after {
    content: " (opcional)";
    color: #666;
    font-weight: normal;
    font-style: italic;
}

/* =============================================== */
/* ESTILOS PARA BUSCA AUTOMÁTICA DE CEP           */
/* =============================================== */

/* Estados do botão de CEP */
.cep-btn.loading {
    background-color: #ff9800 !important;
    cursor: wait !important;
}

.cep-btn.success {
    background-color: #4CAF50 !important;
}

.cep-btn.error {
    background-color: #f44336 !important;
}

/* Feedback visual para campos preenchidos automaticamente */
input.cep-preenchido {
    background-color: #f0fff0 !important;
    border-color: #4CAF50 !important;
    transition: all 0.5s ease;
}

/* Indicador de busca automática */
.cep-auto-indicator {
    font-size: 11px;
    color: #666;
    margin-top: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cep-auto-indicator.visible {
    opacity: 1;
}

/* Container para CEP com ícone */
.cep-container {
    position: relative;
}

.cep-container i {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    pointer-events: none;
}

.cep-container input:focus + i {
    color: #4CAF50;
}

/* Animações */
@keyframes cepSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.cep-success-animation {
    animation: cepSuccess 0.5s ease;
}

/* Responsividade para busca automática */
@media (max-width: 768px) {
    .cep-auto-indicator {
        font-size: 10px;
    }
    
    .cep-container i {
        display: none;
    }
}