/* ==========================================================================
   Flagship Home Styles — Parque das Cascatas (Cartografia da Serra 60-30-10)
   ========================================================================== */

/* Header */
.home-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 65;
    padding: 12px 0;
    background: linear-gradient(180deg, rgba(8, 24, 18, 0.85) 0%, rgba(8, 24, 18, 0) 100%);
    transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
    border-bottom: 1px solid transparent;
}

.home-header.is-scrolled {
    background: rgba(13, 36, 27, 0.96);
    backdrop-filter: blur(10px);
    padding: 9px 0;
    border-bottom-color: rgba(242, 239, 233, 0.12);
}

.home-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-link { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-img { height: 42px; width: auto; }

.home-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.home-nav a {
    color: rgba(242, 239, 233, 0.85);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.16s ease;
}

.home-nav a:hover { color: var(--gold-500); }

.home-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-guest-link, .nav-proposta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid rgba(242, 239, 233, 0.24);
    border-radius: var(--radius-sharp);
    color: var(--linen-100);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.16s ease, color 0.16s ease;
}

.nav-guest-link svg { width: 14px; height: 14px; color: var(--gold-500); }
.nav-guest-link:hover, .nav-proposta-link:hover { border-color: var(--gold-500); color: var(--gold-400); }

.btn-header-reserve { padding: 9px 16px; font-size: 0.82rem; }

/* 1st Fold Cinematic Topographic Hero */
.hero-cinema {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding-top: 96px;
    padding-bottom: 34px;
    overflow: hidden;
    background: var(--pine-950);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    animation: heroDrift 24s ease-in-out infinite alternate;
}

@keyframes heroDrift {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 24, 18, 0.78) 0%, rgba(13, 36, 27, 0.35) 45%, rgba(8, 24, 18, 0.94) 92%),
        linear-gradient(90deg, rgba(8, 24, 18, 0.82) 0%, rgba(8, 24, 18, 0.25) 65%);
}

.hero-topo-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-meta-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    color: var(--gold-400);
}

.meta-dot { opacity: 0.5; }

.hero-headline-wrap { max-width: 780px; }

.hero-h1 {
    margin: 0 0 16px;
    font-size: clamp(2.5rem, 6vw, 4.9rem);
    color: var(--linen-100);
}

.hero-h1 em { color: var(--gold-400); }

.hero-lead {
    margin: 0;
    max-width: 600px;
    font-size: clamp(0.98rem, 1.5vw, 1.15rem);
    color: rgba(242, 239, 233, 0.88);
    line-height: 1.65;
}

/* Anchored 3-Door Triage Bar */
.hero-triage-bar {
    margin-top: 12px;
    background: rgba(8, 24, 18, 0.88);
    border: 1px solid rgba(242, 239, 233, 0.2);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
}

.triage-door {
    background: transparent;
    border: none;
    border-right: 1px solid rgba(242, 239, 233, 0.14);
    padding: 16px 18px;
    text-align: left;
    color: var(--linen-100);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.triage-door:hover { background: rgba(242, 239, 233, 0.06); }
.triage-door.active {
    background: rgba(230, 168, 23, 0.12);
    box-shadow: inset 0 -2px 0 var(--gold-500);
}

.td-num {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-500);
    padding-top: 2px;
}

.td-text { display: flex; flex-direction: column; gap: 2px; }
.td-text strong { font-size: 0.9rem; font-weight: 800; color: var(--linen-100); }
.td-text span { font-size: 0.76rem; color: rgba(242, 239, 233, 0.7); }

.triage-cta {
    border-radius: 0;
    padding: 18px 24px;
    white-space: nowrap;
}

/* Chapter Sections */
.chapter-light { padding: clamp(64px, 7vw, 96px) 0; }
.chapter-dark { padding: clamp(64px, 7vw, 96px) 0; }

.chapter-h2-dark {
    margin: 12px 0 20px;
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    color: var(--ink-900);
}

.chapter-h2-light {
    margin: 12px 0 18px;
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    color: var(--linen-100);
}

/* Chapter 01: Territory 62/38 Split */
.territory-split {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 44px;
    align-items: start;
}

.editorial-p {
    margin: 0 0 16px;
    font-size: 1rem;
    color: var(--ink-600);
    max-width: 58ch;
    line-height: 1.75;
}

.territory-telemetry {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--linen-300);
    border-left: 1px solid var(--linen-300);
}

.telemetry-cell {
    padding: 20px 18px;
    border-right: 1px solid var(--linen-300);
    border-bottom: 1px solid var(--linen-300);
    background: rgba(255, 255, 255, 0.45);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tc-code {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--ink-600);
}

.tc-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.05;
}

.tc-note { font-size: 0.78rem; color: var(--ink-600); }

/* Asymmetric Photo Spread (65/35) */
.photo-spread {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 24px;
    align-items: end;
}

.spread-figure { margin: 0; }

.spread-img-wrap {
    overflow: hidden;
    border: 1px solid var(--linen-300);
    border-radius: var(--radius-sharp);
    background: var(--pine-900);
}

.spread-wide .spread-img-wrap { aspect-ratio: 16 / 10; }
.spread-tall .spread-img-wrap { aspect-ratio: 4 / 3.8; }

.spread-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.spread-figure:hover img { transform: scale(1.03); }

.spread-figure figcaption {
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink-600);
}

/* Chapter 02: Rental Flows */
.chapter-head-dark {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 34px;
}

.rental-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(242, 239, 233, 0.16);
    gap: 4px;
}

.rental-tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 13px 18px;
    color: rgba(242, 239, 233, 0.65);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.rental-tab:hover { color: var(--linen-100); background: rgba(242, 239, 233, 0.04); }
.rental-tab.active {
    color: var(--gold-400);
    border-bottom-color: var(--gold-500);
    background: rgba(230, 168, 23, 0.08);
}

.chales-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    align-items: start;
}

.units-column { display: flex; flex-direction: column; gap: 18px; }

.unit-card {
    background: var(--pine-800);
    border: 1px solid rgba(242, 239, 233, 0.14);
    border-radius: var(--radius-sharp);
    overflow: hidden;
}

.unit-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.unit-img img { width: 100%; height: 100%; object-fit: cover; }

.unit-code {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(8, 24, 18, 0.88);
    border: 1px solid rgba(230, 168, 23, 0.55);
    color: var(--gold-400);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 9px;
}

.unit-body { padding: 20px; }

.unit-inline-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.unit-inline-head h3 { margin: 0; }

.unit-rate {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--emerald-bright);
    white-space: nowrap;
}

.unit-rate small {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(242, 239, 233, 0.72);
}

.tariff-rules-box {
    background: var(--pine-950);
    border: 1px solid rgba(230, 168, 23, 0.35);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trb-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold-400);
}

.trb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.trb-grid div {
    padding: 8px 10px;
    background: rgba(242, 239, 233, 0.04);
    border: 1px solid rgba(242, 239, 233, 0.1);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trb-grid span { font-size: 0.74rem; color: rgba(242, 239, 233, 0.72); }
.trb-grid strong { font-size: 0.86rem; color: var(--emerald-bright); }

.trb-note {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(242, 239, 233, 0.8);
    line-height: 1.5;
}

.bb-estimate-box {
    background: #FFFFFF;
    border: 1px solid var(--linen-300);
    border-left: 3px solid var(--emerald-price);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.bbe-row, .bbe-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--ink-600);
}

.bbe-row strong { color: var(--ink-900); font-weight: 700; text-align: right; }
.bbe-surcharge strong { color: #B45309; }

.bbe-total-row {
    padding-top: 8px;
    border-top: 1px solid var(--linen-200);
    font-size: 0.94rem;
    color: var(--ink-900);
    font-weight: 700;
}

.bbe-total-row strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--emerald-price);
}

.bbe-note {
    font-size: 0.73rem;
    color: var(--ink-600);
    line-height: 1.4;
}

.unit-code-inline {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold-400);
}

.unit-tag-emerald {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--emerald-bright);
}

.unit-body h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.55rem;
    color: var(--linen-100);
}

.unit-body p {
    margin: 0 0 14px;
    font-size: 0.88rem;
    color: rgba(242, 239, 233, 0.78);
    line-height: 1.55;
}

.unit-specs {
    list-style: none;
    margin: 0;
    padding: 12px 0 0;
    border-top: 1px solid rgba(242, 239, 233, 0.12);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.unit-specs li {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 9px;
    border: 1px solid rgba(242, 239, 233, 0.18);
    color: var(--linen-100);
}

/* Stepped Pre-Reservation Builder (Warm Linen Surface inside Dark Chapter) */
.booking-builder {
    position: sticky;
    top: 84px;
    background: var(--linen-100);
    color: var(--ink-900);
    border: 1px solid var(--linen-300);
    border-radius: var(--radius-sharp);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bb-step-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--emerald-price);
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.bb-head h3 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--ink-900);
}

.bb-head p { margin: 0; font-size: 0.84rem; color: var(--ink-600); }

.bb-step {
    padding-top: 14px;
    border-top: 1px solid var(--linen-300);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bb-step-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--ink-600);
}

.bb-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bb-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.booking-builder label:not(.r-check) {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--ink-900);
}

.booking-builder input[type="date"],
.booking-builder input[type="text"],
.booking-builder select {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid #BDB5A6;
    border-radius: var(--radius-sharp);
    background: #FFFFFF;
    color: var(--ink-900);
    font-family: var(--font-sans);
    font-size: 0.85rem;
}

.ritual-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.r-check {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 11px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--linen-300);
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
}

.r-check input { accent-color: var(--pine-900); width: 16px; height: 16px; }

.bb-rule-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--linen-200);
    border-left: 3px solid var(--gold-500);
    font-size: 0.8rem;
    color: var(--ink-900);
}
.bb-rule-note svg { width: 16px; height: 16px; color: var(--ink-900); flex-shrink: 0; }
.bb-submit { width: 100%; padding: 15px 20px; font-size: 0.92rem; }

/* Camping & Day Use Panels */
.tariff-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.tariff-card, .structure-card {
    background: var(--pine-800);
    border: 1px solid rgba(242, 239, 233, 0.16);
    border-radius: var(--radius-sharp);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tc-head h3, .structure-card h3 {
    margin: 8px 0 0;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--linen-100);
}

.tariff-rows { display: flex; flex-direction: column; }

.t-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(242, 239, 233, 0.12);
}

.t-row strong { display: block; font-size: 0.94rem; color: var(--linen-100); }
.t-row span { font-size: 0.78rem; color: rgba(242, 239, 233, 0.68); }
.t-price { color: var(--emerald-bright) !important; font-size: 1.05rem !important; white-space: nowrap; }

.rule-banners { display: flex; flex-direction: column; gap: 10px; }

.rule-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 13px;
    background: rgba(8, 24, 18, 0.55);
    border-left: 2px solid var(--gold-500);
    font-size: 0.82rem;
    color: var(--linen-100);
}
.rule-alert svg { width: 16px; height: 16px; color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }

.amenity-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.amenity-columns h4 {
    margin: 0 0 10px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-400);
}

.amenity-columns ul {
    margin: 0;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.86rem;
    color: rgba(242, 239, 233, 0.86);
}

.amenity-columns strong { color: var(--emerald-bright); }

/* Chapter 03: Experiences */
.exp-showcase {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.exp-feature {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 32px;
    align-items: center;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--linen-300);
    padding: 20px;
}

.exp-feature--reverse { grid-template-columns: 1fr 1.15fr; }
.exp-feature--reverse .exp-img { order: 2; }

.exp-img { aspect-ratio: 4 / 3; overflow: hidden; }
.exp-img img { width: 100%; height: 100%; object-fit: cover; }

.exp-copy { padding: 12px 16px; }
.exp-kicker {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--emerald-price);
    margin-bottom: 8px;
}
.exp-copy h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 1.85rem; color: var(--ink-900); }
.exp-copy p { margin: 0; font-size: 0.94rem; color: var(--ink-600); line-height: 1.7; }

/* Chapter 04: Concierge Bridge */
.concierge-bridge {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 36px;
    align-items: center;
}

.cb-p { margin: 0 0 24px; font-size: 0.98rem; color: rgba(242, 239, 233, 0.84); max-width: 56ch; }
.cb-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.cb-ticket-card {
    background: var(--pine-950);
    border: 1px solid rgba(230, 168, 23, 0.38);
    padding: 22px;
}

.cbt-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(242, 239, 233, 0.12);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--linen-100);
}

.cbt-badge { color: var(--emerald-bright); }

.cbt-pre {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.55;
    color: #E2E8F0;
    white-space: pre-wrap;
}

/* Chapter 05: Logistics & FAQ */
.logistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 26px;
}

.log-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--linen-300);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.log-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--ink-600);
}

.log-card strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink-900); }
.log-card p { margin: 0 0 8px; font-size: 0.87rem; color: var(--ink-600); }

.faq-block { margin-top: 48px; }
.faq-title { margin: 0 0 18px; font-size: 1.85rem; color: var(--ink-900); }

.faq-list { border-top: 1px solid var(--linen-300); }
.faq-item { border-bottom: 1px solid var(--linen-300); }

.faq-item summary {
    padding: 18px 0;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--ink-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--ink-600);
}
.faq-item[open] summary::after { content: '−'; }

.faq-item p {
    margin: 0 0 18px;
    font-size: 0.9rem;
    color: var(--ink-600);
    max-width: 72ch;
}

/* Footer */
.home-footer {
    background: var(--pine-950);
    border-top: 1px solid rgba(242, 239, 233, 0.12);
    padding: 36px 0;
}

.home-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo-img { height: 40px; width: auto; margin-bottom: 8px; }
.footer-address { margin: 0; font-size: 0.82rem; color: rgba(242, 239, 233, 0.65); }

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a {
    color: var(--linen-100);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
}
.footer-links a:hover { color: var(--gold-400); }

/* Responsive */
@media (max-width: 980px) {
    .home-nav { display: none; }
    .hero-triage-bar { grid-template-columns: 1fr 1fr; }
    .triage-cta { grid-column: 1 / -1; }
    .territory-split, .photo-spread, .chales-layout, .tariff-panel-grid, .exp-feature, .exp-feature--reverse, .concierge-bridge, .logistics-grid {
        grid-template-columns: 1fr;
    }
    .exp-feature--reverse .exp-img { order: 0; }
    .booking-builder { position: static; }
}

@media (max-width: 640px) {
    .nav-guest-link span, .nav-proposta-link { display: none; }
    .hero-triage-bar { grid-template-columns: 1fr; }
    .triage-door { border-right: none; border-bottom: 1px solid rgba(242, 239, 233, 0.14); }
    .territory-telemetry, .bb-grid-2, .bb-grid-3, .amenity-columns, .trb-grid { grid-template-columns: 1fr; }
    .onira-cta { bottom: 16px; right: 14px; }
}
