/* ============================================================
   AHGA TURISMO — Design System
   Cores extraídas da logo: rosa, azul, amarelo
   ============================================================ */

   :root {
    --ahga-rosa: #e91e63;
    --ahga-rosa-light: #f06292;
    --ahga-azul: #29a3d4;
    --ahga-azul-light: #5fc2e8;
    --ahga-amarelo: #f5a623;
    --ahga-amarelo-light: #ffc857;
    --ahga-roxo: #5c3ec9;
  
    --grad-principal: linear-gradient(135deg, #e91e63 0%, #f5a623 100%);
    --grad-azul-rosa: linear-gradient(135deg, #29a3d4 0%, #e91e63 100%);
    --grad-completo: linear-gradient(135deg, #e91e63 0%, #f5a623 50%, #29a3d4 100%);
  
    --text: #1e2b3c;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e6edf8;
    --border-strong: #cbd5e1;
    --bg: #f8faff;
    --white: #ffffff;
    --success: #22b573;
    --danger: #e74c3c;
    --warning: #ffb300;
  
    --shadow-sm: 0 4px 12px -4px rgba(233, 30, 99, 0.15);
    --shadow-md: 0 12px 25px -10px rgba(233, 30, 99, 0.2);
    --shadow-lg: 0 25px 40px -12px rgba(30, 43, 60, 0.2);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', system-ui, 'Segoe UI', Roboto, sans-serif;
  }
  
  body {
    background: linear-gradient(145deg, #f8faff 0%, #eef2f9 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
  }
  
  .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
  }
  
  /* ============================================================
     MOTIONS
     ============================================================ */
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }
  @keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  @keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.9); }
    60% { opacity: 1; transform: scale(1.02); }
    100% { transform: scale(1); }
  }
  @keyframes checkinPulse {
    0% { background-color: #22b573; transform: scale(1.01); }
    100% { background-color: transparent; transform: scale(1); }
  }
  @keyframes checkInBounce {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
  }
  
  .tab-fade-in {
    animation: fadeInUp 0.4s ease-out;
  }
  
  /* ============================================================
     HEADER
     ============================================================ */
  .app-header {
    background: #ffffff;
    border-bottom: 1.5px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 20px -12px rgba(233, 30, 99, 0.15);
  }
  
  .app-header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.7rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
  
  .app-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
  }
  .app-logo:hover { transform: scale(1.03); }
  
  .logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
  }
  
  .app-nav {
    display: flex;
    gap: 0.3rem;
    flex: 1;
    justify-content: center;
  }
  
  .app-nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.55rem 1.1rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.25s;
  }
  
  .app-nav-link:hover {
    background: #f1f5fc;
    color: var(--text);
  }
  
  .app-nav-link.active {
    background: var(--grad-principal);
    color: white;
    box-shadow: 0 4px 14px -4px rgba(233, 30, 99, 0.5);
  }
  
  .app-user { display: flex; align-items: center; gap: 0.7rem; }
  
  .btn-login {
    background: var(--grad-principal);
    color: white;
    border: none;
    padding: 0.6rem 1.3rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    box-shadow: 0 4px 14px -4px rgba(233, 30, 99, 0.5);
  }
  .btn-login:hover { transform: translateY(-2px); }
  
  .app-user-info { display: flex; align-items: center; gap: 0.7rem; }
  
  .user-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
  }
  .user-name { font-size: 0.85rem; font-weight: 700; }
  .user-cargo { font-size: 0.7rem; color: var(--ahga-rosa); font-weight: 600; text-transform: uppercase; }
  
  .app-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--grad-principal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
  }
  
  .app-logout {
    background: #f1f5fc;
    border: none;
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
  }
  .app-logout:hover { background: #ffe0e0; color: var(--danger); }
  
  /* ============================================================
     TABS
     ============================================================ */
  .tab-content { min-height: calc(100vh - 70px); }
  
  /* ============================================================
     HEADER HOME
     ============================================================ */
  .header {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .logo { display: flex; justify-content: center; margin-bottom: 0.5rem; }
  
  .hero-logo {
    height: 110px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(233, 30, 99, 0.15));
  }
  
  .subhead {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    font-weight: 500;
  }
  
  /* ============================================================
     PAINEL DE BUSCA
     ============================================================ */
  .search-panel {
    background: var(--white);
    border-radius: 2.5rem;
    box-shadow: var(--shadow-lg);
    padding: 2rem 2rem 1.8rem;
    margin-bottom: 3rem;
  }
  
  .search-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  .search-title i { color: var(--ahga-rosa); }
  
  .input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 1.5rem;
    margin-bottom: 1.2rem;
  }
  
  .input-row.input-row-origin-dest {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.8rem;
    align-items: end;
  }
  
  .input-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  
  .input-group label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }
  .input-group label i { color: var(--ahga-rosa); font-size: 0.78rem; }
  
  .input-group input,
  .input-group select {
    padding: 0.8rem 1rem;
    border-radius: 1.2rem;
    border: 1.5px solid var(--border-strong);
    background: white;
    font-size: 0.95rem;
    outline: none;
    font-weight: 500;
    color: var(--text);
  }
  .input-group input:focus,
  .input-group select:focus {
    border-color: var(--ahga-rosa);
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.12);
  }
  
  .input-help {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 500;
  }
  .input-help i { color: var(--ahga-azul); font-size: 0.7rem; }
  
  .search-btn {
    background: var(--grad-principal);
    border: none;
    color: white;
    font-weight: 700;
    padding: 1rem 1.8rem;
    border-radius: 2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    cursor: pointer;
    box-shadow: 0 8px 20px -6px rgba(233, 30, 99, 0.5);
    width: 100%;
    margin-top: 0.5rem;
  }
  .search-btn:hover { transform: translateY(-2px); }
  
  .swap-btn {
    background: var(--grad-principal);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 6px 18px -4px rgba(233, 30, 99, 0.5);
    margin-bottom: 1.5rem;
    flex-shrink: 0;
  }
  .swap-btn:hover { transform: rotate(180deg) scale(1.08); }
  
  .budget-presets { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.4rem; }
  
  .budget-chip {
    background: #f1f5fc;
    border: 1.5px solid var(--border-strong);
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 1.5rem;
    cursor: pointer;
  }
  .budget-chip:hover,
  .budget-chip.active {
    background: var(--grad-principal);
    border-color: transparent;
    color: white;
  }
  
  /* ============================================================
     PAINEL IA
     ============================================================ */
  .ai-panel {
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1.5px dashed var(--border);
    text-align: center;
  }
  
  .ai-btn {
    background: var(--grad-azul-rosa);
    border: none;
    color: white;
    font-weight: 700;
    padding: 1.1rem 2.5rem;
    border-radius: 3rem;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    box-shadow: 0 12px 28px -8px rgba(41, 163, 212, 0.5);
  }
  .ai-btn.small { padding: 0.7rem 1.3rem; font-size: 0.88rem; }
  .ai-btn:hover { transform: translateY(-3px); }
  
  .ai-hint { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.8rem; }
  
  .ai-loading {
    text-align: center;
    padding: 3rem 1rem;
    font-size: 1.05rem;
    color: var(--ahga-rosa);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    border: 1.5px dashed rgba(233, 30, 99, 0.2);
  }
  .ai-loading i { font-size: 2rem; margin-right: 0.8rem; color: var(--ahga-rosa); }
  
  /* ============================================================
     CARDS
     ============================================================ */
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .card {
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 15px 30px -12px rgba(0, 20, 40, 0.15);
    display: flex;
    flex-direction: column;
  }
  .card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -15px rgba(233, 30, 99, 0.25); }
  
  .card-img {
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0.8rem;
  }
  
  .climate-badge {
    position: absolute;
    top: 0.8rem; right: 0.8rem;
    background: rgba(30, 43, 60, 0.9);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
  }
  
  .ai-badge {
    position: absolute;
    top: 0.8rem; left: 0.8rem;
    background: var(--grad-principal);
    color: white;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    text-transform: uppercase;
  }
  
  .card-content { padding: 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
  .card-title { font-size: 1.35rem; font-weight: 800; }
  .card-title i { color: var(--ahga-rosa); font-size: 1.1rem; margin-right: 0.3rem; }
  
  .origin-item {
    background: linear-gradient(135deg, #fff0f5, #ffe8f0);
    color: var(--ahga-rosa);
    padding: 0.5rem 0.9rem;
    border-radius: 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
  }
  
  .details { display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.9rem; }
  .detail-item { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; }
  .detail-item i { width: 18px; color: var(--ahga-rosa); font-size: 0.95rem; }
  
  .price-breakdown {
    background: #f7f9fe;
    border-radius: 1.2rem;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    border: 1.5px solid var(--border);
  }
  .price-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; }
  .price-row span { display: flex; align-items: center; gap: 0.5rem; }
  .price-row span i { color: var(--ahga-amarelo); width: 16px; font-size: 0.85rem; }
  .price-row.total { border-top: 1.5px dashed var(--border-strong); padding-top: 0.7rem; margin-top: 0.2rem; font-size: 1rem; }
  .price-row.total strong { font-size: 1.25rem; color: var(--ahga-rosa); }
  .price-row.bus-total strong { color: var(--success) !important; }
  
  .attractions { background: #f1f5fc; border-radius: 1.4rem; padding: 1rem; }
  .attractions h4 { font-size: 0.78rem; text-transform: uppercase; margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.4rem; font-weight: 700; }
  .attractions h4 i { color: var(--ahga-rosa); }
  .attractions ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; }
  .attractions li { font-size: 0.85rem; font-weight: 500; display: flex; align-items: center; gap: 0.35rem; }
  .attractions li i { color: var(--ahga-rosa); font-size: 0.7rem; }
  
  .card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  
  .details-btn, .packages-btn {
    border: 1.5px solid var(--ahga-rosa);
    background: transparent;
    color: var(--ahga-rosa);
    font-weight: 700;
    padding: 0.7rem 0.8rem;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
  }
  .details-btn:hover { background: var(--ahga-rosa); color: white; }
  .packages-btn { background: var(--grad-principal); color: white; border-color: transparent; }
  
  /* ============================================================
     AVISOS
     ============================================================ */
  .budget-ok, .budget-quase, .budget-over {
    padding: 0.7rem 1rem;
    border-radius: 0.8rem;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
  }
  .budget-ok { background: #d4f5e5; color: #0d7a4a; border-left: 3px solid var(--success); }
  .budget-quase { background: #fff3cd; color: #7a5b1a; border-left: 3px solid var(--warning); }
  .budget-over { background: #ffe0e0; color: #a13030; border-left: 3px solid var(--danger); }
  
  .ai-warning {
    background: #fff8e1;
    border-left: 3px solid var(--warning);
    border-radius: 0.6rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.78rem;
    color: #7a5b1a;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
  
  .ai-notice {
    background: linear-gradient(135deg, #fff0f5, #fff8e1);
    border: 1.5px solid rgba(233, 30, 99, 0.2);
    border-radius: 1.2rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ahga-rosa);
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  
  /* ============================================================
     FULLSCREEN
     ============================================================ */
  .fullscreen-results {
    display: none;
    position: fixed;
    inset: 0;
    background: linear-gradient(145deg, #f8faff 0%, #eef2f9 100%);
    z-index: 100;
    overflow-y: auto;
  }
  .fullscreen-results.active { display: block; }
  
  .fullscreen-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1.5px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    z-index: 10;
  }
  .fullscreen-header-left { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
  .fullscreen-header h2 { font-size: 1.3rem; font-weight: 800; }
  .fullscreen-header h2 i { color: var(--ahga-rosa); margin-right: 0.3rem; }
  .fullscreen-header-right { display: flex; align-items: center; gap: 1rem; }
  
  .back-btn {
    background: #f1f5fc;
    border: none;
    padding: 0.6rem 1.1rem;
    border-radius: 2rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  .back-btn:hover { background: var(--grad-principal); color: white; }
  
  .badge-info {
    background: #f1f5fc;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-size: 0.82rem;
    font-weight: 700;
  }
  
  .fullscreen-filters {
    padding: 1rem 2rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1.5px solid var(--border);
  }
  
  .filter-chip {
    background: white;
    border: 1.5px solid var(--border-strong);
    padding: 0.5rem 1.1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }
  .filter-chip:hover, .filter-chip.active {
    background: var(--grad-principal);
    border-color: transparent;
    color: white;
  }
  
  .fullscreen-body { padding: 2rem; max-width: 1300px; margin: 0 auto; }
  
  /* ============================================================
     EMPTY STATE
     ============================================================ */
  .empty-state {
    text-align: center;
    padding: 3.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    grid-column: 1 / -1;
    border: 2px dashed var(--border-strong);
  }
  .empty-state i { font-size: 3rem; color: var(--border-strong); margin-bottom: 1rem; display: block; }
  
  /* ============================================================
     PACOTES
     ============================================================ */
  .packages-summary {
    padding: 1.5rem 2rem 0.5rem;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .summary-card {
    background: white;
    border-radius: 1.2rem;
    padding: 1rem 1.2rem;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
  .summary-card i { font-size: 1.4rem; color: var(--ahga-rosa); }
  .summary-card .info { display: flex; flex-direction: column; }
  .summary-card .label { font-size: 0.72rem; text-transform: uppercase; color: var(--text-light); font-weight: 700; }
  .summary-card .value { font-size: 1.1rem; font-weight: 800; }
  
  .packages-tabs {
    padding: 1rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
  }
  
  .tab-btn {
    background: white;
    border: 1.5px solid var(--border-strong);
    padding: 0.6rem 1.3rem;
    border-radius: 2rem;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  .tab-btn:hover, .tab-btn.active {
    background: var(--grad-azul-rosa);
    border-color: transparent;
    color: white;
  }
  
  .offers-list { display: flex; flex-direction: column; gap: 1rem; }
  
  .offer-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.3rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.3rem;
    align-items: center;
    border: 1.5px solid var(--border);
  }
  .offer-card:hover { border-color: var(--ahga-rosa); transform: translateX(6px); }
  
  .offer-logo {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    font-weight: 800;
  }
  
  .offer-info { display: flex; flex-direction: column; gap: 0.35rem; }
  .offer-name { font-size: 1.05rem; font-weight: 800; }
  .offer-details { font-size: 0.85rem; color: var(--text-muted); display: flex; gap: 1rem; flex-wrap: wrap; }
  
  .offer-tags { display: flex; gap: 0.5rem; margin-top: 0.3rem; flex-wrap: wrap; }
  .offer-tag { background: #f1f5fc; font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 20px; }
  
  .offer-price { text-align: right; display: flex; flex-direction: column; gap: 0.3rem; align-items: flex-end; }
  .offer-price .price-value { font-size: 1.6rem; font-weight: 800; color: var(--ahga-rosa); }
  .offer-price .price-label { font-size: 0.75rem; color: var(--text-light); }
  .offer-price .price-old { font-size: 0.8rem; color: var(--text-light); text-decoration: line-through; }
  
  .offer-buy {
    background: var(--grad-principal);
    color: white;
    border: none;
    padding: 0.7rem 1.3rem;
    border-radius: 2rem;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
  }
  .offer-buy.secondary { background: #f1f5fc; color: var(--text); border: 1.5px solid var(--border-strong); }
  
  .best-price-badge {
    background: linear-gradient(135deg, var(--success), #0d7a4a);
    color: white;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-left: 0.4rem;
  }
  
  /* ============================================================
     ROTEIRO
     ============================================================ */
  .itinerary-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2.5rem;
  }
  
  .itinerary-timeline { display: flex; flex-direction: column; gap: 1.5rem; }
  
  .timeline-item {
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    display: grid;
    grid-template-columns: 200px 1fr;
    border: 1.5px solid rgba(255,255,255,0.8);
  }
  .timeline-item:hover { transform: translateX(6px); }
  
  .timeline-item-img { background-size: cover; background-position: center; min-height: 180px; }
  
  .timeline-day-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--grad-principal);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
  }
  
  .timeline-item-content { padding: 1.5rem 1.8rem; display: flex; flex-direction: column; gap: 0.9rem; }
  .timeline-dest-name { font-size: 1.25rem; font-weight: 800; }
  .timeline-dest-name i { color: var(--ahga-rosa); margin-right: 0.3rem; }
  
  .timeline-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; }
  .timeline-meta span { display: flex; align-items: center; gap: 0.4rem; background: #f1f5fc; padding: 0.3rem 0.8rem; border-radius: 20px; font-weight: 600; }
  .timeline-meta span i { color: var(--ahga-rosa); font-size: 0.8rem; }
  
  .day-plan { display: flex; flex-direction: column; gap: 0.6rem; }
  .day-block {
    background: #f7f9fe;
    border-left: 3px solid var(--ahga-rosa);
    padding: 0.7rem 1rem;
    border-radius: 0.6rem;
    font-size: 0.88rem;
  }
  .day-block strong { font-weight: 800; margin-right: 0.3rem; }
  .day-block i { color: var(--ahga-rosa); margin-right: 0.4rem; }
  
  .timeline-price {
    background: linear-gradient(135deg, #fff0f5, #fff8e1);
    border-radius: 1rem;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
  }
  .timeline-price strong { font-size: 1.2rem; color: var(--ahga-rosa); }
  
  .timeline-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px dashed var(--border); }
  .timeline-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: none;
    cursor: pointer;
  }
  .timeline-btn.hotels { background: #003580; color: white; }
  .timeline-btn.flights { background: #1c2c5b; color: white; }
  .timeline-btn.bus { background: var(--success); color: white; }
  .timeline-btn.packages { background: var(--grad-principal); color: white; }
  
  /* ============================================================
     MODAL (CORRIGIDO — com scroll customizado)
     ============================================================ */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 43, 60, 0.7);
    backdrop-filter: blur(6px);
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }
  .modal-overlay.active {
    display: flex;
  }
  
  .modal {
    background: white;
    border-radius: 2rem;
    max-width: 520px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2rem;
    position: relative;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--ahga-rosa) var(--border);
  }
  
  .modal::-webkit-scrollbar { width: 8px; }
  .modal::-webkit-scrollbar-track { background: var(--border); border-radius: 10px; }
  .modal::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #e91e63, #f5a623);
    border-radius: 10px;
  }
  .modal::-webkit-scrollbar-thumb:hover { background: var(--ahga-rosa); }
  
  .modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: #f1f5fc;
    border: none;
    width: 38px; height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    z-index: 2;
  }
  .modal-close:hover { background: var(--ahga-rosa); color: white; transform: rotate(90deg); }
  
  .modal-hero-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 1.2rem;
    margin-bottom: 1.2rem;
  }
  
  .modal h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.3rem; }
  .modal h3 i { color: var(--ahga-rosa); }
  .modal .modal-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
  
  .modal-section { margin-bottom: 1.3rem; }
  .modal-section h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 800;
  }
  .modal-section h4 i { color: var(--ahga-rosa); }
  
  /* ✅ CORREÇÃO: Preserva formatação da descrição */
  .modal-section p {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.7;
    font-size: 0.9rem;
    color: #6b7d98;
  }
  
  .included-list { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
  .included-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
  .included-list li i { color: var(--success); }
  
  .modal-total {
    background: linear-gradient(135deg, #fff0f5, #fff8e1);
    border-radius: 1.2rem;
    padding: 1.2rem;
    text-align: center;
    margin-top: 1rem;
  }
  .modal-total span { display: block; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.3rem; font-weight: 700; }
  .modal-total strong { font-size: 2rem; color: var(--ahga-rosa); font-weight: 800; }
  .modal-total small { display: block; font-size: 0.8rem; color: var(--text-light); margin-top: 0.3rem; }
  
  /* ============================================================
     CLIMA E EVENTOS
     ============================================================ */
  .clima-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    background: #f7f9fe;
    border-radius: 1rem;
    border: 1.5px dashed var(--border);
  }
  .clima-loading i { color: var(--ahga-azul); font-size: 1.2rem; }
  
  .clima-indisponivel, .eventos-vazio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.2rem;
    background: #f7f9fe;
    border-radius: 1rem;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1.5px dashed var(--border);
  }
  .clima-indisponivel i, .eventos-vazio i { font-size: 1.3rem; opacity: 0.6; }
  
  .clima-container { display: flex; flex-direction: column; gap: 0.9rem; }
  
  .clima-titulo, .eventos-titulo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
  }
  .clima-titulo i { color: var(--ahga-amarelo); font-size: 1rem; }
  .eventos-titulo i { color: var(--ahga-rosa); font-size: 1rem; }
  
  .eventos-badge {
    background: var(--grad-principal);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.15rem 0.55rem;
    border-radius: 1rem;
    margin-left: auto;
  }
  
  .clima-atual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 1.2rem;
    flex-wrap: wrap;
  }
  .clima-atual-esq { display: flex; align-items: center; gap: 0.9rem; }
  .clima-atual-icone { font-size: 2.4rem; line-height: 1; }
  .clima-atual-info { display: flex; flex-direction: column; gap: 0.1rem; }
  .clima-atual-temp { font-size: 1.8rem; font-weight: 900; line-height: 1; }
  .clima-atual-desc { font-size: 0.85rem; font-weight: 700; }
  .clima-atual-sensacao { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; }
  .clima-atual-detalhes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 0.8rem; font-size: 0.78rem; font-weight: 600; }
  .clima-atual-detalhes div { display: flex; align-items: center; gap: 0.35rem; }
  .clima-atual-detalhes i { color: var(--ahga-azul); font-size: 0.75rem; width: 14px; }
  
  .clima-previsao { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 0.5rem; }
  
  .clima-dia {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.7rem 0.4rem;
    background: white;
    border-radius: 0.9rem;
    border: 1.5px solid var(--border);
    text-align: center;
  }
  .clima-dia:hover { transform: translateY(-3px); border-color: var(--ahga-rosa); }
  .clima-dia-nome { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
  .clima-dia i { font-size: 1.4rem; }
  .clima-dia-temp { display: flex; gap: 0.3rem; align-items: baseline; font-size: 0.78rem; font-weight: 800; }
  .clima-dia-temp .max { color: var(--text); }
  .clima-dia-temp .min { color: var(--text-light); font-size: 0.72rem; }
  .clima-dia-chuva { font-size: 0.65rem; color: var(--ahga-azul); font-weight: 700; display: flex; align-items: center; gap: 0.2rem; }
  
  .eventos-container { display: flex; flex-direction: column; gap: 0.7rem; }
  .eventos-lista { display: flex; flex-direction: column; gap: 0.6rem; }
  
  .evento-card {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, #fff0f5, #fff8e1);
    border-radius: 1rem;
    border: 1.5px solid rgba(233, 30, 99, 0.12);
  }
  .evento-card:hover { transform: translateX(4px); border-color: var(--ahga-rosa); }
  
  .evento-icone {
    width: 38px;
    height: 38px;
    border-radius: 0.8rem;
    background: var(--grad-principal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
  }
  
  .evento-info { flex: 1; display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
  .evento-nome { font-size: 0.92rem; font-weight: 800; line-height: 1.3; }
  .evento-data, .evento-local { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: 0.35rem; }
  .evento-data i, .evento-local i { color: var(--ahga-rosa); font-size: 0.7rem; width: 12px; }
  .evento-desc { font-size: 0.75rem; color: var(--text-light); line-height: 1.4; margin-top: 0.2rem; }
  
  .evento-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    color: var(--ahga-rosa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    text-decoration: none;
    flex-shrink: 0;
    border: 1.5px solid var(--border);
  }
  .evento-link:hover { background: var(--ahga-rosa); color: white; }
  
  .detalhes-section-clima {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1.5px dashed var(--border);
  }
  
  /* ============================================================
     LOGIN
     ============================================================ */
  .login-modal { max-width: 420px; }
  .login-header { text-align: center; margin-bottom: 1.5rem; }
  .login-logo { height: 80px; width: auto; margin-bottom: 1rem; }
  .login-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.3rem; }
  .login-sub { color: var(--text-muted); font-size: 0.88rem; }
  
  .auth-form { display: flex; flex-direction: column; gap: 1rem; }
  .auth-field { display: flex; flex-direction: column; gap: 0.4rem; }
  .auth-field label { font-size: 0.78rem; font-weight: 700; display: flex; align-items: center; gap: 0.4rem; }
  .auth-field label i { color: var(--ahga-rosa); font-size: 0.75rem; }
  .auth-field input,
  .auth-field textarea,
  .auth-field select {
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border-strong);
    border-radius: 1.2rem;
    font-size: 0.95rem;
    outline: none;
    width: 100%;
    font-family: inherit;
    font-weight: 500;
  }
  .auth-field input:focus,
  .auth-field textarea:focus,
  .auth-field select:focus {
    border-color: var(--ahga-rosa);
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.12);
  }
  
  .password-wrapper { position: relative; }
  .password-wrapper input { padding-right: 2.8rem; }
  .toggle-password {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 0.5rem;
    cursor: pointer;
  }
  
  .auth-submit {
    background: var(--grad-principal);
    color: white;
    border: none;
    padding: 0.9rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
  }
  .auth-erro {
    background: #ffe0e0;
    border-left: 3px solid var(--danger);
    color: #a13030;
    padding: 0.75rem 1rem;
    border-radius: 0.6rem;
    font-size: 0.85rem;
    margin-top: 1rem;
    font-weight: 600;
  }
  
  /* ============================================================
     EXCURSÕES
     ============================================================ */
  .excursoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.8rem;
  }
  
  .excursao-card {
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 15px 30px -12px rgba(0, 20, 40, 0.15);
    display: flex;
    flex-direction: column;
  }
  .excursao-card:hover { transform: translateY(-8px); }
  
  .excursao-img { height: 180px; background-size: cover; background-position: center; position: relative; }
  .excursao-categoria {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--grad-principal);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
  }
  
  .excursao-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }
  .excursao-titulo { font-size: 1.2rem; font-weight: 800; line-height: 1.3; }
  .excursao-meta { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.85rem; color: var(--text-muted); }
  .excursao-meta span { display: flex; align-items: center; gap: 0.4rem; }
  .excursao-meta i { color: var(--ahga-rosa); font-size: 0.78rem; }
  
  .excursao-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .excursao-footer {
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1.5px dashed var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .excursao-preco { display: flex; flex-direction: column; }
  .excursao-preco .preco-label { font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; font-weight: 700; }
  .excursao-preco strong { font-size: 1.5rem; font-weight: 800; color: var(--ahga-rosa); }
  .excursao-preco .preco-por { font-size: 0.72rem; color: var(--text-light); }
  .excursao-acoes { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
  .excursao-vagas { font-size: 0.75rem; color: var(--text-muted); font-weight: 700; }
  
  /* ============================================================
     BOTÕES GENÉRICOS
     ============================================================ */
  .btn-primary {
    background: var(--grad-principal);
    color: white;
    border: none;
    padding: 0.8rem 1.4rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  .btn-primary.small { padding: 0.55rem 1rem; font-size: 0.82rem; }
  .btn-primary:hover { transform: translateY(-2px); }
  
  .btn-secondary {
    background: white;
    color: var(--text);
    border: 1.5px solid var(--border-strong);
    padding: 0.8rem 1.4rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
  }
  .btn-secondary:hover { background: #f1f5fc; }
  
  /* ============================================================
     ADMIN
     ============================================================ */
  .admin-actions { display: flex; justify-content: flex-end; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
  
  .admin-list {
    background: white;
    border-radius: 2rem;
    border: 1.5px solid var(--border);
    overflow: hidden;
  }
  
  .admin-table { width: 100%; border-collapse: collapse; }
  .admin-table thead { background: linear-gradient(135deg, #fff0f5, #fff8e1); border-bottom: 1.5px solid var(--border); }
  .admin-table th { text-align: left; padding: 1rem 1.3rem; font-size: 0.75rem; text-transform: uppercase; font-weight: 800; }
  .admin-table td { padding: 1rem 1.3rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
  .admin-table tr:hover { background: #fff5f9; }
  .admin-table td strong { font-weight: 800; }
  
  .autor-badge {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1565c0;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
  }
  
  .admin-actions-cell { display: flex; gap: 0.4rem; }
  
  .icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f1f5fc;
    color: var(--text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
  }
  .icon-btn.edit:hover { background: var(--ahga-azul); color: white; }
  .icon-btn.delete:hover { background: var(--danger); color: white; }
  .icon-btn.delete-passageiro { background: #ffe0e0; color: #a13030; }
  .icon-btn.delete-passageiro:hover { background: var(--danger); color: white; }
  
  /* ============================================================
     FORM DE EXCURSÃO
     ============================================================ */
  .excursao-modal { max-width: 640px; }
  .excursao-form { display: flex; flex-direction: column; gap: 1rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  .form-actions { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1.5px dashed var(--border); }
  
  /* ============================================================
     FOOTER
     ============================================================ */
  .footer-note {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
  .footer-logo { height: 44px; width: auto; opacity: 0.85; }
  .footer-logo:hover { opacity: 1; }
  
  /* ============================================================
     COMPRA DE EXCURSÃO
     ============================================================ */
  .compra-modal { max-width: 520px; }
  .compra-resumo {
    background: linear-gradient(135deg, #fff0f5, #fff8e1);
    border-radius: 1rem;
    padding: 1rem;
    margin: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  .resumo-linha { display: flex; justify-content: space-between; font-size: 0.9rem; }
  .resumo-linha.total { border-top: 1.5px dashed var(--border-strong); padding-top: 0.5rem; margin-top: 0.3rem; font-size: 1.05rem; }
  .resumo-linha.total strong { color: var(--ahga-rosa); font-size: 1.3rem; }
  
  /* ============================================================
     CARTÃO DE EMBARQUE
     ============================================================ */
  .embarque-modal { max-width: 560px; }
  .embarque-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 2px solid var(--ahga-rosa);
    margin: 1rem 0;
  }
  .embarque-header { background: var(--grad-principal); padding: 1rem 1.5rem; display: flex; align-items: center; gap: 0.8rem; }
  .embarque-logo { height: 42px; width: auto; background: white; border-radius: 50%; padding: 3px; }
  .embarque-titulo { color: white; font-weight: 800; font-size: 1.1rem; }
  
  .embarque-body { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1.2rem 1.5rem; align-items: center; }
  .embarque-info { display: flex; flex-direction: column; gap: 0.45rem; }
  .embarque-row { display: flex; justify-content: space-between; font-size: 0.82rem; border-bottom: 1px dotted var(--border); padding-bottom: 0.25rem; }
  .embarque-row span { color: var(--text-muted); }
  .embarque-row strong { font-weight: 700; text-align: right; }
  .embarque-qr { display: flex; align-items: center; justify-content: center; padding: 0.5rem; background: white; border-radius: 0.8rem; border: 2px dashed var(--border-strong); }
  
  /* ============================================================
     LEITOR DE QR CODE
     ============================================================ */
  .leitor-modal { max-width: 500px; }
  .leitor-qr { width: 100%; min-height: 280px; background: #000; border-radius: 1rem; overflow: hidden; margin: 1rem 0; }
  .leitor-qr video { width: 100% !important; border-radius: 1rem; }
  .leitor-resultado { margin: 1rem 0; }
  
  .leitor-sucesso, .leitor-erro, .leitor-aviso { padding: 1.2rem; border-radius: 1rem; text-align: center; }
  .leitor-sucesso { background: #d4f5e5; border: 2px solid var(--success); }
  .leitor-sucesso i { font-size: 2.5rem; color: var(--success); margin-bottom: 0.5rem; }
  .leitor-erro { background: #ffe0e0; border: 2px solid var(--danger); }
  .leitor-erro i { font-size: 2.5rem; color: var(--danger); margin-bottom: 0.5rem; }
  .leitor-aviso { background: #fff3cd; border: 2px solid var(--warning); }
  .leitor-aviso i { font-size: 2.5rem; color: var(--warning); margin-bottom: 0.5rem; }
  
  .leitor-sucesso h4, .leitor-erro h4, .leitor-aviso h4 { font-size: 1.1rem; margin-bottom: 0.8rem; font-weight: 800; }
  .leitor-info { display: flex; flex-direction: column; gap: 0.4rem; text-align: left; background: white; padding: 0.8rem 1rem; border-radius: 0.7rem; margin-top: 0.8rem; }
  .leitor-info div { display: flex; justify-content: space-between; font-size: 0.85rem; }
  .leitor-info span { color: var(--text-muted); }
  
  /* ============================================================
     LISTA DE PASSAGEIROS
     ============================================================ */
  .lista-modal { max-width: 900px; width: 95%; max-height: 92vh; }
  .lista-conteudo { max-height: 70vh; overflow-y: auto; padding-right: 0.3rem; }
  
  .lista-header {
    background: linear-gradient(135deg, #fff0f5, #fff8e1);
    border-radius: 1.2rem;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    border: 1.5px solid rgba(233, 30, 99, 0.15);
  }
  .lista-header-info { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; }
  .lista-header-info span { display: flex; align-items: center; gap: 0.4rem; }
  .lista-header-info i { color: var(--ahga-rosa); }
  
  .lista-header-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
  .stat-box {
    background: white;
    border-radius: 0.9rem;
    padding: 0.7rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    border: 1.5px solid var(--border);
  }
  .stat-label { font-size: 0.68rem; text-transform: uppercase; color: var(--text-light); font-weight: 700; }
  .stat-value { font-size: 1.15rem; font-weight: 800; color: var(--ahga-rosa); }
  
  .lista-abas {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    background: #f1f5fc;
    padding: 0.4rem;
    border-radius: 1rem;
    border: 1.5px solid var(--border);
  }
  .lista-aba {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    border-radius: 0.8rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  .lista-aba:hover { background: rgba(233, 30, 99, 0.08); color: var(--ahga-rosa); }
  .lista-aba.ativa {
    background: linear-gradient(135deg, #e91e63 0%, #f5a623 100%);
    color: white;
  }
  
  .lista-tabela { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
  .lista-tabela thead { background: #f7f9fe; }
  .lista-tabela th {
    text-align: left;
    padding: 0.7rem 0.9rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 800;
    border-bottom: 1.5px solid var(--border);
  }
  .lista-tabela td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border); }
  .lista-tabela tbody tr:hover { background: #fff5f9; }
  
  .lista-tabela tbody tr.passageiro-embarcado {
    background: linear-gradient(90deg, #e8fff1 0%, #f0fff5 100%) !important;
    border-left: 4px solid #22b573;
  }
  .lista-tabela tbody tr.passageiro-embarcado td { color: #0d7a4a; font-weight: 800; }
  
  .checkin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  .checkin-badge.pendente { background: #fff3cd; color: #7a5b1a; border: 1px solid #ffe08a; }
  .checkin-badge.ok { background: linear-gradient(135deg, #22b573, #0d7a4a); color: white; }
  .nome-check-ok { display: inline-block; margin-left: 0.5rem; }
  
  .lista-acoes-finais {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1.5px dashed var(--border);
    flex-wrap: wrap;
  }
  
  .lista-total-geral {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, #1e2b3c, #2f405c);
    border-radius: 1.2rem;
    color: white;
  }
  .lista-total-geral-item { display: flex; flex-direction: column; gap: 0.3rem; }
  .lista-total-geral-item .label { font-size: 0.72rem; text-transform: uppercase; opacity: 0.75; font-weight: 700; }
  .lista-total-geral-item .value { font-size: 1.6rem; font-weight: 900; }
  .lista-total-geral-item.destaque .value { color: #ffc857; font-size: 1.8rem; }
  
  .checkins-recentes {
    background: linear-gradient(135deg, #e8fff1, #f0fff5);
    border: 2px solid #22b573;
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    margin: 1rem 0;
  }
  .checkins-recentes h4 { font-size: 0.9rem; font-weight: 800; color: #0d7a4a; margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.4rem; }
  .checkins-recentes ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; max-height: 180px; overflow-y: auto; }
  .checkins-recentes li {
    background: white;
    padding: 0.5rem 0.8rem;
    border-radius: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0d7a4a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-left: 3px solid #22b573;
  }
  
  /* ============================================================
     APROVAÇÕES
     ============================================================ */
  .aprovacoes-modal { max-width: 900px; width: 95%; max-height: 92vh; }
  .aprovacoes-conteudo { max-height: 72vh; overflow-y: auto; padding-right: 0.3rem; }
  
  .aprov-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; margin-bottom: 1rem; }
  
  .aprov-stat-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1rem;
    background: white;
    border-radius: 1rem;
    border: 1.5px solid var(--border);
  }
  .aprov-stat-card i {
    font-size: 1.4rem;
    width: 38px;
    height: 38px;
    border-radius: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .aprov-stat-card.pendente i { background: #fff3cd; color: #7a5b1a; }
  .aprov-stat-card.aprovado i { background: #d4f5e5; color: #0d7a4a; }
  .aprov-stat-card.recusado i { background: #ffe0e0; color: #a13030; }
  .aprov-stat-card.total i { background: #f1f5fc; color: #5c3ec9; }
  .aprov-stat-card .label { display: block; font-size: 0.68rem; text-transform: uppercase; color: var(--text-light); font-weight: 700; }
  .aprov-stat-card .value { display: block; font-size: 1.4rem; font-weight: 900; }
  
  .aprov-filtros { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1.5px dashed var(--border); }
  .aprov-filtro {
    background: white;
    border: 1.5px solid var(--border-strong);
    padding: 0.55rem 1rem;
    border-radius: 2rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: inherit;
  }
  .aprov-filtro:hover { background: #f1f5fc; }
  .aprov-filtro.ativo { background: var(--grad-principal); color: white; border-color: transparent; }
  .aprov-filtro.atualizar { background: #f1f5fc; margin-left: auto; }
  
  .aprov-lista { display: flex; flex-direction: column; gap: 1rem; }
  
  .aprov-card {
    background: white;
    border-radius: 1.3rem;
    border: 1.5px solid var(--border);
    overflow: hidden;
  }
  .aprov-card.pendente { border-left: 4px solid #f5a623; }
  .aprov-card.aprovado { border-left: 4px solid #22b573; background: linear-gradient(135deg, #ffffff, #f5fff9); }
  .aprov-card.recusado { border-left: 4px solid #e74c3c; background: linear-gradient(135deg, #ffffff, #fff5f5); }
  .aprov-card.utilizado { border-left: 4px solid #5c3ec9; }
  
  .aprov-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.1rem;
    background: #f7f9fe;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .aprov-card-status { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
  
  .aprov-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  .aprov-status-badge.pendente { background: #fff3cd; color: #7a5b1a; }
  .aprov-status-badge.aprovado { background: #d4f5e5; color: #0d7a4a; }
  .aprov-status-badge.recusado { background: #ffe0e0; color: #a13030; }
  .aprov-status-badge.utilizado { background: #e8e0ff; color: #5c3ec9; }
  
  .aprov-data { font-size: 0.72rem; color: var(--text-light); font-weight: 600; }
  .aprov-codigo { font-family: 'Courier New', monospace; font-size: 0.78rem; background: white; padding: 0.3rem 0.6rem; border-radius: 0.5rem; border: 1px solid var(--border); font-weight: 700; }
  
  .aprov-card-body { padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.8rem; }
  .aprov-info-principal { display: flex; align-items: center; gap: 0.8rem; }
  .aprov-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-principal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
  }
  .aprov-info-nome { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
  .aprov-info-nome h4 { font-size: 1.05rem; font-weight: 800; margin: 0; }
  .aprov-telefone { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: 0.3rem; }
  .aprov-telefone i { color: var(--ahga-rosa); font-size: 0.7rem; }
  
  .aprov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
  .aprov-grid-item {
    background: #f7f9fe;
    border-radius: 0.7rem;
    padding: 0.55rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    border: 1px solid var(--border);
  }
  .aprov-grid-item .label { font-size: 0.62rem; text-transform: uppercase; color: var(--text-light); font-weight: 700; }
  .aprov-grid-item strong { font-size: 0.88rem; font-weight: 800; word-break: break-word; }
  .aprov-grid-item.destaque { background: linear-gradient(135deg, #fff0f5, #fff8e1); }
  .aprov-grid-item.destaque strong { color: var(--ahga-rosa); }
  
  .aprov-excursao {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.9rem;
    background: linear-gradient(135deg, #f0f7ff, #e8f4ff);
    border-radius: 0.8rem;
    border-left: 3px solid var(--ahga-azul);
  }
  .aprov-excursao i { font-size: 1.3rem; color: var(--ahga-azul); }
  .aprov-excursao div { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
  .aprov-excursao strong { font-size: 0.92rem; font-weight: 800; }
  .aprov-excursao span { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }
  
  .aprov-vendedor { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }
  .aprov-vendedor i { color: var(--ahga-rosa); }
  .aprov-vendedor strong { color: var(--text); font-weight: 800; }
  
  .aprov-obs {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem;
    background: #fff8e1;
    border-radius: 0.7rem;
    border-left: 3px solid var(--warning);
    font-size: 0.82rem;
    color: #7a5b1a;
    font-weight: 600;
  }
  .aprov-motivo-recusa {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    background: #ffe0e0;
    border-radius: 0.8rem;
    border-left: 3px solid var(--danger);
    color: #a13030;
  }
  
  .aprov-card-actions { display: flex; gap: 0.5rem; padding: 0.9rem 1.2rem; background: #f7f9fe; border-top: 1px solid var(--border); flex-wrap: wrap; }
  .aprov-btn {
    padding: 0.65rem 1.1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    font-family: inherit;
    flex: 1;
    min-width: 110px;
    justify-content: center;
  }
  .aprov-btn.aprovar { background: linear-gradient(135deg, #22b573, #0d7a4a); color: white; }
  .aprov-btn.recusar { background: linear-gradient(135deg, #e74c3c, #a13030); color: white; }
  .aprov-btn.whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); color: white; }
  .aprov-btn.cartao { background: linear-gradient(135deg, #29a3d4, #1e7ba0); color: white; }
  .aprov-btn.excluir { background: #f1f5fc; color: var(--text); border: 1.5px solid var(--border-strong); }
  
  .recusa-modal { max-width: 480px; }
  
  .aprov-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    background: white;
    padding: 1rem 1.3rem;
    border-radius: 1rem;
    box-shadow: 0 15px 40px -10px rgba(30, 43, 60, 0.35);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.88rem;
    font-weight: 700;
    z-index: 20000;
    transform: translateX(400px);
    transition: transform 0.35s;
    max-width: 380px;
    border-left: 4px solid var(--success);
  }
  .aprov-toast.visivel { transform: translateX(0); }
  .aprov-toast.erro { border-left-color: var(--danger); }
  .aprov-toast.aviso { border-left-color: var(--warning); }
  
  .badge-pendentes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e74c3c;
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 0.15rem 0.45rem;
    border-radius: 1rem;
    min-width: 20px;
    height: 20px;
  }
  
  /* ============================================================
     CORREÇÃO DE CLIQUES
     ============================================================ */
  .modal-overlay:not(.active) {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
  .modal-overlay.active {
    display: flex !important;
    pointer-events: auto !important;
    visibility: visible !important;
    z-index: 10000 !important;
  }
  .fullscreen-results:not(.active) {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
  button, a, .btn-login, .app-nav-link, .app-logout,
  .excursao-card button, .admin-actions button,
  .timeline-btn, .offer-buy, .details-btn, .packages-btn {
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  
  /* ============================================================
     IMPRESSÃO
     ============================================================ */
  @media print {
    body * { visibility: hidden; }
    .embarque-card, .embarque-card * { visibility: visible; }
    .embarque-card { position: absolute; left: 0; top: 0; width: 100%; }
    .lista-modal, .lista-modal * { visibility: visible; }
    .lista-modal { position: absolute; inset: 0; max-width: 100%; box-shadow: none; }
    .modal-close, .lista-acoes-finais, .lista-abas { display: none !important; }
    .lista-conteudo { max-height: none; overflow: visible; }
  }
  
  /* ============================================================
     RESPONSIVO
     ============================================================ */
  @media (max-width: 900px) {
    .app-header-inner { padding: 0.6rem 1rem; gap: 1rem; }
    .app-nav { display: none; }
    .user-details { display: none; }
    .logo-img { height: 42px; }
    .hero-logo { height: 80px; }
  }
  
  @media (max-width: 800px) {
    .timeline-item { grid-template-columns: 1fr; }
    .timeline-item-img { min-height: 140px; }
    .offer-card { grid-template-columns: 1fr; text-align: center; }
    .offer-price { align-items: center; }
  }
  
  @media (max-width: 768px) {
    .excursoes-grid { grid-template-columns: 1fr !important; gap: 1.2rem; }
    .excursao-card { display: flex !important; flex-direction: column; width: 100%; }
    .excursao-img { height: 160px; min-height: 160px; }
    .admin-table { display: block; overflow-x: auto; white-space: nowrap; }
  }
  
  @media (max-width: 700px) {
    .input-row, .input-row.input-row-origin-dest { grid-template-columns: 1fr; }
    .swap-btn { margin: 0.3rem auto; width: 44px; height: 44px; }
    .form-row { grid-template-columns: 1fr; }
    .excursao-footer { flex-direction: column; align-items: stretch; }
    .excursao-acoes { align-items: stretch; }
    .lista-header-stats { grid-template-columns: 1fr; }
    .lista-abas { flex-direction: column; }
    .lista-total-geral { grid-template-columns: 1fr; }
    .aprov-stats { grid-template-columns: repeat(2, 1fr); }
    .aprov-grid { grid-template-columns: repeat(2, 1fr); }
    .aprov-btn { flex: 1 1 100%; min-width: 0; }
  }
  
  @media (max-width: 600px) {
    .container { padding: 1rem 0.8rem 3rem; }
    .search-panel { padding: 1.5rem; }
    .search-btn { width: 100%; }
    .fullscreen-header { padding: 0.8rem 1rem; }
    .fullscreen-body { padding: 1rem; }
    .fullscreen-filters { padding: 0.8rem 1rem; }
    .packages-summary, .packages-tabs { padding: 1rem; }
    .modal { padding: 1.5rem; }
    .card-actions { grid-template-columns: 1fr; }
    .admin-table th, .admin-table td { padding: 0.7rem; font-size: 0.8rem; }
    .hero-logo { height: 70px; }
  }
  
  @media (max-width: 500px) {
    .embarque-body { grid-template-columns: 1fr; }
    .embarque-qr { justify-self: center; }
    .clima-atual { flex-direction: column; align-items: flex-start; }
    .clima-previsao { grid-template-columns: repeat(4, 1fr); }
    .clima-dia { padding: 0.6rem 0.3rem; }
    .clima-dia-nome { font-size: 0.65rem; }
    .clima-dia i { font-size: 1.1rem; }
    .clima-dia-temp { font-size: 0.7rem; }
  }
  
  @media (max-width: 420px) {
    .aprov-stat-card { flex-direction: column; text-align: center; padding: 0.6rem; }
    .aprov-stat-card i { width: 32px; height: 32px; font-size: 1.1rem; }
    .aprov-stat-card .value { font-size: 1.15rem; }
  }
  
  /* ============================================================
     ACESSIBILIDADE
     ============================================================ */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }