/* ============================================================================
   Hotel Nacional Rio de Janeiro - White Label
   Paleta: #123144 (azul escuro), #C9A96E (dourado), #FFFFFF
   Tipografia: Josefin Sans (títulos), Montserrat (corpo)
   ============================================================================ */

:root {
    --hn-dark: #123144;
    --hn-dark-90: #123144E6;
    --hn-dark-60: #12314499;
    --hn-gold: #C9A96E;
    --hn-gold-light: #D4BA8A;
    --hn-white: #FFFFFF;
    --hn-white-70: #FFFFFFB3;
    --hn-white-50: #FFFFFF80;
    --hn-white-20: #FFFFFF33;
    --hn-bg: #0E2535;
    --hn-card-bg: #163A50;
    --hn-border: #FFFFFF20;
    --hn-text: #FFFFFFAD;
    --font-heading: 'Josefin Sans', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--hn-bg);
    color: var(--hn-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--hn-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hn-gold-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ── Tipografia ──────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    color: var(--hn-gold);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p {
    font-weight: 200;
    font-size: 14px;
    line-height: 1.7;
}

/* ── Layout ──────────────────────────────────────── */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ── Header / Navbar ─────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--hn-dark) 0%, transparent 100%);
    padding: 20px 0;
    transition: background 0.4s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background: var(--hn-dark-90);
    padding: 12px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo {
    height: 36px;
    width: auto;
}

.navbar-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 300;
    color: var(--hn-white);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar-nav a {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--hn-white-70);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 4px 0;
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--hn-gold);
    transition: width 0.3s ease;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--hn-gold);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
    width: 100%;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--hn-white);
    margin: 5px 0;
    transition: 0.3s;
}

/* ── Hero Section ────────────────────────────────── */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--hn-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, var(--hn-dark) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 712px;
    padding: 0 20px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--hn-gold);
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    color: var(--hn-white);
    font-weight: 300;
}

.hero-desc {
    font-size: 15px;
    color: var(--hn-white-70);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Botões ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 36px;
    border: 1px solid var(--hn-gold);
    background: var(--hn-gold);
    color: var(--hn-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: transparent;
    color: var(--hn-gold);
}

.btn-outline {
    background: transparent;
    color: var(--hn-gold);
}

.btn-outline:hover {
    background: var(--hn-gold);
    color: var(--hn-dark);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 12px;
}

/* ── Seção de Experiências ────────────────────────── */
.section {
    padding: 100px 0;
}

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

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--hn-white-50);
}

.section-divider {
    width: 60px;
    height: 1px;
    background: var(--hn-gold);
    margin: 20px auto;
}

/* ── Cards de Experiência ────────────────────────── */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.tour-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    border: 1px solid var(--hn-border);
}

.tour-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.tour-card:hover .tour-card-img {
    transform: scale(1.05);
}

.tour-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(18,49,68,0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: background 0.3s ease;
}

.tour-card:hover .tour-card-overlay {
    background: linear-gradient(180deg, transparent 10%, rgba(18,49,68,0.98) 100%);
}

.tour-card-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--hn-gold);
    margin-bottom: 8px;
    font-weight: 500;
}

.tour-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--hn-white);
    margin-bottom: 8px;
    line-height: 1.2;
}

.tour-card-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}

.tour-card-meta span {
    font-size: 13px;
    color: var(--hn-white-50);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tour-card-meta .price {
    color: var(--hn-gold);
    font-weight: 600;
    font-size: 15px;
}

.tour-card-link {
    position: absolute;
    inset: 0;
    z-index: 5;
}

/* ── Seção Sobre / CTA ───────────────────────────── */
.about-section {
    background: var(--hn-dark);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--hn-gold);
    margin: 20px;
    pointer-events: none;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--hn-white-70);
}

.about-content .btn {
    margin-top: 24px;
}

/* ── CTA Section ─────────────────────────────────── */
.cta-section {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--hn-dark) 0%, rgba(18,49,68,0.85) 50%, var(--hn-dark) 100%);
}

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

.cta-content h2 {
    color: var(--hn-white);
    margin-bottom: 16px;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.cta-content p {
    color: var(--hn-white-70);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
    background: var(--hn-dark);
    padding: 80px 0 30px;
    border-top: 1px solid var(--hn-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand-desc {
    font-size: 13px;
    color: var(--hn-white-50);
    margin-top: 16px;
    line-height: 1.7;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 400;
    color: var(--hn-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 13px;
    color: var(--hn-white-50);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--hn-gold);
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hn-white-20);
    border-radius: 50%;
    color: var(--hn-white-50);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--hn-gold);
    color: var(--hn-gold);
}

.footer-bottom {
    border-top: 1px solid var(--hn-border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--hn-white-50);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: var(--hn-white-50);
}

/* ── Página de Detalhe da Experiência ─────────────── */
.tour-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.tour-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.tour-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, var(--hn-dark) 100%);
}

.tour-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
    width: 100%;
}

.tour-breadcrumb {
    font-size: 12px;
    color: var(--hn-white-50);
    margin-bottom: 16px;
}

.tour-breadcrumb a {
    color: var(--hn-white-50);
}

.tour-breadcrumb a:hover {
    color: var(--hn-gold);
}

.tour-detail {
    padding: 60px 0 100px;
}

.tour-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.tour-detail-main h2 {
    margin-bottom: 16px;
}

.tour-detail-main p {
    margin-bottom: 16px;
    color: var(--hn-white-70);
    font-size: 15px;
}

.tour-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 30px 0;
}

.tour-info-item {
    background: var(--hn-card-bg);
    padding: 20px;
    border: 1px solid var(--hn-border);
}

.tour-info-item .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--hn-gold);
    margin-bottom: 6px;
}

.tour-info-item .value {
    font-size: 15px;
    color: var(--hn-white);
    font-weight: 300;
}

.tour-inclusions {
    margin-top: 30px;
}

.tour-inclusions h3 {
    margin-bottom: 12px;
    font-size: 16px;
}

.tour-inclusions ul {
    list-style: none;
    padding: 0;
}

.tour-inclusions li {
    padding: 8px 0;
    border-bottom: 1px solid var(--hn-border);
    font-size: 14px;
    color: var(--hn-white-70);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tour-inclusions li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.tour-inclusions li.included svg {
    color: #4CAF50;
}

.tour-inclusions li.excluded svg {
    color: #F44336;
}

/* ── Sidebar de Reserva ──────────────────────────── */
.tour-sidebar {
    position: sticky;
    top: 100px;
}

.booking-card {
    background: var(--hn-card-bg);
    border: 1px solid var(--hn-border);
    padding: 30px;
}

.booking-card .price-display {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--hn-border);
}

.booking-card .price-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--hn-white-50);
    margin-bottom: 4px;
}

.booking-card .price-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--hn-gold);
}

.booking-card .price-value small {
    font-size: 14px;
    color: var(--hn-white-50);
}

.booking-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
}

.booking-card .tour-highlights {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--hn-border);
}

.booking-card .tour-highlights li {
    font-size: 13px;
    color: var(--hn-white-70);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.booking-card .tour-highlights li svg {
    width: 14px;
    height: 14px;
    color: var(--hn-gold);
    flex-shrink: 0;
}

/* ── Loading & States ────────────────────────────── */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 2px solid var(--hn-border);
    border-top-color: var(--hn-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state svg {
    width: 64px;
    height: 64px;
    color: var(--hn-white-20);
    margin-bottom: 16px;
}

.empty-state h3 {
    color: var(--hn-white-50);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--hn-white-50);
}

/* ── Galeria de imagens ──────────────────────────── */
.tour-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-top: 30px;
}

.tour-gallery-item {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: opacity 0.3s;
    border: 1px solid var(--hn-border);
}

.tour-gallery-item:hover {
    opacity: 0.8;
}

/* ── Responsivo ──────────────────────────────────── */
@media (max-width: 1024px) {
    .tours-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .tour-detail-grid {
        grid-template-columns: 1fr;
    }

    .tour-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--hn-dark-90);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        backdrop-filter: blur(10px);
    }

    .navbar-nav.open {
        display: flex;
    }

    .navbar-toggle {
        display: block;
    }

    .hero {
        min-height: 60vh;
    }

    .tours-grid {
        grid-template-columns: 1fr;
    }

    .tour-info-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .section {
        padding: 60px 0;
    }
}

/* ── Animações ───────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── WhatsApp Float ──────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1000;
    width: 55px;
    height: 55px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    color: white;
}
