/* =========================================
   VARIAVEIS E TIPOGRAFIA (Estilo "Índia Tropical" / Premium)
   ========================================= */
:root {
    --primary-color: #00A33A;    /* Verde Vibrante do Logo Oficial (Conversão) */
    --secondary-color: #005BAB;  /* Azul Profundo do Logo Oficial (Confiança) */
    --dark-bg: #1A1A1D;
    --light-bg: #F7F7F9;
    --text-main: #2C2C2C;
    --text-light: #FFFFFF;
    
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: blur(16px);

    /* Z-index scale (L-4) */
    --z-hero-bg: -2;
    --z-hero-overlay: -1;
    --z-card-element: 10;
    --z-mobile-overlay: 999;
    --z-header: 1000;
    --z-hamburger: 1001;
    --z-cart-overlay: 1999;
    --z-cart-drawer: 2000;
    --z-modal: 3000;
    --z-lang-dropdown: 4000;
    --z-urgent-modal: 4000;
    --z-confirm-dialog: 4500;
    --z-toast: 5000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* =========================================
   FOCUS VISIBLE (H-5 — WCAG 2.1 AA keyboard focus)
   ========================================= */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
.theme-blue-modal :focus-visible,
#view-passagens :focus-visible {
    outline-color: var(--secondary-color);
}

/* =========================================
   REDUCED MOTION (H-8 — prefers-reduced-motion)
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    html { scroll-behavior: auto; }
    .bg-video { display: none; }
}

body {
    background-color: var(--light-bg);
    color: var(--text-main);
    overflow-x: hidden;
}

/* =========================================
   SKIP LINK (L-1 — WCAG A11y)
   ========================================= */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: calc(var(--z-toast) + 1);
    background: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* =========================================
   HEADER (Glassmorphism)
   ========================================= */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: var(--z-header);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.glass-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.glass-header.scrolled .logo h1,
.glass-header.scrolled .nav-links a,
.glass-header.scrolled .cart-btn {
    color: var(--text-main);
}

.brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-top: 6px;
    transition: transform 0.3s ease;
}
.brand-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: opacity 0.3s, color 0.3s;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.glass-header.scrolled .nav-links a,
.glass-header.on-section .nav-links a {
    text-shadow: none;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.cart-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Começa invisível até o JS avaliar */
    display: none;
}

/* =========================================
   SPA VIEWS CONFIG
   ========================================= */
.spa-view {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.spa-view.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   HERO SECTION & VIDEO BG
   ========================================= */
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

/* Placeholders de cards de passagens (sem imagens externas) */
.ticket-card-img {
    background-size: cover;
    background-position: center;
}
.ticket-card-img--terminal  { background: linear-gradient(135deg, #0a4d8c 0%, #1b7ac4 100%); }
.ticket-card-img--hotels    { background: linear-gradient(135deg, #b5651d 0%, #e3a76f 100%); }
.ticket-card-img--airport   { background: linear-gradient(135deg, #2a2a40 0%, #5a6680 100%); }
.ticket-card-img--catamaran { background: linear-gradient(135deg, #006d77 0%, #83c5be 100%); }

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: var(--z-hero-bg);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(0,0,0,0.4) 0%, 
        rgba(0,0,0,0.2) 50%, 
        rgba(0,0,0,0.6) 100%
    );
    z-index: var(--z-hero-overlay);
}

.hero-content {
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content .highlight {
    color: var(--primary-color);
}

/* BOTOES */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 163, 58, 0.15);
}

/* =========================================
   SEÇÃO PRODUTOS E PASSAGENS
   Cada seção define --section-accent para tematização
   ========================================= */
#view-passeios  { --section-accent: var(--primary-color); }
#view-passagens { --section-accent: var(--secondary-color); }
#view-passeios, #view-passagens {
    padding: 120px 5% 80px;
    min-height: 100vh;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.product-slider {
    padding-bottom: 50px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    /* Evita que elementos da inner-swiper saiam do card */
    overflow: hidden; 
}

.inner-pagination {
    bottom: 10px !important;
}

.inner-pagination .swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

.inner-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

.price-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--section-accent, var(--primary-color));
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
}

.card-content {
    padding: 25px;
}

.btn-buy {
    background: transparent;
    color: var(--section-accent, var(--primary-color));
    border: 2px solid var(--section-accent, var(--primary-color));
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-buy:hover {
    background: var(--section-accent, var(--primary-color));
    color: white;
}

/* =========================================
   CARRINHO LATERAL
   ========================================= */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    z-index: var(--z-cart-drawer);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: var(--z-cart-overlay);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
    backdrop-filter: blur(4px);
}

.cart-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.cart-items {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

/* =========================================
   MODAL DE AGENDAMENTO
   ========================================= */
.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: var(--z-modal);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.booking-modal-content {
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.booking-modal-overlay.open .booking-modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary-color);
}

.booking-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-group label i {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    background: var(--light-bg);
    color: var(--text-main);
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%232C2C2C%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
    padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qty-selector button {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.qty-selector button:hover {
    background: var(--light-bg);
}

.qty-selector input {
    width: 60px;
    text-align: center;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: textfield;
}
.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mt-20 { margin-top: 20px; }
.w-100 { width: 100%; }

/* =========================================
   ACCORDION NOS CARDS
   ========================================= */
.custom-accordion {
    margin: 15px 0;
    border-top: 1px solid #eee;
    text-align: left;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: color 0.3s;
}

.accordion-header:hover {
    color: var(--section-accent, var(--primary-color));
}

.accordion-header [data-lucide],
.accordion-header svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header [data-lucide],
.accordion-item.active .accordion-header svg {
    transform: rotate(180deg);
    color: var(--section-accent, var(--primary-color));
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-inner {
    padding-bottom: 15px;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

.accordion-inner ul {
    padding-left: 15px;
    margin-top: 5px;
}

/* Gallery inside accordion */
.accordion-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
}

.accordion-gallery img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    scroll-snap-align: start;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.accordion-gallery img:hover {
    transform: scale(1.05);
}

/* =========================================
   FLATPICKR - DIAS DESABILITADOS (Uniforme Mobile/Desktop)
   ========================================= */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay.flatpickr-disabled,
.flatpickr-day.nextMonthDay.flatpickr-disabled {
    color: #ccc !important;
    background: transparent !important;
    border-color: transparent !important;
    cursor: not-allowed !important;
    text-decoration: line-through !important;
    opacity: 0.5 !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.flatpickr-calendar.flatpickr-blue .flatpickr-day.selected,
.flatpickr-calendar.flatpickr-blue .flatpickr-day.selected:hover {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.flatpickr-calendar {
    border-radius: 14px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    font-family: 'Outfit', sans-serif !important;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .hero-content h2 { font-size: 2.1rem; }
    .hero { height: 100vh; height: 100dvh; min-height: 460px; }
    .cart-drawer { width: 100%; right: -100%; }

    .flatpickr-calendar {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        border-radius: 14px !important;
    }
}

/* =========================================
   ESTÉTICA PASSAGENS (TOGGLE)
   ========================================= */
.route-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px auto 40px;
    background: #f0f4f8;
    padding: 8px;
    border-radius: 50px;
    width: fit-content;
}

.route-toggle button {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #555;
    border: none;
    padding: 10px 30px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
}

.route-toggle button.active {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 91, 171, 0.4);
}

/* Modal Azul (Passagens) */
.theme-blue-modal .close-modal:hover {
    color: var(--secondary-color);
}
.theme-blue-modal .booking-price {
    color: var(--secondary-color);
}
.theme-blue-modal .form-group label i {
    color: var(--secondary-color);
}
.theme-blue-modal .form-group input:focus,
.theme-blue-modal .form-group select:focus {
    border-color: var(--secondary-color);
}

/* =========================================
   HAMBURGER MENU (MOBILE)
   ========================================= */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary-color);
    padding: 5px;
    z-index: var(--z-hamburger);
    transition: color 0.3s;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: var(--z-mobile-overlay);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: var(--z-header);
    padding: 100px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

.mobile-nav .close-mobile-nav {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

/* Mobile override — MUST come after .hamburger base rule to win cascade */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
}

/* =========================================
   UTILITY & COMPONENT CLASSES (Refactor Phase 1+2)
   ========================================= */
.hidden { display: none; }

/* Header: Section page state (replaces inline .style in navigateTo) */
.glass-header.on-section {
    background: white;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}
.glass-header.on-section .nav-links a,
.glass-header.on-section .cart-btn,
.glass-header.on-section .hamburger {
    color: var(--text-main);
}

/* Hero CTA Buttons (replaces inline styles on hero buttons) */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    margin: 0;
    color: white;
    border: 2px solid;
    padding: 12px 35px;
    font-size: 1.1rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-hero--green {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 163, 58, 0.4);
}
.btn-hero--green:hover { filter: brightness(1.1); }

.btn-hero--blue {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 91, 171, 0.4);
}
.btn-hero--blue:hover { filter: brightness(1.1); }

/* Highlight color variant */
.highlight--blue { color: var(--secondary-color); }

/* Inner Swiper price tag elevation */
.inner-swiper .price-tag { z-index: var(--z-card-element); }

/* Carousel pagination with spacing (replaces inline style) */
.carousel-pagination {
    position: relative;
    margin-top: 20px;
}

/* Modal shared utilities */
.modal-title { padding-right: 30px; }
.modal-title--blue {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.ticket-product-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.booking-price--blue {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* Price display sub-elements (replaces innerHTML spans) */
.price-full {
    color: #666;
    font-size: 0.9rem;
}
.price-signal {
    color: var(--primary-color);
    font-weight: bold;
}

/* WhatsApp confirm button (ticket modal) */
.btn-whatsapp-confirm {
    background: var(--primary-color);
    border-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Modal disclaimer text */
.modal-disclaimer {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 15px;
    color: #666;
}

/* Booking modal — step layout */
.booking-modal-content { position: relative; }

.booking-modal-step { animation: fadeIn 0.2s ease; }

.booking-back-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    padding: 0;
    margin-bottom: 16px;
    font-family: var(--font-main);
}
.booking-back-btn i { width: 16px; height: 16px; }

.booking-step2-summary {
    font-size: 0.85rem;
    color: #555;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 18px;
    line-height: 1.5;
}

/* Phone field with country code select */
.phone-field {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
}
.country-select {
    flex: 0 0 auto;
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    background: #fff;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%232C2C2C%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 14px top 50%;
    background-size: 11px auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.country-select:focus { outline: none; border-color: var(--primary-color); }
.phone-field input[type="tel"] {
    flex: 1 1 100%;
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    background: #fff;
    transition: border-color 0.2s;
    min-width: 0;
}
.phone-field input[type="tel"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Email field — always visible, * toggles */
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form-group input[type="text"]:not(#booking-date):not(#ticket-date) {
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    background: #fff;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.form-group input[type="text"]:not(#booking-date):not(#ticket-date):focus {
    outline: none;
    border-color: var(--primary-color);
}
#booking-email-required-mark { color: var(--primary-color); }

/* MercadoPago badge */
.booking-mp-badge {
    text-align: center;
    font-size: 0.78rem;
    color: #888;
    margin-top: 10px;
}

/* Pay button loading state */
#pay-booking-btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Cart item layout (replaces inline style.cssText) */
.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    gap: 10px;
}

.cart-item-info {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cart-item-name { margin-bottom: 5px; }
.cart-item-price { color: var(--primary-color); }

.cart-item-remove {
    background: none;
    border: none;
    color: #ff4d4f;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s;
}
.cart-item-remove:hover { background: rgba(255, 77, 79, 0.1); }

.icon-trash { width: 20px; height: 20px; }

/* Urgent/Same-day modal */
.urgent-modal-overlay { z-index: var(--z-urgent-modal); }
.urgent-modal-content { text-align: center; }
.urgent-title { margin-bottom: 15px; color: var(--primary-color); }
.urgent-text { margin-bottom: 20px; line-height: 1.5; color: #555; }
.urgent-buttons { display: flex; gap: 10px; }

.btn-urgent-back {
    background: #eee;
    color: #333;
    box-shadow: none;
    padding: 12px;
    border-radius: 10px;
}

.btn-urgent-whatsapp {
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    color: white;
}
.btn-urgent-whatsapp:hover { filter: brightness(1.08); }

.icon-whatsapp { margin-right: 8px; width: 18px; }

/* === Subsection headers (Passeios / Atividades) === */
.subsection-header {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 20px;
    text-align: left;
}
.subsection-header + .product-slider { margin-bottom: 40px; }
.subsection-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-text, #1a1a1d);
    margin: 10px 0 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.subsection-title::before {
    content: '';
    width: 6px;
    height: 24px;
    border-radius: 3px;
    background: var(--primary-color, #00A33A);
}
#carousel-atividades .subsection-title::before,
.subsection-header:has(+ #carousel-atividades) .subsection-title::before {
    background: var(--secondary-color, #005BAB);
}
.subsection-sub {
    color: #6a6a72;
    font-size: 0.95rem;
    margin: 0 0 10px 16px;
}

/* === Child fare policy hint inside accordions === */
.fare-policy {
    margin-top: 10px;
    padding: 8px 10px;
    background: rgba(0, 163, 58, 0.08);
    border-left: 3px solid var(--primary-color, #00A33A);
    border-radius: 6px;
    font-size: 0.88rem;
    color: #333;
}
.theme-blue-modal .fare-policy,
#view-passagens .fare-policy {
    background: rgba(0, 91, 171, 0.08);
    border-left-color: var(--secondary-color, #005BAB);
}

/* === Passenger group (children selector) === */
.pax-children {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 12px 14px;
    background: rgba(0,0,0,0.015);
}
.pax-children[hidden] { display: none !important; }
.pax-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}
.pax-row + .pax-row { border-top: 1px dashed rgba(0,0,0,0.08); }
.pax-label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.pax-label i {
    width: 22px;
    height: 22px;
    color: var(--primary-color, #00A33A);
    flex-shrink: 0;
}
.theme-blue-modal .pax-label i { color: var(--secondary-color, #005BAB); }
.pax-label strong {
    display: block;
    font-size: 0.95rem;
    color: #1a1a1d;
    line-height: 1.2;
}
.pax-label small {
    display: block;
    font-size: 0.78rem;
    color: #6a6a72;
    margin-top: 2px;
}
.pax-hint {
    margin: 10px 0 0;
    font-size: 0.78rem;
    color: #6a6a72;
    line-height: 1.35;
}
.qty-selector--mini { gap: 6px; }
.qty-selector--mini button {
    width: 30px;
    height: 30px;
    font-size: 1rem;
}
.qty-selector--mini input {
    width: 40px;
    height: 30px;
    font-size: 0.95rem;
}

/* =========================================
   TOAST (substitui alert)
   ========================================= */
.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(26, 26, 29, 0.92);
    backdrop-filter: blur(12px);
    color: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: var(--z-toast);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    max-width: 90vw;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast--error { background: rgba(200, 40, 40, 0.95); }

/* =========================================
   CONFIRM DIALOG (substitui confirm)
   ========================================= */
.confirm-dialog-overlay { z-index: var(--z-confirm-dialog); }
.confirm-dialog-content { text-align: center; max-width: 400px; }
.confirm-dialog-title {
    margin: 0 0 12px;
    font-size: 1.15rem;
    color: var(--text-main);
}
.confirm-dialog-text {
    margin: 0 0 22px;
    line-height: 1.5;
    color: #555;
}
.confirm-dialog-buttons {
    display: flex;
    gap: 10px;
}
.btn-confirm-cancel {
    background: #eee;
    color: #333;
    box-shadow: none;
    padding: 12px;
    border-radius: 10px;
    flex: 1;
}
.btn-confirm-ok {
    padding: 12px;
    border-radius: 10px;
    flex: 1;
}

/* =========================================
   FOOTER MINIMALISTA
   ========================================= */
.site-footer {
    background: #0d0d0f;
    color: rgba(255,255,255,0.85);
    padding: 40px 24px 20px;
    margin-top: 60px;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-logo { height: 40px; width: auto; }
.footer-tagline { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    transition: background 0.2s, border-color 0.2s;
}
.footer-link:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.3);
}
.footer-link i { width: 18px; height: 18px; }
.footer-bottom {
    max-width: 1100px;
    margin: 24px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    color: rgba(255,255,255,0.55);
}
.footer-legal {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    text-align: center;
}
.footer-legal p { margin: 0; }
.footer-legal-name {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    margin-bottom: 4px !important;
}
.footer-link--legal {
    background: transparent;
    border-color: rgba(255,255,255,0.08);
}

@media (min-width: 720px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .footer-brand { align-items: flex-start; }
    .footer-legal { text-align: left; }
}

/* =========================================
   LANGUAGE SELECTOR
   ========================================= */
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1.5px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    margin-right: 8px;
}
.lang-btn i { width: 16px; height: 16px; }
.lang-btn:hover {
    background: rgba(0, 91, 171, 0.08);
}
.lang-btn[aria-expanded="true"] {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.lang-dropdown {
    position: fixed;
    top: 70px;
    right: 16px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    padding: 8px;
    z-index: var(--z-lang-dropdown);
    min-width: 200px;
    display: none;
    flex-direction: column;
    gap: 2px;
}
.lang-dropdown.open { display: flex; }
.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: inherit;
    transition: background 0.15s;
}
.lang-option:hover { background: rgba(0,0,0,0.05); }
.lang-option.active {
    background: rgba(0, 163, 58, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}
.lang-option-code {
    display: inline-block;
    min-width: 30px;
    font-weight: 700;
    color: var(--secondary-color);
}
.lang-option.active .lang-option-code { color: var(--primary-color); }

@media (max-width: 600px) {
    .lang-btn { padding: 5px 8px; font-size: 0.78rem; margin-right: 6px; }
    .lang-btn .lang-code { display: inline; }
    .lang-dropdown { right: 8px; left: 8px; min-width: auto; }
}

/* =========================================
   RTL OVERRIDES (Hebrew)
   ========================================= */
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .cart-drawer {
    right: auto;
    left: -400px;
    transition: left 0.4s ease;
}
[dir="rtl"] .cart-drawer.open {
    right: auto;
    left: 0;
}
[dir="rtl"] .mobile-nav {
    right: auto;
    left: -300px;
    transition: left 0.4s ease;
}
[dir="rtl"] .mobile-nav.open {
    right: auto;
    left: 0;
}
[dir="rtl"] .lang-dropdown { right: auto; left: 16px; }
[dir="rtl"] .toast { /* center stays center */ }
[dir="rtl"] .footer-link i,
[dir="rtl"] .lang-btn i { margin-left: 0; }
[dir="rtl"] .close-modal {
    right: auto;
    left: 20px;
}
[dir="rtl"] .price-tag {
    /* manter à direita visualmente equivalente */
}

/* =========================================
   PÁGINAS LEGAIS (Política de Privacidade etc)
   ========================================= */
.legal-header {
    background: #0d0d0f;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.legal-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.legal-header .brand-logo {
    height: 40px;
    width: auto;
}
.legal-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}
.legal-back-btn:hover { background: #008c31; color: #fff; }
.legal-main {
    background: #f8f8fa;
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
}
.legal-article {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.05);
    color: var(--text-main);
    line-height: 1.7;
}
.legal-article h1 {
    color: var(--secondary-color);
    margin-top: 0;
    font-size: 2rem;
}
.legal-article h2 {
    color: var(--text-main);
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.25rem;
    border-bottom: 2px solid rgba(0, 91, 171, 0.1);
    padding-bottom: 6px;
}
.legal-article p { margin: 0 0 14px; }
.legal-article ul { margin: 0 0 14px; padding-left: 20px; }
.legal-article li { margin-bottom: 8px; }
.legal-article a {
    color: var(--secondary-color);
    text-decoration: underline;
}
.legal-article a:hover { color: var(--primary-color); }
.legal-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 24px !important;
}

@media (min-width: 720px) {
    .legal-article { padding: 56px 56px; }
}

/* =========================================
   DISABLED STATES (L-16)
   ========================================= */
.btn-buy:disabled,
.btn-buy[disabled],
.qty-selector button:disabled,
.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* =========================================
   EMPTY CART VISUAL (L-18)
   ========================================= */
.empty-cart-msg {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}
