/* version 1.0 */


.rio-page {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    z-index: 0;
    background: transparent !important;
    color: #2c3e50;
}

.rio-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #02415a;
    background-image: url('../imagem/assets/fundo%20rj.png');
    background-size: cover;
    background-position: center;
    will-change: transform;
}

html,
body {
    background: transparent !important;
}

:root {
    --bg: transparent;
}

/* ===================================================== */
/* HEADER TRANSPARENTE SOBRE O HERO                      */
/* ===================================================== */
.rio-page header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: none;
    padding: 1.2rem clamp(1rem, 4vw, 4rem);
}

.rio-page header .main-container {
    padding: 0;
}

.rio-page header .main-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rio-page nav a {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.rio-page header,
.rio-page header *,
.rio-page header nav a,
.rio-page header .lang-label,
.rio-page header .profile-btn,
.rio-page header .hamburger span {
    color: #fff;
}

.rio-page nav a:hover,
.rio-page nav a.active {
    color: #f0e5c0;
    border-bottom-color: #f0e5c0;
}

.mobile-menu-container {
    position: fixed;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    width: min(92vw, 360px);
    max-height: calc(100vh - 90px);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.22);
    display: none;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.35);
}

.mobile-menu-container.open {
    display: block;
}

.mobile-menu-panel {
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.24);
    transform: translateY(-10px);
    transition: transform 0.22s ease, opacity 0.22s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
}

.mobile-menu-container.open .mobile-menu-panel {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mobile-menu-title {
    font-weight: 600;
    font-size: 1rem;
    color: #2c3e50;
}

.mobile-menu-back,
.mobile-menu-close {
    border: none;
    background: transparent;
    color: #2c3e50;
    font-size: 1.1rem;
    cursor: pointer;
}

.mobile-menu-content {
    overflow-y: auto;
    flex: 1;
    padding: 0.75rem 0.85rem;
    background: rgba(255,255,255,0.30);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 0 0 16px 16px;
}

.mobile-menu-view {
    display: none;
}

.mobile-menu-view.active {
    display: block;
}

.mobile-menu-view a,
.mobile-menu-launcher,
.mobile-lang-list li {
    display: block;
    padding: 0.75rem 0.6rem;
    border-radius: 8px;
    color: #234160;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.mobile-menu-view a:hover,
.mobile-lang-list li:hover,
.mobile-menu-launcher:hover {
    background: rgba(194,178,128,0.2);
}

.mobile-lang-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: none !important;
    box-shadow: none !important;
}

.mobile-lang-list li {
    cursor: pointer;
}

.rio-page header.menu-open + .mobile-menu-container {
    display: block;
}

.rio-page .lang-btn {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.rio-page .lang-list {
    background: rgba(255, 255, 255, 0.94);
    color: #0a2a4a;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.rio-page .lang-list li {
    color: #0a2a4a;
}

.rio-page .lang-list li:hover {
    background: rgba(0, 0, 0, 0.40);
    color: #072041;
}

.rio-page .search-bar {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.rio-page .search-bar input {
    color: #fff;
}

.rio-page .search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.rio-page .search-bar button {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.rio-page .search-bar button:hover {
    background: rgba(255, 255, 255, 0.35);
}

.rio-page .btn-signup {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    min-width: 130px;
    text-align: center;
}

/* field code 6 inputs */
.register-code-group {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 0.5rem;
    margin-bottom: 0.9rem; /* espaçamento abaixo antes do botão reenviar */
}

.register-code-input {
    width: 2rem;
    height: 2rem;
    font-size: 1.3rem;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 0.35rem;
    background: #fff;
    color: #333;
}

.register-code-input:focus {
    outline: none;
    border-color: #017cff;
    box-shadow: 0 0 0 2px rgba(1, 124, 255, 0.2);
}

.register-code-valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2) !important;
}

.register-code-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2) !important;
}

.rio-page .btn-signup:hover {
    background: rgba(255, 255, 255, 0.3);
}

.rio-page .hamburger span {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ===================================================== */
/* HERO                                                  */
/* ===================================================== */
.rio-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: calc(60px + 0.5rem); /* garante que começa logo abaixo do header */
    /* herói mantém sua própria foto acima do fundo do corpo */
    background:
        url('../imagem/assets/painel.jpeg') center/cover no-repeat;
    /* aplicar máscara de transparência na base para fade ao fundo */
    -webkit-mask-image: none;
    mask-image: none;
    -webkit-mask-size: auto;
    mask-size: auto;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    position: relative;
}

/* gradiente de transição em tom de areia com textura delicada */
.rio-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.16) 45%,
            rgba(0, 0, 0, 0.35) 68%,
            rgba(0, 0, 0, 0.65) 100%
        ),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='60'%3E%3Cpath d='M0 30 C30 10, 60 10, 90 30 S150 50, 180 30' fill='none' stroke='%236b4c20' stroke-width='4'/%3E%3Cpath d='M0 50 C30 30, 60 30, 90 50 S150 70, 180 50' fill='none' stroke='%236b4c20' stroke-width='3'/%3E%3C/svg%3E") center/cover no-repeat;
    background-blend-mode: normal;
    opacity: 0.50;
    z-index: 2;
}


.rio-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(12, 35, 64, 0.60) 0%,
        rgba(26, 82, 118, 0.38) 60%,
        rgba(12, 35, 64, 0.72) 100%
    );
    z-index: 1;
}

.rio-hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    padding: 0.3rem 2rem 2rem;
    margin-top: 0;
    animation: heroIntro 0.9s ease-out forwards;
}

.rio-hero-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    color: #f0e5c0; /* tom de areia */
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.15;
    margin: 0.2rem 0 0.5rem;
}

#rioHeroDesc {
    color: #ffffff !important;
}

@media (min-width: 1200px) {
    .rio-hero-content {
        padding-top: 1.6rem;
        margin-top: 1.2rem;
    }

    .rio-hero-content .btn-book {
        width: min(380px, 45%);
        padding: 0.6rem 1.25rem;
        max-width: 420px;
        overflow: visible;
        text-overflow: clip;
    }
}

.rio-hero-content .btn-book {
    display: block;
    width: min(180px, 75%);
    margin: 0.5rem auto 0 auto;
    padding: 0.5rem 1rem;
    border: 2px solid #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rio-hero-content .btn-book:hover,
.rio-hero-content .btn-book:focus {
    background: rgba(255, 255, 255, 0.42);
    transform: translateY(-1px);
    color: #a7834b;
}

.rio-city-highlight {
    display: block;
    background: linear-gradient(120deg, #c2b280 0%, #f0e5c0 45%, #c2b280 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-transform: none;
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.rio-hero-location {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.2rem;
}



/* ===================================================== */
/* SEÇÃO DE AVISO (modal)                                */
/* ===================================================== */
.rio-notice {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
}

.rio-notice-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    background: linear-gradient(120deg, #c2b280 0%, #f0e5c0 45%, #c2b280 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

.rio-notice-text {
    text-align: left;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 2.5rem 3rem;
    max-width: 600px;
}

.rio-notice-text p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.6rem;
}

.rio-notice-text p:last-child {
    margin-bottom: 0;
}

.rio-notice-text i {
    color: #C2B280;
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

.rio-notice-text .btn-proceed {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    border-radius: 60px;
    background: #C2B280;
    color: #111;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.2s;
}

.rio-notice-text .btn-proceed:hover {
    background: #b5a370;
    transform: scale(1.03);
}

/* ===================================================== */
/* SEÇÃO DE TOURS                                        */
/* ===================================================== */
.rio-tours {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem;
    position: relative;
}

/* Textura sutil inspirada no calçadão — ondas em baixíssima opacidade */
.rio-tours::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='48'%3E%3Cpath d='M0,12 C60,4 120,4 180,12 C240,20 300,20 360,12 L360,17 C300,25 240,25 180,17 C120,9 60,9 0,17Z' fill='%23000' opacity='0.025'/%3E%3Cpath d='M0,30 C60,22 120,22 180,30 C240,38 300,38 360,30 L360,35 C300,43 240,43 180,35 C120,27 60,27 0,35Z' fill='%23000' opacity='0.02'/%3E%3C/svg%3E") repeat;
    background-size: 360px 48px;
}

.rio-section-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    color: #2c3e50;
    text-align: center;
    margin-bottom: 0.5rem;
}

.rio-section-divider {
    width: 80px;
    height: 3px;
    background: #C2B280;
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.rio-divider-small {
    width: 50px;
}

.rio-section-subtitle {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: #8b6914;
    text-align: center;
    margin-bottom: 2rem;
}

.rio-paid-label {
    margin-top: 3rem;
}

.rio-paid-subtitle {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: clamp(1rem, 1.6vw, 1.4rem);
    color: #5a6c7d;
    text-align: center;
    margin-bottom: 2rem;
}

/* ===================================================== */
/* CARDS DE TOURS                                        */
/* ===================================================== */
.rio-tours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin-bottom: 1rem;
}

.rio-tour-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.rio-tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.rio-tour-paid {
    border-color: rgba(194,178,128,0.3);
    background: #fffdf7;

@media (min-width: 1200px) {
  .rio-btn-reserve {
   min-width: 240px;
   max-width: 340px;
   font-size: 1.05rem;
   padding: 0.7rem 2.2rem;
  }
}
}

.rio-tour-images {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.rio-tour-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.rio-tour-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transform: translateX(0);
    transition: transform 1s ease;
}

.rio-tour-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
}

.rio-tour-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rio-tour-slider-dots {
    position: absolute;
    bottom: 0.7rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 10;
    pointer-events: auto;
}

.rio-tour-dot {
    width: 11px;
    height: 11px;
    min-width: 11px;
    min-height: 11px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(44,62,80,0.35);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
    line-height: 1;
}

.rio-tour-dot.active {
    background: rgba(255,255,255,1);
    transform: scale(1.25);
}

.rio-tour-slider-dots {
    position: absolute;
    bottom: 0.7rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 10;
    pointer-events: auto;
}

.rio-tour-dot {
    width: 11px;
    height: 11px;
    min-width: 11px;
    min-height: 11px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(44,62,80,0.35);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
    line-height: 1;
}

.rio-tour-dot.active {
    background: rgba(255,255,255,1);
    transform: scale(1.25);
}

.rio-tour-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.rio-tour-card:hover .rio-tour-images img {
    transform: scale(1.05);
}

.rio-tour-info {
    padding: 1.4rem 1.6rem 1.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rio-tour-name {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    color: #2c3e50;
    margin-bottom: 1rem;
}

.rio-tour-name-sub {
    font-weight: 600;
    font-size: 0.85em;
    color: #8b9db0;
}

.rio-tour-details {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem;
    flex: 1;
}

.rio-tour-details li {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.rio-tour-details li:last-child {
    border-bottom: none;
}

.rio-tour-details i {
    color: #c9a96e;
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

.rio-tour-details strong {
    color: #2c3e50;
}

/* ===================================================== */
/* AÇÕES DO TOUR (mapa + reservar)                       */
/* ===================================================== */
.rio-tour-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.8rem;
}

.rio-link-map {
    color: #1da194;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.rio-link-map:hover {
    color: #C2B280;
}

.rio-link-map i {
    margin-right: 0.3rem;
}

.rio-link-map {
    order: 0;
}

.rio-btn-reserve {
    order: 1;
}

.rio-btn-reserve {
    padding: 0.55rem 1.2rem;
    min-width: 160px;
    max-width: 220px;
    width: auto;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.65);
    color: #C2B280;
    border: 1px solid #C2B280;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(194, 178, 128, 0.25);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
    animation: pulse-reserve 2.4s ease-in-out infinite;
}

.rio-btn-reserve:hover,
.rio-btn-reserve:focus {
    transform: translateY(-2px) scale(1.08);
    filter: brightness(1.2);
    box-shadow: 0 12px 32px rgba(194, 178, 128, 0.55);
}

.rio-btn-reserve.disabled,
.rio-btn-reserve[aria-disabled="true"] {
    opacity: 0.65;
    color: #6b7280;
    border-color: #6b7280;
    background: rgba(255, 255, 255, 0.55);
    cursor: not-allowed;
    animation: none;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

@keyframes pulse-reserve {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 20px rgba(194, 178, 128, 0.30);
        background: rgba(255, 255, 255, 0.70);
    }
    40% {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 12px 28px rgba(194, 178, 128, 0.45);
        background: rgba(255, 255, 255, 0.85);
    }
    60% {
        transform: translateY(-1px) scale(1.03);
        box-shadow: 0 10px 26px rgba(194, 178, 128, 0.40);
        background: rgba(255, 255, 255, 0.75);
    }
}

/* ===================================================== */
/* FOOTER                                                */
/* ===================================================== */
.rio-footer {
    text-align: center;
    padding: 2rem 1rem 3rem;
    position: relative;
}

.rio-footer-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 1.6rem 1.5rem 1.8rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    align-items: center;
}

.rio-footer-card.hidden {
    display: none !important;
}

.rio-footer-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.rio-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.rio-footer-nav a,
.rio-footer-nav .btn-signup {
    color: rgba(44,62,80,0.85);
    font-weight: 600;
    border: 1px solid rgba(44,62,80,0.15);
    background: rgba(255,255,255,0.75);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    transition: background 0.2s, transform 0.2s;
}

.rio-footer-nav a:hover,
.rio-footer-nav .btn-signup:hover {
    background: rgba(194,178,128,0.25);
    transform: translateY(-1px);
}

.rio-footer .social-icons {
    justify-content: center;
}


.rio-footer .social-icons a {
    color: #2c3e50;
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.1);
}

.rio-footer .social-icons a:hover {
    background: #1da194;
    color: #fff;
    border-color: #1da194;
}

.rio-footer-text {
    color: rgba(44,62,80,0.5);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* ===================================================== */
/* RESPONSIVO                                            */
/* ===================================================== */
@media (max-width: 900px) {
    .rio-page header {
        padding: 0.8rem 1.2rem;
    }

    .rio-hero {
        padding-top: calc(42px + 0.5rem); /* mais acima */
    }

    .rio-hero-content {
        margin-top: -0.6rem;
    }

    .rio-hero-content .btn-book {
        margin-top: 1rem; /* botão um pouco mais para baixo no mobile */
    }

    .rio-section-title {
        margin-top: 0.1rem;
    }

    .rio-page header.menu-open nav {
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .rio-page header.menu-open nav a {
        color: #fff;
    }

    .rio-page header.menu-open .lang-selector .lang-btn {
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
    }

    .rio-tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rio-hero {
        min-height: 55vh;
        padding-top: calc(60px + 0.5rem);
    }

    .rio-hero-content {
        padding: 1rem 1rem 2rem;
    }

}

/* ===================================================== */
/* TOAST DE NOTIFICAÇÃO (CANTO DIREITO)                  */
/* ===================================================== */
.award-toast {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 1100;
    max-width: 320px;
    width: min(92vw, 320px);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 1rem 1rem 0.9rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.award-toast.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.award-toast__dialog {
    position: relative;
}

.award-toast__close {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    border: none;
    background: transparent;
    color: rgba(0, 0, 0, 0.75);
    font-size: 1.2rem;
    cursor: pointer;
}

.award-toast__title {
    font-size: 1.01rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: rgba(0, 0, 0, 0.9);
}

.award-toast__text {
    color: rgba(0, 0, 0, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

.award-toast__message {
    color: rgba(0, 0, 0, 0.9);
}

.award-toast__countdown {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.7);
}

.award-toast__body {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 0.7rem;
    align-items: flex-start;
}

.award-toast__icon img {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.award-toast__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
}

.award-toast__countdown {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 480px) {
    .award-toast {
        right: 0.75rem;
        bottom: 0.75rem;
    }
}

@media (max-width: 600px) {
    .rio-page header {
        padding: 0.6rem 0.8rem;
    }

    .rio-hero {
        min-height: 50vh;
        padding-top: 70px;
    }

    .rio-hero-content {
        margin-top: 4rem;
        padding: 1.4rem 1rem 2rem;
    }

    .rio-hero-title {
        margin-bottom: 0.7rem;
    }

    .rio-hero-content .btn-book {
        margin-top: 1rem;
    }

    .rio-tours-grid {
        grid-template-columns: 1fr;
    }

    .rio-hero-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }

    .rio-city-highlight {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }

    .rio-notice {
        padding: 1rem;
    }

    .rio-notice-text {
        padding: 1.5rem;
    }

    .rio-tours {
        padding: 1.5rem 1rem 2rem;
    }

    .rio-footer-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .rio-tour-info {
        padding: 1rem 1.2rem 1.4rem;
    }

    .rio-tour-actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        flex-wrap: wrap;
    }

    .rio-link-map {
        margin-right: auto;
    }

    .rio-btn-reserve {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        min-width: 130px;
        text-align: center;
    }
}

@media (min-width: 601px) {
    .rio-tour-actions {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .rio-btn-reserve {
        width: auto;
        min-width: 180px;
        max-width: 260px;
        text-align: center;
    }
}

@media (min-width: 1200px) {
    .rio-tour-actions {
        justify-content: space-between;
        gap: 1.25rem;
    }

    .rio-link-map {
        order: 0;
    }

    .rio-btn-reserve {
        order: 1;
        margin-left: auto;
        min-width: 240px;
        max-width: 360px;
        padding: 0.75rem 1.8rem;
        font-size: 1rem;
    }
}

/* ===================================================== */
/* ANIMAÇÃO DOS CARDS (scroll reveal)                    */
/* ===================================================== */
.rio-card-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.rio-card-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
/* Global styles for all pages */
:root {
  --bg: #f7f7f7;
  --text: #222;
  --muted: #555;
  --primary: #0b4d8b;
  --surface: #fff;
  --shadow: rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --gap: 1.25rem;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Login modal */
body.modal-open {
  overflow: hidden;
}

body.modal-open > :not(.login-modal-overlay):not(.register-modal-overlay) {
  filter: blur(3px);
  transition: filter 0.2s ease;
}

.login-modal-overlay,
.register-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1500;
}

.login-modal-overlay.open,
.register-modal-overlay.open {
  display: flex;
}

.app-notification-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  z-index: 2147483000;
  padding: 1rem;
}

.app-notification-overlay.open {
  display: flex;
}

.app-notification {
  width: min(460px, 96%);
  background: #ffffff;
  border: 1px solid rgba(220, 220, 220, 0.95);
  border-radius: 18px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 1.1rem 1.2rem 1rem;
  position: relative;
}

.app-notification__close {
  position: absolute;
  top: 0.35rem;
  right: 0.55rem;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.app-notification__title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: #1f2d3d;
}

.app-notification__message {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #23364a;
  padding-right: 1rem;
}

.app-notification__media {
  margin: 0.6rem 0 0.8rem;
  text-align: center;
}

.app-notification__media img,
.app-notification__media video {
  width: min(160px, 70%);
  border-radius: 14px;
  box-shadow: none;
  border: none;
  background: transparent;
}

.app-notification__media video {
  max-height: 240px;
  object-fit: cover;
}

.app-notification__details {
  margin-top: 0.7rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(12, 56, 91, 0.08);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

.app-notification__summary {
  margin: 0;
  padding-left: 1rem;
  color: #1f3041;
  line-height: 1.45;
}

.app-notification__summary li {
  margin-bottom: 0.25rem;
}

.app-notification__summary li:last-child {
  margin-bottom: 0;
}

.app-notification__hint {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  color: #2a445e;
}

.app-notification-overlay.is-success .app-notification__title,
.app-notification-overlay.is-success .app-notification__message {
  color: #2e9e56;
  font-weight: 700;
}

.app-notification-overlay.is-error .app-notification__title {
  color: #b02a37;
}

/* ===== Minhas Reservas Modal ===== */
.my-reservations-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.my-reservations-overlay.open {
  display: flex;
}

.my-reservations-modal {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 1.6rem 1.4rem;
  width: min(520px, 96%);
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.my-reservations-close {
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  line-height: 1;
}

.my-reservations-close:hover {
  color: rgba(0, 0, 0, 0.8);
}

.my-reservations-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2d3d;
  margin: 0 0 1rem;
}

.my-reservations-empty {
  color: #6b7a8d;
  font-size: 0.95rem;
  text-align: center;
  padding: 1rem 0;
}

.my-reservations-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #e6eaf0;
  border-radius: 10px;
  margin-bottom: 0.6rem;
  background: #f9fafb;
}

.my-reservations-tour {
  font-size: 0.97rem;
  font-weight: 700;
  color: #1a2d40;
}

.my-reservations-date,
.my-reservations-detail {
  font-size: 0.88rem;
  color: #3b5168;
}

.my-reservations-detail a.my-reservations-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #1fac9c;
  font-weight: 700;
  text-decoration: none;
}

.my-reservations-detail a.my-reservations-map-link i {
  font-size: 0.92rem;
}

.my-reservations-detail a.my-reservations-map-link:hover {
  color: #11867c;
  text-decoration: underline;
}

.my-reservations-status {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 2px 8px;
  width: fit-content;
  background: #e8f0fe;
  color: #1558b0;
}

.my-reservations-status--confirmado {
  background: #d4edda;
  color: #1f7a3f;
}

.my-reservations-status--pendente {
  background: #fff3cd;
  color: #856404;
}

.my-reservations-status--cancelado {
  background: #f8d7da;
  color: #842029;
}

.my-reservations-actions {
  margin-top: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.my-reservations-actions button {
  border: 1px solid #1a7a4a;
  background: #ffffff;
  color: #1a7a4a;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.my-reservations-actions button:hover {
  background: #1a7a4a;
  color: #ffffff;
}

.my-reservations-actions button.btn-cancel-reservation {
  border-color: #c0392b;
  color: #c0392b;
}

.my-reservations-actions button.btn-cancel-reservation:hover {
  background: #c0392b;
}

.reservation-edit-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2300;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.reservation-edit-overlay.open {
  display: flex;
}

.user-data-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2300;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.user-data-overlay.open {
  display: flex;
}

.user-data-modal {
  width: min(420px, 96vw);
  background: #ffffff;
  border-radius: 14px;
  padding: 1rem;
  position: relative;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.user-data-close {
  position: absolute;
  top: 0.25rem;
  right: 0.55rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: rgba(0,0,0,0.45);
}

.user-data-form {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.user-data-loading {
  margin-top: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  background: #eef6ff;
  border: 1px solid #d6e8ff;
  color: #27517a;
  font-size: 0.88rem;
  font-weight: 600;
}

.user-data-form label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.88rem;
  color: #33485f;
}

.user-data-form input {
  border: 1px solid #d6dce4;
  border-radius: 8px;
  padding: 0.48rem 0.55rem;
  font-size: 0.92rem;
}

.user-data-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.user-data-cancel,
.user-data-save {
  border: 1px solid #d0d7df;
  background: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.user-data-save {
  background: #1a7a4a;
  border-color: #1a7a4a;
  color: #fff;
}

.reservation-edit-modal {
  width: min(420px, 96vw);
  background: #ffffff;
  border-radius: 14px;
  padding: 1rem 1rem 0.9rem;
  position: relative;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.reservation-edit-close {
  position: absolute;
  top: 0.25rem;
  right: 0.55rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.45);
}

.reservation-edit-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: #1f2d3d;
}

.reservation-edit-form {
  display: grid;
  gap: 0.65rem;
}

.reservation-edit-form label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.88rem;
  color: #33485f;
  font-weight: 600;
}

.reservation-edit-form input {
  border: 1px solid #d6dce4;
  border-radius: 8px;
  padding: 0.48rem 0.55rem;
  font-size: 0.92rem;
}

.reservation-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.reservation-edit-cancel,
.reservation-edit-save {
  border: 1px solid #d0d7df;
  background: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.reservation-edit-save {
  background: #1a7a4a;
  border-color: #1a7a4a;
  color: #fff;
}

/* ============================= */

.login-modal {
  width: min(420px, 92%);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 2rem 1.8rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  position: relative;
}

.login-modal__image {
  width: 100%;
  max-width: 240px;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.login-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.login-modal__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 800;
}

.login-modal__close {
  background: transparent;
  border: none;
  font-size: 1.35rem;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.6);
}

.login-modal__form {
  display: grid;
  gap: 1rem;
}

.login-modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.register-step {
  display: none;
}

.register-step.active {
  display: block;
}

.login-modal__field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.75);
}

.login-modal__field input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
  outline: none;
  transition: border 0.2s ease;
}

.login-modal__field--password .login-modal__password-wrapper {
  position: relative;
  width: 100%;
}

.login-modal__field--password input {
  padding-left: 2.5rem;
}

.login-modal__toggle-password {
  position: absolute;
  top: 50%;
  left: 0.65rem;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-modal__toggle-password:hover {
  color: rgba(0, 0, 0, 0.85);
}

.login-modal__field input:focus {
  border-color: rgba(0, 77, 140, 0.8);
}

.login-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.login-modal__resend {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.register-resend-button {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: none;
  background: rgba(11, 77, 139, 0.9);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.register-resend-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.register-resend-button:not(:disabled):hover {
  background: rgba(11, 77, 139, 1);
}

.login-modal__actions--row {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.login-modal__submit,
.login-modal__next,
.login-modal__back {
  padding: 0.85rem;
  border-radius: 999px;
  border: none;
  background: rgba(11, 77, 139, 0.95);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.login-modal__submit:hover,
.login-modal__next:hover,
.login-modal__back:hover {
  background: rgba(11, 77, 139, 1);
}

.login-modal__back {
  background: rgba(0, 0, 0, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.login-modal__back:hover {
  background: rgba(0, 0, 0, 0.25);
}

.login-modal__forgot {
  background: transparent;
  border: none;
  color: rgba(0, 0, 0, 0.7);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9rem;
  align-self: flex-start;
}

.main-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

header .main-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 0;
}

.header-spacer {
  flex: 1;
  min-width: 1rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative; /* allow dropdowns to position relative to the button container */
}

.nav-left nav {
  display: flex;
  gap: 1.3rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-left nav a {
  color: var(--text);
  transition: color 0.2s ease;
}

.nav-left nav a:hover,
.nav-left nav a:focus,
.nav-left nav a:focus-visible {
  color: #d8c8a0;
  outline: none;
  box-shadow: none;
}

/* Remove foco de destaque branco no header ao recarregar */
.rio-page header *,
.rio-page header button,
.rio-page header a {
  outline: none !important;
  box-shadow: none !important;
}

.lang-selector {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-selector .lang-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  color: #d8c8a0;
}

.lang-selector .lang-btn .lang-label {
  color: #d8c8a0;
}

.lang-selector .lang-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 600;
  color: #0b3a66;
}

.lang-selector .lang-list li .lang-label {
  color: #0b3a66;
}

.lang-selector .lang-list li:hover {
  background: rgba(102, 100, 100, 0.40);
  color: #0b3a66;
}

.flag {
  display: inline-block;
  width: 24px;
  height: 16px;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.flag.flag-pt { background-image: url("https://flagcdn.com/w40/br.png"); }
.flag.flag-en { background-image: url("https://flagcdn.com/w40/us.png"); }
.flag.flag-fr { background-image: url("https://flagcdn.com/w40/fr.png"); }
.flag.flag-es { background-image: url("https://flagcdn.com/w40/es.png"); }
.flag.flag-it { background-image: url("https://flagcdn.com/w40/it.png"); }
.flag.flag-zh { background-image: url("https://flagcdn.com/w40/cn.png"); }
.lang-selector .lang-list {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 0.35rem);
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  border-radius: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #0b3a66;
  min-width: 170px;
  z-index: 2000;
  border: 1px solid rgba(11, 58, 102, 0.4);
  max-height: 280px;
  overflow-y: auto;
}

.lang-selector.open .lang-list {
  display: block;
}

.nav-left nav.open {
  display: flex;
  flex-direction: column;
  width: min(260px, 80vw);
  z-index: 2000;
}

.nav-left nav.open a {
  display: block;
  width: 100%;
}


.lang-selector .lang-list li {
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 600;
  color: #0b3a66;
}

.lang-selector .lang-list li:hover {
  background: rgba(255, 255, 255, 0.50);
  color: #0b3a66;
}

.hamburger {
  display: none;
  border: 0;
  background: transparent;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 25;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
  margin: 0.35rem 0;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  header {
    padding: 0.5rem 0;
    position: relative;
  }

  .main-container {
    padding: 0 0.75rem;
  }

  .nav-left {
    gap: 0.6rem;
    display: flex;
    align-items: center;
  }

  /* Hide top nav links on mobile, show only via hamburger menu */
  .nav-left nav {
    display: none;
  }

  .hamburger {
    display: block;
    position: relative;
    order: -1;
    margin-right: 0.5rem;
    z-index: 30;
  }

  .profile-menu {
    position: relative;
    margin-left: auto;
    z-index: 30;
  }

  .header-dropdown,
  .nav-left nav.open,
  .lang-selector .lang-list,
  .profile-dropdown {
    background: rgba(255, 255, 255, 0.94);
    color: #0a2a4a;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.15);
    border-radius: 0.75rem;
    overflow: hidden;
  }

  .header-dropdown a,
  .nav-left nav.open a,
  .lang-selector .lang-list li,
  .profile-dropdown .profile-item,
  .profile-menu.open .profile-dropdown .profile-item {
    color: #0b3a66 !important;
    padding: 0.65rem 1rem;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .header-dropdown a:hover,
  .nav-left nav.open a:hover,
  .lang-selector .lang-list li:hover,
  .profile-dropdown .profile-item:hover,
  .profile-menu.open .profile-dropdown .profile-item:hover {
    color: #0b3a66 !important;
    background: rgba(0, 0, 0, 0.06);
  }

  .nav-left nav.open {
    display: flex;
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    padding: 0.8rem 1rem;
    gap: 0.5rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 0 0 0.75rem 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    z-index: 2000;
  }

  .lang-selector .lang-list,
  .profile-dropdown {
    padding: 0.4rem 0;
    margin: 0;
  }

  .lang-selector .lang-list li,
  .profile-dropdown .profile-item {
    padding: 0.6rem 1rem;
    font-weight: 600;
  }

  .nav-left nav.open a {
    color: #000;
  }
}

@media (min-width: 1024px) {
  .rio-page header .profile-user-info,
  .rio-page header .profile-user-info span[data-i18n="profile_hello"] {
    color: #0f2a57 !important;
  }
}

@media (max-width: 768px) {
  /* Força a exibição do menu em modo dropdown abaixo do hamburger */
  .nav-left nav.open {
    display: block !important;
    position: absolute !important;
    top: 100%; /* Aparece logo abaixo do header */
    left: 10px;
    background: white !important;
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    padding: 10px 0;
    z-index: 1000;
  }

  .nav-left nav.open a {
    display: block !important;
    color: #333 !important;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #eee;
  }

  .nav-left nav.open a:last-child {
    border-bottom: none;
  }

  /* Força a exibição da lista de idiomas */
  .lang-selector.open .lang-list, 
  #langList.open {
    display: block !important;
    position: absolute !important;
    background: white !important;
    color: black !important;
    z-index: 10000 !important;
    top: 50px;
    right: 0;
    min-width: 150px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
  }
}


@media (min-width: 900px) {
  .header-center {
    order: -1;
    justify-content: flex-start;
    flex: 0;
  }

  .lang-selector {
    margin-right: 1.5rem;
  }

  .header-spacer {
    display: none;
  }
}

@media (min-width: 1200px) {
  .rio-hero {
    min-height: 80vh;
  }

  .rio-hero-content {
    padding: 1.2rem 3.5rem 3.5rem;
    margin-top: 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  #rioHeroDesc {
    font-size: 1.18rem;
    line-height: 1.6;
  }

  .rio-hero-content .btn-book {
    margin-top: 1.4rem;
    padding: 0.75rem 1.4rem;
  }
}

/* Footer info card */
.footer-info {
  padding: 2rem 0;
}

.footer-info-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.6rem 1.5rem 1.8rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  scroll-margin-top: 110px;
}

.footer-info-card.hidden {
  display: none !important;
}

.footer-info-title {
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.footer-info-body {
  color: rgba(0, 0, 0, 0.85);
}

.hidden {
  display: none !important;
}

.reservation-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.reservation-modal {
  width: min(90vw, 520px);
  max-height: min(90vh, 640px);
  background: #ffffff;
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
  overflow: hidden;
}

.reservation-modal form {
  display: grid;
  gap: 0.75rem;
  max-height: calc(90vh - 120px);
  overflow-y: auto;
  padding-right: 0.25rem;
}

.reservation-modal form::-webkit-scrollbar {
  width: 7px;
}

.reservation-modal form::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 999px;
}


.reservation-modal h2 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 1.3rem;
}

.reservation-modal form {
  display: grid;
  gap: 0.75rem;
}

.reservation-modal label {
  font-size: 0.9rem;
}

.reservation-modal input,
.reservation-modal select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.2);
  font-size: 0.9rem;
}

.reservation-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.reservation-modal-actions .btn-book {
  border-radius: 999px;
  min-width: 140px;
  padding: 0.5rem 1rem;
  border: 2px solid #b0b0b0;
  color: #222;
  background: #e0e0e0;
  text-transform: uppercase;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.reservation-modal-actions button[type="submit"] {
  background: #ffffff;
  border: 2px solid #c2b280;
  color: #c2b280;
}

.reservation-modal-actions button[type="submit"]:hover,
.reservation-modal-actions button[type="submit"]:focus {
  background: #fff8e5;
  border-color: #b99e60;
  color: #b99e60;
}

.reservation-modal-actions .btn-book:hover,
.reservation-modal-actions .btn-book:focus {
  background: rgba(220, 220, 220, 0.9);
  transform: translateY(-1px);
  color: #333;
}

.footer-info-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.footer-info-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.07);
  color: rgba(0, 0, 0, 0.78);
  transition: background 0.2s, transform 0.2s;
}

.footer-info-icons a:hover {
  background: rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.profile-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.3rem;
}

.profile-menu {
  margin-left: auto;
}

.profile-btn {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.3rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.profile-btn i {
  font-size: 1.4rem;
  color: #ffffff;
  line-height: 1;
}

.profile-btn:hover {
  opacity: 0.8;
}

.profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.15);
  padding: 0.6rem 0;
  min-width: 180px;
  z-index: 30;
}


.profile-menu.open .profile-dropdown {
  display: block;
}

.profile-item {
  display: block;
  padding: 0.65rem 1rem;
  color: #0b3a66 !important;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.profile-item:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #0b3a66 !important;
}

.mobile-profile-dropdown {
  display: block !important;
  position: static !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0;
}

.mobile-profile-dropdown .profile-item {
  display: block;
  color: #234160 !important;
  padding: 0.75rem 0.6rem !important;
  border-radius: 8px !important;
  background: transparent !important;
  text-decoration: none;
}

.mobile-profile-dropdown .profile-item:hover {
  background: rgba(194,178,128,0.2) !important;
}

.footer-card-up {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.14);
}

.footer-card-up i {
  color: rgba(0, 0, 0, 0.8);
  font-size: 1rem;
  animation: floatArrow 2.5s ease-in-out infinite;
}

.footer-card-up:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

@keyframes floatArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}