@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --page-bg: #000000; /* Fundo preto sólido */
    --card-bg: #0a0a0a; /* Cartão preto */
    --card-hover: #141414;
    --primary-color: #ff7a00;
    --secondary-color: #ffb400;
    --accent-color: #ffd700;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --glass-border: rgba(255, 255, 255, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Premium Thin Orange Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #ff7a00;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff8c00;
}

/* Firefox compatibility */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #000000;
    background-color: var(--page-bg, #000000);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--page-bg, #000000) !important;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#inicio,
#solucoes,
#destinos,
#aluguer,
#contacto {
    scroll-margin-top: 100px;
}

/* Glassmorphism / Card Utility */
.glass {
    background: var(--card-bg, #000000);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition);
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-main);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 4rem 0;
    background-color: transparent;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.9rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a,
nav .nav-links a,
body.dark-theme nav .nav-links a,
body.dark-theme nav:not(.scrolled) .nav-links a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75) !important;
    transition: color 0.3s ease, text-shadow 0.3s ease !important;
}

.nav-links a:hover,
.nav-links a.active,
body.light-theme nav .nav-links a:hover,
body.light-theme nav .nav-links a.active,
body.dark-theme nav .nav-links a:hover,
body.dark-theme nav .nav-links a.active {
    color: #ff7a00 !important;
    text-shadow: 0 2px 10px rgba(255, 122, 0, 0.5) !important;
}

/* Theme Toggle Button in Navbar (Ao lado do botão entrar) */
.nav-theme-toggle,
#theme-toggle-btn,
body.light-theme .nav-theme-toggle,
body.dark-theme .nav-theme-toggle,
body.light-theme #theme-toggle-btn,
body.dark-theme #theme-toggle-btn {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: transform 0.25s ease, filter 0.25s ease !important;
}

/* No topo (sobre a imagem): ícone sempre branco */
.nav-theme-toggle svg,
#theme-toggle-btn svg,
body.dark-theme .nav-theme-toggle svg,
body.dark-theme #theme-toggle-btn svg,
body.dark-theme nav:not(.scrolled) .nav-theme-toggle svg,
body.dark-theme nav:not(.scrolled) #theme-toggle-btn svg {
    width: 28px !important;
    height: 28px !important;
    stroke: #ffffff !important;
    stroke-width: 2.2 !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.75));
    transition: stroke 0.3s ease, filter 0.3s ease, transform 0.2s ease !important;
}

.nav-theme-toggle:hover,
#theme-toggle-btn:hover {
    transform: scale(1.18) !important;
}

body.light-theme .nav-theme-toggle:hover,
body.light-theme #theme-toggle-btn:hover,
body.light-theme .nav-theme-toggle:focus,
body.light-theme #theme-toggle-btn:focus,
body.light-theme .nav-theme-toggle:active,
body.light-theme #theme-toggle-btn:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    transform: scale(1.18) !important;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.35)) !important;
}

.nav-theme-toggle svg,
#theme-toggle-btn svg,
body.dark-theme .nav-theme-toggle svg,
body.dark-theme #theme-toggle-btn svg {
    width: 28px !important;
    height: 28px !important;
    stroke: #ffffff !important;
    stroke-width: 2.2 !important;
    transition: stroke 0.2s ease, transform 0.2s ease;
}

body.light-theme nav.scrolled .nav-theme-toggle svg,
body.light-theme nav.scrolled #theme-toggle-btn svg {
    width: 28px !important;
    height: 28px !important;
    stroke: #111827 !important;
    stroke-width: 2.2 !important;
    transition: stroke 0.2s ease, transform 0.2s ease;
}

body.light-theme nav:not(.scrolled) .nav-theme-toggle svg,
body.light-theme nav:not(.scrolled) #theme-toggle-btn svg {
    width: 28px !important;
    height: 28px !important;
    stroke: #ffffff !important;
    stroke-width: 2.2 !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.75));
    transition: stroke 0.2s ease, transform 0.2s ease;
}

/* Floating Theme Toggle Button */
.theme-toggle-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ff7a00;
}

.theme-toggle-floating:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 15px 35px rgba(255, 122, 0, 0.4);
}

.theme-toggle-floating svg {
    width: 22px;
    height: 22px;
    stroke: #ff7a00;
}

/* Theme Icon Visibility Switch */
.theme-icon-sun {
    display: none !important;
}
.theme-icon-moon {
    display: block !important;
}

body.light-theme .theme-icon-sun,
html.light-theme .theme-icon-sun {
    display: block !important;
}
body.light-theme .theme-icon-moon,
html.light-theme .theme-icon-moon {
    display: none !important;
}

/* ==========================================================================
   HERO SECTION — IMAGEM EXCLUSIVAMENTE NO INÍCIO COM FADE GRADIENTE
   ========================================================================== */
.hero {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    box-sizing: border-box;
    background: transparent;
}

.hero .slideshow-container,
.hero .hero-slideshow {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    display: block !important;
}

.hero .slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
    display: block !important;
}

/* Overlay do Hero com transição elegante e suave apenas para baixo (zero sombra em cima) */
.hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 75%,
        rgba(0, 0, 0, 0.40) 90%,
        #000000 100%
    ) !important;
}

body.light-theme .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(243, 244, 246, 0) 0%,
        rgba(243, 244, 246, 0) 80%,
        rgba(243, 244, 246, 0.35) 92%,
        #f3f4f6 100%
    ) !important;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1rem;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

/* Horizontal Search Bar - 100vh Hero Position */
.search-container {
    width: 100%;
    margin-top: 2rem;
    z-index: 5;
    position: relative;
}

/* Above-the-fold Hero Elements: Garantir visibilidade imediata absoluta (sem atrasos ou ecrã vazio) */
.hero .reveal,
.hero-container .reveal,
.hero-content h1,
.hero-content p,
.hero .search-container,
#hero-title,
#hero-subtitle {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* ── SEGMENT SWITCHER (INTERPROVINCIAL VS URBANA) ── */
.home-segment-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
    width: 100%;
}

.segment-switch {
    position: relative;
    display: flex;
    background: #000000 !important;
    border: none !important;
    border-radius: 14px;
    padding: 4px;
    gap: 4px;
    overflow: hidden;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
    transition: border-color 0.3s ease;
}

.segment-switch.is-urban {
    border-color: transparent !important;
}

.segment-slider-pill {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    background: #ff7a00 !important;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.4) !important;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.segment-switch.is-urban .segment-slider-pill {
    transform: translateX(100%);
    background: #2563eb !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.5) !important;
}

.segment-btn {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff !important;
    background: transparent;
    cursor: pointer;
    transition: color 0.25s ease, transform 0.15s ease;
    white-space: nowrap;
    outline: none;
}

.segment-btn span {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.segment-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #ffffff !important;
    stroke: #ffffff !important;
    transition: transform 0.2s ease;
}

.segment-btn:hover {
    color: #ffffff !important;
}

.segment-btn.active {
    color: #ffffff !important;
    background: transparent !important;
    box-shadow: none !important;
}

.segment-btn.active span {
    color: #ffffff !important;
}

.segment-btn.active svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
    transform: scale(1.08);
}

.search-bar,
.search-bar.glass,
.search-container .search-bar,
#home-search-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
    border-radius: 30px;
    background: #000000;
    background-color: #000000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* ── DARK THEME ENFORCEMENT (HARMONIOUS SLATE GLASS) ── */
body:not(.light-theme) .search-bar,
body:not(.light-theme) .search-bar.glass,
body:not(.light-theme) .search-container .search-bar,
body:not(.light-theme) #home-search-bar,
html:not(.light-theme) .search-bar,
html:not(.light-theme) .search-bar.glass,
html:not(.light-theme) .search-container .search-bar,
html:not(.light-theme) #home-search-bar,
body.dark-theme .search-bar,
body.dark-theme .search-bar.glass,
body.dark-theme .search-container .search-bar,
body.dark-theme #home-search-bar,
html.dark-theme .search-bar,
html.dark-theme .search-bar.glass,
html.dark-theme .search-container .search-bar,
html.dark-theme #home-search-bar {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.92) 0%, rgba(10, 15, 26, 0.96) 100%) !important;
    background-color: #0c111d !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
}

body:not(.light-theme) .hero-overlay,
html:not(.light-theme) .hero-overlay,
body.dark-theme .hero-overlay,
html.dark-theme .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 10, 15, 0.35) 0%, rgba(8, 10, 15, 0.65) 60%, #080a0f 100%) !important;
}

/* ── LIGHT / WHITE THEME ENFORCEMENT (DESKTOP & ALL SCREENS) ── */
body.light-theme .search-bar,
body.light-theme .search-bar.glass,
body.light-theme .search-container .search-bar,
body.light-theme #home-search-bar,
html.light-theme .search-bar,
html.light-theme .search-bar.glass,
html.light-theme .search-container .search-bar,
html.light-theme #home-search-bar {
    background: #ffffff !important;
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08) !important;
}

.search-field {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left !important;
    align-items: flex-start !important;
}

.search-field label {
    font-size: 0.80rem;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 0.35rem;
    text-align: left !important;
    align-self: flex-start !important;
    width: 100% !important;
    display: block !important;
}

/* Modo escuro: títulos dos inputs estritamente brancos */
body:not(.light-theme) .search-field label,
html:not(.light-theme) .search-field label,
body.dark-theme .search-field label,
html.dark-theme .search-field label {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body.light-theme .search-field label,
html.light-theme .search-field label {
    color: #4a2c11 !important;
    -webkit-text-fill-color: #4a2c11 !important;
    font-weight: 700 !important;
    text-align: left !important;
    align-self: flex-start !important;
}

.search-bar .input-box,
.search-bar.glass .input-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #0d1117 !important;
    background-color: #0d1117 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px;
    transition: var(--transition);
}

body.light-theme .search-bar .input-box,
body.light-theme .search-bar.glass .input-box,
html.light-theme .search-bar .input-box,
html.light-theme .search-bar.glass .input-box {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

.search-bar .input-box:focus-within,
.search-bar.glass .input-box:focus-within {
    border-color: #ff7a00 !important;
    background: #0d1117 !important;
    background-color: #0d1117 !important;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.25) !important;
}

body.light-theme .search-bar .input-box:focus-within,
body.light-theme .search-bar.glass .input-box:focus-within,
html.light-theme .search-bar .input-box:focus-within,
html.light-theme .search-bar.glass .input-box:focus-within {
    border-color: #ff7a00 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.2) !important;
}

body.light-theme .search-bar.is-urban .input-box:focus-within,
html.light-theme .search-bar.is-urban .input-box:focus-within {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2) !important;
}

.search-bar .input-box select,
.search-bar .input-box input,
.custom-select {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0.8rem 1rem 0.8rem 3rem;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    outline: none;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    min-height: 46px;
    display: flex;
    align-items: center;
}

body.light-theme .search-bar .input-box input,
body.light-theme .search-bar .input-box select,
html.light-theme .search-bar .input-box input,
html.light-theme .search-bar .input-box select {
    color: #0f172a !important;
}

body.light-theme .search-bar .input-box input::placeholder,
html.light-theme .search-bar .input-box input::placeholder {
    color: #64748b !important;
}

.search-bar .input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar .origin-input-box input,
/* Ocultar seta nativa padrão de datalist */
input[list]::-webkit-calendar-picker-indicator {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

.search-bar .input-box input::placeholder {
    color: rgba(255, 255, 255, 0.75) !important;
}

.search-bar .input-box i,
.search-bar .input-box svg {
    color: #ff7a00 !important;
    stroke: #ff7a00 !important;
}

/* ── BOTÃO DE INVERTER ENTRE ORIGEM E DESTINO ── */
.swap-action-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    margin-bottom: 5px;
    flex-shrink: 0;
    z-index: 5;
}

.btn-swap {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1e293b !important;
    border: 1.5px solid #ff7a00 !important;
    color: #ff7a00 !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s, box-shadow 0.2s !important;
    flex-shrink: 0 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25) !important;
    outline: none !important;
    position: relative !important;
}

.btn-swap i,
.btn-swap svg {
    width: 17px !important;
    height: 17px !important;
    color: #ff7a00 !important;
    stroke: #ff7a00 !important;
    stroke-width: 2.3 !important;
    display: block !important;
    margin: auto !important;
    pointer-events: none !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.2s ease !important;
}

.btn-swap:hover {
    background: #ff7a00 !important;
    color: #ffffff !important;
    border-color: #ff7a00 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 0 16px rgba(255, 122, 0, 0.6) !important;
}

.btn-swap:hover i,
.btn-swap:hover svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.btn-swap:active,
.btn-swap.rotating {
    transform: rotate(180deg) scale(0.95) !important;
}

/* Modo Urbano (Botão Azul) */
.search-bar.is-urban .btn-swap {
    background: rgba(37, 99, 235, 0.2) !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
    color: #38bdf8 !important;
}

.search-bar.is-urban .btn-swap i,
.search-bar.is-urban .btn-swap svg {
    color: #38bdf8 !important;
    stroke: #38bdf8 !important;
}

.search-bar.is-urban .btn-swap:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.5) !important;
}

.search-bar.is-urban .btn-swap:hover i,
.search-bar.is-urban .btn-swap:hover svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Modo White (Tema Claro) */
body.light-theme .btn-swap,
html.light-theme .btn-swap {
    background: #ffffff !important;
    border: 1.5px solid #ff7a00 !important;
    color: #ff7a00 !important;
    box-shadow: 0 2px 6px rgba(255, 122, 0, 0.2) !important;
}

body.light-theme .btn-swap i,
body.light-theme .btn-swap svg,
html.light-theme .btn-swap i,
html.light-theme .btn-swap svg {
    color: #ff7a00 !important;
    stroke: #ff7a00 !important;
}

body.light-theme .btn-swap:hover,
html.light-theme .btn-swap:hover {
    background: #ea580c !important;
    color: #ffffff !important;
    border-color: #ea580c !important;
}

body.light-theme .btn-swap:hover i,
body.light-theme .btn-swap:hover svg,
html.light-theme .btn-swap:hover i,
html.light-theme .btn-swap:hover svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

body.light-theme .search-bar.is-urban .btn-swap,
html.light-theme .search-bar.is-urban .btn-swap {
    background: #eff6ff !important;
    border: 1.5px solid #93c5fd !important;
    color: #1d4ed8 !important;
}

body.light-theme .search-bar.is-urban .btn-swap i,
body.light-theme .search-bar.is-urban .btn-swap svg,
html.light-theme .search-bar.is-urban .btn-swap i,
html.light-theme .search-bar.is-urban .btn-swap svg {
    color: #1d4ed8 !important;
    stroke: #1d4ed8 !important;
}

body.light-theme .search-bar.is-urban .btn-swap:hover,
html.light-theme .search-bar.is-urban .btn-swap:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

body.light-theme .search-bar.is-urban .btn-swap:hover i,
body.light-theme .search-bar.is-urban .btn-swap:hover svg,
html.light-theme .search-bar.is-urban .btn-swap:hover i,
html.light-theme .search-bar.is-urban .btn-swap:hover svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* ── BOTÃO PESQUISAR (INTERPROVINCIAL: LARANJA COM HOVER EM DESTAQUE) ── */
.btn-search,
button.btn-search,
#search-trigger {
    background: #ff7a00 !important;
    border: 1px solid #ff7a00 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 0.9rem 2.2rem !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 1rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.35) !important;
    position: relative !important;
    overflow: hidden !important;
}

.btn-search::before,
.btn-search::after,
button.btn-search::before,
button.btn-search::after,
#search-trigger::before,
#search-trigger::after {
    display: none !important;
    content: none !important;
}

.btn-search:hover,
button.btn-search:hover,
#search-trigger:hover {
    background: #ff8c1a !important;
    border-color: #ff8c1a !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.55) !important;
    filter: brightness(1.08) !important;
}

.btn-search:active,
button.btn-search:active,
#search-trigger:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(255, 122, 0, 0.3) !important;
}

.btn-search i,
.btn-search svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* ── SEARCH BAR MODO URBANA (TEMA AZUL 100%) ── */
.search-bar.is-urban .input-box i,
.search-bar.is-urban .input-box svg {
    color: #3b82f6 !important;
    stroke: #3b82f6 !important;
}

.search-bar.is-urban .btn-swap {
    background: #000000 !important;
    border-color: rgba(59, 130, 246, 0.45) !important;
    color: #3b82f6 !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25) !important;
}

.search-bar.is-urban .btn-swap i,
.search-bar.is-urban .btn-swap svg {
    color: #3b82f6 !important;
    stroke: #3b82f6 !important;
}

.search-bar.is-urban .btn-swap:hover {
    background: rgba(59, 130, 246, 0.2) !important;
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.55) !important;
    transform: rotate(180deg) scale(1.1) !important;
}

.search-bar.is-urban .btn-search,
.search-bar.is-urban #search-trigger {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35) !important;
}

.search-bar.is-urban .btn-search:hover,
.search-bar.is-urban #search-trigger:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6) !important;
    filter: brightness(1.08) !important;
}

.search-bar.is-urban .btn-search:active,
.search-bar.is-urban #search-trigger:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
}

body.light-theme .search-bar.is-urban .input-box i,
body.light-theme .search-bar.is-urban .input-box svg,
html.light-theme .search-bar.is-urban .input-box i,
html.light-theme .search-bar.is-urban .input-box svg {
    color: #2563eb !important;
    stroke: #2563eb !important;
}

body.light-theme .search-bar.is-urban .input-box:focus-within,
html.light-theme .search-bar.is-urban .input-box:focus-within {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
}

body.light-theme .search-bar.is-urban .btn-swap,
html.light-theme .search-bar.is-urban .btn-swap {
    background: #ffffff !important;
    border: 1.5px solid rgba(37, 99, 235, 0.5) !important;
    color: #2563eb !important;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.18) !important;
}

body.light-theme .search-bar.is-urban .btn-swap i,
body.light-theme .search-bar.is-urban .btn-swap svg,
html.light-theme .search-bar.is-urban .btn-swap i,
html.light-theme .search-bar.is-urban .btn-swap svg {
    color: #2563eb !important;
    stroke: #2563eb !important;
}

body.light-theme .search-bar.is-urban .btn-swap:hover,
html.light-theme .search-bar.is-urban .btn-swap:hover {
    background: rgba(37, 99, 235, 0.12) !important;
    border-color: #2563eb !important;
    color: #2563eb !important;
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.35) !important;
    transform: rotate(180deg) scale(1.1) !important;
}

body.light-theme .search-bar.is-urban .btn-search,
body.light-theme .search-bar.is-urban #search-trigger {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35) !important;
}

body.light-theme .search-bar.is-urban .btn-search:hover,
body.light-theme .search-bar.is-urban #search-trigger:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.55) !important;
}

.segment-switch.is-urban .segment-btn:hover,
#home-tab-urban-btn:hover {
    color: #60a5fa !important;
}

body.light-theme .segment-switch.is-urban .segment-btn:hover,
body.light-theme #home-tab-urban-btn:hover {
    color: #2563eb !important;
}/* ── MOBILE SEARCH FORM DARK THEME (PURE SOLID BLACK, NEVER TRANSPARENT) ── */
@media (max-width: 768px) {
    body:not(.light-theme) .search-container,
    html:not(.light-theme) .search-container,
    body.dark-theme .search-container,
    html.dark-theme .search-container {
        background: transparent !important;
    }

    body:not(.light-theme) .search-bar,
    body:not(.light-theme) .search-bar.glass,
    body:not(.light-theme) .search-container .search-bar,
    body:not(.light-theme) #home-search-bar,
    html:not(.light-theme) .search-bar,
    html:not(.light-theme) .search-bar.glass,
    html:not(.light-theme) .search-container .search-bar,
    html:not(.light-theme) #home-search-bar,
    body.dark-theme .search-bar,
    body.dark-theme .search-bar.glass,
    body.dark-theme .search-container .search-bar,
    body.dark-theme #home-search-bar,
    html.dark-theme .search-bar,
    html.dark-theme .search-bar.glass,
    html.dark-theme .search-container .search-bar,
    html.dark-theme #home-search-bar {
        background: linear-gradient(135deg, rgba(17, 24, 39, 0.94) 0%, rgba(10, 15, 26, 0.98) 100%) !important;
        background-color: #0c111d !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
        padding: 1.25rem 1.2rem !important;
        gap: 1rem !important;
    }

    body:not(.light-theme) .search-bar .input-box,
    body:not(.light-theme) .search-bar.glass .input-box,
    html:not(.light-theme) .search-bar .input-box,
    html:not(.light-theme) .search-bar.glass .input-box,
    body.dark-theme .search-bar .input-box,
    body.dark-theme .search-bar.glass .input-box,
    html.dark-theme .search-bar .input-box,
    html.dark-theme .search-bar.glass .input-box {
        background: rgba(5, 8, 15, 0.85) !important;
        background-color: #060911 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4) !important;
    }

    body:not(.light-theme) .segment-switch,
    html:not(.light-theme) .segment-switch,
    body.dark-theme .segment-switch,
    html.dark-theme .segment-switch {
        background: #000000 !important;
        background-color: #000000 !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    /* ── MOBILE SEARCH FORM LIGHT/WHITE THEME (ELEGANT LIGHT GRAY, NEVER BLACK) ── */
    body.light-theme .search-container,
    html.light-theme .search-container {
        background: transparent !important;
    }

    body.light-theme .search-bar,
    body.light-theme .search-bar.glass,
    body.light-theme .search-container .search-bar,
    body.light-theme #home-search-bar,
    html.light-theme .search-bar,
    html.light-theme .search-bar.glass,
    html.light-theme .search-container .search-bar,
    html.light-theme #home-search-bar {
        background: #f1f5f9 !important;
        background-color: #f1f5f9 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: 1.5px solid #cbd5e1 !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
        padding: 1.25rem 1.2rem !important;
        gap: 1rem !important;
    }

    body.light-theme .search-bar .input-box,
    body.light-theme .search-bar.glass .input-box,
    html.light-theme .search-bar .input-box,
    html.light-theme .search-bar.glass .input-box {
        background: #ffffff !important;
        background-color: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: 1.5px solid #cbd5e1 !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    }

    body.light-theme .search-bar .input-box input,
    html.light-theme .search-bar .input-box input,
    body.light-theme .search-bar .input-box select,
    html.light-theme .search-bar .input-box select {
        color: #0f172a !important;
    }

    body.light-theme .search-bar .input-box input::placeholder,
    html.light-theme .search-bar .input-box input::placeholder {
        color: #64748b !important;
    }

    body.light-theme .search-field label,
    html.light-theme .search-field label {
        color: #475569 !important;
        font-weight: 700 !important;
    }

    body.light-theme .segment-switch,
    html.light-theme .segment-switch {
        background: #e2e8f0 !important;
        background-color: #e2e8f0 !important;
        border: 1.5px solid #cbd5e1 !important;
    }

    body.light-theme .segment-btn,
    html.light-theme .segment-btn {
        color: #475569 !important;
    }

    body.light-theme .segment-btn.active,
    html.light-theme .segment-btn.active {
        color: #ffffff !important;
    }
}

/* Custom Dropdown Styling */
.custom-select-wrapper {
    position: relative;
    z-index: 10;
}

.select-options {
    position: absolute;
    bottom: calc(100% + 10px);
    top: auto;
    left: 0;
    width: 100%;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 0.5rem;
    max-height: 259px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
}

#map-origin-options {
    top: calc(100% + 10px);
    bottom: auto;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(-10px);
}

.custom-select-wrapper.open #map-origin-options {
    transform: translateY(0);
}

/* Flatpickr Calendar - Clean unified styling */
.flatpickr-calendar {
    background: #1A2235 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid #1A2235 !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* Single orange header bar: months row only */
.flatpickr-months {
    background: #FF6B00 !important;
}

.flatpickr-months .flatpickr-month {
    background: transparent !important;
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    background: transparent !important;
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
    fill: #FFFFFF !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month .numInputWrapper span.arrowUp,
.flatpickr-current-month .numInputWrapper span.arrowDown {
    background: transparent !important;
    color: #FFFFFF !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months option {
    background: #0B1120 !important;
    color: #FFFFFF !important;
}

.flatpickr-current-month .numInputWrapper input.cur-year {
    color: #FFFFFF !important;
    background: transparent !important;
}

/* Weekday header row in orange */
.flatpickr-weekdays {
    background: #FF6B00 !important;
}

span.flatpickr-weekday {
    background: transparent !important;
    color: #FFFFFF !important;
}

/* Day cells: dark background, white text */
.flatpickr-days,
.dayContainer {
    background: #1A2235 !important;
}

.flatpickr-day {
    color: #FFFFFF !important;
    background: transparent !important;
    border-color: transparent !important;
}

/* Selected and hover states */
.flatpickr-day.selected,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day.focus,
.flatpickr-day.selected:hover,
.flatpickr-day.today:hover {
    background: #FF6B00 !important;
    border-color: #FF6B00 !important;
    color: #FFFFFF !important;
}

/* Today: transparent with orange border only */
.flatpickr-day.today {
    background: transparent !important;
    border-color: #FF6B00 !important;
    color: #FFFFFF !important;
}

.flatpickr-calendar::before,
.flatpickr-calendar::after {
    display: none !important;
}

/* Spinning Border Button */
.btn-spin-border {
    position: relative;
    background: transparent;
    color: var(--text-main);
    border: none;
    border-radius: 12px;
    padding: 0.9rem 1.8rem;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.btn-spin-border::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 40%, var(--primary-color) 70%, var(--secondary-color) 90%, var(--accent-color) 100%);
    animation: spin-conic 3s linear infinite;
    z-index: 0;
}

.btn-spin-border::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: rgba(10, 14, 23, 0.94);
    backdrop-filter: blur(10px);
    border-radius: 11px;
    z-index: 1;
    transition: var(--transition);
}

.btn-spin-border:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 122, 0, 0.4), 0 0 30px rgba(255, 180, 0, 0.2);
}

.btn-spin-border:hover::after {
    background: rgba(15, 22, 36, 0.88);
}

.btn-spin-border:hover::before {
    animation-duration: 1.2s; /* Speed up spin dynamically on hover */
}

.btn-spin-border .btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    transition: var(--transition);
}

.btn-spin-border .btn-content i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
    transition: var(--transition);
}

.btn-spin-border:hover .btn-content i {
    color: var(--accent-color);
    transform: rotate(-10deg) scale(1.15);
}

@keyframes spin-conic {
    100% {
        transform: rotate(360deg);
    }
}

.select-options::-webkit-scrollbar {
    width: 6px;
}

.select-options::-webkit-scrollbar-track {
    background: transparent;
}

.select-options::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.high-z-index {
    z-index: 999 !important;
}

.custom-select-wrapper.open .select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-options li {
    padding: 0.8rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.select-options li:hover,
.select-options li.active {
    background: rgba(255, 122, 0, 0.1);
    color: var(--primary-color);
}

/* Custom Arrow for Select */
.custom-select-wrapper::after {
    content: '\25BC';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: var(--primary-color);
    pointer-events: none;
    transition: var(--transition);
    z-index: 3;
}

.custom-select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Date Picker Customization */
input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    z-index: 5;
}

.input-box i {
    position: absolute;
    left: calc(1.25rem + 4px);
    font-size: 1.1rem;
    color: var(--primary-color);
    z-index: 4;
    pointer-events: none;
}

body:not(.light-theme) .input-box select:focus,
body:not(.light-theme) .input-box input:focus,
html:not(.light-theme) .input-box select:focus,
html:not(.light-theme) .input-box input:focus,
body.dark-theme .input-box select:focus,
body.dark-theme .input-box input:focus {
    border-color: var(--primary-color);
    background: rgba(8, 10, 15, 0.9);
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.3);
}

body.light-theme .input-box select:focus,
body.light-theme .input-box input:focus,
html.light-theme .input-box select:focus,
html.light-theme .input-box input:focus,
body.light-theme .search-bar .input-box input:focus,
body.light-theme .search-bar .input-box select:focus,
html.light-theme .search-bar .input-box input:focus,
html.light-theme .search-bar .input-box select:focus {
    border-color: #ff7a00 !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #3e2723 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* ============================================================
   FULLSCREEN SEARCH RESULTS MODAL
   ============================================================ */
.search-modal-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: none;
    opacity: 0;
    pointer-events: none;
    background: rgba(7, 10, 18, 0.94);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-fullscreen.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

body.light-theme .search-modal-fullscreen,
html.light-theme .search-modal-fullscreen {
    background: rgba(248, 250, 252, 0.96);
}

.search-modal-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    animation: searchModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes searchModalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.search-modal-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 18px 32px;
    background: #0d1117;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    z-index: 10;
    flex-shrink: 0;
    position: relative;
}

body.light-theme .search-modal-header-bar,
html.light-theme .search-modal-header-bar {
    background: #ffffff !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

.search-modal-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.search-modal-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 122, 0, 0.15);
    color: #ff7a00;
    border: 1px solid rgba(255, 122, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(255, 122, 0, 0.2);
}

.search-modal-icon-badge.is-urban {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.2);
}

.search-modal-headings {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.search-modal-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.light-theme .search-modal-title,
html.light-theme .search-modal-title,
body.light-theme #res-route,
html.light-theme #res-route {
    color: #3e2723 !important;
    background: none !important;
    -webkit-text-fill-color: #3e2723 !important;
}

.search-modal-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.search-chip-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

body.light-theme .search-chip-pill,
html.light-theme .search-chip-pill {
    background: #fdf8f4 !important;
    color: #5c3a21 !important;
    border: 1.5px solid #d7ccc8 !important;
}

.search-chip-pill.chip-orange {
    background: rgba(255, 122, 0, 0.15);
    color: #ff7a00;
    border-color: rgba(255, 122, 0, 0.35);
}

body.light-theme .search-chip-pill.chip-orange,
html.light-theme .search-chip-pill.chip-orange {
    background: #fff7ed !important;
    color: #ea580c !important;
    border: 1.5px solid #fdba74 !important;
}

.search-chip-pill.chip-blue {
    background: rgba(37, 99, 235, 0.22) !important;
    color: #ffffff !important;
    border: 1px solid rgba(59, 130, 246, 0.5) !important;
    font-weight: 700 !important;
}

body.light-theme .search-chip-pill.chip-blue,
html.light-theme .search-chip-pill.chip-blue {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1.5px solid #93c5fd !important;
    font-weight: 700 !important;
}

.search-chip-pill.chip-count {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

body.light-theme .search-chip-pill.chip-count,
html.light-theme .search-chip-pill.chip-count {
    background: #fdf8f4 !important;
    color: #4a2c11 !important;
    border: 1.5px solid #d7ccc8 !important;
}

.search-modal-right {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.search-modal-filter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

body.light-theme .filter-label,
html.light-theme .filter-label {
    color: #4a2c11 !important;
}

.filter-select-box {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0 10px;
    height: 38px;
    position: relative;
}

body.light-theme .filter-select-box,
html.light-theme .filter-select-box {
    background: #ffffff !important;
    border: 1.5px solid #d7ccc8 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.styled-filter-select {
    background: transparent;
    border: none;
    color: #ffffff !important;
    font-size: 0.84rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    padding-right: 18px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

body.light-theme .styled-filter-select,
html.light-theme .styled-filter-select {
    color: #4a2c11 !important;
}

.styled-filter-select option {
    background: #0d1117 !important;
    color: #ffffff !important;
}

body.light-theme .styled-filter-select option,
html.light-theme .styled-filter-select option {
    background: #ffffff !important;
    color: #4a2c11 !important;
}

.search-modal-close-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.search-modal-close-btn svg,
.search-modal-close-btn svg line {
    stroke: currentColor !important;
    stroke-width: 2.5px !important;
    display: block !important;
}

.search-modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.25) !important;
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.6) !important;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

body.light-theme .search-modal-close-btn,
html.light-theme .search-modal-close-btn {
    background: #f1f5f9 !important;
    border: 1.5px solid #94a3b8 !important;
    color: #0f172a !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

body.light-theme .search-modal-close-btn svg,
html.light-theme .search-modal-close-btn svg,
body.light-theme .search-modal-close-btn svg line,
html.light-theme .search-modal-close-btn svg line {
    stroke: #0f172a !important;
    color: #0f172a !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.light-theme .search-modal-close-btn:hover,
html.light-theme .search-modal-close-btn:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-color: #ef4444 !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25) !important;
}

body.light-theme .search-modal-close-btn:hover svg,
html.light-theme .search-modal-close-btn:hover svg,
body.light-theme .search-modal-close-btn:hover svg line,
html.light-theme .search-modal-close-btn:hover svg line {
    stroke: #dc2626 !important;
    color: #dc2626 !important;
}

.search-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 28px 32px 80px 32px;
    width: 100%;
}

@media (max-width: 768px) {
    .search-modal-header-bar {
        padding: 10px 12px;
        gap: 8px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: relative;
    }

    .search-modal-left {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding-right: 40px; /* Space for top-right close button */
    }

    .search-modal-icon-badge {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        flex-shrink: 0;
    }

    .search-modal-headings {
        flex: 1;
        min-width: 0;
        gap: 4px;
    }

    .search-modal-title {
        font-size: 1rem;
        white-space: normal;
        word-break: break-word;
        line-height: 1.2;
        margin: 0;
    }

    .search-modal-pills {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
        margin-top: 2px;
    }

    .search-chip-pill {
        font-size: 10px;
        padding: 2px 8px;
    }

    .search-modal-right {
        display: flex;
        align-items: center;
        width: 100%;
        margin-left: 0;
        padding-top: 6px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.light-theme .search-modal-right,
    html.light-theme .search-modal-right {
        border-top: 1.5px solid #e2e8f0 !important;
    }

    .search-modal-filter {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .filter-label {
        font-size: 0.72rem;
        flex-shrink: 0;
    }

    .filter-select-box {
        flex: 1;
        height: 34px;
        min-width: 0;
    }

    .styled-filter-select {
        width: 100%;
        font-size: 11.5px;
    }

    .search-modal-close-btn {
        position: absolute;
        top: 10px;
        right: 12px;
        width: 34px;
        height: 34px;
        z-index: 20;
    }

    .search-modal-body {
        padding: 10px 8px 60px 8px;
    }
}

body.light-theme .results-sub-title,
html.light-theme .results-sub-title {
    color: #64748b;
}

/* Route Cards Grid / Slim Container */
.cards-grid,
.route-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch;
    width: 100%;
}

@media (max-width: 768px) {
    .cards-grid,
    .route-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
}

/* ── SLIM ROUTE CARD (LISTA MAIS FINA COM BORDAS DEFINIDAS) ── */
.slim-route-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 18px;
    background: #0f172a;
    border: 1.5px solid #ff7a00 !important;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-height: 64px;
}

.slim-route-card:hover {
    border-color: #ff9a3c !important;
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.35);
    transform: translateY(-2px);
}

/* Modo Urbano (Borda Azul 100% - Sem Laranja) */
.slim-route-card.is-urban-card {
    background: #0b1329;
    border: 1.5px solid #3b82f6 !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25) !important;
}

.slim-route-card.is-urban-card:hover {
    border-color: #60a5fa !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
}

/* Light Theme para Slim Route Card */
body.light-theme .slim-route-card,
html.light-theme .slim-route-card {
    background: #ffffff !important;
    border: 1.5px solid #ff7a00 !important;
    box-shadow: 0 2px 8px rgba(255, 122, 0, 0.1) !important;
}

body.light-theme .slim-route-card:hover,
html.light-theme .slim-route-card:hover {
    border-color: #ea580c !important;
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.22) !important;
}

body.light-theme .slim-route-card.is-urban-card,
html.light-theme .slim-route-card.is-urban-card {
    border: 1.5px solid #3b82f6 !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1) !important;
}

body.light-theme .slim-route-card.is-urban-card:hover,
html.light-theme .slim-route-card.is-urban-card:hover {
    border-color: #1d4ed8 !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.22) !important;
}

/* Coluna 1: Foto e Nome da Transportadora */
.slim-brand-col {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
    text-align: left;
}

.slim-carrier-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    border: 1.5px solid #ff7a00;
    background: #1e293b;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

body.light-theme .slim-carrier-thumb {
    border-color: #ff7a00;
    background: #f8fafc;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Foto e Detalhes da Frota Urbana (Borda Azul 100%) */
.slim-route-card.is-urban-card .slim-carrier-thumb,
body.light-theme .slim-route-card.is-urban-card .slim-carrier-thumb,
html.light-theme .slim-route-card.is-urban-card .slim-carrier-thumb {
    border: 1.5px solid #3b82f6 !important;
}

.slim-brand-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

/* 1. Nome da Transportadora (Branco no Dark Mode) */
.slim-carrier-name,
body:not(.light-theme) .slim-carrier-name,
html:not(.light-theme) .slim-carrier-name,
body.dark-theme .slim-carrier-name,
html.dark-theme .slim-carrier-name {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

body.light-theme .slim-carrier-name,
html.light-theme .slim-carrier-name {
    color: #3e2723 !important;
    -webkit-text-fill-color: #3e2723 !important;
}

.slim-brand-meta .badge {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Coluna 2: Horário e Dia de Partida */
.slim-time-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
    min-width: 110px;
}

.slim-dep-time {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

/* 2. Texto 'Partida' (Branco no Dark Mode) */
.slim-time-label,
body:not(.light-theme) .slim-time-label,
html:not(.light-theme) .slim-time-label,
body.dark-theme .slim-time-label,
html.dark-theme .slim-time-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.light-theme .slim-time-label,
html.light-theme .slim-time-label {
    color: #5c3a21 !important;
    -webkit-text-fill-color: #5c3a21 !important;
}

/* 3. Hora de Partida (Branco no Dark Mode) */
.slim-time-val,
body:not(.light-theme) .slim-time-val,
html:not(.light-theme) .slim-time-val,
body.dark-theme .slim-time-val,
html.dark-theme .slim-time-val {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body.light-theme .slim-time-val,
html.light-theme .slim-time-val {
    color: #3e2723 !important;
    -webkit-text-fill-color: #3e2723 !important;
}

.slim-dep-date {
    font-size: 11.5px;
    font-weight: 600;
    color: #ff7a00 !important;
}

body.light-theme .slim-dep-date,
html.light-theme .slim-dep-date {
    color: #8c4b1d !important;
}

/* Data no Modo Urbano (100% Azul - Sem Laranja) */
.slim-route-card.is-urban-card .slim-dep-date,
.is-urban-mode .slim-dep-date {
    color: #38bdf8 !important;
}

body.light-theme .slim-route-card.is-urban-card .slim-dep-date,
body.light-theme .is-urban-mode .slim-dep-date,
html.light-theme .slim-route-card.is-urban-card .slim-dep-date,
html.light-theme .is-urban-mode .slim-dep-date {
    color: #2563eb !important;
}

/* Coluna 3: Preço por Pessoa */
.slim-price-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    min-width: 110px;
    text-align: right;
}

.slim-price-val {
    font-size: 17.5px;
    font-weight: 800;
    color: #ff7a00 !important;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

body.light-theme .slim-price-val,
html.light-theme .slim-price-val {
    color: #ea580c !important;
}

/* Preço no Modo Urbano (100% Azul - Sem Laranja) */
.slim-route-card.is-urban-card .slim-price-val,
.is-urban-mode .slim-price-val {
    color: #38bdf8 !important;
}

body.light-theme .slim-route-card.is-urban-card .slim-price-val,
body.light-theme .is-urban-mode .slim-price-val,
html.light-theme .slim-route-card.is-urban-card .slim-price-val,
html.light-theme .is-urban-mode .slim-price-val {
    color: #1d4ed8 !important;
}

/* 4. Texto 'por pessoa' (Branco no Dark Mode) */
.slim-price-sub,
body:not(.light-theme) .slim-price-sub,
html:not(.light-theme) .slim-price-sub,
body.dark-theme .slim-price-sub,
html.dark-theme .slim-price-sub {
    font-size: 10.5px;
    font-weight: 700;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

body.light-theme .slim-price-sub,
html.light-theme .slim-price-sub {
    color: #5c3a21 !important;
    -webkit-text-fill-color: #5c3a21 !important;
}

/* Coluna 4: Ações (Ver Detalhes e Comprar) */
.slim-actions-col {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-slim-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-slim-details svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.btn-slim-details:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
}

body.light-theme .btn-slim-details,
html.light-theme .btn-slim-details {
    background: #faf5f0 !important;
    border: 1.5px solid #d7ccc8 !important;
    color: #4a2c11 !important;
}

body.light-theme .btn-slim-details svg,
html.light-theme .btn-slim-details svg {
    color: #4a2c11 !important;
    stroke: #4a2c11 !important;
}

body.light-theme .btn-slim-details:hover,
html.light-theme .btn-slim-details:hover {
    background: #f5ebe0 !important;
    color: #3e2723 !important;
    border-color: #ff7a00 !important;
}

body.light-theme .btn-slim-details:hover svg,
html.light-theme .btn-slim-details:hover svg {
    color: #ff7a00 !important;
    stroke: #ff7a00 !important;
}

/* Estado Vazio de Pesquisa (Textos Brancos no Dark / Castanhos no Light) */
.search-no-schedules-box .search-empty-title {
    color: #ffffff !important;
    font-weight: 700;
}

.search-no-schedules-box .search-empty-desc {
    color: #ffffff !important;
    opacity: 0.95;
}

.search-no-schedules-box .search-empty-highlight {
    color: #ff7a00 !important;
}

body.light-theme .search-no-schedules-box .search-empty-title,
html.light-theme .search-no-schedules-box .search-empty-title {
    color: #3e2723 !important;
}

body.light-theme .search-no-schedules-box .search-empty-desc,
html.light-theme .search-no-schedules-box .search-empty-desc {
    color: #4a2c11 !important;
    opacity: 1;
}

body.light-theme .search-no-schedules-box .search-empty-highlight,
html.light-theme .search-no-schedules-box .search-empty-highlight {
    color: #ea580c !important;
}

/* Botão "Alugar um Autocarro" no Estado Vazio de Pesquisa (Garante contraste e visibilidade impecável em Dark e Light Mode) */
.search-no-schedules-box a.btn-no-schedules-hire,
.search-no-schedules-box .btn-primary,
.search-no-schedules-box a.btn {
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%) !important;
    background-image: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0.85rem 2rem !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4) !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

.search-no-schedules-box a.btn-no-schedules-hire:hover,
.search-no-schedules-box .btn-primary:hover,
.search-no-schedules-box a.btn:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    background-image: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 22px rgba(249, 115, 22, 0.55) !important;
    transform: translateY(-2px) !important;
}

.search-no-schedules-box a.btn-no-schedules-hire i,
.search-no-schedules-box a.btn-no-schedules-hire svg,
.search-no-schedules-box a.btn-no-schedules-hire span,
.search-no-schedules-box .btn-primary i,
.search-no-schedules-box .btn-primary svg,
.search-no-schedules-box .btn-primary span {
    color: #ffffff !important;
    stroke: #ffffff !important;
    fill: none !important;
}

/* Modo Claro: Garante que o botão continue com gradiente laranja e texto branco de alto contraste */
body.light-theme .search-no-schedules-box a.btn-no-schedules-hire,
body.light-theme .search-no-schedules-box .btn-primary,
html.light-theme .search-no-schedules-box a.btn-no-schedules-hire,
html.light-theme .search-no-schedules-box .btn-primary {
    background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%) !important;
    background-image: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.35) !important;
}

body.light-theme .search-no-schedules-box a.btn-no-schedules-hire:hover,
body.light-theme .search-no-schedules-box .btn-primary:hover,
html.light-theme .search-no-schedules-box a.btn-no-schedules-hire:hover,
html.light-theme .search-no-schedules-box .btn-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    background-image: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.5) !important;
}

body.light-theme .search-no-schedules-box a.btn-no-schedules-hire i,
body.light-theme .search-no-schedules-box a.btn-no-schedules-hire svg,
body.light-theme .search-no-schedules-box a.btn-no-schedules-hire span,
html.light-theme .search-no-schedules-box a.btn-no-schedules-hire i,
html.light-theme .search-no-schedules-box a.btn-no-schedules-hire svg,
html.light-theme .search-no-schedules-box a.btn-no-schedules-hire span {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.btn-slim-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 700;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: linear-gradient(135deg, #ff7a00, #ff5500);
    border: none;
    border-radius: 9px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(255, 122, 0, 0.35);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-slim-buy:hover {
    background: linear-gradient(135deg, #ff8c1a, #ff661a);
    box-shadow: 0 5px 14px rgba(255, 122, 0, 0.5);
    transform: translateY(-1px);
}

.btn-slim-buy.is-urban {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
}

.btn-slim-buy.is-urban:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 5px 14px rgba(37, 99, 235, 0.5);
}

/* Responsividade Mobile - Card Mais Fino e Organizado */
@media (max-width: 768px) {
    .slim-route-card {
        padding: 8px 12px !important;
        gap: 6px !important;
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-rows: auto auto !important;
        row-gap: 6px !important;
        column-gap: 8px !important;
        min-height: unset !important;
    }

    .slim-brand-col {
        grid-column: 1 / 2 !important;
        grid-row: 1 / 2 !important;
        min-width: 0 !important;
        gap: 8px !important;
    }

    .slim-carrier-thumb {
        width: 36px !important;
        height: 36px !important;
        border-radius: 7px !important;
    }

    .slim-carrier-name {
        font-size: 13.5px !important;
        max-width: 140px !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    body.light-theme .slim-carrier-name,
    html.light-theme .slim-carrier-name {
        color: #3e2723 !important;
        -webkit-text-fill-color: #3e2723 !important;
    }

    .slim-brand-meta .badge {
        font-size: 9px !important;
        padding: 1px 5px !important;
    }

    .slim-time-col {
        grid-column: 2 / 3 !important;
        grid-row: 1 / 2 !important;
        text-align: right !important;
        align-items: flex-end !important;
        min-width: 0 !important;
    }

    .slim-time-label {
        font-size: 10px !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    body.light-theme .slim-time-label,
    html.light-theme .slim-time-label {
        color: #5c3a21 !important;
        -webkit-text-fill-color: #5c3a21 !important;
    }

    .slim-time-val {
        font-size: 15.5px !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    body.light-theme .slim-time-val,
    html.light-theme .slim-time-val {
        color: #3e2723 !important;
        -webkit-text-fill-color: #3e2723 !important;
    }

    .slim-dep-date {
        font-size: 10.5px !important;
    }

    .slim-price-col {
        grid-column: 1 / 2 !important;
        grid-row: 2 / 3 !important;
        text-align: left !important;
        align-items: flex-start !important;
        min-width: 0 !important;
    }

    .slim-price-val {
        font-size: 15.5px !important;
    }

    .slim-price-sub {
        font-size: 9.5px !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    body.light-theme .slim-price-sub,
    html.light-theme .slim-price-sub {
        color: #5c3a21 !important;
        -webkit-text-fill-color: #5c3a21 !important;
    }

    .slim-actions-col {
        grid-column: 2 / 3 !important;
        grid-row: 2 / 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    .btn-slim-buy {
        padding: 6px 14px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }
}

/* Modern Route Card */
.route-card {
    background: #0d1117;
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.route-card:hover {
    border-color: #ff7a00;
    box-shadow: 0 8px 30px rgba(255, 122, 0, 0.2);
    transform: translateY(-3px);
}

body.light-theme .route-card,
html.light-theme .route-card {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06) !important;
}

body.light-theme .route-card:hover,
html.light-theme .route-card:hover {
    border: 1.5px solid #ff7a00 !important;
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.18) !important;
}

/* Urban Route Card Modifier - Pure, Sleek Blue Palette (No Orange Anywhere) */
.route-card.urban-route-card {
    background: #0b1120 !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
}

.route-card.urban-route-card:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 6px 22px rgba(37, 99, 235, 0.25) !important;
    transform: translateY(-2px);
}

body.light-theme .route-card.urban-route-card,
html.light-theme .route-card.urban-route-card {
    background: #ffffff !important;
    border: 1.5px solid #93c5fd !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.06) !important;
}

body.light-theme .route-card.urban-route-card:hover,
html.light-theme .route-card.urban-route-card:hover {
    border-color: #2563eb !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.16) !important;
}

/* Card Header */
.route-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.carrier-name {
    font-size: 14.5px;
    font-weight: 800;
    color: #ffffff !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

body.light-theme .carrier-name,
html.light-theme .carrier-name {
    color: #0f172a !important;
}

.urban-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.18) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(59, 130, 246, 0.45) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.urban-icon-badge svg {
    color: #38bdf8 !important;
    stroke: #38bdf8 !important;
}

.urban-line-title,
.urban-route-card .urban-line-title {
    font-weight: 800;
    font-size: 14px;
    color: #38bdf8 !important;
}

body.light-theme .urban-line-title,
html.light-theme .urban-line-title,
body.light-theme .urban-route-card .urban-line-title,
html.light-theme .urban-route-card .urban-line-title {
    color: #1d4ed8 !important;
}

.urban-carrier-sub,
.urban-route-card .urban-carrier-sub,
.urban-route-card .carrier-name {
    font-size: 11.5px;
    color: #38bdf8 !important;
    font-weight: 700;
}

body.light-theme .urban-carrier-sub,
html.light-theme .urban-carrier-sub,
body.light-theme .urban-route-card .urban-carrier-sub,
html.light-theme .urban-route-card .urban-carrier-sub,
body.light-theme .urban-route-card .carrier-name,
html.light-theme .urban-route-card .carrier-name {
    color: #2563eb !important;
}

.badges-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.badge-vip {
    background: rgba(255, 122, 0, 0.15);
    color: #ff7a00;
    border: 1px solid rgba(255, 122, 0, 0.35);
}

.badge-executivo {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-standard {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-urban,
.urban-route-card .badge-urban,
.is-urban-card .badge-urban,
.is-urban-card .badge,
body:not(.light-theme) .badge-urban,
html:not(.light-theme) .badge-urban,
body:not(.light-theme) .is-urban-card .badge,
body.dark-theme .badge-urban,
html.dark-theme .badge-urban,
body.dark-theme .is-urban-card .badge {
    background: rgba(37, 99, 235, 0.35) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1px solid #3b82f6 !important;
    font-weight: 800 !important;
}

body.light-theme .badge-urban,
html.light-theme .badge-urban,
body.light-theme .urban-route-card .badge-urban,
html.light-theme .urban-route-card .badge-urban,
body.light-theme .is-urban-card .badge-urban,
html.light-theme .is-urban-card .badge,
html.light-theme .is-urban-card .badge-urban {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    -webkit-text-fill-color: #1d4ed8 !important;
    border: 1.5px solid #93c5fd !important;
    font-weight: 800 !important;
}

.badge-date {
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .badge-date,
html.light-theme .badge-date {
    background: #f8fafc !important;
    color: #475569 !important;
    border: 1.5px solid #cbd5e1 !important;
}

/* Route Timeline */
.route-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
}

.station-node {
    text-align: center;
    min-width: 68px;
    max-width: 100px;
}

.station-time {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.urban-route-card .station-time {
    color: #38bdf8 !important;
    font-weight: 800 !important;
}

body.light-theme .station-time,
html.light-theme .station-time {
    color: #0f172a;
}

body.light-theme .urban-route-card .station-time,
html.light-theme .urban-route-card .station-time {
    color: #1d4ed8 !important;
}

.station-city {
    font-size: 12.5px;
    font-weight: 700;
    color: #ff7a00;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.urban-route-card .station-city {
    color: #93c5fd !important;
    font-weight: 600 !important;
}

body.light-theme .station-city,
html.light-theme .station-city {
    color: #ea580c;
}

body.light-theme .urban-route-card .station-city,
html.light-theme .urban-route-card .station-city {
    color: #2563eb !important;
}

.timeline-track {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
    min-width: 70px;
}

.timeline-duration {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 4px;
    white-space: nowrap;
}

.urban-route-card .timeline-duration {
    color: #93c5fd !important;
    background: rgba(37, 99, 235, 0.12) !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(59, 130, 246, 0.25) !important;
    font-weight: 600 !important;
}

body.light-theme .urban-route-card .timeline-duration,
html.light-theme .urban-route-card .timeline-duration {
    color: #1d4ed8 !important;
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
}

.timeline-line {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 4px;
}

.timeline-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff7a00;
    flex-shrink: 0;
}

.urban-route-card .timeline-dot {
    background: #3b82f6 !important;
    box-shadow: none !important;
}

body.light-theme .urban-route-card .timeline-dot,
html.light-theme .urban-route-card .timeline-dot {
    background: #2563eb !important;
    box-shadow: none !important;
}

.timeline-dash {
    flex: 1;
    border-top: 1.5px dashed rgba(255, 122, 0, 0.4);
    height: 0;
}

.urban-route-card .timeline-dash {
    border-top: 1.5px dashed rgba(59, 130, 246, 0.35) !important;
}

.timeline-arrow {
    width: 14px;
    height: 14px;
    color: #ff7a00;
    flex-shrink: 0;
}

.urban-route-card .timeline-arrow {
    color: #3b82f6 !important;
    filter: none !important;
}

body.light-theme .urban-route-card .timeline-arrow,
html.light-theme .urban-route-card .timeline-arrow {
    color: #2563eb !important;
    filter: none !important;
}

/* Card Footer */
.route-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 10px;
}

body.light-theme .route-card-footer,
html.light-theme .route-card-footer {
    border-top: 1.5px solid #e2e8f0 !important;
}

.seats-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #cbd5e1;
}

.urban-route-card .seats-info,
.urban-route-card .seats-info span {
    color: #38bdf8 !important;
    font-weight: 700 !important;
}

.urban-route-card .seats-info svg {
    color: #38bdf8 !important;
    stroke: #38bdf8 !important;
}

body.light-theme .seats-info,
html.light-theme .seats-info {
    color: #64748b;
}

body.light-theme .urban-route-card .seats-info,
html.light-theme .urban-route-card .seats-info,
body.light-theme .urban-route-card .seats-info span,
html.light-theme .urban-route-card .seats-info span {
    color: #1d4ed8 !important;
    font-weight: 700 !important;
}

body.light-theme .urban-route-card .seats-info svg,
html.light-theme .urban-route-card .seats-info svg {
    color: #1d4ed8 !important;
    stroke: #1d4ed8 !important;
}

.price-action-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-box {
    text-align: right;
}

.price-label {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

.urban-route-card .price-label {
    color: #93c5fd !important;
}

body.light-theme .price-label,
html.light-theme .price-label {
    color: #64748b;
}

body.light-theme .urban-route-card .price-label,
html.light-theme .urban-route-card .price-label {
    color: #3b82f6 !important;
}

.price-val {
    font-size: 15px;
    font-weight: 800;
    color: #ff7a00;
    white-space: nowrap;
}

.urban-route-card .price-val {
    color: #38bdf8 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-shadow: none !important;
}

body.light-theme .price-val,
html.light-theme .price-val {
    color: #ea580c;
}

body.light-theme .urban-route-card .price-val,
html.light-theme .urban-route-card .price-val {
    color: #1d4ed8 !important;
    text-shadow: none;
}

/* Specific Search Modal Urban Mode Overrides - Zero Orange Text */
#results-panel.is-urban-mode .filter-label {
    color: #38bdf8 !important;
}

#results-panel.is-urban-mode .search-modal-title,
#results-panel.is-urban-mode .search-modal-title span,
#results-panel.is-urban-mode #res-route {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

#results-panel.is-urban-mode .search-modal-icon-badge {
    background: rgba(37, 99, 235, 0.18) !important;
    color: #38bdf8 !important;
    border-color: rgba(59, 130, 246, 0.45) !important;
    box-shadow: none !important;
}

#results-panel.is-urban-mode .search-modal-icon-badge svg {
    color: #38bdf8 !important;
    stroke: #38bdf8 !important;
}

#results-panel.is-urban-mode .filter-select-box {
    border-color: rgba(59, 130, 246, 0.35) !important;
}

#results-panel.is-urban-mode .filter-select-box i,
#results-panel.is-urban-mode .filter-select-box svg {
    color: #38bdf8 !important;
    stroke: #38bdf8 !important;
}

#results-panel.is-urban-mode .styled-filter-select {
    color: #93c5fd !important;
}

/* Light/White theme urban overrides */
body.light-theme #results-panel.is-urban-mode .search-modal-icon-badge,
html.light-theme #results-panel.is-urban-mode .search-modal-icon-badge {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1.5px solid #93c5fd !important;
}

body.light-theme #results-panel.is-urban-mode .search-modal-icon-badge svg,
html.light-theme #results-panel.is-urban-mode .search-modal-icon-badge svg {
    color: #1d4ed8 !important;
    stroke: #1d4ed8 !important;
}

body.light-theme #results-panel.is-urban-mode .filter-label,
html.light-theme #results-panel.is-urban-mode .filter-label {
    color: #1d4ed8 !important;
}

body.light-theme #results-panel.is-urban-mode .filter-select-box,
html.light-theme #results-panel.is-urban-mode .filter-select-box {
    border: 1.5px solid #93c5fd !important;
    background: #ffffff !important;
}

body.light-theme #results-panel.is-urban-mode .filter-select-box i,
body.light-theme #results-panel.is-urban-mode .filter-select-box svg,
html.light-theme #results-panel.is-urban-mode .filter-select-box i,
html.light-theme #results-panel.is-urban-mode .filter-select-box svg {
    color: #1d4ed8 !important;
    stroke: #1d4ed8 !important;
}

body.light-theme #results-panel.is-urban-mode .styled-filter-select,
html.light-theme #results-panel.is-urban-mode .styled-filter-select {
    color: #1e3a8a !important;
}

body.light-theme #results-panel.is-urban-mode .search-modal-title,
html.light-theme #results-panel.is-urban-mode .search-modal-title,
body.light-theme #results-panel.is-urban-mode #res-route,
html.light-theme #results-panel.is-urban-mode #res-route {
    color: #1d4ed8 !important;
    -webkit-text-fill-color: #1d4ed8 !important;
}

body.light-theme .urban-icon-badge,
html.light-theme .urban-icon-badge {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1.5px solid #93c5fd !important;
}

body.light-theme .urban-icon-badge svg,
html.light-theme .urban-icon-badge svg {
    color: #1d4ed8 !important;
    stroke: #1d4ed8 !important;
}

.btn-primary-sm,
.btn-buy-trigger,
.btn-urban-buy,
#detail-btn-buy,
button.btn-primary-sm,
button.btn-buy-trigger,
button.btn-urban-buy,
body.light-theme .btn-primary-sm,
html.light-theme .btn-primary-sm,
body.light-theme .btn-buy-trigger,
html.light-theme .btn-buy-trigger,
body.light-theme .btn-urban-buy,
html.light-theme .btn-urban-buy,
body.dark-theme .btn-primary-sm,
body.dark-theme .btn-buy-trigger,
body.dark-theme .btn-urban-buy {
    background: #ff7a00 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: none !important;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(255, 122, 0, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-primary-sm:hover,
.btn-buy-trigger:hover,
button.btn-buy-trigger:hover,
body.light-theme .btn-primary-sm:hover,
body.light-theme .btn-buy-trigger:hover {
    background: #ea580c !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.5);
}

.btn-primary-sm.btn-urban-buy,
.btn-urban-buy,
button.btn-urban-buy,
body.light-theme .btn-primary-sm.btn-urban-buy,
body.light-theme .btn-urban-buy,
body.dark-theme .btn-urban-buy {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1px solid rgba(96, 165, 250, 0.4) !important;
    box-shadow: 0 3px 14px rgba(37, 99, 235, 0.5) !important;
}

.btn-primary-sm.btn-urban-buy:hover,
.btn-urban-buy:hover,
button.btn-urban-buy:hover,
body.light-theme .btn-primary-sm.btn-urban-buy:hover,
body.light-theme .btn-urban-buy:hover,
body.dark-theme .btn-urban-buy:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.7) !important;
}

.btn-details-trigger {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.btn-details-trigger:hover {
    border-color: #ff7a00;
    color: #ff7a00;
    background: rgba(255, 122, 0, 0.1);
}

body.light-theme .btn-details-trigger,
html.light-theme .btn-details-trigger {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #475569 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .btn-details-trigger:hover,
html.light-theme .btn-details-trigger:hover {
    border-color: #ff7a00 !important;
    color: #ea580c !important;
    background: #fff7ed !important;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.15) !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 222, 195, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-main);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--glass-border);
    border-color: var(--primary-color);
}

/* Interactive Showcase Layout V2 - Horizontal Edge-to-Edge with BG Canvas */
.particles-interactive-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    /* Fully transparent background so the background slideshow images are completely visible in 100% clarity */
    background: transparent !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.section-particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.particles-interactive-section .relative-content {
    position: relative;
    z-index: 5; /* Forces selection of text and cursor trigger hover */
    pointer-events: auto !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

/* Horizontal Options Grid Container (Options placed in the same row/line) */
.options-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    transition: var(--transition);
}

.option-item.glass {
    background: var(--card-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: none !important;
}

.option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 2.5rem 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    user-select: text;
    position: relative;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: #181c26 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

.option-item:hover,
.option-item.active {
    border-color: rgba(255, 122, 0, 0.6) !important;
    background: #1f2432 !important;
    box-shadow: 0 14px 40px rgba(255, 122, 0, 0.18) !important;
    transform: translateY(-4px);
}

.option-item:hover .option-text,
.option-item.active .option-text {
    transform: translateY(2px);
}

.option-icon-wrapper {
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 0;
    flex-shrink: 0;
    transition: var(--transition);
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
    box-shadow: none;
}

.option-item:hover .option-icon-wrapper,
.option-item.active .option-icon-wrapper {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    transform: scale(1.08);
}

.option-icon-wrapper i {
    display: none;
}

.option-text {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex-grow: 1;
    text-align: center;
    transition: var(--transition);
}

.option-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-main) !important;
    font-weight: 700;
    -webkit-text-fill-color: initial !important;
    background: none !important;
    background-clip: initial !important;
    transition: var(--transition);
    min-height: 3.6rem; /* keeps perfect line alignment across all title blocks */
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-item:hover h3,
.option-item.active h3 {
    color: var(--primary-color) !important; /* premium glowing orange hover text to match constellation */
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.option-item p {
    color: var(--text-muted) !important; /* pure white, removing off-white / dirty gray shades */
    font-size: 1.1rem;
    line-height: 1.6;
    transition: var(--transition);
    margin: 0;
    min-height: 4.8rem; /* guarantees identical height and line wrap layout for all descriptions */
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.option-item:hover p,
.option-item.active p {
    color: #ffffff !important; /* stays pure white under selection */
}

/* Responsiveness for Options Row */
@media (max-width: 992px) {
    .options-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
}

@media (max-width: 600px) {
    .options-grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .option-item {
        padding: 2.2rem 1.5rem;
    }
}

#antigravity-canvas {
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.canvas-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    z-index: 3;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(8, 10, 15, 0.8);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.canvas-hint i {
    color: var(--primary-color);
    animation: pulse-hint 1.5s infinite;
}

@keyframes pulse-hint {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ==========================================
   DIGITAL TICKET SECTION
   ========================================== */
.digital-ticket-section {
    padding: 4rem 0;
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(255, 122, 0, 0.03), transparent);
}

.ticket-container-card {
    padding: 1.5rem 2rem !important;
    border-radius: 28px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(26, 34, 53, 0.65) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .ticket-container-card {
        padding: 2rem 1.2rem !important;
        border-radius: 20px !important;
        margin: 0 0.5rem !important;
    }
}

#aluguer .boarding-pass.glass {
    max-width: 540px !important;
}

#aluguer .container-fluid {
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    #aluguer .boarding-pass.glass {
        max-width: 100% !important;
    }
}

.ticket-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .ticket-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .ticket-features {
        align-items: center;
    }
}

.boarding-pass {
    background: rgba(10, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.boarding-pass:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.boarding-pass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

#aluguer .boarding-pass::before {
    display: none !important;
}

.bp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.bp-logo {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.bp-logo span {
    color: var(--primary-color);
}

.bp-status {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.bp-route {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.bp-city {
    display: flex;
    flex-direction: column;
}

.text-right {
    text-align: right;
}

.bp-city span {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.bp-city strong {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.bp-city small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.bp-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.bp-detail-item {
    display: flex;
    flex-direction: column;
}

.bp-detail-item span {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 0.1rem;
}

.bp-detail-item strong {
    font-size: 1rem;
    color: #fff;
}

.bp-divider {
    border-top: 2px dashed rgba(255, 255, 255, 0.1);
    margin: 0 -1.5rem 1.2rem;
    position: relative;
}

.bp-divider::before, .bp-divider::after {
    content: '';
    position: absolute;
    top: -10px;
    width: 20px;
    height: 20px;
    background: var(--bg-main);
    border-radius: 50%;
}

.bp-divider::before { left: -10px; }
.bp-divider::after { right: -10px; }

.bp-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bp-qr {
    background: #fff;
    padding: 0.4rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    color: #000;
}

.bp-qr svg {
    width: 80px;
    height: 80px;
    display: block;
}

.bp-scan-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ==========================================
   DESTINOS, HOTÉIS E RESTAURANTES GRIDS & CARDS
   ========================================== */

/* Section Layout */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.container-fluid {
    width: 100%;
    max-width: 100%;
    padding: 0 4.5rem;
    margin: 0 auto;
}

/* Standardized section padding — used on all main sections */
.section-pad {
    width: 95% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 1024px) {
    .container-fluid {
        padding: 0 3rem;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 1.5rem;
    }
    .cargo-features-list {
        display: none !important;
    }
}

/* Grids */
.dest-slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 10px 0;
}

.dest-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 2rem;
}

.dest-slider-track .dest-card,
.dest-slider-track .car-card {
    flex: 0 0 calc(33.333% - 1.333rem);
    width: calc(33.333% - 1.333rem);
    max-width: calc(33.333% - 1.333rem);
    min-width: 0;
}

@media (max-width: 1024px) {
    .dest-slider-track .dest-card,
    .dest-slider-track .car-card {
        flex: 0 0 calc(50% - 1rem);
        width: calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .dest-slider-track .dest-card,
    .dest-slider-track .car-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.btn-slide {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-slide:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.hotel-grid,
.resto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}

/* Cards Base */
.dest-card,
.hotel-card,
.resto-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.dest-card:hover,
.hotel-card:hover,
.resto-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 122, 0, 0.35);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 40px -15px rgba(255, 122, 0, 0.25), 0 0 30px rgba(255, 122, 0, 0.08);
}

/* Image Div Size (Enlarged slightly for awesome visual depth) */
.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px; /* Generous height for stunning landscapes/interiors */
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.dest-card:hover .card-img,
.hotel-card:hover .card-img,
.resto-card:hover .card-img {
    transform: scale(1.08);
}

/* Glassmorphic Badge */
.card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(8, 10, 15, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 122, 0, 0.4);
    color: var(--primary-color);
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.15);
    z-index: 5;
}

/* Card Info & Typography */
.card-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 2;
}

.card-info h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.location {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.location i {
    width: 14px;
    height: 14px;
    color: var(--primary-color);
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: var(--secondary-color);
}

.star-icon {
    width: 14px;
    height: 14px;
    fill: var(--secondary-color);
    color: var(--secondary-color);
}

.card-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Features List (Hotels specific) */
.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-features span {
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.card-features i {
    width: 13px;
    height: 13px;
    color: var(--primary-color);
}

/* Cuisine Info (Restaurants specific) */
.card-cuisine {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-cuisine span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-cuisine i {
    width: 14px;
    height: 14px;
    color: var(--primary-color);
}

/* Booking & Action Buttons */
.card-action {
    margin-top: auto;
    width: 100%;
}

.btn-card-booking {
    width: 100%;
    justify-content: center;
    padding: 0.8rem;
    font-size: 0.9rem;
    border-radius: 12px;
    background: rgba(255, 122, 0, 0.06);
    border: 1px solid rgba(255, 122, 0, 0.35);
    color: var(--primary-color);
    transition: var(--transition);
}

.btn-card-booking:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.25);
}

/* App Download Section */
.download-app-section {
    position: relative;
    z-index: 10;
}

.btn-store {
    display: flex;
    align-items: center;
    background: rgba(10, 15, 25, 0.8);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-store:hover {
    background: rgba(15, 20, 30, 0.95);
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.2);
}

/* Premium Footer */
.footer-premium {
    padding: 0;
    border: none;
    text-align: left;
    background: rgba(5, 7, 12, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    margin-top: auto !important;
    margin-bottom: -50px !important;
}

.footer-gradient-line {
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 1rem;
    padding: 1.2rem 0 0.8rem;
}

/* Brand Column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-logo-link {
    font-size: 1.6rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.45;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.2rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-social a svg, 
.footer-social a i {
    width: 22px !important;
    height: 22px !important;
    stroke: var(--text-muted);
    stroke-width: 2px;
    fill: none;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-social a:hover svg,
.footer-social a:hover i {
    stroke: #ffffff;
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer Columns */
.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    position: relative;
    padding-bottom: 0.25rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-col ul a:hover {
    color: var(--primary-color);
    padding-left: 6px;
}

/* Footer Contact */
.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-contact i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.footer-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    background: rgba(255, 122, 0, 0.08);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.footer-wa-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0 35px 0;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer Mobile */
@media (max-width: 768px) {
    body { margin-bottom: 0 !important; padding-bottom: 0 !important; }
    .footer-premium { margin-bottom: -50px !important; padding-bottom: 0 !important; }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 1rem 0 0.8rem !important;
    }
    .footer-brand {
        grid-column: span 2 !important;
    }
    .footer-col.footer-contact {
        grid-column: span 2 !important;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
        padding: 0.6rem 0 35px 0 !important;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(8, 10, 15, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.5);
    animation: wa-pulse 2.5s infinite;
    transition: var(--transition);
    font-size: 0;
    /* hide the ? entity */
}

.whatsapp-float:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.4);
    animation: none;
}

.whatsapp-float svg {
    fill: currentColor;
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.5);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(255, 122, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 122, 0, 0);
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-image {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
}

    .search-bar {
        flex-direction: column;
        padding: 1.5rem;
        border-radius: 20px;
        align-items: stretch;
    }

    .search-field {
        width: 100%;
        min-width: 100%;
    }

    .btn-swap {
        margin: 0.5rem auto;
        transform: rotate(90deg);
    }

    .btn-swap:hover {
        transform: rotate(270deg) scale(1.1);
    }

    .btn-search {
        margin-top: 1rem;
        align-self: stretch;
    }

    .route-card {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .price-section {
        text-align: left;
    }
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85); /* Fundo mais escuro */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0 35px 0;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer Mobile */
@media (max-width: 768px) {
    body { margin-bottom: 0 !important; padding-bottom: 0 !important; }
    .footer-premium { margin-bottom: -50px !important; padding-bottom: 0 !important; }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 1rem 0 0.8rem !important;
    }
    .footer-brand {
        grid-column: span 2 !important;
    }
    .footer-col.footer-contact {
        grid-column: span 2 !important;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
        padding: 0.6rem 0 35px 0 !important;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(8, 10, 15, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.5);
    animation: wa-pulse 2.5s infinite;
    transition: var(--transition);
    font-size: 0;
    /* hide the ? entity */
}

.whatsapp-float:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.4);
    animation: none;
}

.whatsapp-float svg {
    fill: currentColor;
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.5);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(255, 122, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 122, 0, 0);
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-image {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
}

    .search-bar {
        flex-direction: column;
        padding: 1.5rem;
        border-radius: 20px;
        align-items: stretch;
    }

    .search-field {
        width: 100%;
        min-width: 100%;
    }

    .btn-swap {
        margin: 0.5rem auto;
        transform: rotate(90deg);
    }

    .btn-swap:hover {
        transform: rotate(270deg) scale(1.1);
    }

    .btn-search {
        margin-top: 1rem;
        align-self: stretch;
    }

    .route-card {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .price-section {
        text-align: left;
    }
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85); /* Fundo mais escuro */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 450px;
    padding: 2.5rem;
    text-align: center;
    border-radius: 24px;
    background: #0f172a !important; /* Fundo sólido escuro */
    border: 1px solid rgba(255, 122, 0, 0.2) !important;
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.open .modal-content {
    transform: scale(1) translateY(0);
}

/* Enhancements for Bus Hire Modal Fields & Interactive Focus Glow */
#hire-modal .input-box {
    transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#hire-modal .input-box:focus-within {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.18) !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

#hire-modal select:focus {
    outline: none;
}

#hire-modal select option {
    background-color: #0f172a;
    color: #ffffff;
    padding: 10px;
}

.modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.modal-icon {
    width: 56px;
    height: 56px;
    color: #ffffff !important;
    background: rgba(255, 122, 0, 0.15);
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.3);
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 122, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(255, 122, 0, 0.4);
    }
}

.modal-header h3 {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
}

.modal-body {
    margin-bottom: 2rem;
}

.modal-body p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.modal-footer {
    display: flex;
    justify-content: center;
}

#modal-close-btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem;
    font-size: 1rem;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.25);
}

#modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 122, 0, 0.4);
}

/* Responsive adjustments for travel showcase grids and cards */
@media (max-width: 768px) {
    .dest-grid,
    .hotel-grid,
    .resto-grid {
        gap: 1.75rem;
    }

    .card-image-wrapper {
        height: 220px;
    }

    .card-info {
        padding: 1.35rem;
    }
    
    .card-features {
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }
    
    .card-features span {
        font-size: 0.75rem;
        padding: 0.25rem 0.55rem;
    }
}

/* ==========================================
   Map Section Styles
   ========================================== */
#mapa-rotas {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.map-layout {
    display: flex;
    flex-direction: row;
    border-radius: 12px;
    overflow: visible; /* Alterado de hidden para permitir sobreposição de selects fora do container */
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
}

.map-sidebar {
    width: 350px;
    padding: 2rem;
    background: rgba(8, 10, 15, 0.85);
    border-right: 1px solid var(--glass-border);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-radius: 12px 0 0 12px; /* Cantos arredondados na esquerda */
}

.map-view {
    flex-grow: 1;
    position: relative;
    background: #000;
}

/* Dark Mode Filter for Leaflet Map to match the site's dark aesthetic */
.leaflet-layer,
.leaflet-control-zoom-in,
.leaflet-control-zoom-out,
.leaflet-control-attribution {
    filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

@media (max-width: 768px) {
    .map-layout {
        flex-direction: column;
    }
    .map-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        border-radius: 12px 12px 0 0 !important; /* Cantos arredondados em cima no mobile */
    }
    .map-view {
        height: 400px;
    }
    #google-map, #leaflet-internal-map {
        border-radius: 0 0 12px 12px !important;
    }
}

/* ==========================================
   ELEMENTOS DE COMPOSIÇÃO DO MAPA HÍBRIDO E TIMELINE
   ========================================== */

#google-map {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 0 12px 12px 0;
    position: relative;
    overflow: hidden;
}

/* Fallback Overlay do Leaflet */
.map-fallback-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(15, 23, 42, 0.95);
    z-index: 1000;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.map-fallback-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.map-fallback-overlay p {
    color: var(--text-muted);
    max-width: 450px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Alerta em Banner no Topo da Barra Lateral */
.banner-alert {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 122, 0, 0.15);
    border: 1px solid rgba(255, 122, 0, 0.3);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    color: #ffd8a8;
    position: relative;
    text-align: left;
}

.banner-alert.warning {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.banner-close {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: bold;
    padding-left: 0.5rem;
}

/* Cartão de Estatísticas Moderno */
.stats-card {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 16px;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: var(--glass-border);
}

/* TIMELINE COM CONTENÇÃO DE SCROLL (MOBILE-OPTIMIZED) */
.route-timeline {
    position: relative;
    padding-left: 28px;
    max-height: 280px;
    overflow-y: auto;
    margin-top: 1rem;
    text-align: left;
    
    /* PREVENÇÃO DE CONFLITO MOBILE */
    overscroll-behavior: contain; /* Impede a propagação de scroll (scroll chaining) */
    touch-action: pan-y; /* Permite apenas arrastamento vertical interno */
    -webkit-overflow-scrolling: touch; /* Scroll suave inercial no iOS */
}

/* Prevenção extra de gestos no ecrã touch */
.route-timeline:active {
    pointer-events: auto;
}

.route-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, #2ecc71 0%, #ffb400 50%, #ff2a2a 100%);
    box-shadow: 0 0 8px rgba(255, 122, 0, 0.3);
}

.timeline-node {
    position: relative;
    margin-bottom: 1.4rem;
}

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

.timeline-bullet {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0f172a;
    border: 3px solid #ffb400;
    z-index: 5;
    box-shadow: 0 0 6px rgba(255, 180, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.timeline-bullet::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    display: block;
}

.timeline-node.origin .timeline-bullet {
    border-color: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.8);
}

.timeline-node.destination .timeline-bullet {
    border-color: #ff2a2a;
    box-shadow: 0 0 8px rgba(255, 42, 42, 0.8);
}

.timeline-content {
    display: flex;
    flex-direction: column;
}

.timeline-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.timeline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 0.25rem;
}

.timeline-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.70rem;
    font-weight: 500;
    line-height: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

.timeline-tag-icon {
    width: 11px !important;
    height: 11px !important;
}

.origin-tag {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.destination-tag {
    background: rgba(255, 42, 42, 0.1);
    border-color: rgba(255, 42, 42, 0.2);
    color: #ff2a2a;
}

.timeline-delay-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.70rem;
    font-weight: 600;
    line-height: 1;
    background: rgba(255, 122, 0, 0.12);
    border: 1px solid rgba(255, 122, 0, 0.25);
    color: #ff7a00;
    animation: pulse-border 2s infinite ease-in-out;
}

@keyframes pulse-border {
    0%, 100% { border-color: rgba(255, 122, 0, 0.25); }
    50% { border-color: rgba(255, 122, 0, 0.6); }
}

/* ==========================================================================
   INTEGRAÇÃO DE API: MODAIS, SELETOR DE ASSENTOS E BILHETE DE EMBARQUE
   ========================================================================== */

/* 1. Modal Autenticação com Abas (Login / Registo) - Design Capsule Premium */
.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 5px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.auth-tab {
    flex: 1;
    padding: 0.8rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    border-radius: 12px;
}

.auth-tab.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: #fff;
    box-shadow: 0 4px 18px rgba(255, 122, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.auth-tab:hover:not(.active) {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.95rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.form-input:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.form-input:focus {
    border-color: var(--primary-color);
    background: rgba(15, 23, 42, 0.5);
    outline: none;
    box-shadow: 0 0 22px rgba(255, 122, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* 2. Barra de Navegação - Secção Dinâmica do Utilizador */
.navbar-auth-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
}

.navbar-user-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: #ffd8a8;
}

.btn-logout {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: var(--accent-red);
    color: #fff;
}

/* 3. Seletor de Assentos de Autocarro (Layout 2x2) */
.seat-modal-width {
    max-width: 580px !important;
}

.bus-layout-container {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.driver-cabin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed var(--glass-border);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.driver-steering {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.seat-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 0.5rem;
    overscroll-behavior: contain;
}

.seat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seat-pair {
    display: flex;
    gap: 0.8rem;
    flex: 1;
}

.seat-pair.left {
    justify-content: flex-start;
}

.seat-pair.right {
    justify-content: flex-end;
}

.seat-corridor {
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.05);
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.seat {
    width: 40px;
    height: 40px;
    background: rgba(15, 23, 42, 0.8);
    border: 1.5px solid rgba(255, 122, 0, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd8a8;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.seat.available:hover {
    background: rgba(255, 122, 0, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(255, 122, 0, 0.4);
    transform: translateY(-2px);
}

.seat.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 12px rgba(255, 122, 0, 0.6);
    animation: pulseSelected 1.5s infinite;
}

.seat.occupied {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.15);
    cursor: not-allowed;
}

@keyframes pulseSelected {
    0% { box-shadow: 0 0 12px rgba(255, 122, 0, 0.6); }
    50% { box-shadow: 0 0 16px rgba(255, 122, 0, 0.8); }
    100% { box-shadow: 0 0 12px rgba(255, 122, 0, 0.6); }
}

.seat-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.available {
    background: rgba(15, 23, 42, 0.8);
    border: 1.5px solid rgba(255, 122, 0, 0.3);
}

.legend-color.selected {
    background: var(--primary-color);
}

.legend-color.occupied {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 4. Modal iFrame Pagamento EMIS Fullscreen Glass Overlay */
.iframe-modal-backdrop {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(12px) !important;
}

.iframe-modal-content {
    width: 100% !important;
    max-width: 480px !important;
    height: 85vh !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
}

.iframe-modal-body {
    flex: 1;
    width: 100%;
    height: 100%;
}

.iframe-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}

/* 5. Bilhete Confirmado Boarding Pass Real */
.boarding-pass-print {
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.15) 0%, rgba(255, 42, 42, 0.15) 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    text-align: left;
    margin: 1.5rem 0;
}

.boarding-pass-print::before, .boarding-pass-print::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: #0f172a;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.boarding-pass-print::before {
    left: -17px;
    border-right: 2px solid var(--primary-color);
}

.boarding-pass-print::after {
    right: -17px;
    border-left: 2px solid var(--primary-color);
}

.bp-print-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.bp-print-field {
    display: flex;
    flex-direction: column;
}

.bp-print-field span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bp-print-field strong {
    font-size: 1.05rem;
    color: #fff;
    margin-top: 0.2rem;
}

.bp-print-barcode {
    text-align: center;
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

.bp-print-qr {
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 0.8rem;
    background: #fff;
    border-radius: 12px;
}

.bp-print-qr svg {
    color: #0f172a;
}

/* ==========================================================================
   FASE 2: TELA DE LOGIN PREMIUM E GOOGLE SSO
   ========================================================================== */

/* Fullscreen Auth Styling overlay to cover the whole viewport */
.fullscreen-auth {
    inset: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

.auth-container-fullscreen {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: rgba(10, 12, 22, 0.08);
    position: relative;
}

/* Coluna Visual (Branding) - Left pane */
.auth-visual-side {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem;
    background: rgba(4, 6, 10, 0.15) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow: hidden;
    z-index: 2;
}

.auth-visual-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visual-logo {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.visual-tagline {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    letter-spacing: -0.02em;
}

.visual-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.visual-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.v-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.v-feat-icon {
    width: 22px;
    height: 22px;
    color: var(--primary-color);
}

.v-feat-item span {
    font-size: 0.95rem;
    color: #e2e8f0;
    font-weight: 500;
}

/* Coluna Formulários - Right pane (Glass & Unified Radial Flow) */
.auth-form-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    position: relative;
    z-index: 2;
    overflow-y: auto;
    background: rgba(10, 12, 22, 0.08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Glowing Ambient Blobs for Premium Glassmorphism */
.auth-glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
}

.blob-orange {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    top: 10%;
    left: 10%;
    width: 320px;
    height: 320px;
    opacity: 0.16;
    animation: swirlBlob1 22s infinite alternate ease-in-out;
}

.blob-purple {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    bottom: 10%;
    right: 10%;
    width: 350px;
    height: 350px;
    opacity: 0.14;
    animation: swirlBlob2 25s infinite alternate ease-in-out;
}

.blob-blue {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    top: 45%;
    left: 45%;
    width: 280px;
    height: 280px;
    opacity: 0.12;
    animation: swirlBlob3 28s infinite alternate ease-in-out;
}

@keyframes swirlBlob1 {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(60px, -40px) rotate(180deg) scale(1.2); }
    100% { transform: translate(-30px, 30px) rotate(360deg) scale(0.95); }
}

@keyframes swirlBlob2 {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(-50px, 60px) rotate(-180deg) scale(0.85); }
    100% { transform: translate(40px, -20px) rotate(-360deg) scale(1.1); }
}

@keyframes swirlBlob3 {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(-20px, -50px) rotate(90deg) scale(1.15); }
    100% { transform: translate(-40px, -10px) rotate(180deg) scale(0.9); }
}

.auth-form-header {
    width: 100%;
    max-width: 420px;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
    z-index: 2;
}

.auth-close-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-close-circle:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    transform: rotate(90deg);
}

.auth-form-container {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.42); /* Premium ultra transparent */
    backdrop-filter: blur(35px) saturate(180%);
    -webkit-backdrop-filter: blur(35px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 
                inset 0 1px 0 rgba(255, 255, 255, 0.08),
                0 0 50px rgba(255, 122, 0, 0.06);
    z-index: 2;
    position: relative;
    animation: authEntrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Beautiful Entrance Keyframes (Missing earlier, now fully integrated) */
@keyframes authEntrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Auth Tab Switcher */
.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 4px;
    overflow: hidden;
}

.auth-tab {
    flex: 1;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

.auth-tab.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

.auth-tab:not(.active):hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

/* Auth Form Inputs */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1.1rem;
    background: rgba(8, 10, 15, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input::placeholder {
    color: rgba(160, 174, 192, 0.5);
}

.form-input:focus {
    border-color: var(--primary-color);
    background: rgba(8, 10, 15, 0.75);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15),
                0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Logout button */
.btn-logout {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    color: #fca5a5 !important;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
    transform: translateY(-2px);
}


#form-login, #form-register {
    animation: formFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes formFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.mobile-only-logo {
    display: none;
}

/* Divisória Glassmorphic Premium */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.8rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-divider:not(:empty)::before {
    margin-right: 1rem;
}

.auth-divider:not(:empty)::after {
    margin-left: 1rem;
}

/* Botão Google Glassmorphic Premium */
.btn-google {
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-google:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 122, 0, 0.4);
    box-shadow: 0 8px 24px rgba(255, 122, 0, 0.15), 0 0 15px rgba(255, 255, 255, 0.02);
    transform: translateY(-2px);
}

.btn-google:active {
    transform: translateY(0);
}

.btn-google svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Responsividade Fullscreen Login */
@media (max-width: 992px) {
    .auth-container-fullscreen {
        grid-template-columns: 1fr;
    }
    
    .auth-visual-side {
        display: none;
    }
    
    .auth-form-side {
        padding: 2rem;
    }
    
    .mobile-only-logo {
        display: block !important;
        font-size: 1.8rem;
    }
    
    .auth-form-header {
        justify-content: space-between;
        align-items: center;
    }
}

/* ==========================================================================
   FASE 3: CUSTOM ALERT MODAL STATUS STYLING (GLASS & NEON)
   ========================================================================== */

/* Glassmorphism custom alert content */
#modal-alert-content.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: none !important;
    border-radius: 28px;
}

/* Custom Alert Status Colors & Shadows (No border, glow only) */
#modal-alert-content.alert-success {
    border: none !important;
}

#modal-alert-content.alert-error {
    border: none !important;
}

#modal-alert-content.alert-warning {
    border: none !important;
}

#modal-alert-content.alert-info {
    border: none !important;
}

/* Pulsing Icon Glowing Halos (Icons white, halos colored) */
#modal-alert-icon.icon-success {
    color: #ffffff !important;
    background: rgba(16, 185, 129, 0.25) !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.35) !important;
    animation: pulse-icon-green 2s infinite !important;
}

#modal-alert-icon.icon-error {
    color: #ffffff !important;
    background: rgba(239, 68, 68, 0.25) !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.35) !important;
    animation: pulse-icon-red 2s infinite !important;
}

#modal-alert-icon.icon-warning {
    color: #ffffff !important;
    background: rgba(245, 158, 11, 0.25) !important;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.35) !important;
    animation: pulse-icon-orange 2s infinite !important;
}

#modal-alert-icon.icon-info {
    color: #ffffff !important;
    background: rgba(255, 122, 0, 0.25) !important;
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.35) !important;
    animation: pulse-icon-orange 2s infinite !important;
}

/* Pulse keyframes for different alert types */
@keyframes pulse-icon-green {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    }
}

@keyframes pulse-icon-red {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
    }
}

@keyframes pulse-icon-orange {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
    }
}

@keyframes pulse-icon-blue {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
    }
}

/* Dark mode custom alert modal text */
body:not(.light-theme) .modal-content.glass h1,
body:not(.light-theme) .modal-content.glass h2,
body:not(.light-theme) .modal-content.glass h3,
body:not(.light-theme) .modal-content.glass p,
body:not(.light-theme) .modal-content.glass span,
body:not(.light-theme) .modal-content.glass label,
body:not(.light-theme) #modal-title,
body:not(.light-theme) #modal-message,
body.dark-theme #modal-title,
body.dark-theme #modal-message {
    color: #ffffff !important;
}

/* Light mode custom alert modal text (Castanho) */
body.light-theme #custom-alert-modal .modal-content,
html.light-theme #custom-alert-modal .modal-content,
body.light-theme #modal-alert-content,
html.light-theme #modal-alert-content {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15) !important;
}

body.light-theme #modal-title,
html.light-theme #modal-title,
body.light-theme #custom-alert-modal h3,
html.light-theme #custom-alert-modal h3 {
    color: #43281c !important;
    font-weight: 700 !important;
}

body.light-theme #modal-message,
html.light-theme #modal-message,
body.light-theme #custom-alert-modal p,
html.light-theme #custom-alert-modal p {
    color: #5c3a21 !important;
    font-weight: 500 !important;
}

/* Force modal icons to be white */
.modal-content.glass .modal-icon,
#modal-alert-icon {
    color: #ffffff !important;
}

/* Dynamic Close Buttons matching alert themes */
.alert-success #modal-close-btn,
.alert-error #modal-close-btn,
.alert-warning #modal-close-btn,
.alert-info #modal-close-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

body.light-theme #modal-close-btn,
html.light-theme #modal-close-btn,
body.light-theme .alert-info #modal-close-btn,
body.light-theme .alert-warning #modal-close-btn,
body.light-theme .alert-success #modal-close-btn,
body.light-theme .alert-error #modal-close-btn {
    background: #ff7a00 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.35) !important;
}

body.light-theme #modal-close-btn:hover,
html.light-theme #modal-close-btn:hover {
    background: #e66e00 !important;
    color: #ffffff !important;
}


/* ==========================================================================
   FASE 4: PAINEL ADMINISTRATIVO GLASSMORPHIC (ESTILOS SEPARADOS)
   ========================================================================== */

#admin-panel {
    display: none;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-y: auto;
    z-index: 9995;
}

.admin-dashboard-container {
    width: 100%;
    min-height: 100vh;
    padding: 2.5rem;
    background: radial-gradient(circle at 50% 50%, rgba(15, 20, 35, 0.98) 0%, rgba(5, 7, 12, 1) 100%);
    position: relative;
    z-index: 10;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.admin-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.admin-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.admin-header-actions {
    display: flex;
    gap: 1rem;
}

.admin-btn-back {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #fff !important;
}

.admin-btn-back:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
}

.admin-btn-logout {
    padding: 0.6rem 1.2rem !important;
    border-radius: 12px !important;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.admin-stat-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    text-align: left;
}

.admin-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    display: block;
}

.admin-stat-change {
    font-size: 0.75rem;
    color: #2ecc71;
    margin-top: 0.2rem;
    display: block;
}

.admin-stat-change.muted {
    color: var(--text-muted);
}

.admin-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.admin-main-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.admin-main-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.admin-glass-box {
    padding: 2rem;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.admin-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.admin-box-title {
    font-size: 1.25rem;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-box-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.admin-table-container {
    max-height: 280px;
    overflow-y: auto;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.admin-table thead tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    height: 42px;
}

.admin-table th {
    padding: 0.9rem 1.2rem;
    color: #ffd8a8;
    font-weight: 700;
}

.admin-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 48px;
}

.admin-table td {
    padding: 0.9rem 1.2rem;
}

.admin-table td.primary-id {
    color: var(--primary-color);
    font-weight: 700;
}

.admin-table td.bold-text {
    font-weight: 600;
}

.admin-table td.success-text {
    color: #2ecc71;
    font-weight: 600;
}

.admin-table td.muted-text {
    color: var(--text-muted);
}

.admin-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-form-group-no-margin {
    margin-bottom: 0 !important;
}

.admin-input-custom-select {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    width: 100%;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.admin-input-custom-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
}

@media (max-width: 992px) {
    .admin-main-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   MOBILE PERFORMANCE OPTIMIZATIONS
   ========================================== */
@media (max-width: 768px) {
    /* Esconder animações pesadas no telemóvel */
    #antigravity-canvas, 
    #hire-particles-canvas {
        display: none !important;
    }

    /* Reduzir blur que pesa na GPU mobile, mantendo a transparência */
    .glass,
    .search-bar.glass,
    .option-item.glass {
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }

    /* Adicionar ícones de background alternativos (mais leves) onde as partículas estavam */
    .mesh-glow-section {
        background-image: radial-gradient(circle at 50% 50%, rgba(255, 122, 0, 0.05) 0%, transparent 70%);
    }

    /* Desactivar animações reveal complexas em mobile para evitar saltos */
    .reveal {
        transition: opacity 0.3s ease, transform 0.3s ease !important;
    }
}

/* ==========================================
   PARTNERS MARQUEE SLIDER
   ========================================== */
.partners-marquee-section {
    margin-top: 3rem;
    padding: 2rem 0;
    position: relative;
    z-index: 5;
}

.partners-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
}

.partners-marquee-track {
    display: flex;
    width: calc(250px * 10);
    animation: scrollLogos 25s linear infinite;
    gap: 3rem;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 5));
    }
}

.partner-logo-item {
    flex: 0 0 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.partner-logo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.8) contrast(1.2);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo-item:hover {
    background: rgba(255, 122, 0, 0.05);
    border-color: rgba(255, 122, 0, 0.35);
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.1);
    transform: translateY(-3px);
}

.partner-logo-item:hover img {
    filter: none;
    opacity: 1;
}

@media (max-width: 768px) {
    .partners-marquee-track {
        animation: scrollLogos 15s linear infinite;
        gap: 1.5rem;
    }
    .partner-logo-item {
        flex: 0 0 140px;
        height: 80px;
        border-radius: 12px;
        padding: 0;
    }
    /* Hide the Digital Ticket info section on mobile */
    #bilhetes {
        display: none !important;
    }
    .hide-on-mobile {
        display: none !important;
    }
}
/* Global Modal Primary Button Styling */
.modal-backdrop .btn-primary,
.modal-backdrop button.btn-primary,
.modal-content .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.25) !important;
}

.modal-backdrop .btn-primary:hover,
.modal-backdrop button.btn-primary:hover,
.modal-content .btn-primary:hover {
    background: linear-gradient(135deg, #ff9020 0%, #ff5500 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 25px rgba(255, 122, 0, 0.4) !important;
    color: #ffffff !important;
}

/* Styling for Search Result Company Filter Dropdown & Options */
body:not(.light-theme) #company-filter,
html:not(.light-theme) #company-filter,
body.dark-theme #company-filter,
html.dark-theme #company-filter {
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    font-family: 'Inter', sans-serif !important;
}

body:not(.light-theme) #company-filter option,
html:not(.light-theme) #company-filter option,
body.dark-theme #company-filter option,
html.dark-theme #company-filter option {
    background-color: #0f172a !important;
    color: #ffffff !important;
    font-size: 0.9rem !important;
    padding: 12px 16px !important;
    font-family: 'Inter', sans-serif !important;
}

/* Modo Claro: Filtro de Transportadora Castanho Elegante */
body.light-theme #company-filter,
html.light-theme #company-filter,
body.light-theme .styled-filter-select,
html.light-theme .styled-filter-select {
    background: transparent !important;
    color: #3b1f0e !important; /* Castanho escuro */
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
}

body.light-theme #company-filter option,
html.light-theme #company-filter option,
body.light-theme .styled-filter-select option,
html.light-theme .styled-filter-select option {
    background-color: #ffffff !important;
    color: #3b1f0e !important; /* Castanho escuro */
    font-size: 0.9rem !important;
    padding: 12px 16px !important;
    font-family: 'Inter', sans-serif !important;
}

body.light-theme .filter-label,
html.light-theme .filter-label {
    color: #5c3317 !important;
    font-weight: 700 !important;
}

body.light-theme .filter-select-box,
html.light-theme .filter-select-box {
    background: #ffffff !important;
    border: 1.5px solid #c8956a !important;
    box-shadow: 0 2px 8px rgba(92, 51, 23, 0.08) !important;
}

body.light-theme .filter-select-box:hover,
body.light-theme .filter-select-box:focus-within,
html.light-theme .filter-select-box:hover,
html.light-theme .filter-select-box:focus-within {
    border-color: #7a4a2a !important;
    box-shadow: 0 0 0 3px rgba(122, 74, 42, 0.15) !important;
}

body.light-theme .filter-select-box i,
body.light-theme .filter-select-box svg,
html.light-theme .filter-select-box i,
html.light-theme .filter-select-box svg {
    color: #7a4a2a !important;
    stroke: #7a4a2a !important;
}

/* ==========================================================================
   TRIP DETAILS MODAL TICKET RESPONSIVE LAYOUT
   ========================================================================== */
.trip-details-card {
    position: relative;
    width: 100%;
    max-width: 760px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.65), 0 0 40px rgba(255,122,0,0.1);
    overflow: hidden;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    margin: auto;
}

.trip-details-layout {
    display: grid;
    grid-template-columns: 1fr auto 220px;
    gap: 0;
    min-height: 280px;
}

.trip-details-main {
    padding: 1.8rem 1.6rem 1.8rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: left;
}

.trip-details-grid-specs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0.6rem;
}

.trip-details-sep {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 0.2rem;
    position: relative;
}

.trip-details-sep-circle-top {
    position: absolute;
    top: -10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-color) !important;
    border: 1px solid rgba(255,122,0,0.2);
}

.trip-details-sep-line {
    flex: 1;
    width: 1px;
    border-left: 2px dashed rgba(255,122,0,0.25);
    margin: 20px 0;
}

.trip-details-sep-circle-bottom {
    position: absolute;
    bottom: -10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-color) !important;
    border: 1px solid rgba(255,122,0,0.2);
}

.trip-details-sidebar {
    padding: 1.8rem 2rem 1.8rem 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 1.2rem;
}

@media (max-width: 768px) {
    .trip-details-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .trip-details-main {
        padding: 1.5rem;
    }
    
    .trip-details-grid-specs {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .trip-details-sep {
        flex-direction: row;
        width: 100%;
        height: 20px;
        padding: 0;
        margin: 0.5rem 0;
    }
    
    .trip-details-sep-circle-top {
        left: -10px;
        top: 0;
        background: var(--bg-color) !important;
    }
    
    .trip-details-sep-line {
        height: 1px;
        width: 100%;
        border-left: none;
        border-top: 2px dashed rgba(255,122,0,0.25);
        margin: 0 10px;
    }
    
    .trip-details-sep-circle-bottom {
        right: -10px;
        top: 0;
        background: var(--bg-color) !important;
    }
    
    .trip-details-sidebar {
        padding: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.08);
        gap: 1.2rem;
    }
    
    .trip-details-qr-code,
    .trip-details-qr-text {
        display: none !important;
    }
}

/* Force text readability inside the trip details modal */
.trip-details-card h1,
.trip-details-card h2,
.trip-details-card h3,
.trip-details-card h4,
.trip-details-card p,
.trip-details-card strong,
.trip-details-card span:not([style*="color"]),
.trip-details-card div:not([style*="color"]) {
    color: #ffffff !important;
}

/* ==========================================================================
   AUTH MODAL — minimal
   ========================================================================== */
/* ==========================================================================
   AUTH MODAL — POLISHED & HIGH CONTRAST (DARK & WHITE MODES)
   ========================================================================== */
.modal-backdrop {
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

body.light-theme .modal-backdrop,
html.light-theme .modal-backdrop {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.auth-modal-box {
    position: relative;
    width: 90%;
    max-width: 360px;
    border-radius: 20px !important;
    padding: 1.5rem 1.6rem 1.3rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.35rem !important;
    margin: auto !important;
}

/* Modal box in Dark mode */
body:not(.light-theme) .auth-modal-box,
body.dark-theme .auth-modal-box {
    background: #0d121f !important;
    background-color: #0d121f !important;
    border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65) !important;
}

/* Modal box in White mode (Clear light highlight on gray overlay) */
body.light-theme .auth-modal-box,
html.light-theme .auth-modal-box {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18) !important;
}

/* Close X button */
.auth-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

body:not(.light-theme) .auth-modal-close,
body.dark-theme .auth-modal-close {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
}

body:not(.light-theme) .auth-modal-close svg,
body.dark-theme .auth-modal-close svg {
    stroke: #ffffff !important;
}

body:not(.light-theme) .auth-modal-close:hover,
body.dark-theme .auth-modal-close:hover {
    background: rgba(239, 68, 68, 0.25) !important;
    color: #ef4444 !important;
    border-color: #ef4444 !important;
    transform: rotate(90deg);
}

body:not(.light-theme) .auth-modal-close:hover svg,
body.dark-theme .auth-modal-close:hover svg {
    stroke: #ef4444 !important;
}

body.light-theme .auth-modal-close,
html.light-theme .auth-modal-close {
    background: #f1f5f9 !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .auth-modal-close svg,
html.light-theme .auth-modal-close svg {
    stroke: #0f172a !important;
}

body.light-theme .auth-modal-close:hover,
html.light-theme .auth-modal-close:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-color: #ef4444 !important;
    transform: rotate(90deg);
}

body.light-theme .auth-modal-close:hover svg,
html.light-theme .auth-modal-close:hover svg {
    stroke: #dc2626 !important;
}

/* Icon (Laranja in both Dark and White) */
.auth-modal-icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
    background: rgba(255, 122, 0, 0.12) !important;
    border: 1.5px solid rgba(255, 122, 0, 0.35) !important;
    color: #ff7a00 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0.35rem !important;
    margin-top: 0.15rem !important;
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.15) !important;
}

.auth-modal-icon svg {
    stroke: #ff7a00 !important;
    color: #ff7a00 !important;
    width: 26px !important;
    height: 26px !important;
}

/* Modal Title */
.auth-modal-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

body:not(.light-theme) .auth-modal-title,
body.dark-theme .auth-modal-title {
    color: #ffffff !important;
}

body.light-theme .auth-modal-title,
html.light-theme .auth-modal-title {
    color: #0f172a !important;
}

/* Modal Subtitle */
.auth-modal-subtitle {
    font-size: 0.88rem !important;
    margin: 0 0 0.75rem !important;
    line-height: 1.45 !important;
}

body:not(.light-theme) .auth-modal-subtitle,
body.dark-theme .auth-modal-subtitle {
    color: #cbd5e1 !important;
}

body.light-theme .auth-modal-subtitle,
html.light-theme .auth-modal-subtitle {
    color: #475569 !important;
}

/* Modal Actions */
.auth-modal-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.6rem !important;
    width: 100% !important;
}

.auth-modal-actions .btn-buy-trigger {
    width: 100% !important;
    justify-content: center !important;
    padding: 11px 18px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #ff7a00 0%, #ff5500 100%) !important;
    color: #ffffff !important;
    border: 1px solid #ff7a00 !important;
    box-shadow: 0 4px 16px rgba(255, 122, 0, 0.35) !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.auth-modal-actions .btn-buy-trigger:hover {
    background: linear-gradient(135deg, #ff8c1a 0%, #ff661a 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 22px rgba(255, 122, 0, 0.45) !important;
}

.auth-modal-register-link {
    font-size: 0.84rem !important;
    color: #ff7a00 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.auth-modal-register-link:hover {
    color: #ea580c !important;
    text-decoration: underline !important;
}

/* Clean base backgrounds */
html {
    background-color: var(--page-bg, #000000) !important;
    background-image: none !important;
}
body {
    background-color: var(--page-bg, #000000) !important;
    background-image: none !important;
}

/* ==========================================================================
   YETUEXPRESS DEFINITIVE DESIGN SYSTEM & COLOR RULES OVERRIDE (RIGOROUS ORANGE ONLY)
   ========================================================================== */

/* 1. TEXTS: Force all visible text to be white, except inside inputs and orange highlights */
body, p, span, label, a, li, .badge, .breadcrumb, .date, .time, 
.text-muted, .text-secondary, .text-dark, .user-profile-modal-arrow, 
.mobile-nav-username, .sidebar-menu-btn, .sidebar-menu-btn svg,
.btn-logout, .btn-logout:hover, .logout-text, .user-profile-modal-item .logout-text,
.dashboard-tab-header p, .panel-card-header h4, .user-badge,
.alert, .alert *, .status, .status-text {
    color: #FFFFFF !important;
}

/* 2. GREY: Allowed ONLY inside inputs (placeholders and text user writes) */
input, select, textarea {
    color: #94A3B8 !important;
    border-color: #FFFFFF !important;
}
input::placeholder, textarea::placeholder {
    color: #64748B !important;
}

/* 3. ORANGE (#FF6B00): Force all headings, logos, icons, links, ratings, prices, active highlights and buttons to be strictly orange */
h1, h2, h3, 
.logo, .logo *, 
.sidebar-logo, .sidebar-logo *,
.header-icon, .header-icon *,
.card-price, .card-price *, .price, .price *,
.rating, .rating *, .stars, .stars *,
.active, .active *, .selected, .selected *,
.text-danger, .text-success, .text-warning, .text-info,
.sidebar-menu-btn.active, .sidebar-menu-btn.active svg,
.sidebar-counter {
    color: #FF6B00 !important;
}

/* Headings color override */
h1, h2, h3 {
    color: #FF6B00 !important;
}
h4, h5, h6 {
    color: #FFFFFF !important;
}

/* 4. GRADIENTS: Eliminate all gradients, replace with solid colors */
body, body.user-dashboard-body {
    background-color: transparent !important;
    background-image: none !important;
}

.dashboard-glow-blob, .blob-1, .blob-2, .glow-blob, .radial-glow {
    display: none !important;
}

.passenger-avatar-circle, .mobile-avatar-circle, .avatar-circle {
    background: #FF6B00 !important;
    border-color: #FFFFFF !important;
    box-shadow: none !important;
}

.gradient-text, .text-gradient {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #FF6B00 !important;
    color: #FF6B00 !important;
}

/* 5. GLASSMORPHISM & ALERTS: Eliminate blur, backdrop-filter and unnecessary transparency */
.glass, .panel-card, .dashboard-sidebar, header, .header, .mobile-navbar, .modal-content, .user-profile-modal,
.alert, .alert-success, .alert-danger, .alert-warning, .alert-info,
.status-badge, .badge-success, .badge-danger, .badge-warning, .badge-info,
.user-profile-modal-icon-wrap {
    background-color: #1A2235 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-color: #1A2235 !important;
    box-shadow: none !important;
}

/* All background highlights mapped to transparent orange instead of other colors */
.user-profile-modal-icon-wrap.icon-blue,
.user-profile-modal-icon-wrap.icon-red,
.user-profile-modal-item:hover .user-profile-modal-icon-wrap.icon-blue,
.user-profile-modal-item:hover .user-profile-modal-icon-wrap.icon-red,
.bg-success, .bg-danger, .bg-warning, .bg-info,
.sidebar-menu-btn.active {
    background: rgba(255, 107, 0, 0.1) !important;
    color: #FF6B00 !important;
    border: 1px solid rgba(255, 107, 0, 0.15) !important;
}

/* 6. BUTTON HOVER EFFECT OVERRIDE */
.btn {
    background-color: #FF6B00 !important;
}

.btn:hover, .sidebar-menu-btn:hover {
    background-color: #CC5600 !important;
    transform: translateY(-1px) !important;
    box-shadow: none !important;
}

/* Mobile layout override for Autocarro Privado section (#aluguer) */
@media (max-width: 768px) {
    #aluguer .container-fluid {
        /* Follows standard .section-pad width and padding */
    }
    #aluguer .ticket-info {
        display: none !important;
    }
    #aluguer .ticket-container-card {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
    #aluguer .ticket-layout {
        display: block !important;
        gap: 0 !important;
    }
    #aluguer .ticket-visual {
        display: block !important;
        padding: 0 !important;
    }
    #aluguer .boarding-pass {
        transform: none !important;
        max-width: 100% !important;
    }
}

/* App Download Badge overrides - Solid dark surface, orange border, strictly white content */
.btn-store {
    background-color: #1A2235 !important;
    border: 1px solid #FF6B00 !important;
}
.btn-store:hover {
    background-color: #CC5600 !important;
    border-color: #FF6B00 !important;
}
.btn-store, .btn-store * {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

/* RIGOROUS SHADOWS AND GLOWS REMOVAL (MODALS, CARDS, INPUTS & HOVERS) */
*, *::before, *::after, *:hover, *:focus, .modal, .modal-content, .modal-dialog, .boarding-pass, .glass, .panel-card, .btn-store {
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Inputs focus states: Solid border only, no shadow glow */
input:focus, select:focus, textarea:focus {
    outline: none !important;
    border-color: #FF6B00 !important;
    box-shadow: none !important;
}

/* 7. NEW PREMIUM TRANS-GLASS BUTTON */
.btn-glass,
.btn,
.btn-primary,
.btn-outline,
.btn-outline-glow,
.btn-profile-submit,
.btn-novo-frete,
.btn-submit-frete,
.btn-search-dash,
.btn-search,
.btn-action-view,
.btn-print,
.btn-card-booking,
.btn-detalhes-frete,
.btn-cancelar-frete,
.btn-cancel-modal,
#modal-close-btn,
button.btn-primary {
    background: rgba(255, 255, 255, 0.05) !important;
    background-image: none !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    padding: 15px 32px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    transition: border-color 0.4s ease, color 0.4s ease !important;
    -webkit-tap-highlight-color: transparent !important;
    isolation: isolate !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none;
}

/* Disable any other pseudo-elements that might conflict (e.g. shines, double borders) */
.btn-glass::after,
.btn::after,
.btn-primary::after,
.btn-outline::after,
.btn-outline-glow::after,
.btn-profile-submit::after,
.btn-novo-frete::after,
.btn-submit-frete::after,
.btn-search-dash::after,
.btn-search::after,
.btn-action-view::after,
.btn-print::after,
.btn-card-booking::after,
.btn-detalhes-frete::after,
.btn-cancelar-frete::after,
.btn-cancel-modal::after,
#modal-close-btn::after,
button.btn-primary::after {
    display: none !important;
    content: none !important;
}

/* Orange ink hover expansion animation */
.btn-glass::before,
.btn::before,
.btn-primary::before,
.btn-outline::before,
.btn-outline-glow::before,
.btn-profile-submit::before,
.btn-novo-frete::before,
.btn-submit-frete::before,
.btn-search-dash::before,
.btn-search::before,
.btn-action-view::before,
.btn-print::before,
.btn-card-booking::before,
.btn-detalhes-frete::before,
.btn-cancelar-frete::before,
.btn-cancel-modal::before,
#modal-close-btn::before,
button.btn-primary::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 0 !important;
    height: 0 !important;
    background: #FF6B00 !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
    transition: width 0.6s ease, height 0.6s ease !important;
    z-index: -1 !important;
    box-shadow: none !important;
    background-image: none !important;
}

.btn-glass:hover,
.btn:hover,
.btn-primary:hover,
.btn-outline:hover,
.btn-outline-glow:hover,
.btn-profile-submit:hover,
.btn-novo-frete:hover,
.btn-submit-frete:hover,
.btn-search-dash:hover,
.btn-search:hover,
.btn-action-view:hover,
.btn-print:hover,
.btn-card-booking:hover,
.btn-detalhes-frete:hover,
.btn-cancelar-frete:hover,
.btn-cancel-modal:hover,
#modal-close-btn:hover,
button.btn-primary:hover {
    border-color: #FF6B00 !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
    background-image: none !important;
    transform: none !important;
}

.btn-glass:hover::before,
.btn:hover::before,
.btn-primary:hover::before,
.btn-outline:hover::before,
.btn-outline-glow:hover::before,
.btn-profile-submit:hover::before,
.btn-novo-frete:hover::before,
.btn-submit-frete:hover::before,
.btn-search-dash:hover::before,
.btn-search:hover::before,
.btn-action-view:hover::before,
.btn-print:hover::before,
.btn-card-booking:hover::before,
.btn-detalhes-frete:hover::before,
.btn-cancelar-frete:hover::before,
.btn-cancel-modal:hover::before,
#modal-close-btn:hover::before,
button.btn-primary:hover::before {
    width: 1200px !important; height: 1200px !important;
}

.btn-glass:active,
.btn:active,
.btn-primary:active,
.btn-outline:active,
.btn-outline-glow:active,
.btn-profile-submit:active,
.btn-novo-frete:active,
.btn-submit-frete:active,
.btn-search-dash:active,
.btn-search:active,
.btn-action-view:active,
.btn-print:active,
.btn-card-booking:active,
.btn-detalhes-frete:active,
.btn-cancelar-frete:active,
.btn-cancel-modal:active,
#modal-close-btn:active,
button.btn-primary:active {
    transform: scale(0.98) !important;
    box-shadow: none !important;
}

/* Ensure icons and text inside stay white and readable */
.btn-glass span, .btn-glass i, .btn-glass svg,
.btn span, .btn i, .btn svg,
.btn-primary span, .btn-primary i, .btn-primary svg,
.btn-outline span, .btn-outline i, .btn-outline svg,
.btn-outline-glow span, .btn-outline-glow i, .btn-outline-glow svg,
.btn-profile-submit span, .btn-profile-submit i, .btn-profile-submit svg,
.btn-novo-frete span, .btn-novo-frete i, .btn-novo-frete svg,
.btn-submit-frete span, .btn-submit-frete i, .btn-submit-frete svg,
.btn-search-dash span, .btn-search-dash i, .btn-search-dash svg,
.btn-search span, .btn-search i, .btn-search svg,
.btn-action-view span, .btn-action-view i, .btn-action-view svg,
.btn-print span, .btn-print i, .btn-print svg,
.btn-card-booking span, .btn-card-booking i, .btn-card-booking svg,
.btn-detalhes-frete span, .btn-detalhes-frete i, .btn-detalhes-frete svg,
.btn-cancelar-frete span, .btn-cancelar-frete i, .btn-cancelar-frete svg,
.btn-cancel-modal span, .btn-cancel-modal i, .btn-cancel-modal svg,
#modal-close-btn span, #modal-close-btn i, #modal-close-btn svg,
button.btn-primary span, button.btn-primary i, button.btn-primary svg {
    color: #FFFFFF !important;
    fill: transparent !important;
    position: relative !important;
    z-index: 2 !important;
    text-shadow: none !important;
}

/* ??? NEUTRALISE #btn-login-trigger ID overrides ??? */
#btn-login-trigger {
    background: rgba(255, 255, 255, 0.05) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    animation: none !important;
    box-shadow: none !important;
}
#btn-login-trigger::before {
    display: block !important;
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 0 !important;
    height: 0 !important;
    background: #FF6B00 !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
    transition: width 0.6s ease, height 0.6s ease !important;
    z-index: -1 !important;
    animation: none !important;
}
#btn-login-trigger::after { display: none !important; content: none !important; }
#btn-login-trigger:hover {
    border-color: #FF6B00 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    background-image: none !important;
    box-shadow: none !important;
}
#btn-login-trigger:hover::before { width: 1200px !important; height: 1200px !important; }

/* ??? ICONS STAY WHITE ON HOVER ??? */
.btn-glass:hover span, .btn-glass:hover i, .btn-glass:hover svg,
.btn:hover span, .btn:hover i, .btn:hover svg,
.btn-primary:hover span, .btn-primary:hover i, .btn-primary:hover svg,
.btn-outline:hover span, .btn-outline:hover i, .btn-outline:hover svg,
.btn-outline-glow:hover span, .btn-outline-glow:hover i, .btn-outline-glow:hover svg,
.btn-profile-submit:hover span, .btn-profile-submit:hover i, .btn-profile-submit:hover svg,
.btn-novo-frete:hover span, .btn-novo-frete:hover i, .btn-novo-frete:hover svg,
.btn-submit-frete:hover span, .btn-submit-frete:hover i, .btn-submit-frete:hover svg,
.btn-search-dash:hover span, .btn-search-dash:hover i, .btn-search-dash:hover svg,
.btn-search:hover span, .btn-search:hover i, .btn-search:hover svg,
.btn-action-view:hover span, .btn-action-view:hover i, .btn-action-view:hover svg,
.btn-print:hover span, .btn-print:hover i, .btn-print:hover svg,
.btn-card-booking:hover span, .btn-card-booking:hover i, .btn-card-booking:hover svg,
.btn-detalhes-frete:hover span, .btn-detalhes-frete:hover i, .btn-detalhes-frete:hover svg,
.btn-cancelar-frete:hover span, .btn-cancelar-frete:hover i, .btn-cancelar-frete:hover svg,
.btn-cancel-modal:hover span, .btn-cancel-modal:hover i, .btn-cancel-modal:hover svg,
#modal-close-btn:hover span, #modal-close-btn:hover i, #modal-close-btn:hover svg,
#btn-login-trigger:hover span, #btn-login-trigger:hover i, #btn-login-trigger:hover svg,
button.btn-primary:hover span, button.btn-primary:hover i, button.btn-primary:hover svg {
    color: #FFFFFF !important;
    fill: transparent !important;
    position: relative !important;
    z-index: 2 !important;
    text-shadow: none !important;
}

/* ======================================================================
   GLOBAL: ALL ICONS WHITE
   Covers: Lucide SVGs (.lucide), <i> elements, nav/sidebar SVGs,
           inline SVGs used as icons in buttons, cards and lists.
   !important overrides inline style="color:var(--primary-color)"
   ====================================================================== */

/* Lucide icons (rendered by lucide.createIcons()) in Dark Mode */
body:not(.light-theme) svg.lucide,
body:not(.light-theme) .lucide,
body.dark-theme svg.lucide,
body.dark-theme .lucide {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

/* Font/CSS icon elements in Dark Mode */
body:not(.light-theme) i,
body:not(.light-theme) i[data-lucide],
body.dark-theme i,
body.dark-theme i[data-lucide] {
    color: #FFFFFF !important;
}

/* Raw inline SVGs used as UI icons in Dark Mode */
body:not(.light-theme) nav svg,
body:not(.light-theme) header svg,
body:not(.light-theme) .nav-item svg,
body:not(.light-theme) .nav-link svg,
body:not(.light-theme) .sidebar-link svg,
body:not(.light-theme) .sidebar-nav svg,
body:not(.light-theme) .sidebar-icon svg,
body:not(.light-theme) .menu-icon svg,
body:not(.light-theme) .stat-icon svg,
body:not(.light-theme) .stat-card svg,
body:not(.light-theme) .info-item svg,
body:not(.light-theme) .route-icon svg,
body:not(.light-theme) .ticket-icon svg,
body:not(.light-theme) .feature-icon svg,
body:not(.light-theme) .feature-icon i,
body:not(.light-theme) .hero-feature-icon svg,
body:not(.light-theme) .hero-feature-icon i,
body:not(.light-theme) .step-icon svg,
body:not(.light-theme) .step-icon i,
body:not(.light-theme) .faq-icon svg,
body:not(.light-theme) .faq-icon i,
body:not(.light-theme) .card-action svg,
body:not(.light-theme) .table-actions svg,
body:not(.light-theme) .section-icon svg,
body:not(.light-theme) .modal-header svg,
body:not(.light-theme) .alert-icon svg,
body:not(.light-theme) .empty-state svg,
body:not(.light-theme) .search-icon svg,
body:not(.light-theme) .input-icon svg,
body:not(.light-theme) .select-icon svg,
body:not(.light-theme) .calendar-icon svg,
body:not(.light-theme) .notification-icon svg,
body:not(.light-theme) .profile-icon svg,
body:not(.light-theme) .logo-icon svg,
body.dark-theme nav svg,
body.dark-theme header svg,
body.dark-theme .nav-item svg,
body.dark-theme .nav-link svg,
body.dark-theme .sidebar-link svg,
body.dark-theme .sidebar-nav svg,
body.dark-theme .sidebar-icon svg,
body.dark-theme .menu-icon svg,
body.dark-theme .stat-icon svg,
body.dark-theme .stat-card svg,
body.dark-theme .info-item svg,
body.dark-theme .route-icon svg,
body.dark-theme .ticket-icon svg,
body.dark-theme .feature-icon svg,
body.dark-theme .feature-icon i,
body.dark-theme .hero-feature-icon svg,
body.dark-theme .hero-feature-icon i,
body.dark-theme .step-icon svg,
body.dark-theme .step-icon i,
body.dark-theme .faq-icon svg,
body.dark-theme .faq-icon i,
body.dark-theme .card-action svg,
body.dark-theme .table-actions svg,
body.dark-theme .section-icon svg,
body.dark-theme .modal-header svg,
body.dark-theme .alert-icon svg,
body.dark-theme .empty-state svg,
body.dark-theme .search-icon svg,
body.dark-theme .input-icon svg,
body.dark-theme .select-icon svg,
body.dark-theme .calendar-icon svg,
body.dark-theme .notification-icon svg,
body.dark-theme .profile-icon svg,
body.dark-theme .logo-icon svg {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

/* Ensure button/link icon children inherit white in dark mode */
body:not(.light-theme) button i,
body:not(.light-theme) button svg.lucide,
body:not(.light-theme) a i,
body:not(.light-theme) a svg.lucide,
body:not(.light-theme) button [data-lucide],
body:not(.light-theme) a [data-lucide],
body.dark-theme button i,
body.dark-theme button svg.lucide,
body.dark-theme a i,
body.dark-theme a svg.lucide,
body.dark-theme button [data-lucide],
body.dark-theme a [data-lucide] {
    color: #FFFFFF !important;
}

/* ── BTN-STORE: Google Play / App Store (Always Orange) ── */
.btn-store,
body.light-theme .btn-store,
body:not(.light-theme) .btn-store,
body.dark-theme .btn-store {
    background: #ff7a00 !important;
    background-image: linear-gradient(135deg, #ff7a00 0%, #ff5500 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 14px !important;
    color: #FFFFFF !important;
    padding: 14px 28px !important;
    font-family: 'Inter', sans-serif !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 8px 24px rgba(255, 122, 0, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-store::before,
.btn-store::after {
    display: none !important;
    content: none !important;
}

.btn-store:hover,
body.light-theme .btn-store:hover,
body:not(.light-theme) .btn-store:hover,
body.dark-theme .btn-store:hover {
    background: #ff851a !important;
    background-image: linear-gradient(135deg, #ff8c1a 0%, #ff6600 100%) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 12px 30px rgba(255, 122, 0, 0.55) !important;
    transform: translateY(-3px) scale(1.02) !important;
}

.btn-store:active,
body.light-theme .btn-store:active,
body:not(.light-theme) .btn-store:active,
body.dark-theme .btn-store:active {
    transform: translateY(-1px) scale(0.99) !important;
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.4) !important;
}

/* All children of .btn-store are always crisp white */
.btn-store *,
.btn-store span,
.btn-store strong,
.btn-store svg,
.btn-store i,
.btn-store:hover *,
.btn-store:hover span,
.btn-store:hover strong,
.btn-store:hover svg,
.btn-store:hover i,
body.light-theme .btn-store *,
body.light-theme .btn-store span,
body.light-theme .btn-store strong,
body.light-theme .btn-store svg,
body.light-theme .btn-store i {
    color: #FFFFFF !important;
    fill: currentColor !important;
    stroke: none !important;
    position: relative !important;
    z-index: 2 !important;
    text-shadow: none !important;
}

/* ======================================================================
   MOBILE OPTIMIZATION: PORTRAIT HERO BACKGROUND IMAGE
   Applied on screens up to 767px wide. Uses the cropped portrait version.
   ====================================================================== */
@media (max-width: 767px) {
    html {
        background-image: none !important;
        background-color: #0B1120 !important;
    }
    body::before {
        content: "" !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: -1000 !important;
        background-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.20) 100%), url('../assets/hero_mobile_opt.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        pointer-events: none !important;
    }
}

/* ??????????????????????????????????????????????????????????????????????
   HOTÉIS MAIS INCRÍVEIS — Section Styles
   ?????????????????????????????????????????????????????????????????????? */

.hotels-section {
    padding: 5rem 0;
    position: relative;
}

/* ?? Grid ??????????????????????????????????????????????????????? */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 0;
}

@media (max-width: 1100px) {
    .hotels-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .hotels-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* ?? Card ??????????????????????????????????????????????????????? */
.hotel-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.hotel-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 20px;
}

.hotel-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.hotel-card:hover .hotel-img-wrap img {
    transform: scale(1.07);
}

/* ?? Persistent dark gradient overlay (bottom fade) ???????????? */
.hotel-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 40%,
        rgba(0,0,0,0.82) 100%
    );
    z-index: 1;
    pointer-events: none;
    border-radius: 20px;
}

/* ?? Discount badge — top right ????????????????????????????????? */
.hotel-discount-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    background: #FF6B00;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 6px 13px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.45);
    text-transform: uppercase;
    white-space: nowrap;
    animation: pulse-badge 2.4s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 4px 14px rgba(255, 107, 0, 0.45); transform: scale(1); }
    50%       { box-shadow: 0 6px 22px rgba(255, 107, 0, 0.75); transform: scale(1.04); }
}

/* ?? Overlay info panel — bottom left ?????????????????????????? */
.hotel-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 1.2rem 1.2rem 1.3rem;
}

.hotel-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

/* Stars */
.hotel-stars-row {
    display: flex;
    gap: 3px;
    margin-bottom: 4px;
}

.hotel-stars-row svg {
    width: 13px;
    height: 13px;
    color: #FFB400 !important;
    fill: #FFB400 !important;
}

/* Hotel name */
.hotel-name-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFFF !important;
    margin: 0 0 3px;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Description — max 2 lines */
.hotel-desc-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #ffffff !important;
    margin: 0 0 10px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ?? Reservar Button ???????????????????????????????????????????? */
.hotel-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 18px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.4s ease;
    align-self: flex-start;
}

.hotel-book-btn::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: #FF6B00;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.hotel-book-btn:hover {
    border-color: #FF6B00;
    color: #FFFFFF !important;
}

.hotel-book-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hotel-book-btn i {
    width: 14px;
    height: 14px;
    color: #FFFFFF !important;
    position: relative;
    z-index: 2;
}

.hotel-book-btn span,
.hotel-book-btn:hover i,
.hotel-book-btn:hover span {
    color: #FFFFFF !important;
    position: relative;
    z-index: 2;
}

/* ── Hotels / Destinos / Aluguer Filters & Layout ── */
.hotels-filter-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.2rem;
    width: 100%;
    padding: 0 1rem;
}

.filter-switch-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.filter-mode-switch {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border-radius: 50px;
    gap: 4px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body:not(.light-theme) .filter-mode-switch,
body.dark-theme .filter-mode-switch {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

body.light-theme .filter-mode-switch,
html.light-theme .filter-mode-switch,
body.light .filter-mode-switch,
html.light .filter-mode-switch {
    background: #ffffff !important;
    border: 1.5px solid #d7ccc8 !important;
    box-shadow: 0 4px 15px rgba(74, 44, 17, 0.08) !important;
}

.filter-mode-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 50px;
    border: 1px solid transparent;
    font-size: 0.84rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    background: transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

/* Modo escuro: botões de filtro */
body:not(.light-theme) .filter-mode-btn,
body.dark-theme .filter-mode-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

body:not(.light-theme) .filter-mode-btn span,
body.dark-theme .filter-mode-btn span {
    color: #ffffff !important;
}

body:not(.light-theme) .filter-mode-btn i,
body:not(.light-theme) .filter-mode-btn svg,
body.dark-theme .filter-mode-btn i,
body.dark-theme .filter-mode-btn svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

body:not(.light-theme) .filter-mode-btn:hover:not(.active),
body.dark-theme .filter-mode-btn:hover:not(.active) {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

/* Modo claro (White Mode): textos e ícones castanhos elegantes */
body.light-theme .filter-mode-btn,
html.light-theme .filter-mode-btn,
body.light .filter-mode-btn,
html.light .filter-mode-btn {
    background: transparent !important;
    border: 1px solid transparent !important;
    color: #4a2c11 !important; /* Castanho elegante */
}

body.light-theme .filter-mode-btn span,
html.light-theme .filter-mode-btn span,
body.light .filter-mode-btn span,
html.light .filter-mode-btn span {
    color: #4a2c11 !important; /* Castanho elegante */
    font-weight: 600 !important;
}

body.light-theme .filter-mode-btn i,
body.light-theme .filter-mode-btn svg,
html.light-theme .filter-mode-btn i,
html.light-theme .filter-mode-btn svg,
body.light .filter-mode-btn i,
body.light .filter-mode-btn svg,
html.light .filter-mode-btn i,
html.light .filter-mode-btn svg {
    color: #4a2c11 !important; /* Castanho elegante */
    stroke: #4a2c11 !important;
}

body.light-theme .filter-mode-btn:hover:not(.active),
html.light-theme .filter-mode-btn:hover:not(.active),
body.light .filter-mode-btn:hover:not(.active),
html.light .filter-mode-btn:hover:not(.active) {
    color: #ff7a00 !important;
    background: rgba(255, 122, 0, 0.08) !important;
    border-color: rgba(255, 122, 0, 0.3) !important;
    transform: translateY(-1px);
}

body.light-theme .filter-mode-btn:hover:not(.active) span,
html.light-theme .filter-mode-btn:hover:not(.active) span,
body.light .filter-mode-btn:hover:not(.active) span,
html.light .filter-mode-btn:hover:not(.active) span {
    color: #ff7a00 !important;
}

body.light-theme .filter-mode-btn:hover:not(.active) i,
body.light-theme .filter-mode-btn:hover:not(.active) svg,
html.light-theme .filter-mode-btn:hover:not(.active) i,
html.light-theme .filter-mode-btn:hover:not(.active) svg,
body.light .filter-mode-btn:hover:not(.active) i,
body.light .filter-mode-btn:hover:not(.active) svg,
html.light .filter-mode-btn:hover:not(.active) i,
html.light .filter-mode-btn:hover:not(.active) svg {
    color: #ff7a00 !important;
    stroke: #ff7a00 !important;
}

/* Botão de filtro ativo (destaque laranja e texto branco em ambos os modos) */
.filter-mode-btn.active,
body:not(.light-theme) .filter-mode-btn.active,
body.dark-theme .filter-mode-btn.active,
body.light-theme .filter-mode-btn.active,
html.light-theme .filter-mode-btn.active,
body.light .filter-mode-btn.active,
html.light .filter-mode-btn.active {
    background: var(--primary-color, #ff7a00) !important;
    color: #ffffff !important;
    border-color: var(--primary-color, #ff7a00) !important;
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.4) !important;
}

.filter-mode-btn.active span,
body:not(.light-theme) .filter-mode-btn.active span,
body.dark-theme .filter-mode-btn.active span,
body.light-theme .filter-mode-btn.active span,
html.light-theme .filter-mode-btn.active span,
body.light .filter-mode-btn.active span,
html.light .filter-mode-btn.active span {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.filter-mode-btn.active i,
.filter-mode-btn.active svg,
body:not(.light-theme) .filter-mode-btn.active i,
body:not(.light-theme) .filter-mode-btn.active svg,
body.dark-theme .filter-mode-btn.active i,
body.dark-theme .filter-mode-btn.active svg,
body.light-theme .filter-mode-btn.active i,
body.light-theme .filter-mode-btn.active svg,
html.light-theme .filter-mode-btn.active i,
html.light-theme .filter-mode-btn.active svg,
body.light .filter-mode-btn.active i,
body.light .filter-mode-btn.active svg,
html.light .filter-mode-btn.active i,
html.light .filter-mode-btn.active svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.filter-input-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.filter-input-row .province-select-box {
    width: 100%;
    max-width: 420px;
}

@media (max-width: 480px) {
    .filter-mode-btn {
        padding: 6px 13px;
        font-size: 0.78rem;
    }
}

.province-select-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    border-radius: 50px;
    height: 48px;
    width: 100%;
    max-width: 380px;
    min-width: 280px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

body:not(.light-theme) .province-select-box,
body.dark-theme .province-select-box {
    background: rgba(13, 18, 31, 0.85) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45) !important;
    color: #ffffff;
}

body.light-theme .province-select-box,
html.light-theme .province-select-box,
body.light .province-select-box,
html.light .province-select-box {
    background: #ffffff !important;
    border: 1.5px solid #d7ccc8 !important;
    box-shadow: 0 4px 18px rgba(74, 44, 17, 0.08) !important;
    color: #3e2723 !important;
}

.province-select-box:hover,
.province-select-box:focus-within {
    border-color: var(--primary-color, #ff7a00) !important;
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.25) !important;
    transform: translateY(-1px);
}

.province-select-box .select-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--primary-color, #ff7a00);
    pointer-events: none;
    z-index: 2;
}

.province-search-input {
    width: 100%;
    height: 100%;
    padding: 0 42px 0 44px;
    border: none;
    background: transparent;
    color: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    outline: none;
    z-index: 1;
}

body.light-theme .province-search-input,
html.light-theme .province-search-input,
body.light .province-search-input,
html.light .province-search-input {
    color: #3e2723 !important; /* Castanho escuro */
}

.province-search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
    font-size: 0.88rem;
}

body.light-theme .province-search-input::placeholder,
html.light-theme .province-search-input::placeholder,
body.light .province-search-input::placeholder,
html.light .province-search-input::placeholder {
    color: #8d6e63 !important; /* Castanho suave */
}

.btn-clear-province {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 2;
    padding: 0;
}

.btn-clear-province:hover {
    background: var(--primary-color, #ff7a00);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

body.light-theme .btn-clear-province {
    background: #e2e8f0;
    color: #64748b;
}

body.light-theme .btn-clear-province:hover {
    background: var(--primary-color, #ff7a00);
    color: #ffffff;
}

#mapa-rotas {
    display: none !important;
}

.hotels-filter {
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 6px;
    border-radius: 50px;
    gap: 6px;
    transition: all 0.3s ease;
}

/* Dark mode filter container */
body:not(.light-theme) .hotels-filter,
body.dark-theme .hotels-filter {
    background: rgba(13, 18, 31, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45) !important;
}

/* Light mode filter container */
body.light-theme .hotels-filter,
html.light-theme .hotels-filter {
    background: #e2e8f0 !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.hf-btn {
    border: none;
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode buttons */
body:not(.light-theme) .hf-btn,
body.dark-theme .hf-btn {
    background: transparent !important;
    color: #cbd5e1 !important;
}

body:not(.light-theme) .hf-btn:hover:not(.hf-active),
body.dark-theme .hf-btn:hover:not(.hf-active) {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Light mode buttons (Castanho text) */
body.light-theme .hf-btn,
html.light-theme .hf-btn {
    background: transparent !important;
    color: #573a2e !important;
}

body.light-theme .hf-btn:hover:not(.hf-active),
html.light-theme .hf-btn:hover:not(.hf-active) {
    color: #ea580c !important;
    background: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}

/* Active button (both modes) */
.hf-btn.hf-active,
body:not(.light-theme) .hf-btn.hf-active,
body.dark-theme .hf-btn.hf-active,
body.light-theme .hf-btn.hf-active,
html.light-theme .hf-btn.hf-active {
    background: #ff7a00 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.4) !important;
}

.hotels-slider-outer {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 4.5rem;
}

.hotels-slider-wrap {
    overflow: hidden;
    width: 100%;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.hotels-slider-wrap::-webkit-scrollbar {
    display: none;
}

.hotels-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 2rem;
    padding: 10px 0;
}

.hotels-slider-track .hotel-card,
.hotels-slider-track .car-card {
    flex: 0 0 calc(33.333% - 1.333rem);
    width: calc(33.333% - 1.333rem);
    max-width: calc(33.333% - 1.333rem);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 1024px) {
    .hotels-slider-track .hotel-card,
    .hotels-slider-track .car-card {
        flex: 0 0 calc(50% - 1rem);
        width: calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .hotels-slider-track .hotel-card,
    .hotels-slider-track .car-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
    .hotels-filter-container {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .province-select-box {
        width: 100%;
        min-width: 100%;
    }
    .hotels-filter {
        width: 100%;
        max-width: 100%;
        padding: 4px;
        gap: 6px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .hotels-filter::-webkit-scrollbar {
        display: none;
    }
    .hf-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
}

/* ==========================================
   CARGO/ENCOMENDAS SECTION
   ========================================== */
.cargo-section {
    padding: 1.5rem 0;
    position: relative;
}

.cargo-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.cargo-info {
    text-align: left;
}

.cargo-overtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.cargo-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--primary-color) !important;
}

.cargo-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #ffffff !important;
    margin-bottom: 2.5rem;
}

.cargo-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.cargo-feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.cargo-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.cargo-feature-item:hover .cargo-feature-icon {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: var(--primary-color) !important;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3) !important;
}

.cargo-feature-text h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--primary-color) !important;
}

.cargo-feature-text p {
    font-size: 0.92rem;
    line-height: 1.5;
    color: #ffffff !important;
}

.cargo-visual-wrap {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
    transition: all 0.5s ease;
}

.cargo-visual-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.cargo-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.cargo-visual-wrap:hover .cargo-image {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .cargo-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .cargo-title {
        font-size: 2.2rem;
    }
    .cargo-visual-wrap {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .cargo-section {
        padding: 4rem 0;
    }
    .cargo-container {
        padding: 0 1.5rem;
    }
    .cargo-title {
        font-size: 1.8rem;
    }
    .cargo-desc {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }
}

/* ============================================================
   ESTILOS PREMIUM COMPACTOS PARA O CATÁLOGO DE ALUGUER (#aluguer)
   ============================================================ */
.aluguer-glass-card {
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 122, 0, 0.25) !important;
    border-radius: 24px !important;
    padding: 2rem 1.8rem !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
}

.aluguer-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 1.5rem auto;
}

.aluguer-header h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.aluguer-header p {
    color: #cbd5e1 !important;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.aluguer-benefits-pills {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.aluguer-benefits-pills span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 122, 0, 0.1);
    border: 1px solid rgba(255, 122, 0, 0.25);
    color: #ff7a00;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
}

.aluguer-search-box {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: #ff7a00;
    pointer-events: none;
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.8rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 122, 0, 0.35);
    border-radius: 12px;
    color: #ff7a00;
    font-size: 0.92rem;
    font-weight: 700;
    outline: none;
    transition: all 0.25s ease;
}

.search-input-wrapper input:focus {
    border-color: #ff7a00;
    box-shadow: 0 0 15px rgba(255, 122, 0, 0.3);
}

.province-quick-filters {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.prov-filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.38rem 0.85rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.prov-filter-btn:hover {
    background: rgba(255, 122, 0, 0.15);
    color: #fff;
    border-color: rgba(255, 122, 0, 0.4);
}

.prov-filter-btn.active {
    background: #ff7a00 !important;
    color: #fff !important;
    border-color: #ff7a00 !important;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.35);
}

/* CARDS COMPACTOS E PREENCHIDOS SEM ESPAÇO VAZIO */
.cars-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.car-card {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
    text-align: left;
}

.car-card:hover {
    transform: translateY(-4px) !important;
    border-color: #ff7a00 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    background: rgba(255, 255, 255, 0.07) !important;
}

.car-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.car-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.car-card:hover .car-card-image img {
    transform: scale(1.06);
}

.car-badge-company {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 122, 0, 0.4);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 5px;
}

.car-card-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.car-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.3rem 0;
    line-height: 1.3;
}

.car-location {
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0.85rem;
}

.car-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 1rem;
}

.car-spec-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.car-price-tag {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ff7a00;
}

/* ==========================================================================
   HOMEPAGE LIGHT THEME (FUNDO CINZA NO WHITE, CARTÕES BRANCOS)
   ========================================================================== */
body.light-theme,
body.light {
    --page-bg: #f3f4f6; /* Fundo cinza sofisticado */
    --card-bg: #ffffff;
    --card-hover: #f9fafb;
    --text-main: #111827;
    --text-muted: #4b5563;
    --glass-border: #e5e7eb;
    background-color: #f3f4f6 !important;
    color: #111827 !important;
}

html.light-theme,
html.light {
    background-color: #f3f4f6 !important;
}

body.light-theme section:not(#inicio),
body.light section:not(#inicio) {
    background-color: #f3f4f6 !important;
}

/* Scrollbar no Light Mode */
body.light-theme::-webkit-scrollbar-track {
    background: #e5e7eb;
}

/* ==========================================================================
   NAVBAR: TRANSPARENTE ANTES DO SCROLL (EM TODOS OS TEMAS)
   ========================================================================== */
nav:not(.scrolled),
body.light-theme nav:not(.scrolled),
html.light-theme nav:not(.scrolled),
body.dark-theme nav:not(.scrolled),
html.dark-theme nav:not(.scrolled) {
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Links no topo antes do scroll (claros com sombra sobre a imagem de fundo) */
nav:not(.scrolled) .nav-links a,
body.light-theme nav:not(.scrolled) .nav-links a,
html.light-theme nav:not(.scrolled) .nav-links a,
body.dark-theme nav:not(.scrolled) .nav-links a,
html.dark-theme nav:not(.scrolled) .nav-links a {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75) !important;
    font-weight: 600 !important;
}

nav:not(.scrolled) .nav-links a:hover,
nav:not(.scrolled) .nav-links a.active,
body.light-theme nav:not(.scrolled) .nav-links a:hover,
body.light-theme nav:not(.scrolled) .nav-links a.active,
html.light-theme nav:not(.scrolled) .nav-links a:hover,
html.light-theme nav:not(.scrolled) .nav-links a.active {
    color: #ff7a00 !important;
    text-shadow: 0 2px 10px rgba(255, 122, 0, 0.5) !important;
}

/* Ícone Theme Toggle no topo antes do scroll (branco com sombra) */
nav:not(.scrolled) .nav-theme-toggle svg,
nav:not(.scrolled) #theme-toggle-btn svg,
body.light-theme nav:not(.scrolled) .nav-theme-toggle svg,
body.light-theme nav:not(.scrolled) #theme-toggle-btn svg,
html.light-theme nav:not(.scrolled) .nav-theme-toggle svg,
html.light-theme nav:not(.scrolled) #theme-toggle-btn svg {
    stroke: #ffffff !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.75)) !important;
}

nav:not(.scrolled) .nav-theme-toggle:hover svg,
nav:not(.scrolled) #theme-toggle-btn:hover svg,
body.light-theme nav:not(.scrolled) .nav-theme-toggle:hover svg,
body.light-theme nav:not(.scrolled) #theme-toggle-btn:hover svg {
    stroke: #ff7a00 !important;
}

/* Botão Entrar no desktop antes do scroll (vidro translúcido com texto branco) */
@media (min-width: 901px) {
    nav:not(.scrolled) #btn-login-trigger,
    body.light-theme nav:not(.scrolled) #btn-login-trigger,
    html.light-theme nav:not(.scrolled) #btn-login-trigger,
    body.dark-theme nav:not(.scrolled) #btn-login-trigger,
    html.dark-theme nav:not(.scrolled) #btn-login-trigger,
    nav:not(.scrolled) .btn-glass,
    body.light-theme nav:not(.scrolled) .btn-glass {
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.35) !important;
        color: #ffffff !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
    }

    nav:not(.scrolled) #btn-login-trigger span,
    body.light-theme nav:not(.scrolled) #btn-login-trigger span,
    html.light-theme nav:not(.scrolled) #btn-login-trigger span,
    nav:not(.scrolled) .btn-glass span,
    body.light-theme nav:not(.scrolled) .btn-glass span {
        color: #ffffff !important;
        font-weight: 600 !important;
    }

    nav:not(.scrolled) #btn-login-trigger svg,
    body.light-theme nav:not(.scrolled) #btn-login-trigger svg,
    html.light-theme nav:not(.scrolled) #btn-login-trigger svg,
    nav:not(.scrolled) .btn-glass svg,
    body.light-theme nav:not(.scrolled) .btn-glass svg {
        stroke: #ffffff !important;
        color: #ffffff !important;
    }

    nav:not(.scrolled) #btn-login-trigger:hover,
    body.light-theme nav:not(.scrolled) #btn-login-trigger:hover {
        background: #ff7a00 !important;
        border-color: #ff7a00 !important;
        color: #ffffff !important;
        box-shadow: 0 4px 20px rgba(255, 122, 0, 0.45) !important;
    }

    nav:not(.scrolled) #btn-login-trigger:hover span,
    nav:not(.scrolled) #btn-login-trigger:hover svg,
    body.light-theme nav:not(.scrolled) #btn-login-trigger:hover span,
    body.light-theme nav:not(.scrolled) #btn-login-trigger:hover svg {
        color: #ffffff !important;
        stroke: #ffffff !important;
    }
}

/* ==========================================================================
   NAVBAR APÓS O SCROLL NO LIGHT MODE (HEADER BRANCO COM ELEMENTOS ESCUROS)
   ========================================================================== */
body.light-theme nav.scrolled,
html.light-theme nav.scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme nav.scrolled .nav-links a,
html.light-theme nav.scrolled .nav-links a {
    color: #000000 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

body.light-theme nav.scrolled .nav-links a:hover,
body.light-theme nav.scrolled .nav-links a.active,
html.light-theme nav.scrolled .nav-links a:hover,
html.light-theme nav.scrolled .nav-links a.active {
    color: #ff7a00 !important;
    text-shadow: none !important;
}

body.light-theme nav.scrolled .nav-theme-toggle svg,
body.light-theme nav.scrolled #theme-toggle-btn svg,
html.light-theme nav.scrolled .nav-theme-toggle svg,
html.light-theme nav.scrolled #theme-toggle-btn svg {
    stroke: #111827 !important;
    filter: none !important;
}

body.light-theme nav.scrolled .nav-theme-toggle:hover svg,
body.light-theme nav.scrolled #theme-toggle-btn:hover svg,
html.light-theme nav.scrolled .nav-theme-toggle:hover svg,
html.light-theme nav.scrolled #theme-toggle-btn:hover svg {
    stroke: #ff7a00 !important;
}

/* Botão Entrar após o Scroll no Light Mode */
@media (min-width: 901px) {
    body.light-theme nav.scrolled #btn-login-trigger,
    html.light-theme nav.scrolled #btn-login-trigger,
    body.light-theme nav.scrolled .btn-glass,
    body.light-theme nav.scrolled #navbar-auth-section a {
        background: #ffffff !important;
        border: 1.5px solid #111827 !important;
        color: #111827 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    }

    body.light-theme nav.scrolled #btn-login-trigger span,
    html.light-theme nav.scrolled #btn-login-trigger span,
    body.light-theme nav.scrolled .btn-glass span,
    body.light-theme nav.scrolled #navbar-auth-section a span {
        color: #111827 !important;
        font-weight: 600 !important;
    }

    body.light-theme nav.scrolled #btn-login-trigger svg,
    body.light-theme nav.scrolled #btn-login-trigger i,
    html.light-theme nav.scrolled #btn-login-trigger svg,
    html.light-theme nav.scrolled #btn-login-trigger i,
    body.light-theme nav.scrolled .btn-glass svg,
    body.light-theme nav.scrolled .btn-glass i,
    body.light-theme nav.scrolled #navbar-auth-section a svg,
    body.light-theme nav.scrolled #navbar-auth-section a i {
        stroke: #111827 !important;
        color: #111827 !important;
    }

    /* Hover no White Mode após Scroll */
    body.light-theme nav.scrolled #btn-login-trigger:hover,
    html.light-theme nav.scrolled #btn-login-trigger:hover {
        background: #111827 !important;
        border-color: #111827 !important;
        color: #ffffff !important;
    }

    body.light-theme nav.scrolled #btn-login-trigger:hover span,
    body.light-theme nav.scrolled #btn-login-trigger:hover svg,
    body.light-theme nav.scrolled #btn-login-trigger:hover i {
        color: #ffffff !important;
        stroke: #ffffff !important;
    }
}

body.light-theme .nav-theme-toggle,
body.light-theme #theme-toggle-btn {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.light-theme .nav-theme-toggle:hover,
body.light-theme #theme-toggle-btn:hover {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Hero Overlay no Light Mode (reduzida suavemente para o cinza do fundo) */
body.light-theme .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(243, 244, 246, 0) 0%,
        rgba(243, 244, 246, 0) 80%,
        rgba(243, 244, 246, 0.35) 92%,
        #f3f4f6 100%
    ) !important;
}

/* Segment Switcher no Light Mode */
body.light-theme .segment-switch {
    background: #ffffff !important;
    border: 1.5px solid #d7ccc8 !important;
    box-shadow: 0 4px 15px rgba(74, 44, 17, 0.08) !important;
}

body.light-theme .segment-btn {
    color: #4a2c11 !important;
    font-weight: 700 !important;
}

body.light-theme .segment-btn span {
    color: #4a2c11 !important;
    font-weight: 700 !important;
}

body.light-theme .segment-btn svg {
    color: #4a2c11 !important;
    stroke: #4a2c11 !important;
}

body.light-theme .segment-btn:hover {
    color: #ff7a00 !important;
}

body.light-theme .segment-btn.active {
    color: #ffffff !important;
}

body.light-theme .segment-btn.active span {
    color: #ffffff !important;
}

body.light-theme .segment-btn.active svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Barra de Pesquisa em Light Mode (Castanho no White) */
body.light-theme .search-bar {
    background: #ffffff !important;
    border: 1.5px solid #d7ccc8 !important;
    box-shadow: 0 20px 50px rgba(74, 44, 17, 0.08) !important;
}

body.light-theme .search-field label {
    color: #4a2c11 !important;
    font-weight: 700 !important;
}

body.light-theme .search-bar .input-box {
    background: #ffffff !important;
    border: 1.5px solid #d7ccc8 !important;
}

body.light-theme .search-bar .input-box:focus-within {
    border-color: #ff7a00 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.18) !important;
}

body.light-theme .search-bar .input-box input,
body.light-theme .search-bar .input-box select {
    color: #3e2723 !important; /* Castanho escuro elegante */
    font-weight: 600 !important;
}

body.light-theme .search-bar .input-box input::placeholder {
    color: #8d6e63 !important; /* Castanho suave */
}

body.light-theme .search-bar .input-box i,
body.light-theme .search-bar .input-box svg {
    color: #ff7a00 !important;
    stroke: #ff7a00 !important;
}

body.light-theme .btn-swap,
html.light-theme .btn-swap {
    background: #ffffff !important;
    border: 1.5px solid rgba(255, 122, 0, 0.5) !important;
    color: #ff7a00 !important;
    box-shadow: 0 3px 10px rgba(255, 122, 0, 0.18) !important;
}

body.light-theme .btn-swap i,
body.light-theme .btn-swap svg,
html.light-theme .btn-swap i,
html.light-theme .btn-swap svg {
    color: #ff7a00 !important;
    stroke: #ff7a00 !important;
}

body.light-theme .btn-swap:hover,
html.light-theme .btn-swap:hover {
    background: rgba(255, 122, 0, 0.12) !important;
    border-color: #ff7a00 !important;
    color: #ff7a00 !important;
    box-shadow: 0 0 16px rgba(255, 122, 0, 0.35) !important;
    transform: rotate(180deg) scale(1.1) !important;
}

body.light-theme .btn-search {
    background: #ff7a00 !important;
    border: 1px solid #ff7a00 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Cartões de Conteúdo e Secções em Light Mode */
body.light-theme .glass,
body.light-theme .option-item,
body.light-theme .option-item.glass,
body.light-theme .route-card,
body.light-theme .dest-card,
body.light-theme .hotel-card,
body.light-theme .cargo-card,
body.light-theme .car-card,
body.light-theme .interactive-showcase-container,
body.light-theme .hotel-room-card,
body.light-theme .aluguer-item-card,
body.light-theme .modal-content {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .option-item h3 {
    color: #111827 !important;
}

body.light-theme .option-item p {
    color: #4b5563 !important;
}

body.light-theme .option-item:hover,
body.light-theme .option-item.active,
body.light-theme .route-card:hover,
body.light-theme .dest-card:hover,
body.light-theme .hotel-card:hover,
body.light-theme .cargo-card:hover,
body.light-theme .car-card:hover {
    background: #ffffff !important;
    border-color: #ff7a00 !important;
    box-shadow: 0 14px 35px rgba(255, 122, 0, 0.15) !important;
}

body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme .car-title {
    color: #111827 !important;
}

body.light-theme p,
body.light-theme .trip-details span,
body.light-theme .car-location {
    color: #4b5563 !important;
}

body.light-theme .section-subtitle,
body.light-theme .section-header p,
html.light-theme .section-subtitle,
html.light-theme .section-header p {
    color: #573a2e !important;
}

.section-subtitle {
    text-align: center !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    max-width: 620px !important;
    margin: 0 auto 2.5rem !important;
}

body:not(.light-theme) .section-subtitle,
body:not(.light-theme) .section-header p,
body.dark-theme .section-subtitle,
body.dark-theme .section-header p {
    color: #cbd5e1 !important;
}

/* ── OCULTAR SUBTÍTULOS SOLICITADOS NO MOBILE (DESTINOS, HOTÉIS, ALUGUER) ── */
@media (max-width: 768px) {
    .section-subtitle.mobile-hide-subtitle,
    .mobile-hide-subtitle,
    #destinos .section-subtitle,
    #hoteis .section-subtitle,
    #aluguer .section-subtitle {
        display: none !important;
    }
}

body.light-theme .trip-details strong {
    color: #111827 !important;
}

body.light-theme .car-spec-item {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    color: #374151 !important;
}

body.light-theme .company-logo {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
}

/* Dropdowns & Selects em Light Mode */
body.light-theme .select-options {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
}

body.light-theme .select-options li {
    color: #374151 !important;
}

body.light-theme .select-options li:hover,
body.light-theme .select-options li.active {
    background: rgba(255, 122, 0, 0.1) !important;
    color: #ff7a00 !important;
}

/* ==========================================================================
   FLATPICKR CALENDAR — MODO CLARO COMPLETO (100% BRANCO / CASTANHO / LARANJA)
   ========================================================================== */
body.light-theme .flatpickr-calendar,
html.light-theme .flatpickr-calendar,
.light-theme .flatpickr-calendar {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1.5px solid #d7ccc8 !important;
    box-shadow: 0 16px 40px rgba(74, 44, 17, 0.15) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}

body.light-theme .flatpickr-calendar .flatpickr-months,
html.light-theme .flatpickr-calendar .flatpickr-months,
.light-theme .flatpickr-calendar .flatpickr-months {
    background: #ff7a00 !important;
    background-color: #ff7a00 !important;
}

body.light-theme .flatpickr-calendar .flatpickr-month,
html.light-theme .flatpickr-calendar .flatpickr-month,
.light-theme .flatpickr-calendar .flatpickr-month {
    background: transparent !important;
    color: #ffffff !important;
    fill: #ffffff !important;
}

body.light-theme .flatpickr-calendar .flatpickr-prev-month,
body.light-theme .flatpickr-calendar .flatpickr-next-month,
html.light-theme .flatpickr-calendar .flatpickr-prev-month,
html.light-theme .flatpickr-calendar .flatpickr-next-month {
    color: #ffffff !important;
    fill: #ffffff !important;
}

body.light-theme .flatpickr-calendar .flatpickr-prev-month svg,
body.light-theme .flatpickr-calendar .flatpickr-next-month svg,
html.light-theme .flatpickr-calendar .flatpickr-prev-month svg,
html.light-theme .flatpickr-calendar .flatpickr-next-month svg {
    fill: #ffffff !important;
}

body.light-theme .flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months,
html.light-theme .flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

body.light-theme .flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months option,
html.light-theme .flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months option {
    background: #ffffff !important;
    color: #3e2723 !important;
}

body.light-theme .flatpickr-calendar .flatpickr-current-month .numInputWrapper input.cur-year,
html.light-theme .flatpickr-calendar .flatpickr-current-month .numInputWrapper input.cur-year {
    color: #ffffff !important;
    font-weight: 700 !important;
}

body.light-theme .flatpickr-calendar .flatpickr-weekdays,
html.light-theme .flatpickr-calendar .flatpickr-weekdays,
.light-theme .flatpickr-calendar .flatpickr-weekdays {
    background: #ff7a00 !important;
    background-color: #ff7a00 !important;
}

body.light-theme .flatpickr-calendar span.flatpickr-weekday,
html.light-theme .flatpickr-calendar span.flatpickr-weekday,
.light-theme .flatpickr-calendar span.flatpickr-weekday {
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

body.light-theme .flatpickr-calendar .flatpickr-days,
body.light-theme .flatpickr-calendar .dayContainer,
html.light-theme .flatpickr-calendar .flatpickr-days,
html.light-theme .flatpickr-calendar .dayContainer,
.light-theme .flatpickr-calendar .flatpickr-days,
.light-theme .flatpickr-calendar .dayContainer {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

body.light-theme .flatpickr-calendar .flatpickr-day,
html.light-theme .flatpickr-calendar .flatpickr-day,
.light-theme .flatpickr-calendar .flatpickr-day {
    color: #3e2723 !important; /* Castanho escuro elegante */
    background: transparent !important;
    border-color: transparent !important;
    font-weight: 500 !important;
}

body.light-theme .flatpickr-calendar .flatpickr-day:hover,
body.light-theme .flatpickr-calendar .flatpickr-day.prevMonthDay:hover,
body.light-theme .flatpickr-calendar .flatpickr-day.nextMonthDay:hover,
html.light-theme .flatpickr-calendar .flatpickr-day:hover,
html.light-theme .flatpickr-calendar .flatpickr-day.prevMonthDay:hover,
html.light-theme .flatpickr-calendar .flatpickr-day.nextMonthDay:hover {
    background: rgba(255, 122, 0, 0.15) !important;
    border-color: rgba(255, 122, 0, 0.3) !important;
    color: #ff7a00 !important;
}

body.light-theme .flatpickr-calendar .flatpickr-day.selected,
body.light-theme .flatpickr-calendar .flatpickr-day.selected:hover,
html.light-theme .flatpickr-calendar .flatpickr-day.selected,
html.light-theme .flatpickr-calendar .flatpickr-day.selected:hover {
    background: #ff7a00 !important;
    border-color: #ff7a00 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

body.light-theme .flatpickr-calendar .flatpickr-day.today,
html.light-theme .flatpickr-calendar .flatpickr-day.today {
    background: rgba(255, 122, 0, 0.08) !important;
    border-color: #ff7a00 !important;
    color: #ff7a00 !important;
}

body.light-theme .flatpickr-calendar .flatpickr-day.prevMonthDay,
body.light-theme .flatpickr-calendar .flatpickr-day.nextMonthDay,
html.light-theme .flatpickr-calendar .flatpickr-day.prevMonthDay,
html.light-theme .flatpickr-calendar .flatpickr-day.nextMonthDay {
    color: #a8a29e !important;
    background: transparent !important;
}

body.light-theme .flatpickr-calendar::before,
body.light-theme .flatpickr-calendar::after,
html.light-theme .flatpickr-calendar::before,
html.light-theme .flatpickr-calendar::after {
    border-bottom-color: #ff7a00 !important;
}

/* Section Download App */
body.light-theme .download-app-section {
    background: #ffffff !important;
    border-top: 1px solid #e5e7eb !important;
    border-bottom: 1px solid #e5e7eb !important;
}

/* Footer em Light Mode */
body.light-theme footer,
body.light-theme .footer-premium {
    background: #f9fafb !important;
    border-top: 1px solid #e5e7eb !important;
    color: #374151 !important;
}

body.light-theme .footer-premium h3,
body.light-theme .footer-premium h4 {
    color: #111827 !important;
}

body.light-theme .footer-premium p,
body.light-theme .footer-premium a,
body.light-theme .footer-premium li {
    color: #4b5563 !important;
}

body.light-theme .footer-premium a:hover {
    color: #ff7a00 !important;
}

body.light-theme .footer-bottom {
    border-top: 1px solid #e5e7eb !important;
    color: #6b7280 !important;
}

/* ==========================================================================
   HERO TEXT CONTRAST (ALTO CONTRASTE SOBRE A IMAGEM NO TOPO)
   ========================================================================== */
.hero h1,
body.light-theme .hero h1,
body.dark-theme .hero h1,
.hero .hero-content h1,
body.light-theme .hero .hero-content h1 {
    color: #ffffff !important;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.85) !important;
}

.hero p,
body.light-theme .hero p,
body.dark-theme .hero p,
.hero .hero-content p,
body.light-theme .hero .hero-content p {
    color: #ff7a00 !important;
    font-weight: 600 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85) !important;
}

.hero p.is-urban,
body.light-theme .hero p.is-urban,
body.dark-theme .hero p.is-urban,
.hero .hero-content p.is-urban,
body.light-theme .hero .hero-content p.is-urban {
    color: #60a5fa !important;
    text-shadow: 0 2px 10px rgba(37, 99, 235, 0.5) !important;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
}

/* ==========================================================================
   GLOBAL CLEAN CARDS & CONTOURS (DARK & LIGHT THEMES)
   ========================================================================== */
body:not(.light-theme) .dest-card,
body:not(.light-theme) .hotel-card,
body:not(.light-theme) .car-card,
body:not(.light-theme) .cargo-card,
body:not(.light-theme) .option-item,
body:not(.light-theme) .option-item.glass,
body:not(.light-theme) .stats-card,
body:not(.light-theme) .map-layout,
body:not(.light-theme) .ticket-container-card,
body.dark-theme .dest-card,
body.dark-theme .hotel-card,
body.dark-theme .car-card,
body.dark-theme .cargo-card,
body.dark-theme .option-item,
body.dark-theme .option-item.glass,
body.dark-theme .stats-card,
body.dark-theme .map-layout,
body.dark-theme .ticket-container-card {
    background: rgba(13, 18, 31, 0.90) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
    border-radius: 18px !important;
}

body:not(.light-theme) .dest-card:hover,
body:not(.light-theme) .hotel-card:hover,
body:not(.light-theme) .car-card:hover,
body.dark-theme .dest-card:hover,
body.dark-theme .hotel-card:hover,
body.dark-theme .car-card:hover {
    border-color: rgba(255, 122, 0, 0.5) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 122, 0, 0.18) !important;
}

body.light-theme .dest-card,
body.light-theme .hotel-card,
body.light-theme .car-card,
body.light-theme .cargo-card,
body.light-theme .option-item,
body.light-theme .option-item.glass,
body.light-theme .stats-card,
body.light-theme .map-layout,
body.light-theme .ticket-container-card,
html.light-theme .dest-card,
html.light-theme .hotel-card,
html.light-theme .car-card,
html.light-theme .cargo-card,
html.light-theme .option-item,
html.light-theme .option-item.glass,
html.light-theme .stats-card,
html.light-theme .map-layout,
html.light-theme .ticket-container-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04) !important;
    border-radius: 18px !important;
}

body.light-theme .dest-card:hover,
body.light-theme .hotel-card:hover,
body.light-theme .car-card:hover,
body.light-theme .cargo-card:hover,
body.light-theme .option-item:hover,
html.light-theme .dest-card:hover,
html.light-theme .hotel-card:hover,
html.light-theme .car-card:hover,
html.light-theme .cargo-card:hover,
html.light-theme .option-item:hover {
    border-color: #ff7a00 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 45px rgba(255, 122, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

/* Redução de sombras fortes no final da página */
.footer-premium,
body.dark-theme .footer-premium,
body.light-theme .footer-premium {
    box-shadow: none !important;
}

.mesh-glow-section,
.particles-interactive-section {
    box-shadow: none !important;
}

/* ==========================================================================
   DARK THEME: PURE SOLID BLACK BACKGROUND FOR ALL SECTIONS AFTER #INICIO
   ========================================================================== */
body:not(.light-theme) section:not(#inicio):not(.hero),
body:not(.light-theme) .mesh-glow-section,
body:not(.light-theme) .particles-interactive-section,
body:not(.light-theme) .download-app-section,
body:not(.light-theme) .hotels-section,
body:not(.light-theme) .cargo-section,
body:not(.light-theme) #destinos,
body:not(.light-theme) #hoteis,
body:not(.light-theme) #aluguer,
body:not(.light-theme) #encomendas,
body:not(.light-theme) #mapa-rotas,
body:not(.light-theme) #baixar-app,
body:not(.light-theme) .footer-premium,
body:not(.light-theme) footer,
body.dark-theme section:not(#inicio):not(.hero),
body.dark-theme .mesh-glow-section,
body.dark-theme .particles-interactive-section,
body.dark-theme .download-app-section,
body.dark-theme .hotels-section,
body.dark-theme .cargo-section,
body.dark-theme #destinos,
body.dark-theme #hoteis,
body.dark-theme #aluguer,
body.dark-theme #encomendas,
body.dark-theme #mapa-rotas,
body.dark-theme #baixar-app,
body.dark-theme .footer-premium,
body.dark-theme footer {
    background: #080a0f !important;
    background-color: #080a0f !important;
    position: relative !important;
    z-index: 2 !important;
}

@media (max-width: 768px) {
    body:not(.light-theme),
    html:not(.light-theme),
    body.dark-theme,
    html.dark-theme {
        background: #080a0f !important;
        background-color: #080a0f !important;
    }

    body:not(.light-theme) section:not(#inicio):not(.hero),
    body.dark-theme section:not(#inicio):not(.hero),
    body:not(.light-theme) #destinos,
    body.dark-theme #destinos,
    body:not(.light-theme) #hoteis,
    body.dark-theme #hoteis,
    body:not(.light-theme) #aluguer,
    body.dark-theme #aluguer,
    body:not(.light-theme) #encomendas,
    body.dark-theme #encomendas,
    body:not(.light-theme) #mapa-rotas,
    body.dark-theme #mapa-rotas,
    body:not(.light-theme) #baixar-app,
    body.dark-theme #baixar-app,
    body:not(.light-theme) .footer-premium,
    body.dark-theme .footer-premium {
        background: #080a0f !important;
        background-color: #080a0f !important;
    }
}

/* ==========================================================================
   DESTINATION CARDS — TYPOGRAPHY & BUTTONS
   ========================================================================== */
.dest-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

.dest-card .card-info {
    padding: 1.25rem 1.4rem !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.dest-card-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.3 !important;
}

.dest-card-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-bottom: 0.8rem !important;
    text-align: left !important;
    align-items: flex-start !important;
}

.dest-meta-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
}

.dest-meta-item i,
.dest-meta-item svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.dest-card-desc {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.2rem !important;
    text-align: left !important;
    flex: 1 !important;
}

.btn-card-booking {
    width: 100% !important;
    border-radius: 12px !important;
    padding: 11px 18px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    letter-spacing: 0.3px !important;
    color: #ffffff !important;
    background: #ff7a00 !important;
    border: 1px solid #ff7a00 !important;
    box-shadow: 0 4px 14px rgba(255, 122, 0, 0.3) !important;
}

.btn-card-booking:hover {
    background: #ff8c1a !important;
    color: #ffffff !important;
    border-color: #ff8c1a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(255, 122, 0, 0.45) !important;
}

/* ── DARK THEME DESTINATIONS (WHITE TEXT & CRISP ACCENTS) ── */
body:not(.light-theme) .dest-card-title,
body.dark-theme .dest-card-title {
    color: #ffffff !important;
}

body:not(.light-theme) .dest-meta-item.location,
body.dark-theme .dest-meta-item.location {
    color: #f1f5f9 !important;
    font-weight: 600 !important;
}

body:not(.light-theme) .dest-meta-item.dest-departure,
body.dark-theme .dest-meta-item.dest-departure {
    color: #ff7a00 !important;
    font-weight: 700 !important;
}

body:not(.light-theme) .dest-meta-item.dest-duration,
body.dark-theme .dest-meta-item.dest-duration {
    color: #e2e8f0 !important;
}

body:not(.light-theme) .dest-card-desc,
body.dark-theme .dest-card-desc {
    color: #cbd5e1 !important;
}

body:not(.light-theme) .card-badge,
body.dark-theme .card-badge {
    background: #ff7a00 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
}

/* ── LIGHT / WHITE THEME DESTINATIONS (BROWN TEXT & ORANGE BUTTON) ── */
body.light-theme .dest-card-title,
html.light-theme .dest-card-title {
    color: #451a03 !important;
    font-weight: 800 !important;
}

body.light-theme .dest-meta-item.location,
html.light-theme .dest-meta-item.location {
    color: #78350f !important;
    font-weight: 600 !important;
}

body.light-theme .dest-meta-item.dest-departure,
html.light-theme .dest-meta-item.dest-departure {
    color: #c2410c !important;
    font-weight: 700 !important;
}

body.light-theme .dest-meta-item.dest-duration,
html.light-theme .dest-meta-item.dest-duration {
    color: #854d0e !important;
    font-weight: 500 !important;
}

body.light-theme .dest-card-desc,
html.light-theme .dest-card-desc {
    color: #573a2e !important;
    font-weight: 400 !important;
}

body.light-theme .card-badge,
html.light-theme .card-badge {
    background: #ff7a00 !important;
    color: #ffffff !important;
    border: 1.5px solid #fed7aa !important;
    box-shadow: 0 2px 8px rgba(255, 122, 0, 0.25) !important;
}

/* ── SLIDER CONTROLS (BOTÕES DE AVANÇAR E RECUAR) ── */
.slider-controls {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.25rem !important;
    margin-top: 2rem !important;
}

.slider-controls button,
.slider-controls .btn-glass,
#dest-btn-prev,
#dest-btn-next,
#hotels-prev,
#hotels-next,
#aluguer-prev,
#aluguer-next {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Modo Escuro */
body:not(.light-theme) .slider-controls button,
body:not(.light-theme) .slider-controls .btn-glass,
body.dark-theme .slider-controls button,
body.dark-theme .slider-controls .btn-glass,
body:not(.light-theme) #dest-btn-prev,
body:not(.light-theme) #dest-btn-next,
body:not(.light-theme) #hotels-prev,
body:not(.light-theme) #hotels-next,
body:not(.light-theme) #aluguer-prev,
body:not(.light-theme) #aluguer-next,
body.dark-theme #dest-btn-prev,
body.dark-theme #dest-btn-next,
body.dark-theme #hotels-prev,
body.dark-theme #hotels-next,
body.dark-theme #aluguer-prev,
body.dark-theme #aluguer-next {
    background: rgba(15, 20, 32, 0.9) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

body:not(.light-theme) .slider-controls button i,
body:not(.light-theme) .slider-controls button svg,
body.dark-theme .slider-controls button i,
body.dark-theme .slider-controls button svg,
body:not(.light-theme) #dest-btn-prev i,
body:not(.light-theme) #dest-btn-prev svg,
body:not(.light-theme) #dest-btn-next i,
body:not(.light-theme) #dest-btn-next svg,
body:not(.light-theme) #hotels-prev i,
body:not(.light-theme) #hotels-prev svg,
body:not(.light-theme) #hotels-next i,
body:not(.light-theme) #hotels-next svg,
body:not(.light-theme) #aluguer-prev i,
body:not(.light-theme) #aluguer-prev svg,
body:not(.light-theme) #aluguer-next i,
body:not(.light-theme) #aluguer-next svg,
body.dark-theme #dest-btn-prev i,
body.dark-theme #dest-btn-prev svg,
body.dark-theme #dest-btn-next i,
body.dark-theme #dest-btn-next svg,
body.dark-theme #hotels-prev i,
body.dark-theme #hotels-prev svg,
body.dark-theme #hotels-next i,
body.dark-theme #hotels-next svg,
body.dark-theme #aluguer-prev i,
body.dark-theme #aluguer-prev svg,
body.dark-theme #aluguer-next i,
body.dark-theme #aluguer-next svg {
    color: #ff7a00 !important;
    stroke: #ff7a00 !important;
    width: 22px !important;
    height: 22px !important;
}

body:not(.light-theme) .slider-controls button:hover,
body.dark-theme .slider-controls button:hover,
body:not(.light-theme) #dest-btn-prev:hover,
body:not(.light-theme) #dest-btn-next:hover,
body:not(.light-theme) #hotels-prev:hover,
body:not(.light-theme) #hotels-next:hover,
body:not(.light-theme) #aluguer-prev:hover,
body:not(.light-theme) #aluguer-next:hover,
body.dark-theme #dest-btn-prev:hover,
body.dark-theme #dest-btn-next:hover,
body.dark-theme #hotels-prev:hover,
body.dark-theme #hotels-next:hover,
body.dark-theme #aluguer-prev:hover,
body.dark-theme #aluguer-next:hover {
    border-color: #ff7a00 !important;
    box-shadow: 0 0 16px rgba(255, 122, 0, 0.4) !important;
    transform: scale(1.08) !important;
}

/* Modo Claro (White Mode): Botões de avançar e recuar com ícones castanhos elegantes */
body.light-theme .slider-controls button,
body.light-theme .slider-controls .btn-glass,
html.light-theme .slider-controls button,
html.light-theme .slider-controls .btn-glass,
body.light .slider-controls button,
body.light .slider-controls .btn-glass,
html.light .slider-controls button,
html.light .slider-controls .btn-glass,
body.light-theme #dest-btn-prev,
body.light-theme #dest-btn-next,
body.light-theme #hotels-prev,
body.light-theme #hotels-next,
body.light-theme #aluguer-prev,
body.light-theme #aluguer-next,
html.light-theme #dest-btn-prev,
html.light-theme #dest-btn-next,
html.light-theme #hotels-prev,
html.light-theme #hotels-next,
html.light-theme #aluguer-prev,
html.light-theme #aluguer-next,
body.light #dest-btn-prev,
body.light #dest-btn-next,
body.light #hotels-prev,
body.light #hotels-next,
body.light #aluguer-prev,
body.light #aluguer-next,
html.light #dest-btn-prev,
html.light #dest-btn-next,
html.light #hotels-prev,
html.light #hotels-next,
html.light #aluguer-prev,
html.light #aluguer-next {
    background: #ffffff !important;
    border: 1.5px solid #d7ccc8 !important;
    box-shadow: 0 4px 15px rgba(74, 44, 17, 0.08) !important;
}

/* Ícones castanhos no Modo Claro */
body.light-theme .slider-controls button i,
body.light-theme .slider-controls button svg,
html.light-theme .slider-controls button i,
html.light-theme .slider-controls button svg,
body.light .slider-controls button i,
body.light .slider-controls button svg,
html.light .slider-controls button i,
html.light .slider-controls button svg,
body.light-theme #dest-btn-prev i,
body.light-theme #dest-btn-prev svg,
body.light-theme #dest-btn-next i,
body.light-theme #dest-btn-next svg,
body.light-theme #hotels-prev i,
body.light-theme #hotels-prev svg,
body.light-theme #hotels-next i,
body.light-theme #hotels-next svg,
body.light-theme #aluguer-prev i,
body.light-theme #aluguer-prev svg,
body.light-theme #aluguer-next i,
body.light-theme #aluguer-next svg,
html.light-theme #dest-btn-prev i,
html.light-theme #dest-btn-prev svg,
html.light-theme #dest-btn-next i,
html.light-theme #dest-btn-next svg,
html.light-theme #hotels-prev i,
html.light-theme #hotels-prev svg,
html.light-theme #hotels-next i,
html.light-theme #hotels-next svg,
html.light-theme #aluguer-prev i,
html.light-theme #aluguer-prev svg,
html.light-theme #aluguer-next i,
html.light-theme #aluguer-next svg,
body.light #dest-btn-prev i,
body.light #dest-btn-prev svg,
body.light #dest-btn-next i,
body.light #dest-btn-next svg,
body.light #hotels-prev i,
body.light #hotels-prev svg,
body.light #hotels-next i,
body.light #hotels-next svg,
body.light #aluguer-prev i,
body.light #aluguer-prev svg,
body.light #aluguer-next i,
body.light #aluguer-next svg,
html.light #dest-btn-prev i,
html.light #dest-btn-prev svg,
html.light #dest-btn-next i,
html.light #dest-btn-next svg,
html.light #hotels-prev i,
html.light #hotels-prev svg,
html.light #hotels-next i,
html.light #hotels-next svg,
html.light #aluguer-prev i,
html.light #aluguer-prev svg,
html.light #aluguer-next i,
html.light #aluguer-next svg {
    color: #4a2c11 !important; /* Castanho elegante */
    stroke: #4a2c11 !important;
    width: 22px !important;
    height: 22px !important;
}

/* Hover no Modo Claro: destaque laranja */
body.light-theme .slider-controls button:hover,
html.light-theme .slider-controls button:hover,
body.light .slider-controls button:hover,
html.light .slider-controls button:hover,
body.light-theme #dest-btn-prev:hover,
body.light-theme #dest-btn-next:hover,
body.light-theme #hotels-prev:hover,
body.light-theme #hotels-next:hover,
body.light-theme #aluguer-prev:hover,
body.light-theme #aluguer-next:hover,
html.light-theme #dest-btn-prev:hover,
html.light-theme #dest-btn-next:hover,
html.light-theme #hotels-prev:hover,
html.light-theme #hotels-next:hover,
html.light-theme #aluguer-prev:hover,
html.light-theme #aluguer-next:hover,
body.light #dest-btn-prev:hover,
body.light #dest-btn-next:hover,
body.light #hotels-prev:hover,
body.light #hotels-next:hover,
body.light #aluguer-prev:hover,
body.light #aluguer-next:hover,
html.light #dest-btn-prev:hover,
html.light #dest-btn-next:hover,
html.light #hotels-prev:hover,
html.light #hotels-next:hover,
html.light #aluguer-prev:hover,
html.light #aluguer-next:hover {
    background: #ffffff !important;
    border-color: #ff7a00 !important;
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.25) !important;
    transform: scale(1.08) !important;
}

body.light-theme .slider-controls button:hover i,
body.light-theme .slider-controls button:hover svg,
html.light-theme .slider-controls button:hover i,
html.light-theme .slider-controls button:hover svg,
body.light .slider-controls button:hover i,
body.light .slider-controls button:hover svg,
html.light .slider-controls button:hover i,
html.light .slider-controls button:hover svg,
.slider-controls button:hover i,
.slider-controls button:hover svg,
.slider-controls .btn-glass:hover i,
.slider-controls .btn-glass:hover svg,
#dest-btn-prev:hover i,
#dest-btn-prev:hover svg,
#dest-btn-next:hover i,
#dest-btn-next:hover svg,
#hotels-prev:hover i,
#hotels-prev:hover svg,
#hotels-next:hover i,
#hotels-next:hover svg,
#aluguer-prev:hover i,
#aluguer-prev:hover svg,
#aluguer-next:hover i,
#aluguer-next:hover svg,
body.light-theme #dest-btn-prev:hover svg,
body.light-theme #dest-btn-next:hover svg,
body.light-theme #hotels-prev:hover svg,
body.light-theme #hotels-next:hover svg,
body.light-theme #aluguer-prev:hover svg,
body.light-theme #aluguer-next:hover svg,
html.light-theme #dest-btn-prev:hover svg,
html.light-theme #dest-btn-next:hover svg,
html.light-theme #hotels-prev:hover svg,
html.light-theme #hotels-next:hover svg,
html.light-theme #aluguer-prev:hover svg,
html.light-theme #aluguer-next:hover svg,
body.light #dest-btn-prev:hover svg,
body.light #dest-btn-next:hover svg,
body.light #hotels-prev:hover svg,
body.light #hotels-next:hover svg,
body.light #aluguer-prev:hover svg,
body.light #aluguer-next:hover svg,
html.light #dest-btn-prev:hover svg,
html.light #dest-btn-next:hover svg,
html.light #hotels-prev:hover svg,
html.light #hotels-next:hover svg,
html.light #aluguer-prev:hover svg,
html.light #aluguer-next:hover svg {
    color: #ffffff !important; /* Ícone branco no hover com fundo laranja */
    stroke: #ffffff !important;
}

/* ==========================================================================
   HOVER ON BUTTONS NO LIGHT THEME: APENAS BOTÕES COM FUNDO SÓLIDO LARANJA/AZUL
   FICAM COM ÍCONES BRANCOS. BOTÕES COM FUNDO CLARO/TRANSPARENTE NUNCA FICAM BRANCOS!
   ========================================================================== */
body.light-theme .btn-primary:hover i,
body.light-theme .btn-primary:hover svg,
body.light-theme .btn-buy-trigger:hover i,
body.light-theme .btn-buy-trigger:hover svg,
body.light-theme .btn-slim-buy:hover i,
body.light-theme .btn-slim-buy:hover svg,
body.light-theme .btn-search:hover i,
body.light-theme .btn-search:hover svg,
body.light-theme #search-trigger:hover i,
body.light-theme #search-trigger:hover svg,
body.light-theme .btn-action-primary:hover i,
body.light-theme .btn-action-primary:hover svg,
body.light-theme .auth-modal-btn-login:hover i,
body.light-theme .auth-modal-btn-login:hover svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Botões com fundo claro/transparente mantêm cor laranja/escura e NÃO ficam brancos */
body.light-theme .btn-details-trigger:hover svg,
body.light-theme .btn-slim-details:hover svg,
body.light-theme .dest-btn:hover svg,
body.light-theme .hotels-arrow:hover svg,
body.light-theme .search-modal-close-btn:hover svg,
body.light-theme #modal-close-btn:hover svg {
    color: #ff7a00 !important;
    stroke: #ff7a00 !important;
}

/* ==========================================================================
   MOBILE RESPONSIVE OVERRIDES: HERO, SUBTITLE, LOGIN BUTTON & SEARCH BAR
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Ocultar subtítulo no mobile */
    #hero-subtitle {
        display: none !important;
    }

    /* 2. Botão Entrar no mobile: Apenas o ícone, sem botão (fundo, borda, sombra) ou dizeres */
    #btn-login-trigger,
    body.light-theme #btn-login-trigger,
    body.dark-theme #btn-login-trigger,
    nav #btn-login-trigger,
    nav.scrolled #btn-login-trigger,
    body.light-theme nav.scrolled #btn-login-trigger,
    body.dark-theme nav.scrolled #btn-login-trigger,
    nav:not(.scrolled) #btn-login-trigger,
    body.light-theme nav:not(.scrolled) #btn-login-trigger,
    body.dark-theme nav:not(.scrolled) #btn-login-trigger,
    #navbar-auth-section #btn-login-trigger {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 0 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    #btn-login-trigger::before,
    #btn-login-trigger::after {
        display: none !important;
        content: none !important;
    }

    #btn-login-trigger .btn-content {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    #btn-login-trigger .btn-text,
    #btn-login-trigger span:not(.btn-content) {
        display: none !important;
    }

    #btn-login-trigger svg {
        margin: 0 !important;
        margin-right: 0 !important;
        width: 26px !important;
        height: 26px !important;
        stroke-width: 2.2 !important;
        display: block !important;
    }

    /* Cores do ícone do botão Entrar no mobile */
    body.dark-theme #btn-login-trigger svg,
    body:not(.light-theme) #btn-login-trigger svg,
    nav:not(.scrolled) #btn-login-trigger svg {
        stroke: #ffffff !important;
        color: #ffffff !important;
    }

    body.light-theme nav.scrolled #btn-login-trigger svg {
        stroke: #3b1f0e !important;
        color: #3b1f0e !important;
    }

    body.light-theme nav:not(.scrolled) #btn-login-trigger svg {
        stroke: #ffffff !important;
        color: #ffffff !important;
    }

    /* 3. Hero e Filtro de Pesquisa Compactos: 100% visível na tela sem rolagem, centrado na horizontal e na vertical */
    .hero {
        min-height: 100svh !important;
        height: 100svh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* Centrado verticalmente */
        align-items: center !important;    /* Centrado horizontalmente */
        padding-top: 85px !important;      /* Mais margin-top / respiro da barra de navegação */
        padding-bottom: 25px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .hero-container {
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        padding: 0 0.85rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .hero-content {
        margin: 0 auto !important;
        width: 100% !important;
        text-align: center !important;
    }

    .hero h1,
    #hero-title {
        font-size: 1.65rem !important;
        line-height: 1.22 !important;
        margin-top: 0.4rem !important;
        margin-bottom: 0.45rem !important;
        padding: 0 0.4rem !important;
        text-align: center !important;
    }

    .search-container {
        margin-top: 0.45rem !important;
        width: 100% !important;
        max-width: 440px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .home-segment-container {
        margin-bottom: 0.4rem !important;
    }

    .segment-switch {
        max-width: 270px !important;
        padding: 3px !important;
        border-radius: 12px !important;
        gap: 3px !important;
    }

    .segment-slider-pill {
        top: 3px !important;
        bottom: 3px !important;
        left: 3px !important;
        width: calc(50% - 3px) !important;
        border-radius: 9px !important;
    }

    .segment-btn {
        padding: 5px 10px !important;
        font-size: 0.78rem !important;
        gap: 5px !important;
        min-height: unset !important;
        height: 30px !important;
    }

    .segment-btn svg {
        width: 13px !important;
        height: 13px !important;
    }

    /* Caixa de Pesquisa no Mobile com inputs proporcionais e confortáveis */
    .search-bar,
    .search-bar.glass,
    .search-container .search-bar,
    #home-search-bar {
        flex-direction: column !important;
        padding: 1rem 0.95rem !important;
        gap: 0.5rem !important;
        border-radius: 18px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .search-field {
        width: 100% !important;
        min-width: 100% !important;
        gap: 4px !important;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .search-field label {
        display: block !important;
        text-align: left !important;
        align-self: flex-start !important;
        width: 100% !important;
        font-size: 0.74rem !important;
        letter-spacing: 0.6px !important;
        padding-left: 0.25rem !important;
        margin-bottom: 3px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    body:not(.light-theme) .search-field label,
    html:not(.light-theme) .search-field label,
    body.dark-theme .search-field label,
    html.dark-theme .search-field label {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    body.light-theme .search-field label,
    html.light-theme .search-field label {
        color: #4a2c11 !important;
        -webkit-text-fill-color: #4a2c11 !important;
    }

    .search-bar .input-box,
    .search-bar.glass .input-box {
        min-height: 48px !important;
        height: 48px !important;
        border-radius: 12px !important;
        position: relative !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .search-bar .input-box input,
    .search-bar .input-box select {
        min-height: 48px !important;
        height: 48px !important;
        padding: 0.55rem 0.85rem 0.55rem 2.5rem !important;
        font-size: 0.96rem !important;
        font-weight: 600 !important;
        border-radius: 12px !important;
        line-height: 1.2 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .search-bar .input-box i,
    .search-bar .input-box svg {
        width: 18px !important;
        height: 18px !important;
        margin-left: 10px !important;
        position: absolute !important;
        left: 2px !important;
    }

    /* Posicionamento gracioso e perfeitamente centralizado do botão de inverter no mobile */
    .swap-action-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: center !important;
        width: 100% !important;
        margin-top: -30px !important;
        margin-bottom: -16px !important;
        padding: 0 !important;
        z-index: 10 !important;
        position: relative !important;
    }

    .btn-swap {
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        background: #1a2234 !important;
        border: 2px solid #ff7a00 !important;
        color: #ff7a00 !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        margin: 0 auto !important;
    }

    .btn-swap svg,
    .btn-swap i {
        width: 17px !important;
        height: 17px !important;
    }

    .btn-search,
    #search-trigger {
        width: 100% !important;
        min-height: 46px !important;
        height: 46px !important;
        padding: 0.55rem 1rem !important;
        font-size: 0.96rem !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        margin-top: 0.35rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .btn-search svg,
    .btn-search i {
        width: 17px !important;
        height: 17px !important;
        margin-right: 6px !important;
    }

    /* Garantir inputs com fundo branco e texto castanho no light theme no mobile */
    body.light-theme .search-bar .input-box,
    body.light-theme .search-bar.glass .input-box,
    html.light-theme .search-bar .input-box,
    html.light-theme .search-bar.glass .input-box {
        background: #ffffff !important;
        background-color: #ffffff !important;
        border: 1.5px solid #d7ccc8 !important;
    }

    body.light-theme .search-bar .input-box:focus-within,
    body.light-theme .search-bar.glass .input-box:focus-within,
    html.light-theme .search-bar .input-box:focus-within,
    html.light-theme .search-bar.glass .input-box:focus-within {
        background: #ffffff !important;
        background-color: #ffffff !important;
        border-color: #ff7a00 !important;
    }

    body.light-theme .search-bar .input-box input,
    body.light-theme .search-bar .input-box select,
    body.light-theme .search-bar .input-box input:focus,
    body.light-theme .search-bar .input-box select:focus,
    html.light-theme .search-bar .input-box input,
    html.light-theme .search-bar .input-box select,
    html.light-theme .search-bar .input-box input:focus,
    html.light-theme .search-bar .input-box select:focus {
        background: transparent !important;
        background-color: transparent !important;
        color: #3e2723 !important;
    }
}

/* ==========================================================================
   MODO CLARO GLOBAL: INPUTS E AUTOFILL NUNCA ESCUROS (DESKTOP & MOBILE)
   ========================================================================== */
body.light-theme .search-bar .input-box,
body.light-theme .search-bar.glass .input-box,
body.light-theme .input-box,
html.light-theme .search-bar .input-box,
html.light-theme .search-bar.glass .input-box,
html.light-theme .input-box {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1.5px solid #d7ccc8 !important;
}

body.light-theme .search-bar .input-box:focus-within,
body.light-theme .search-bar.glass .input-box:focus-within,
body.light-theme .input-box:focus-within,
html.light-theme .search-bar .input-box:focus-within,
html.light-theme .search-bar.glass .input-box:focus-within,
html.light-theme .input-box:focus-within {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: #ff7a00 !important;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.18) !important;
}

body.light-theme .search-bar .input-box input,
body.light-theme .search-bar .input-box select,
body.light-theme .search-bar .input-box input:focus,
body.light-theme .search-bar .input-box select:focus,
body.light-theme .input-box input,
body.light-theme .input-box select,
body.light-theme .input-box input:focus,
body.light-theme .input-box select:focus,
html.light-theme .search-bar .input-box input,
html.light-theme .search-bar .input-box select,
html.light-theme .search-bar .input-box input:focus,
html.light-theme .search-bar .input-box select:focus,
html.light-theme .input-box input,
html.light-theme .input-box select,
html.light-theme .input-box input:focus,
html.light-theme .input-box select:focus {
    background: transparent !important;
    background-color: transparent !important;
    color: #3e2723 !important; /* Castanho escuro */
    outline: none !important;
    box-shadow: none !important;
}

/* Chrome / Safari / Edge Autofill no Modo Claro */
body.light-theme input:-webkit-autofill,
body.light-theme input:-webkit-autofill:hover, 
body.light-theme input:-webkit-autofill:focus,
body.light-theme input:-webkit-autofill:active,
html.light-theme input:-webkit-autofill,
html.light-theme input:-webkit-autofill:hover, 
html.light-theme input:-webkit-autofill:focus,
html.light-theme input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #3e2723 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* ==========================================================================
   FOOTER: SUPORTE A EXPANSÃO DE REDES SOCIAIS (6 ÍCONES)
   ========================================================================== */
.footer-social {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.65rem !important;
    align-items: center !important;
}

.footer-social a {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.footer-social a svg {
    width: 20px !important;
    height: 20px !important;
}

.solucoes-main-title {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 1.6rem !important;
    text-align: center;
}

/* ==========================================================================
   AJUSTES MOBILE: REDUÇÃO DE ALTURA E MARGENS (UMA SOLUÇÃO COMPLETA & CARDS SLIDER)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. SEÇÕES E WRAPPERS GLOBAIS NO MOBILE (MENOS ESPAÇAMENTO VAZIO) */
    #solucoes,
    #destinos,
    #hoteis,
    #aluguer,
    .mesh-glow-section,
    .hotels-section,
    .particles-interactive-section {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    #solucoes.section-uniforme,
    #solucoes .section-pad,
    #destinos .section-pad,
    #hoteis .section-pad,
    #aluguer .section-pad {
        padding-top: 0.2rem !important;
        padding-bottom: 0.2rem !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .section-header {
        margin-top: 0 !important;
        margin-bottom: 0.7rem !important;
    }

    .section-header h2 {
        font-size: 1.5rem !important;
        margin-top: 0 !important;
        margin-bottom: 0.2rem !important;
        line-height: 1.2 !important;
    }

    .section-subtitle {
        margin-top: 0 !important;
        margin-bottom: 0.4rem !important;
    }

    .hotels-filter-wrap {
        margin-top: 0 !important;
        margin-bottom: 0.7rem !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* 2. SEÇÃO "UMA SOLUÇÃO COMPLETA" */
    #solucoes h2,
    .solucoes-main-title {
        font-size: 1.5rem !important;
        margin-top: 0 !important;
        margin-bottom: 0.7rem !important;
        line-height: 1.2 !important;
    }

    .options-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .option-item,
    .option-item.glass {
        padding: 0.8rem 0.75rem !important;
        border-radius: 14px !important;
        min-height: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .option-icon-wrapper,
    body.light-theme .option-icon-wrapper,
    html.light-theme .option-icon-wrapper,
    body.dark-theme .option-icon-wrapper {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        margin: 0 auto 0.25rem !important;
    }

    .option-icon-wrapper svg.premium-card-icon {
        width: 38px !important;
        height: 38px !important;
    }

    .option-text {
        gap: 0.15rem !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .option-item h3 {
        font-size: 0.98rem !important;
        min-height: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0.15rem !important;
        line-height: 1.2 !important;
    }

    .option-item p {
        font-size: 0.78rem !important;
        line-height: 1.3 !important;
        min-height: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* 3. CARDS NO MOBILE: DESTINOS MAIS DESEJADOS, HOTÉIS & AUTOCARROS PRIVADOS */
    .dest-card,
    .dest-card.hotel-card,
    .dest-card.car-card,
    .hotel-card,
    .resto-card {
        border-radius: 14px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .dest-card .card-image-wrapper,
    .dest-card.hotel-card .card-image-wrapper,
    .dest-card.car-card .card-image-wrapper,
    .card-image-wrapper {
        height: 155px !important;
        max-height: 155px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .hotel-img-wrap {
        aspect-ratio: 16 / 10 !important;
        max-height: 155px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .card-badge,
    .dest-card .card-badge {
        top: 0.55rem !important;
        right: 0.55rem !important;
        padding: 0.2rem 0.55rem !important;
        font-size: 0.68rem !important;
        letter-spacing: 0.3px !important;
    }

    .dest-card .card-info,
    .dest-card.hotel-card .card-info,
    .dest-card.car-card .card-info,
    .card-info {
        padding: 0.7rem 0.85rem !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .dest-card-title,
    .dest-card .card-info h3,
    .card-info h3 {
        font-size: 1.05rem !important;
        margin-top: 0 !important;
        margin-bottom: 0.2rem !important;
        line-height: 1.2 !important;
    }

    .dest-card-meta,
    .dest-card .card-meta {
        gap: 2px !important;
        margin-top: 0 !important;
        margin-bottom: 0.3rem !important;
    }

    .dest-meta-item {
        font-size: 0.76rem !important;
        line-height: 1.2 !important;
        gap: 4px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .dest-meta-item i,
    .dest-meta-item svg {
        width: 12px !important;
        height: 12px !important;
        min-width: 12px !important;
        min-height: 12px !important;
    }

    .dest-card-desc,
    .dest-card .card-info p,
    .card-info p {
        font-size: 0.78rem !important;
        line-height: 1.3 !important;
        margin-top: 0 !important;
        margin-bottom: 0.45rem !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        max-height: 2.6em !important;
    }

    .card-action {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .btn-card-booking {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 7px 12px !important;
        font-size: 0.82rem !important;
        border-radius: 9px !important;
    }

    .dest-slider-wrapper {
        padding-top: 2px !important;
        padding-bottom: 2px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .dest-slider-track {
        gap: 1.1rem !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .slider-controls {
        margin-top: 0.65rem !important;
        margin-bottom: 0.35rem !important;
        gap: 0.75rem !important;
    }

    /* Redução drástica da sombra sobre a imagem de fundo no mobile */
    body::before {
        background-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.20) 100%), url('../assets/hero_mobile_opt.jpg') !important;
        opacity: 1 !important;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0.15) 90%, rgba(0, 0, 0, 0.35) 100%) !important;
        opacity: 0.35 !important;
    }
}

@media (max-width: 420px) {
    .options-grid-container {
        grid-template-columns: 1fr !important;
        gap: 0.55rem !important;
    }

    .option-item,
    .option-item.glass {
        flex-direction: row !important;
        text-align: left !important;
        align-items: center !important;
        padding: 0.65rem 0.8rem !important;
        gap: 0.65rem !important;
    }

    .option-icon-wrapper {
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

    .option-text {
        text-align: left !important;
    }

    .option-item h3 {
        justify-content: flex-start !important;
        text-align: left !important;
    }
}
