<style>
:root {
    --bus-blue: #0e6c61;
    --bus-blue-dark: #0a5148;
    --bus-blue-light: #0e6c6180;
    --bus-orange: #ffffff;
    --bus-orange-light: #ffffff80;
    --bus-gray: #000000;
    --bus-gray-light: #f8fafc;
    --bus-gray-dark: #374151;
    --white: #ffffff;
    --black: #000000;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================
   CSS extraído de 111.txt
   ============================= */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    :root {
        --bus-blue: #0e6c61;
        --bus-blue-light: #0e6c6180;
        --bus-blue-dark: #0a5148;
        --bus-orange: #ffffff;
        --bus-orange-light: #ffffff80;
        --bus-gray: #000000;
        --bus-gray-light: #f8fafc;
        --bus-gray-dark: #374151;
        --white: #ffffff;
        --black: #000000;
        --border: #e5e7eb;
        --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
        --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
        --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        line-height: 1.7;
        color: var(--bus-gray-dark);
        background: linear-gradient(to bottom, hsl(0, 0%, 100%), hsl(208, 100%, 97%));
        font-size: 18px; /* Aumentado de 16px para 18px */
    }

    .container {
        max-width: 1400px; /* Aumentado de 1200px para 1400px para melhor aproveitamento */
        margin: 0 auto;
        padding: 0 2rem; /* Aumentado padding */
    }

    

    /* Hero Section */
    .hero {
        padding: 0;
        position: relative;
        overflow: hidden;
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        min-height: 70vh;
        display: flex;
        align-items: center;
                background: var(--bus-blue);
            }

.service-card {
    cursor: default;
    display: flex;
    flex-direction: column;
    /* Mantenha seus estilos atuais do service-card */
}

input[type="date"].form-input {
    -webkit-appearance: none; /* remove estilo nativo iOS */
    appearance: none;

    width: 100%;
    min-height: 60px;
    height: 60px;
    padding: 0 1.5rem 0 2.75rem;

    font-size: 1rem;      /* 🔹 tamanho da fonte */
    font-weight: 500;     /* 🔹 peso (normal, bold etc.) */
    color: #333;          /* 🔹 cor do texto */
    letter-spacing: 0.5px;/* 🔹 espaço entre letras */
    text-align: left;     
    text-align-last: left;
    display: flex;
    align-items: center;
    line-height: 1;
    box-sizing: border-box;
}




    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.1);
        z-index: 1;
    }

    .hero-content {
        display: none;
    }

    .hero h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.4rem;
        opacity: 0.95;
        font-weight: 300;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    /* Highlight Box Section */
    .highlight-box-section {
        padding: 3rem 0;
        background: linear-gradient(135deg, var(--bus-blue), var(--bus-blue-dark));
        position: relative;
        overflow: hidden;
    }

    .highlight-box-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        opacity: 0.3;
    }

    .highlight-box {
        background: var(--white);
        border-radius: 1.5rem;
        padding: 2.5rem;
        display: flex;
        align-items: center;
        gap: 2rem;
        box-shadow: var(--shadow-xl);
        position: relative;
        z-index: 1;
        max-width: 1200px;
        margin: 0 auto;
        transition: var(--transition);
    }

    .highlight-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.3);
    }

    .highlight-icon {
        flex-shrink: 0;
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, var(--bus-blue), var(--bus-orange));
        border-radius: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        color: var(--white);
        box-shadow: var(--shadow-lg);
    }

    .highlight-content {
        flex: 1;
    }

    .highlight-title {
        font-size: 2rem;
        font-weight: 700;
        color: var(--bus-blue);
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    .highlight-description {
        font-size: 1.1rem;
        color: var(--bus-gray);
        line-height: 1.6;
        margin: 0;
    }

    .highlight-button {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        background: var(--bus-blue);
        color: var(--white);
        padding: 1.25rem 2rem;
        border-radius: 0.75rem;
        font-weight: 600;
        font-size: 1.1rem;
        text-decoration: none;
        transition: var(--transition);
        box-shadow: var(--shadow);
        white-space: nowrap;
    }

    .highlight-button:hover {
        background: var(--bus-blue-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    .highlight-button i {
        font-size: 1.2rem;
    }

    @media (max-width: 768px) {
        .highlight-box {
            flex-direction: column;
            text-align: center;
            padding: 2rem 1.5rem;
        }

        .highlight-icon {
            width: 70px;
            height: 70px;
            font-size: 2rem;
        }

        .highlight-title {
            font-size: 1.5rem;
        }

        .highlight-description {
            font-size: 1rem;
        }

        .highlight-button {
            width: 100%;
            justify-content: center;
        }
    }

    /* Booking Section */
    .booking-section {
    position: relative;
    z-index: 20;
    margin-top: -550px; /* Sobreposição ainda maior - comendo mais do banner */
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.03) 0%, rgba(30, 64, 175, 0.08) 100%);
    padding: 4rem 2rem 4rem 2rem;
    padding-top: calc(4rem + 550px); /* Adiciona padding-top para compensar a sobreposição */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .booking-card {
    background: var(--white);
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(30, 64, 175, 0.1);
    padding: 4rem;
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    border: 3px solid var(--bus-blue);
    position: relative;
    z-index: 30;
    overflow: hidden;
}

    .booking-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, var(--bus-blue) 0%, var(--bus-orange) 50%, var(--bus-blue) 100%);
        z-index: 1;
    }

    .booking-header {
        text-align: center;
        margin-bottom: 3rem;
        padding-bottom: 2.5rem;
        position: relative;
    }

    .booking-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 120px;
        height: 4px;
        background: linear-gradient(90deg, transparent, var(--bus-blue), transparent);
        border-radius: 2px;
    }

    .booking-title {
        font-size: 2.5rem;
        font-weight: 800;
        background: linear-gradient(135deg, var(--bus-blue) 0%, var(--bus-blue-dark) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 1rem;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    .booking-description {
        font-size: 1.15rem;
        color: var(--bus-gray-dark);
        line-height: 1.7;
        margin: 0;
        font-weight: 500;
    }

.form-group {
        margin-bottom: 1rem; /* Reduzido de 1.5rem */
    }

    .date-passenger-grid {
        margin-top: -1rem !important; /* Reduzido de 2rem */
    }

    .form-grid {
    display: grid;
    grid-template-columns: 2fr auto 2fr 2fr 2fr auto; /* Origem, trocar, destino, ida, volta, passageiros/buscar */
    gap: 0.75rem;
    align-items: end;
}

.form-label {
    display: none; /* Oculta os labels que estão acima */
}

    @media (min-width: 768px) {
        .form-grid {
            grid-template-columns: 2fr auto 2fr;
        }
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-label {
        display: block;
        font-weight: 600;
        margin-bottom: 0.75rem;
        color: var(--bus-gray-dark);
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    font-size: 1rem;
    cursor: text;
    transition: var(--transition);
    background: var(--white);
    color: #333;
    z-index: 50;
}

    /* Estilos específicos para inputs dentro do booking-card */
    .booking-card .form-input {
        border: 2px solid var(--border);
        border-radius: 0.875rem;
        padding: 0.5rem 1.5rem 0 2.75rem;
        height: 60px;
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        line-height: 1;
        box-sizing: border-box;
    }

    .booking-card .form-input:focus {
        outline: none;
        border-color: var(--bus-blue);
        box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
        background: var(--white);
    }

    .booking-card .icon-location,
    .booking-card .icon-calendar {
        position: absolute;
        left: 1rem;
        top: 55%;
        transform: translateY(-50%);
        width: 1.25rem;
        height: 1.25rem;
        color: var(--bus-blue) !important;
        transition: color 0.3s ease;
        pointer-events: none;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .booking-card .form-group:focus-within .icon-location,
    .booking-card .form-group:focus-within .icon-calendar {
        color: var(--bus-blue-dark) !important;
    }
    .floating-button-container {
    position: relative;
    z-index: 30;
    text-align: center;
    margin-top: -50px;
    margin-bottom: 30px;
}

.floating-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--bus-blue); /* Cor sólida em vez de gradiente */
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    animation: pulse 2s infinite;
    /* Removendo qualquer transparência */
    opacity: 1 !important;
}

.floating-button:hover {
    transform: translateY(-5px) scale(1.05);
}

    .form-input:focus {
        cursor: text;
        outline: none;
        border-color: var(--bus-blue);
        box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
        transform: translateY(-1px);
    }

    .form-input2 {
        width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    font-size: 1rem;
    cursor: text;
    transition: var(--transition);
    background: var(--white);
    color: var(--bus-gray-dark);
    z-index: 50;
    }

    .form-input2:focus {
        cursor: pointer;
        outline: none;
        border-color: var(--bus-blue);
        box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
        transform: translateY(-1px);
    }

    .autocomplete-container {
        position: relative;
    }

    .autocomplete-dropdown {
        position: absolute;
        top: 95%;
        left: 0;
        right: 0;
        background: var(--white);
        border: 2px solid var(--bus-blue);
        border-top: none;
        border-radius: 0 0 0.75rem 0.75rem;
        box-shadow: var(--shadow-lg);
        max-height: 200px;
        overflow-y: auto;
        z-index: 9 !important;
        display: none;
    }

    .autocomplete-dropdown.show {
        display: block;
    }

    .autocomplete-item {
        padding: 1rem 0.5rem;
        cursor: pointer;
        border-bottom: 1px solid #f3f4f6;
        font-size: 0.75rem;
        transition: var(--transition);
    }

    .autocomplete-item:hover {
        background: var(--bus-blue);
        color: var(--white);
    }

    .autocomplete-item:last-child {
        border-bottom: none;
    }

    .swap-btn {
        background: var(--white);
        border: 3px solid var(--bus-blue);
        color: var(--bus-blue);
        width: 3.5rem;
        height: 3.5rem;
        border-radius: 50%;
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        box-shadow: var(--shadow);
    }

    .icon-calendar {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--bus-gray-dark);
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Input com espaço para o ícone */
.form-input.has-icon {
    padding-left: 2.75rem; /* dá espaço para o ícone dentro do input */
    display: flex;
    align-items: center;
    line-height: 1;
}

    .swap-btn:hover {
        background: var(--bus-blue);
        color: var(--white);
        transform: rotate(180deg) scale(1.1);
    }

    /* Melhorias no swap-btn dentro do booking-card */
    .booking-card .swap-btn {
        background: var(--bus-blue);
        color: var(--white);
        border: 2px solid var(--bus-blue);
    }

    .booking-card .swap-btn:hover {
        background: var(--bus-blue-dark);
        border-color: var(--bus-blue-dark);
        box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    }

    .btn {
        padding: 1rem 2rem;
        border: none;
        border-radius: 0.75rem;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .btn-primary {
        background: var(--bus-blue);
        color: var(--white);
        box-shadow: var(--shadow);
    }

    .btn-primary:hover {
        background: var(--bus-blue-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    .btn-outline {
        background: var(--white);
        border: 2px solid var(--border);
        color: var(--bus-gray-dark);
    }

    .btn-outline:hover {
        background: var(--bus-gray-light);
        border-color: var(--bus-blue);
    }

    .btn-full {
        width: 100%;
        padding: 1.2rem;
    }

    /* Estilos específicos para botão dentro do booking-card */
    .booking-card .btn-full {
        background: linear-gradient(135deg, var(--bus-blue) 0%, var(--bus-blue-dark) 100%);
        color: var(--white);
        font-weight: 700;
        font-size: 1.1rem;
        padding: 1.5rem 2rem;
        border-radius: 1rem;
        box-shadow: 0 10px 25px -5px rgba(30, 64, 175, 0.4);
        border: none;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .booking-card .btn-full:hover {
        background: linear-gradient(135deg, var(--bus-blue-dark) 0%, var(--bus-blue) 100%);
        transform: translateY(-3px);
        box-shadow: 0 15px 35px -5px rgba(30, 64, 175, 0.5);
    }

    .booking-card .btn-full:active {
        transform: translateY(-1px);
    }

    /* Services Section */
    .services-section {
        padding: 0.5rem 0;
        background: var(--white);
        position: relative;
        overflow: hidden;
    }

    .services-section .container {
        max-width: 1400px;
    }

    /* Para telas muito grandes, ajustar cards */
    @media (min-width: 1600px) {
        .service-card {
            flex: 0 0 clamp(300px, calc(26% - 1rem), 360px);
            max-width: clamp(300px, calc(26% - 1rem), 360px);
        }
    }

    .section-header {
        text-align: center;
        margin-bottom: 4rem;
    }

    .section-title {
        font-size: 3.5rem; /* Aumentado de 3rem para 3.5rem */
        font-weight: 700;
        color: var(--bus-blue) !important; /* Cor azul como routes-section */
        margin-bottom: 1.5rem;
        position: relative;
        display: inline-block;
    }

    /* Título "Nossos Destinos" com tamanho maior */
    .section-title1 {
        font-size: 3.5rem !important; /* Mesmo tamanho das outras seções */
        font-weight: 700 !important;
        color: var(--bus-blue) !important; /* Cor azul como routes-section */
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -0.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, var(--bus-orange), var(--bus-blue));
        border-radius: 2px;
    }

    .section-subtitle {
        font-size: 1.5rem; /* Aumentado de 1.3rem para 1.5rem */
        color: var(--bus-gray);
        max-width: 600px;
        margin: 0 auto;
        font-weight: 300;
    }

    /* Garantir que todas as seções tenham o mesmo estilo de título da routes-section */
    .services-section .section-title,
    .faq-section .section-title,
    .bus-section .section-title,
    .social-equality-section .section-title,
    .destinations-section .section-title {
        font-size: 3.5rem !important;
        font-weight: 700 !important;
        color: var(--bus-blue) !important;
        margin-bottom: 1.5rem;
        position: relative;
        display: inline-block;
    }

    .services-section .section-title::after,
    .faq-section .section-title::after,
    .bus-section .section-title::after,
    .social-equality-section .section-title::after,
    .destinations-section .section-title::after {
        content: '';
        position: absolute;
        bottom: -0.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, var(--bus-orange), var(--bus-blue));
        border-radius: 2px;
    }

    .services-section .section-subtitle,
    .faq-section .section-subtitle,
    .bus-section .section-subtitle,
    .social-equality-section .section-subtitle,
    .destinations-section .section-subtitle {
        font-size: 1.5rem !important;
        color: var(--bus-gray) !important;
        max-width: 600px;
        margin: 0 auto;
        font-weight: 300;
    }

    .search-button-container {
  margin-top: 1.5rem; /* 🔹 Ajuste esse valor conforme quiser */
}

.search-button-container .btn {
  width: 100%;
  height: 52px;
  font-size: 1rem;
}

.services-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 70px; /* Espaço para as setas nas bordas */
    width: 100%;
    max-width: 100%;
}

.services-window {
    overflow-x: auto;
    overflow-y: hidden;
    flex: 1;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 1rem 0.5rem; /* Padding mínimo para os cards ficarem próximos das bordas */
}

.services-window::-webkit-scrollbar {
    display: none;
}

.services-window {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.services-grid {
    display: flex;
    --services-gap: 1.5rem;
    gap: var(--services-gap);
    width: max-content;
    align-items: stretch;
    padding: 0;
}

.services-nav {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bus-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: var(--transition);
    position: absolute;
    z-index: 10;
    flex-shrink: 0;
}

.services-nav.prev {
    left: 10px; /* Próximo da borda esquerda */
}

.services-nav.next {
    right: 10px; /* Próximo da borda direita */
}

.services-nav svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.services-nav:hover {
    background: var(--bus-blue);
    color: var(--white);
    transform: translateY(-1px);
}

.services-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

    @media (max-width: 1280px) {
        .service-card {
            flex: 0 0 clamp(260px, calc(30% - 1rem), 320px);
            max-width: clamp(260px, calc(30% - 1rem), 320px);
        }
    }

    @media (max-width: 1024px) {
        .services-carousel {
            padding: 0 50px;
        }
        .service-card {
            flex: 0 0 clamp(250px, calc(45% - 0.75rem), 300px);
            max-width: clamp(250px, calc(45% - 0.75rem), 300px);
        }
    }

    @media (max-width: 768px) {
        .services-carousel {
            padding: 0 45px;
            gap: 0;
        }
        
        .services-nav {
            width: 44px;
            height: 44px;
        }
        
        .services-window {
            padding: 1rem 1rem;
        }
        
        .service-card {
            flex: 0 0 calc(85% - 0.5rem);
            max-width: calc(85% - 0.5rem);
            min-height: 400px;
        }
    }

    .service-card {
        background: var(--white);
        border-radius: 0.7rem;
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: var(--transition);
        border: 1px solid transparent;
        position: relative;
        display: flex;
        flex-direction: column;
        min-height: 450px;
        height: 100%;
        flex: 0 0 clamp(280px, calc(28% - 1rem), 340px); /* Diminuído ainda mais */
        max-width: clamp(280px, calc(28% - 1rem), 340px); /* Diminuído ainda mais */
        scroll-snap-align: start;
    }

    /* Skeleton Loading Effect */
    .service-card.skeleton-loading,
    .route-card.skeleton-loading,
    .bus-item.skeleton-loading,
    .faq-item.skeleton-loading {
        opacity: 0.5;
        filter: blur(3px);
        pointer-events: none;
        animation: skeleton-pulse 1.5s ease-in-out infinite;
    }

    @keyframes skeleton-pulse {
        0%, 100% {
            opacity: 0.5;
        }
        50% {
            opacity: 0.7;
        }
    }

    .service-card.loaded,
    .route-card.loaded,
    .bus-item.loaded,
    .faq-item.loaded {
        opacity: 1;
        filter: blur(0);
        pointer-events: auto;
        transition: opacity 0.6s ease, filter 0.6s ease;
    }

    .service-card:hover {
        box-shadow: var(--shadow-xl);
        border-color: var(--bus-blue);
        transform: translateY(-2px);
    }

    .location-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: none; /* escondido por padrão */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Caixa do modal */
.location-modal {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease;
}

.location-modal h2 {
    margin-bottom: 1rem;
    color: #333;
}

.location-modal p {
    margin-bottom: 1.5rem;
    color: #555;
}

.location-modal button {
    padding: 0.7rem 1.5rem;
    margin: 0 0.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.location-allow {
    background: var(--bus-blue);
    color: #fff;
}

.location-allow:hover {
    background: var(--bus-blue-dark);
}

.location-deny {
    background: #ddd;
    color: #333;
}

.location-deny:hover {
    background: #bbb;
}

@keyframes fadeIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

    .service-image-container {
        width: 100%;
        height: 250px;
        background: linear-gradient(135deg, var(--bus-blue), var(--bus-blue-light));
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .service-card:hover .service-image-container {
        background: linear-gradient(135deg, var(--bus-orange), var(--bus-orange-light));
    }

    .service-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

    .service-card:hover .service-image {
        transform: scale(1.02);
    }

    .service-icon {
        width: 4rem;
        height: 4rem;
        color: var(--white);
        transition: var(--transition);
    }

    .service-content {
        padding: 2rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        flex: 1;
        gap: 1rem;
    }

    .service-title {
        font-size: 1.6rem; /* Aumentado de 1.4rem para 1.6rem */
        font-weight: 700;
        color: var(--bus-blue);
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .service-description {
        color: var(--bus-gray);
        line-height: 1.6;
        font-size: 1.1rem; /* Aumentado de 0.95rem para 1.1rem */
        flex: 1;
    }

    .service-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--bus-blue);
        color: var(--white);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-radius: 999px;
        padding: 0.75rem 1.75rem;
        margin-top: auto;
        transition: var(--transition);
        box-shadow: var(--shadow);
        text-decoration: none;
    }

    .service-card:hover .service-button {
        background: var(--bus-blue-dark);
        box-shadow: var(--shadow-lg);
    }

    .service-button::after {
        content: ' →';
        font-size: 1rem;
        margin-left: 0.35rem;
        transition: transform 0.3s ease;
    }

    .service-card:hover .service-button::after {
        transform: translateX(4px);
    }

    .faq-answer a {
        color: var(--bus-blue);
        font-weight: 600;
        text-decoration: underline;
        transition: color 0.2s ease;
    }

    .faq-answer a:hover {
        color: var(--bus-blue-dark);
    }

    /* Destinations Section */
    .destinations-section {
        padding: 3rem 0;
        background: var(--white);
    }

    .destinations-content {
        text-align: center;
        padding: 2rem 0;
    }

    /* Routes Section */
    .routes-section {
        padding: 0.5rem 0;
        background: var(--white); /* Mesmo background do services-section */
    }

    /* Estilos do título da routes-section igual ao services-section */
    .routes-section .section-header {
        text-align: center;
        margin-bottom: 4rem;
    }

    .routes-section .section-title {
        font-size: 3.5rem !important; /* Mesmo tamanho do services-section */
        font-weight: 700 !important;
        color: var(--bus-blue) !important; /* Cor azul, não branco */
        margin-bottom: 1.5rem;
        position: relative;
        display: inline-block;
    }

    .routes-section .section-title::after {
        content: '';
        position: absolute;
        bottom: -0.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, var(--bus-orange), var(--bus-blue));
        border-radius: 2px;
    }

    .routes-section .section-subtitle {
        font-size: 1.5rem;
        color: var(--bus-gray);
        max-width: 600px;
        margin: 0 auto;
        font-weight: 300;
    }

    .routes-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 900px;
        margin: 0 auto;
    }

    @media (min-width: 768px) {
        .routes-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (min-width: 1024px) {
        .routes-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .route-card {
        background: var(--white);
        border: 2px solid transparent;
        border-radius: 1rem;
        padding: 1.5rem;
        text-align: center;
        cursor: pointer;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .route-card:hover {
        box-shadow: var(--shadow-lg);
        border-color: var(--bus-orange);
        transform: translateY(-4px);
    }

    .route-image-container {
        width: 100%;
        height: 120px;
        border-radius: 0.5rem;
        overflow: hidden;
        margin-bottom: 1rem;
        background: linear-gradient(135deg, var(--bus-blue-light), var(--bus-blue));
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .route-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

    .route-card:hover .route-image {
        transform: scale(1.05);
    }

    .route-image-placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--bus-blue-light), var(--bus-blue));
    }

    .route-icon {
        width: 3rem;
        height: 3rem;
        color: var(--white);
    }

    .route-text {
        font-weight: 600;
        color: var(--bus-blue);
        font-size: 1.1rem;
    }

    /* FAQ Section */
    .faq-section {
        padding: 0.5rem 0;
        background: var(--white);
    }

    /* Social Equality Section */
    .social-equality-section {
        padding: 0.5rem 0;
        background: var(--white);
    }

    .social-equality-container {
        max-width: 900px;
        margin: 0 auto;
    }

    .social-equality-item {
        background: var(--white);
        border: 2px solid var(--border);
        border-radius: 1rem;
        margin-bottom: 1.5rem;
        overflow: hidden;
        transition: var(--transition);
    }

    .social-equality-item:hover {
        border-color: var(--bus-blue);
        box-shadow: var(--shadow-lg);
    }

    .social-equality-question {
        width: 100%;
        padding: 1.5rem;
        background: none;
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        text-align: left;
    }

    .social-equality-title {
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--bus-blue);
        margin: 0;
    }

    .social-equality-icon {
        width: 24px;
        height: 24px;
        color: var(--bus-blue);
        transition: transform 0.3s ease;
    }

    .social-equality-item.active .social-equality-icon {
        transform: rotate(180deg);
    }

    .social-equality-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .social-equality-item.active .social-equality-answer {
        max-height: 1000px;
    }

    .social-image-container {
        padding: 1.5rem;
        text-align: center;
    }

    .social-image {
        max-width: 100%;
        height: auto;
        border-radius: 0.5rem;
        box-shadow: var(--shadow);
    }

    .faq-container {
        max-width: 800px;
        margin: 0 auto;
    }

    .faq-item {
        background: var(--white);
        border: 2px solid var(--border);
        border-radius: 1rem;
        margin-bottom: 1.5rem;
        overflow: hidden;
        transition: var(--transition);
    }

    .faq-item.active {
        border-color: var(--bus-orange);
        box-shadow: var(--shadow-lg);
    }

    .faq-question {
        padding: 2rem;
        cursor: pointer;
        font-weight: 600;
        color: var(--bus-blue);
        border: none;
        background: none;
        width: 100%;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: var(--transition);
        font-size: 1.3rem; /* Aumentado de 1.1rem para 1.3rem */
    }

    .faq-question:hover {
        color: var(--bus-blue-dark);
    }

    .faq-answer {
        padding: 0 2rem 2rem;
        color: var(--bus-gray);
        display: none;
        line-height: 1.7;
        font-size: 1.1rem; /* Adicionado tamanho de fonte maior */
    }

    .faq-answer.show {
        display: block;
        animation: fadeInDown 0.3s ease-out;
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .faq-icon {
        transition: var(--transition);
        color: var(--bus-orange);
    }

    .faq-item.active .faq-icon {
        transform: rotate(180deg);
        color: var(--bus-blue);
    }

    /* Modal */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        backdrop-filter: blur(4px);
    }

    .modal-overlay.show {
        display: flex;
    }

    .modal {
        background: var(--white);
        border-radius: 1.5rem;
        padding: 3rem;
        max-width: 400px;
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: var(--shadow-xl);
        animation: modalSlideIn 0.3s ease-out;
    }

    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: scale(0.9) translateY(-20px);
        }
        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }

    .modal-header {
        margin-bottom: 2rem;
        text-align: center;
    }

    .modal-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--bus-blue);
    }

    .passenger-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        margin: 3rem 0;
    }

    .passenger-btn {
        width: 3.5rem;
        height: 3.5rem;
        border-radius: 50%;
        border: 2px solid var(--bus-blue-dark);
        background: var(--bus-blue);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        color: var(--bus-blue);
    }

    .passenger-btn:hover:not(:disabled) {
        background: var(--bus-blue);
        color: var(--white);
        transform: scale(1.1);
    }

    .passenger-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
        transform: none;
    }

    .passenger-count {
        text-align: center;
    }

    .passenger-number {
        font-size: 3rem;
        font-weight: 700;
        color: var(--bus-blue);
        margin-bottom: 0.5rem;
    }

    .passenger-label {
        font-size: 1rem;
        color: var(--bus-gray);
        font-weight: 500;
    }

    .modal-actions {
        display: flex;
        gap: 1rem;
        justify-content: flex-end;
        margin-top: 2rem;
    }

    /* Icons */
    .icon {
        width: 1.25rem;
        height: 1.25rem;
        display: inline-block;
        vertical-align: middle;
    }

    .icon-lg {
        width: 2.5rem;
        height: 2.5rem;
    }

    /* Date/Passenger Grid */
    .date-passenger-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
        align-items: end;
    }

    .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .bus-section {
            padding: 0.5rem 0;
            background-color: var(--background);
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title {
            font-size: 3.5rem !important;
            font-weight: 700 !important;
            margin-bottom: 1.5rem;
            color: var(--bus-blue) !important;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -0.5rem;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--bus-orange), var(--bus-blue));
            border-radius: 2px;
        }

        .section-subtitle {
            font-size: 1.25rem;
            color: var(--muted-foreground);
            max-width: 48rem;
            margin: 0 auto;
        }

       .bus-container {
    max-width: 64rem;
    margin: 0 auto;
}

.bus-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--background);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.bus-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.bus-question:hover {
    background-color: var(--muted);
}

.bus-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bus-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--bus-blue);
    margin-bottom: 0.25rem;
}

.bus-description {
    color: var(--bus-gray);
}

.bus-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--muted-foreground);
    transition: transform 0.3s ease;
}

.bus-item.active .bus-icon {
    transform: rotate(180deg);
}

/* Conteúdo escondido com animação */
.bus-answer {
    max-height: 0;
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.6s ease-in-out;
    padding: 0 1.5rem;
    overflow: hidden;
}

.bus-item.active .bus-answer {
    max-height: 600px; /* ajuste conforme o tamanho da imagem */
    opacity: 1;
    transform: translateY(0);
    padding: 1rem 1.5rem 1.5rem;
}

/* Imagem com fade + zoom */
.bus-full-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease-in-out 0.2s, transform 0.6s ease-in-out 0.2s;
}

.bus-item.active .bus-full-image {
    opacity: 1;
    transform: scale(1);
}


        .features-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }


    @media (min-width: 768px) {
        .date-passenger-grid {
            grid-template-columns: 1fr 1fr 1fr;
        }
    }

    @media (min-width: 1024px) {
        .date-passenger-grid {
            grid-template-columns: 2fr 2fr 1fr 2fr;
        }
    }

    .search-button-container {
        grid-column: span 1;
    }

    @media (min-width: 768px) and (max-width: 1023px) {
        .search-button-container {
            grid-column: span 3;
        }
    }

    /* Responsive Design */
    @media (max-width: 767px) {
        .hero {
            padding: 4rem 0 3rem;
            min-height: 60vh;
        }

        .service-card {
            min-height: 340px;
        }

        .swap-btn:hover {
        background: var(--bus-blue);
        color: var(--white);
    }

        .hero h1 {
            font-size: 2.5rem;
        }

        .hero p {
            font-size: 1.1rem;
        }

        .section-title {
            font-size: 2.2rem;
            color: var(--bus-blue) !important; /* Cor azul como routes-section */
        }

        .section-title1 {
            font-size: 2.2rem !important;
            color: var(--bus-blue) !important; /* Cor azul como routes-section */
        }

        .section-subtitle {
            font-size: 1.1rem;
        }

        .booking-section {
            margin-top: -120px; /* Menor sobreposição no mobile */
            padding-top: calc(3rem + 120px);
        }

        .booking-card {
            padding: 2rem;
            border-radius: 1rem;
        }

        .booking-card {
            padding: 2rem 1.5rem;
            border-radius: 1.5rem;
        }

        .booking-header {
            margin-bottom: 2rem;
            padding-bottom: 2rem;
        }

        .booking-title {
            font-size: 1.75rem;
        }

        .booking-description {
            font-size: 1rem;
        }

        .booking-card .btn-full {
            padding: 1.25rem 1.5rem;
            font-size: 1rem;
        }

        .form-grid {
            grid-template-columns: 1fr;
        }

        .swap-btn {
            margin: 0.1rem auto !important;
        }

        .service-image-container {
            height: 160px;
        }

        .service-content {
            padding: 1.5rem;
        }

        .container {
            padding: 0 1rem;
        }

        .modal {
            padding: 2rem;
        }

        .passenger-controls {
            gap: 2rem;
        }
        
        .route-image-container {
            height: 100px;
        }

                    .features-grid {
                grid-template-columns: repeat(4, 1fr);
            }

            .autocomplete-dropdown {
        position: absolute;
        top: 95%;
        left: 0;
        right: 0;
        background: var(--white);
        border: 2px solid var(--bus-blue);
        border-top: none;
        border-radius: 0 0 0.75rem 0.75rem;
        box-shadow: var(--shadow-lg);
        max-height: 200px;
        overflow-y: auto;
        z-index: 20;
        display: none;
    }
        }

        .feature-item {
            display: flex;
            align-items: center;
            font-size: 0.875rem;
            color: var(--muted-foreground);
        }

        .feature-dot {
            width: 0.5rem;
            height: 0.5rem;
            border-radius: 50%;
            margin-right: 0.75rem;
        }

        .dot-blue { background-color: var(--bus-blue); }
        .dot-green { background-color: var(--bus-green); }
        .dot-orange { background-color: var(--bus-orange); }
        .dot-red { background-color: var(--bus-red); }

        .bus-full-image {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: 0.5rem;
        }

    /* Additional Animations */
    .service-card, .route-card, .faq-item {
        animation: fadeInUp 0.6s ease-out;
    }

    .route-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 12px;
    margin: 10px;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.route-card:hover {
    transform: translateY(-3px);
}

.location-badge {
    background-color: #ffce00;
    color: #000;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 6px;
    margin-bottom: 6px;
    display: inline-block;
}

.company-badge {
    font-weight: bold;
    font-size: 0.85rem;
    color: #0077c8;
    margin-bottom: 10px;
}

.route-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.route-icon {
    width: 40px;
    height: 40px;
    color: #0077c8;
}

.route-path {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.location {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.location-icon {
    width: 20px;
    height: 20px;
    margin-right: 6px;
}

.route-connector {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.connector-line {
    display: flex;
    align-items: center;
    width: 100%;
}

.connector-dots {
    width: 6px;
    height: 6px;
}

.connector-dash {
    flex: 1;
    border-top: 1px dashed #ccc;
    margin: 0 4px;
}

.pricing-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.price-old-text {
    text-decoration: line-through;
    font-size: 0.8rem;
    color: #999;
}

.discount-badge {
    background-color: #ff4d4d;
    color: #fff;
    padding: 2px 4px;
    font-size: 0.75rem;
    border-radius: 4px;
    margin-left: 6px;
}

.price-new .price-value {
    font-weight: bold;
    color: #0077c8;
    font-size: 1rem;
}

.action-hint {
    text-align: center;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #555;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .routes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        max-width: 100%;
        margin: 0 auto;
    }

    .route-card {
        margin: 0 auto 1.5rem auto;
        width: 100%;
        box-sizing: border-box;
        padding: 1rem 1rem 1.5rem 1rem !important;
        font-size: 1rem;
    }

    .route-path {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .location-text {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pricing-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .price-new .price-value {
        font-size: 1.25rem;
        font-weight: 700;
    }

    .route-image-container {
        height: 150px;
    }
}


    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Loading States */
    .form-input::placeholder {
        color: var(--bus-gray);
        opacity: 0.7;
    }

    /* Focus States */
    .btn:focus,
    .passenger-btn:focus,
    .swap-btn:focus {
        outline: 2px solid var(--bus-orange);
        outline-offset: 2px;
    }

    /* Custom Scrollbar */
    .autocomplete-dropdown::-webkit-scrollbar {
        width: 6px;
    }

    .autocomplete-dropdown::-webkit-scrollbar-track {
        background: var(--bus-gray-light);
    }

    .autocomplete-dropdown::-webkit-scrollbar-thumb {
        background: var(--bus-blue);
        border-radius: 3px;
    }


.hero-carousel {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: translateX(100%); /* todos começam fora da tela à direita */
    transition: opacity 0.8s ease, transform 0.8s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 20px;
    background-color: #000;
    z-index: 0; /* não aparecem acima do ativo */
}

/* slide ativo */
.carousel-slide.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
    z-index: 2;
}

/* slide que sai */
.carousel-slide.exit-left {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 1;
}
.carousel-slide.exit-right {
    transform: translateX(100%);
    opacity: 0;
    z-index: 1;
}

.carousel-slide.loaded {
    opacity: 1;
}

.carousel-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.carousel-content p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: none;
    color: white;                   /* cor de preenchimento da seta */
    -webkit-text-stroke: 0.5px #bbbbbbff; /* contorno preto */
    text-stroke: 2px black;         /* para navegadores que suportam */
    border: none;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    color: #fff; /* mantém branco */
    opacity: 1; /* fica 100% visível no hover */
    transform: translateY(-50%) scale(1.1); /* mantém centralizado + aumenta */
}



.carousel-prev { left: 15px; }
.carousel-next { right: 15px; }

/* Indicadores (bolinhas) */
.carousel-indicators {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    z-index: 20;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;

    /* Borda adicionada */
    border: 0.1px solid #757575ff !important; /* cor branca */
}


.carousel-indicator.active {
    background: #fff;
    transform: scale(1.2);
}

/* Botão fixo no meio-inferior */
.carousel-button {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.9rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    background: var(--bus-blue);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.3);
    z-index: 30;
    transition: background 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}
.carousel-button:hover {
    background: var(--bus-blue-dark);
    transform: translateX(-50%) scale(1.02);
}

/* Indicador de swipe para mobile */
.carousel-swipe-hint {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 15px;
    z-index: 25;
    display: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

@media(max-width: 768px){
    .carousel-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    .carousel-prev,
    .carousel-next { 
        display: none;
    }
    .carousel-swipe-hint {
        display: block;
    }
    .carousel-content h1 { font-size: 2rem; }
    .carousel-content p { font-size: 1rem; }
}


.booking-section {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -550px; /* Sobreposição ainda maior - comendo mais do banner */
    padding: 4rem 2rem;
    padding-top: calc(4rem + 350px); /* Adiciona padding-top para compensar a sobreposição */
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.03) 0%, rgba(30, 64, 175, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
}

.booking-card {
    background: var(--white);
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(30, 64, 175, 0.1);
    padding: 4rem;
    max-width: 1500px;
    width: 100%;
    border: 3px solid var(--bus-blue);
    position: relative;
    overflow: hidden;
}

.booking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--bus-blue) 0%, var(--bus-orange) 50%, var(--bus-blue) 100%);
    z-index: 1;
}

.booking-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    position: relative;
}

.booking-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--bus-blue), transparent);
    border-radius: 2px;
}

.booking-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--bus-blue) 0%, var(--bus-blue-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.booking-description {
    font-size: 1.15rem;
    color: var(--bus-gray-dark);
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.date-passenger-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1rem;
}

.form-group {
    position: relative;
    margin-bottom: 0;
}

.form-input, .form-input2 {
    font-size: 16px; /* ou 1rem */
}

.form-input {
    width: 100%;
    padding: 1.6rem 1.25rem 0.75rem;
    border: 2px solid var(--border);
    border-radius: 0.2rem;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--bus-gray-dark);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-input.has-icon {
    padding-left: 3rem;
}

.form-label {
    position: absolute;
    top: 0.75rem;
    left: 1.25rem;
    font-weight: 600;
    color: #7e7e7eff !important;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
    transition: 0.2s ease all;
}

/* efeito flutuante para datas */
/* efeito flutuante compatível com iPhone */
.form-input:focus + .form-label,
.form-input:valid + .form-label {
    top: 0.3rem;
    font-size: 0.7rem;
    color: var(--primary);
}


.swap-btn {
    background: var(--bus-blue);
    border: 2px solid var(--border);
    border-radius: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    align-self: end;
    margin-bottom: 0.5rem;
}

.swap-btn:hover {
    background: var(--bus-blue-dark);
}

.icon {
    width: 24px;
    height: 24px;
    color: #ffffffff;
}

.icon-calendar {
    position: absolute;
    left: 1rem;
    top: 60%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #64748b;
    z-index: 10;
}

.btn {
    background: var(--bus-blue);
    color: white;
    border: none;
    border-radius: 0.2rem;
    padding: 1.8rem 1.5rem !important;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
}

.btn:hover {
    background: var(--bus-blue-dark);
}

.btn-full {
    width: 100%;
}

.search-button-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.form-input2 {
    width: 100%;
    padding: 1rem 1.25rem 0.75rem ;
    border: 2px solid var(--border);
    border-radius: 0.2rem;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--bus-gray-dark);
}

.form-input2:hover {
    border-color: #cbd5e0;
}

.passenger-label {
    position: absolute;
    top: 0.5rem;
    left: 1.25rem;
    font-weight: 600;
    color: var(--bus-gray-dark);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.passenger-content {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.autocomplete-container {
    position: relative;
}

.autocomplete-dropdown {
    position: absolute;
    z-index: 1000 !important;
    width: 100%;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    margin-top: 0.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: none;
}

/* Garantir altura igual aos outros campos */
/* 🔹 Garantir altura igual aos outros campos e liberar placeholder */






.icon-location {
    position: absolute;
    left: 1rem;
    top: 55%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: #64748b;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-input.has-icon {
    padding-left: 3rem;
}

@media (max-width: 768px) {
    .booking-card {
        width: 100%;
        padding: 0.75rem;
        box-sizing: border-box;
    }

    .booking-card {
        padding: 2rem 1.5rem;
        border-radius: 1.5rem;
    }

    .booking-header {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .booking-title {
        font-size: 1.75rem;
    }

    .booking-description {
        font-size: 1rem;
    }

    .booking-card .btn-full {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .date-passenger-grid {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    .form-grid {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
        width: 100%;
        position: relative; /* 🔹 necessário para o botão ficar absoluto */
    }

    .form-grid > .form-group {
        width: 100%;
    }

    .swap-btn svg {
        transform: rotate(90deg); /* 🔹 deixa em pé no celular */
    }

    .swap-btn {
        position: absolute;   /* 🔹 fica flutuando */
        top: 50%;             /* centraliza verticalmente */
        left: 90%;            /* centraliza horizontalmente */
        transform: translate(-50%, -50%); /* ajusta para o meio certinho */
        width: 36px;
        height: 36px;
        z-index: 10;
        margin: 0; /* remove margin extra */
    }

    .date-passenger-grid > .form-group {
        width: 100%;
    }
    .form-input,
    .form-input2 {
        font-size: 0.85rem;
        display: block;
    }

    .icon-location,
    .icon-calendar {
        top: 55%;
        left: 1rem;
        transform: translateY(-50%);
        width: 1.25rem;
        height: 1.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .form-label,
    .passenger-label {
        font-size: 0.7rem;
    }

    .btn {
        width: 100%;
        height: 48px;
        font-size: 0.95rem;
        box-sizing: border-box;
    }
}


.no-routes {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
    grid-column: 1 / -1;
}

.location-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--bus-blue);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
}


    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    :root {
        --primary: hsl(208, 92%, 34%);
        --primary-foreground: hsl(210, 40%, 98%);
        --card: hsl(0, 0%, 100%);
        --card-foreground: hsl(222.2, 84%, 4.9%);
        --accent: hsl(208, 100%, 89%);
        --muted-foreground: hsl(215.4, 16.3%, 46.9%);
        --success: hsl(142, 76%, 36%);
        --success-foreground: hsl(210, 40%, 98%);
        --bus-blue-light: hsl(208, 100%, 89%);
        --shadow-route-hover: 0 8px 30px -4px hsl(208, 92%, 34%, 0.25);
        --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background: linear-gradient(to bottom, hsl(0, 0%, 100%), hsl(208, 100%, 97%));
        color: var(--card-foreground);
        line-height: 1.6;
    }

    .routes-section {
        padding: 0.5rem 0;
        min-height: 100vh;
        background: var(--white); /* Mesmo background do services-section */
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .routes-section .section-header {
        text-align: center;
        margin-bottom: 4rem;
    }

    .routes-section .section-title {
        font-size: 3.5rem !important; /* Mesmo tamanho do services-section */
        font-weight: 700 !important;
        color: var(--bus-blue) !important; /* Cor azul, não branco */
        margin-bottom: 1.5rem;
        position: relative;
        display: inline-block;
    }

    .routes-section .section-title::after {
        content: '';
        position: absolute;
        bottom: -0.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, var(--bus-orange), var(--bus-blue));
        border-radius: 2px;
    }

    .routes-section .section-subtitle {
        font-size: 1.5rem !important;
        color: var(--bus-gray) !important;
        max-width: 600px;
        margin: 0 auto;
        font-weight: 300;
    }

    .section-title1 {
        font-size: 3.5rem !important;
        font-weight: 700 !important;
        color: var(--bus-blue) !important; /* Cor azul como routes-section */
    }

    .section-subtitle {
        font-size: 1.125rem;
        color: var(--muted-foreground);
        max-width: 32rem;
        margin: 0 auto;
    }

    .routes-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
        max-width: 72rem;
        margin: 0 auto;
    }

    .route-card {
        background: linear-gradient(135deg, var(--card), hsl(208, 100%, 94%));
        border: 1px solid hsl(208, 100%, 85%);
        border-radius: 0.75rem;
        padding: 2rem 1rem;
        cursor: pointer;
        transition: var(--transition-smooth);
        position: relative;
        overflow: hidden;
    }

    .route-card:hover {
        box-shadow: var(--shadow-route-hover);
        transform: translateY(-2px);
    }

    .company-badge {
        position: absolute;
        top: 0.4rem;
        right: 0.4rem;
        background: var(--bus-blue);
        color: var(--white);
        font-size: 0.75rem;
        font-weight: 600;
        padding: 0.25rem 0.75rem;
        border-radius: 9999px;
        letter-spacing: 0.025em;
        z-index: 10;
    }

    /* NOVO: Container da imagem */
    .route-image-container {
        width: 100%;
        height: 240px;
        border-radius: 0.5rem;
        overflow: hidden;
        margin-bottom: 1rem;
        background: linear-gradient(135deg, var(--bus-blue-light), var(--bus-blue));
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .route-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition-smooth);
    }

    .route-card:hover .route-image {
        transform: scale(1.05);
    }

    .route-image-placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--bus-blue-light), var(--bus-blue));
    }

    .route-icon {
        width: 3rem;
        height: 3rem;
        color: var(--white);
    }

    .route-path {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1.5rem;
    }

    .location {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .location-icon {
        width: 1rem;
        height: 1rem;
        color: var(--bus-blue);
        fill: hsl(208, 92%, 34%, 0.2);
    }

    .location-text {
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--card-foreground);
    }

    .route-connector {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 1rem;
    }

    .connector-line {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .connector-dots {
        width: 1rem;
        height: 1rem;
        color: var(--muted-foreground);
        animation: pulse 2s infinite;
    }

    .connector-dash {
        width: 2rem;
        height: 2px;
        border-top: 2px dashed var(--muted-foreground);
    }

    @keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.5; }
    }

    .pricing-section {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1rem;
    }

    .price-old {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .price-old-text {
        font-size: 0.75rem;
        color: var(--muted-foreground);
        text-decoration: line-through;
    }

    .discount-badge {
        background: var(--success);
        color: var(--success-foreground);
        font-size: 0.75rem;
        font-weight: 500;
        padding: 0.25rem 0.5rem;
        border-radius: 9999px;
    }

    .price-new {
        text-align: right;
    }

    .price-label {
        font-size: 0.75rem;
        color: var(--muted-foreground);
    }

    .price-value {
        font-size: 1.125rem;
        font-weight: bold;
        color: var(--bus-blue);
    }

    .action-hint {
        text-align: center;
        margin-top: 1rem;
    }

    .action-hint-text {
        font-size: 0.75rem;
        color: var(--muted-foreground);
        transition: var(--transition-smooth);
    }

    .route-card:hover .action-hint-text {
        color: var(--bus-blue);
    }

    .disclaimer {
        text-align: center;
        margin-top: 3rem;
    }

    .disclaimer-text {
        font-size: 0.875rem;
        color: var(--muted-foreground);
    }

    @media (max-width: 768px) {
        .routes-grid {
            grid-template-columns: 1fr;
        }
        
        .section-title {
            font-size: 2rem;
            color: var(--bus-blue) !important; /* Cor azul como routes-section */
        }

        .section-title1 {
            font-size: 2rem !important;
            color: var(--bus-blue) !important; /* Cor azul como routes-section */
        }

        .routes-section .section-title {
            font-size: 2.2rem !important;
            color: var(--bus-blue) !important;
        }
        
        .route-path {
            flex-direction: column;
            gap: 0.75rem;
        }
        
        .route-connector {
            padding: 0;
        }
        
        .route-image-container {
            height: 100px;
        }
    }

    </style>
