/* ========================================
   TODOS OS DESTINOS - BENETRIP
   Versão: Filtros Avançados v3.1
   Cores: Laranja #E87722, Azul #00A3E0
   ======================================== */

:root {
    --orange-primary: #E87722;
    --blue-secondary: #00A3E0;
    --green-success: #4CAF50;
    --red-alert: #F44336;
    --gray-dark: #21272A;
    --gray-medium: #666;
    --gray-light: #F5F5F5;
    --white: #FFFFFF;
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--gray-light);
    color: var(--gray-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.filtros-open { overflow: hidden; }

.container { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* ========================================
   HEADER
   ======================================== */
.header { background: var(--white); padding: 24px 0; box-shadow: var(--shadow); text-align: center; }
.logo { height: 48px; margin-bottom: 8px; }
.tagline { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; color: var(--orange-primary); margin: 0; }

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content { padding: 32px 0 80px; }

/* ========================================
   INTRO CARD
   ======================================== */
.intro-card { background: var(--white); border-radius: var(--border-radius); padding: 32px 24px; margin-bottom: 24px; text-align: center; box-shadow: var(--shadow); }
.intro-avatar { width: 80px; height: 80px; margin-bottom: 16px; }
.intro-card h1 { font-family: 'Poppins', sans-serif; font-size: 24px; color: var(--gray-dark); margin-bottom: 12px; }
.intro-card p { font-size: 15px; color: var(--gray-medium); max-width: 600px; margin: 0 auto; }

/* ========================================
   FORMULÁRIO
   ======================================== */
.busca-form { background: var(--white); border-radius: var(--border-radius); padding: 32px 24px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; color: var(--gray-dark); margin-bottom: 8px; }
.hint { font-size: 12px; color: var(--gray-medium); margin-bottom: 8px; }

/* ========================================
   AUTOCOMPLETE
   ======================================== */
.autocomplete-wrapper { position: relative; }
#origem { width: 100%; padding: 14px 18px; border: 2px solid #E0E0E0; border-radius: var(--border-radius-sm); font-size: 15px; font-family: 'Montserrat', sans-serif; transition: var(--transition); }
#origem:focus { outline: none; border-color: var(--orange-primary); }
.autocomplete-results { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border: 2px solid var(--orange-primary); border-top: none; border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm); max-height: 300px; overflow-y: auto; z-index: 100; box-shadow: var(--shadow); }
.autocomplete-item { padding: 12px 18px; cursor: pointer; display: flex; align-items: center; gap: 12px; transition: var(--transition); }
.autocomplete-item:hover { background-color: #FFF8F3; }
.item-code { background-color: var(--orange-primary); color: var(--white); padding: 4px 8px; border-radius: 6px; font-weight: 700; font-size: 12px; min-width: 45px; text-align: center; }
.item-details { flex: 1; }
.item-name { font-weight: 600; font-size: 14px; color: var(--gray-dark); }
.item-country { font-size: 12px; color: var(--gray-medium); }

/* ========================================
   CALENDÁRIOS DE DATA (inputs flex)
   ======================================== */
#datas-ida-flex,
#datas-volta-flex {
    width: 100%; padding: 14px 18px; border: 2px solid #E0E0E0; border-radius: var(--border-radius-sm);
    font-size: 15px; font-family: 'Montserrat', sans-serif; background: var(--white); cursor: pointer; transition: var(--transition);
}
#datas-ida-flex:focus,
#datas-volta-flex:focus { outline: none; border-color: var(--orange-primary); }

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange { background: var(--orange-primary) !important; border-color: var(--orange-primary) !important; color: var(--white) !important; }
.flatpickr-day.inRange { background: rgba(232, 119, 34, 0.1) !important; border-color: rgba(232, 119, 34, 0.1) !important; }

/* ========================================
   BUTTON GROUPS
   ======================================== */
.button-group-horizontal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.button-group-horizontal.three-cols { grid-template-columns: 1fr 1fr 1fr; }
.button-group-vertical { display: flex; flex-direction: column; gap: 8px; }
.btn-option { background: var(--white); border: 2px solid #E0E0E0; border-radius: var(--border-radius-sm); padding: 12px 16px; cursor: pointer; transition: var(--transition); font-family: 'Poppins', sans-serif; font-size: 14px; text-align: center; }
.btn-option .text { font-weight: 500; color: var(--gray-dark); }
.btn-option:hover { border-color: var(--orange-primary); background-color: #FFF8F3; }
.btn-option.active { border-color: var(--orange-primary); background-color: var(--orange-primary); }
.btn-option.active .text { color: var(--white); font-weight: 600; }

@media (max-width: 480px) {
    .button-group-horizontal.three-cols { grid-template-columns: 1fr; }
    .button-group-horizontal { grid-template-columns: 1fr; }
}

/* ========================================
   BADGE / CHIPS (form)
   ======================================== */
.badge-info { display: inline-block; background: rgba(232,119,34,.12); color: var(--orange-primary); font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; margin-left: 6px; vertical-align: middle; }
.selected-dates { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.date-chip { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, #FFF8F3, #FFF3E0); border: 1px solid var(--orange-primary); color: var(--gray-dark); padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; font-family: 'Poppins', sans-serif; animation: chipIn .2s ease; }
@keyframes chipIn { from { transform: scale(.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.date-chip .remove-date { cursor: pointer; color: var(--orange-primary); font-weight: 700; font-size: 14px; line-height: 1; opacity: .7; transition: opacity .2s; }
.date-chip .remove-date:hover { opacity: 1; }
.combinacoes-info { display: flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #E3F2FD, #F0F8FF); border: 1px solid var(--blue-secondary); border-radius: var(--border-radius-sm); padding: 12px 16px; margin-top: 4px; font-size: 14px; color: var(--gray-dark); font-family: 'Poppins', sans-serif; font-weight: 500; }
.combinacoes-icon { font-size: 18px; }

/* ========================================
   CURRENCY + FORM GRID
   ======================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.currency-input-wrapper { position: relative; display: flex; align-items: center; }
.currency-symbol { position: absolute; left: 18px; font-weight: 600; font-size: 16px; color: var(--gray-dark); pointer-events: none; }
#orcamento { width: 100%; padding: 14px 18px 14px 45px; border: 2px solid #E0E0E0; border-radius: var(--border-radius-sm); font-size: 18px; font-weight: 600; font-family: 'Poppins', sans-serif; transition: var(--transition); }
#orcamento:focus { outline: none; border-color: var(--orange-primary); }

/* ========================================
   SUBMIT BUTTON
   ======================================== */
.btn-submit { width: 100%; padding: 18px; background: var(--orange-primary); color: var(--white); border: none; border-radius: var(--border-radius); font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow); margin-top: 8px; }
.btn-submit:hover { background: #D66A1A; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { background: #CCC; cursor: not-allowed; transform: none; box-shadow: none; }

/* ========================================
   LOADING STATE
   ======================================== */
.loading-card { background: var(--white); border-radius: var(--border-radius); padding: 48px 24px; text-align: center; box-shadow: var(--shadow); }
.tripinha-loading { width: 120px; height: 120px; margin-bottom: 24px; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
.loading-card h2 { font-family: 'Poppins', sans-serif; color: var(--orange-primary); font-size: 22px; margin-bottom: 24px; }
.progress-bar { width: 100%; height: 12px; background: #E0E0E0; border-radius: 6px; overflow: hidden; margin-bottom: 16px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--orange-primary), var(--blue-secondary)); width: 0%; transition: width .5s ease; }
#loading-message { font-size: 15px; color: var(--gray-medium); }
.loading-sub { font-size: 13px; color: var(--blue-secondary); margin-top: 8px; font-family: 'Poppins', sans-serif; font-weight: 500; }

/* ========================================
   BOTÃO VOLTAR
   ======================================== */
.btn-voltar-topo { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; background: var(--white); color: var(--orange-primary); border: 2px solid var(--orange-primary); border-radius: 50px; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); margin-bottom: 16px; }
.btn-voltar-topo:hover { background: var(--orange-primary); color: var(--white); }
.btn-voltar-topo svg { width: 16px; height: 16px; }

/* ========================================
   RESULTADOS HEADER
   ======================================== */
#resultados-container { margin-top: 24px; }
.resultados-header { background: var(--white); border-radius: var(--border-radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow); }
.resultados-header h1 { font-family: 'Poppins', sans-serif; font-size: 26px; color: var(--gray-dark); margin-bottom: 12px; }
.resultados-stats { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--gray-light); }
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-label { font-size: 12px; color: var(--gray-medium); text-transform: uppercase; letter-spacing: .5px; }
.stat-value { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; color: var(--gray-dark); }
.stat-value.green { color: var(--green-success); }
.stat-value.orange { color: var(--orange-primary); }
.stat-value.blue { color: var(--blue-secondary); }

/* Tripinha message */
.tripinha-message { background: linear-gradient(135deg, #FFF8F3, #FFF3E0); border-left: 4px solid var(--orange-primary); border-radius: var(--border-radius-sm); padding: 20px 24px; margin-bottom: 24px; display: flex; align-items: flex-start; gap: 16px; }
.tripinha-message-avatar { width: 60px; height: 60px; flex-shrink: 0; }
.tripinha-message-content { flex: 1; }
.tripinha-message-content h3 { font-family: 'Poppins', sans-serif; font-size: 16px; color: var(--orange-primary); margin-bottom: 8px; }
.tripinha-message-content p { font-size: 14px; line-height: 1.6; color: var(--gray-dark); }

/* ========================================
   BOTÃO TOGGLE FILTROS
   ======================================== */
.btn-toggle-filtros {
    display: flex; align-items: center; gap: 8px; width: 100%; padding: 14px 20px;
    background: var(--white); border: 2px solid #E0E0E0; border-radius: var(--border-radius-sm);
    font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; color: var(--gray-dark);
    cursor: pointer; transition: var(--transition); margin-bottom: 16px; box-shadow: var(--shadow);
}
.btn-toggle-filtros:hover { border-color: var(--orange-primary); background: #FFF8F3; }
.btn-toggle-filtros svg { flex-shrink: 0; }

.filtro-count {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--orange-primary); color: var(--white); font-size: 11px; font-weight: 700;
    min-width: 22px; height: 22px; border-radius: 11px; padding: 0 6px; margin-left: auto;
}

/* ========================================
   PAINEL DE FILTROS - DESKTOP
   ======================================== */
.filtros-painel {
    background: var(--white); border-radius: var(--border-radius); padding: 24px;
    box-shadow: var(--shadow); margin-bottom: 20px;
    display: none;
}
.filtros-painel.aberto { display: block; }

.filtros-header-mobile { display: none; }

/* ========================================
   PAINEL DE FILTROS - MOBILE (DRAWER)
   ======================================== */
@media (max-width: 768px) {
    .filtros-painel {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000;
        border-radius: 0; margin: 0; padding: 0; overflow-y: auto;
        transform: translateY(100%); transition: transform .3s ease;
        display: block !important;
    }
    .filtros-painel.aberto { transform: translateY(0); }
    .filtros-painel > * { padding-left: 20px; padding-right: 20px; }

    .filtros-header-mobile {
        display: flex; align-items: center; justify-content: space-between;
        padding: 20px; border-bottom: 1px solid #E0E0E0;
        position: sticky; top: 0; background: var(--white); z-index: 10;
    }
    .filtros-header-mobile h3 { font-family: 'Poppins', sans-serif; font-size: 18px; }
    .btn-fechar-filtros { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--gray-dark); padding: 4px 8px; }

    .filtro-aplicar-mobile {
        position: sticky; bottom: 0; background: var(--white); padding: 16px 20px;
        border-top: 1px solid #E0E0E0; display: block;
    }
    .btn-aplicar-filtros {
        width: 100%; padding: 16px; background: var(--orange-primary); color: var(--white);
        border: none; border-radius: var(--border-radius-sm); font-family: 'Poppins', sans-serif;
        font-size: 16px; font-weight: 700; cursor: pointer;
    }
}

@media (min-width: 769px) {
    .filtros-header-mobile { display: none !important; }
    .filtro-aplicar-mobile { display: none !important; }
    .filtros-painel > * { padding-left: 0; padding-right: 0; }
}

/* Overlay */
.filtros-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.5); z-index: 999;
}
.filtros-overlay.aberto { display: block; }
@media (min-width: 769px) { .filtros-overlay { display: none !important; } }

/* ========================================
   FILTRO GRUPO
   ======================================== */
.filtro-grupo {
    margin-bottom: 20px; padding-bottom: 20px;
    border-bottom: 1px solid #F0F0F0;
}
.filtro-grupo:last-of-type { border-bottom: none; }

.filtro-titulo {
    font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600;
    color: var(--gray-dark); margin-bottom: 10px;
}

/* ========================================
   CHIPS (filtros)
   ======================================== */
.filtro-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
}

.chip {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 8px 14px; border: 2px solid #E0E0E0; background: var(--white);
    border-radius: 20px; font-family: 'Poppins', sans-serif; font-size: 13px;
    font-weight: 500; color: var(--gray-dark); cursor: pointer; transition: var(--transition);
    white-space: nowrap;
}
.chip:hover { border-color: var(--orange-primary); background: #FFF8F3; }
.chip.active { border-color: var(--orange-primary); background: var(--orange-primary); color: var(--white); }
.chip-sub { font-size: 11px; opacity: .7; }

/* ========================================
   FAIXA DE PREÇO
   ======================================== */
.filtro-range { }
.range-inputs { display: flex; align-items: center; gap: 12px; }
.range-field { flex: 1; }
.range-field label { display: block; font-size: 11px; color: var(--gray-medium); margin-bottom: 4px; text-transform: uppercase; font-weight: 600; }
.range-field input {
    width: 100%; padding: 10px 14px; border: 2px solid #E0E0E0; border-radius: 8px;
    font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600;
    text-align: center; transition: var(--transition);
}
.range-field input:focus { outline: none; border-color: var(--orange-primary); }
.range-separator { font-size: 18px; color: var(--gray-medium); font-weight: 600; margin-top: 16px; }
.range-hint { font-size: 11px; color: var(--gray-medium); margin-top: 8px; text-align: center; }

/* ========================================
   AÇÕES FILTRO
   ======================================== */
.filtro-acoes { text-align: center; margin-top: 8px; }
.btn-limpar-filtros {
    display: inline-block; padding: 10px 24px; background: none; border: 2px solid #E0E0E0;
    border-radius: 20px; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600;
    color: var(--gray-medium); cursor: pointer; transition: var(--transition);
}
.btn-limpar-filtros:hover { border-color: var(--red-alert); color: var(--red-alert); }

/* ========================================
   CONTAGEM RESULTADOS
   ======================================== */
.resultados-count {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 20px; background: var(--white); border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow); margin-bottom: 16px;
    font-family: 'Poppins', sans-serif; font-size: 14px; color: var(--gray-dark);
}
.btn-limpar-inline {
    background: none; border: none; color: var(--orange-primary); font-family: 'Poppins', sans-serif;
    font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline;
}
.btn-limpar-inline:hover { color: #D66A1A; }

/* ========================================
   DESTINOS LISTA
   ======================================== */
.destinos-lista { display: flex; flex-direction: column; gap: 12px; }

.destino-item {
    background: var(--white); border-radius: var(--border-radius-sm); padding: 20px;
    box-shadow: var(--shadow); transition: var(--transition); border-left: 4px solid transparent;
}
.destino-item:hover { transform: translateX(4px); box-shadow: var(--shadow-hover); }
.destino-item.dentro-orcamento { border-left-color: var(--green-success); }
.destino-item.fora-orcamento { border-left-color: #E0E0E0; opacity: .75; }

/* Badges row */
.destino-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }

.status-badge {
    display: inline-block; padding: 4px 12px; border-radius: 12px;
    font-size: 11px; font-weight: 600;
}
.status-badge.dentro { background: rgba(76, 175, 80, .1); color: var(--green-success); }
.status-badge.fora { background: rgba(0,0,0,.05); color: var(--gray-medium); }

.tipo-badge {
    display: inline-block; padding: 4px 10px; border-radius: 12px;
    font-size: 11px; font-weight: 600;
}
.tipo-badge.nacional { background: rgba(0, 163, 224, .1); color: var(--blue-secondary); }
.tipo-badge.internacional { background: rgba(232, 119, 34, .1); color: var(--orange-primary); }

/* Card header */
.destino-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; gap: 16px; }
.destino-info { flex: 1; }
.destino-nome { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; color: var(--gray-dark); margin-bottom: 4px; }
.destino-pais { font-size: 13px; color: var(--gray-medium); }
.destino-preco-wrapper { text-align: right; }
.destino-preco { font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 700; color: var(--gray-dark); }
.destino-item.dentro-orcamento .destino-preco { color: var(--green-success); }
.destino-preco-label { font-size: 11px; color: var(--gray-medium); margin-top: 2px; }

.best-dates-badge {
    display: inline-flex; align-items: center; gap: 4px;
    background: linear-gradient(135deg, #E3F2FD, #F0F8FF); color: var(--blue-secondary);
    font-size: 12px; font-weight: 600; font-family: 'Poppins', sans-serif;
    padding: 4px 10px; border-radius: 12px; margin-top: 4px;
}

/* Detalhes */
.destino-detalhes {
    display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px;
    padding: 12px 0; border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light);
}
.detalhe-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-dark); }
.detalhe-icon { font-size: 16px; }

/* Ação */
.destino-acao { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.custo-estimado-mini { font-size: 12px; color: var(--gray-medium); }
.custo-estimado-mini strong { color: var(--blue-secondary); font-weight: 600; }

.btn-google-flights {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px;
    background: var(--blue-secondary); color: var(--white); border: none; border-radius: 8px;
    font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600;
    text-decoration: none; transition: var(--transition); cursor: pointer; white-space: nowrap;
}
.btn-google-flights:hover { background: #0091CC; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,163,224,.3); }
.btn-google-flights svg { width: 16px; height: 16px; }

/* Sem resultados (filtro) */
.sem-resultados-filtro {
    text-align: center; padding: 48px 20px; background: var(--white);
    border-radius: var(--border-radius); box-shadow: var(--shadow);
}
.sem-resultados-filtro p { font-size: 16px; color: var(--gray-dark); margin-bottom: 16px; }
.btn-limpar-filtros-mini {
    display: inline-block; padding: 10px 24px; background: var(--orange-primary);
    color: var(--white); border: none; border-radius: 20px;
    font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer;
}
.btn-limpar-filtros-mini:hover { background: #D66A1A; }

/* Sem resultados (geral) */
.sem-resultados { text-align: center; padding: 60px 20px; background: var(--white); border-radius: var(--border-radius); box-shadow: var(--shadow); }
.sem-resultados img { width: 100px; height: 100px; margin-bottom: 20px; opacity: .8; }
.sem-resultados h2 { font-family: 'Poppins', sans-serif; font-size: 22px; color: var(--gray-dark); margin-bottom: 12px; }
.sem-resultados p { font-size: 15px; color: var(--gray-medium); margin-bottom: 24px; }
.btn-tentar-novamente { display: inline-block; padding: 14px 32px; background: var(--orange-primary); color: var(--white); border: none; border-radius: var(--border-radius); font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.btn-tentar-novamente:hover { background: #D66A1A; transform: translateY(-2px); }

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--white); padding: 24px 0; text-align: center; border-top: 1px solid #E0E0E0; }
.footer p { font-size: 14px; color: var(--gray-medium); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .intro-card { padding: 24px 16px; }
    .intro-card h1 { font-size: 20px; }
    .busca-form { padding: 24px 16px; }
    .destino-header { flex-direction: column; }
    .destino-preco-wrapper { text-align: left; }
    .destino-acao { flex-direction: column; align-items: stretch; }
    .btn-google-flights { width: 100%; justify-content: center; }
    .resultados-header h1 { font-size: 22px; }
}

.hidden { display: none !important; }

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, var(--orange-primary) 0%, #F59E42 100%);
    padding: 40px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; 
    right: -20%;
    width: 400px; 
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

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

.hero-avatar {
    width: 80px; 
    height: 80px;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero-section h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px; 
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.hero-section p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 540px;
    margin: 0 auto;
}

/* Efeito de sobreposição do formulário por cima do Hero */
#form-container {
    margin-top: -32px;
    position: relative;
    z-index: 10;
}

/* Remover o padding superior do main-content para colar no Hero */
.main-content {
    padding: 0 0 80px; /* Substitui o '32px 0 80px' anterior */
}

.autocomplete-city-group {
    background: #FFF8F0;
    border-left: 3px solid #E87722;
}

/* ================================================================
   BENETRIP - TODOS OS DESTINOS - PATCH CSS v3.5
   Adicione este CSS ao final do seu todos-destinos.css existente
   ================================================================ */

/* ================================================================
   FIX: SCROLL DOS FILTROS - Mobile + Desktop
   ================================================================ */

/* Painel de filtros: scroll interno */
.filtros-painel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.filtros-painel.aberto {
    max-height: none; /* Desktop: sem limite */
    overflow: visible;
}

/* Mobile: filtros como drawer lateral com scroll */
@media (max-width: 768px) {
    .filtros-painel {
        position: fixed;
        top: 0;
        right: -100%;
        width: 90%;
        max-width: 380px;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height para mobile */
        background: #fff;
        z-index: 1001;
        transition: right 0.3s ease;
        display: flex;
        flex-direction: column;
        max-height: 100vh;
        max-height: 100dvh;
        overflow: hidden;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        border-radius: 16px 0 0 16px;
    }

    .filtros-painel.aberto {
        right: 0;
        max-height: 100vh;
        max-height: 100dvh;
        overflow: hidden;
    }

    /* Header fixo do painel mobile */
    .filtros-header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid #E0E0E0;
        flex-shrink: 0;
        background: #fff;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .filtros-header-mobile h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
        color: #21272A;
    }

    .btn-fechar-filtros {
        width: 36px;
        height: 36px;
        border: none;
        background: #F5F5F5;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
    }

    /* Área de scroll dos filtros */
    .filtros-scroll-area {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        padding: 12px 20px 100px 20px; /* padding-bottom para o botão fixo */
        overscroll-behavior: contain; /* Evita scroll passando para o body */
    }

    /* Botão aplicar fixo no rodapé do drawer */
    .filtro-aplicar-mobile {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 12px 20px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #E0E0E0;
        flex-shrink: 0;
        z-index: 2;
    }

    .btn-aplicar-filtros {
        width: 100%;
        padding: 14px;
        background: #E87722;
        color: #fff;
        border: none;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
    }

    /* Overlay */
    .filtros-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
    }

    .filtros-overlay.aberto {
        display: block;
    }

    /* Impedir scroll do body quando filtros abertos */
    body.filtros-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* Desktop: filtros como accordion inline */
@media (min-width: 769px) {
    .filtros-header-mobile {
        display: none;
    }

    .filtros-scroll-area {
        max-height: 600px;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 16px;
        scrollbar-width: thin;
        scrollbar-color: #E87722 #F5F5F5;
    }

    .filtros-scroll-area::-webkit-scrollbar {
        width: 6px;
    }
    .filtros-scroll-area::-webkit-scrollbar-track {
        background: #F5F5F5;
        border-radius: 3px;
    }
    .filtros-scroll-area::-webkit-scrollbar-thumb {
        background: #E87722;
        border-radius: 3px;
    }

    .filtro-aplicar-mobile {
        display: none;
    }

    .filtros-overlay {
        display: none !important;
    }

    .filtros-painel.aberto {
        border: 1px solid #E0E0E0;
        border-radius: 12px;
        margin-bottom: 16px;
    }
}

/* Chips com scroll horizontal quando muitos */
.filtro-chips-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 150px;
    overflow-y: auto;
    padding-right: 4px;
}

@media (max-width: 768px) {
    .filtro-chips-scroll {
        max-height: 120px;
    }
}


/* ================================================================
   v3.5: ROTA DE AEROPORTOS NO CARD (ida → volta)
   ================================================================ */
.destino-rota {
    padding: 8px 0;
    margin: 4px 0 8px 0;
    border-top: 1px dashed #E0E0E0;
    border-bottom: 1px dashed #E0E0E0;
}

.rota-aeroportos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
}

.rota-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.rota-item strong {
    color: #21272A;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.rota-seta {
    color: #00A3E0;
    font-weight: 700;
    font-size: 16px;
}

.rota-ida strong {
    color: #E87722;
}

.rota-volta strong {
    color: #00A3E0;
}


/* ================================================================
   v3.5: HOTEL INFO NO CARD - Melhorado
   ================================================================ */
.custo-hotel-info {
    background: #F8FDF8;
    border: 1px solid #D4EDDA;
    border-radius: 10px;
    padding: 10px 12px;
    margin: 8px 0;
}

.custo-hotel-info.sem-hotel {
    background: #FFF9F0;
    border-color: #FFE0B2;
}

.custo-hotel-total {
    font-size: 14px;
    color: #21272A;
    line-height: 1.4;
}

.custo-hotel-total strong {
    color: #2E7D32;
    font-weight: 700;
}

.custo-hotel-detalhe {
    font-size: 12px;
    color: #777;
    margin-top: 3px;
    line-height: 1.3;
}

.custo-hotel-indisponivel {
    font-size: 13px;
    color: #A67C52;
    font-style: italic;
    line-height: 1.4;
}

/* Remove o antigo custo-estimado-mini se existir */
.custo-estimado-mini {
    display: none;
}


/* ================================================================
   v3.5: Ajustes no card - remover IATA duplicado do subtítulo
   ================================================================ */
.destino-pais {
    font-size: 13px;
    color: #777;
    margin: 2px 0 0 0;
}


/* ================================================================
   FILTRO GRUPO - Espaçamento melhorado
   ================================================================ */
.filtro-grupo {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F0F0F0;
}

.filtro-grupo:last-of-type {
    border-bottom: none;
}

.filtro-titulo {
    font-size: 14px;
    font-weight: 600;
    color: #21272A;
    margin-bottom: 10px;
}

.filtro-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    padding: 7px 14px;
    border: 1.5px solid #E0E0E0;
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    color: #555;
    font-family: 'Montserrat', sans-serif;
}

.chip:hover {
    border-color: #E87722;
    color: #E87722;
}

.chip.active {
    background: #E87722;
    color: #fff;
    border-color: #E87722;
    font-weight: 500;
}

.chip-sub {
    font-size: 11px;
    opacity: 0.8;
}


/* ================================================================
   FAIXA DE PREÇO
   ================================================================ */
.filtro-range {
    padding: 4px 0;
}

.range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.range-field {
    flex: 1;
}

.range-field label {
    display: block;
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
}

.range-field input {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.range-field input:focus {
    border-color: #E87722;
    outline: none;
}

.range-separator {
    color: #ccc;
    font-size: 18px;
    margin-top: 16px;
}

.range-hint {
    font-size: 11px;
    color: #999;
    text-align: center;
    margin-top: 6px;
}


/* ================================================================
   AÇÕES DOS FILTROS
   ================================================================ */
.filtro-acoes {
    padding: 12px 0 0 0;
    text-align: center;
}

.btn-limpar-filtros {
    background: none;
    border: 1.5px solid #E0E0E0;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    color: #777;
    transition: all 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.btn-limpar-filtros:hover {
    border-color: #E87722;
    color: #E87722;
}


/* ================================================================
   BOTÃO TOGGLE FILTROS
   ================================================================ */
.btn-toggle-filtros {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 1.5px solid #E0E0E0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #21272A;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.btn-toggle-filtros:hover {
    border-color: #E87722;
    color: #E87722;
}

.filtro-count {
    background: #E87722;
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}
