/* ═══════════════════════════════════════════════════════════════════════
   CANTOS DA MATA · Pousada — Chapada dos Guimarães, MT
   Static, build-free, animated. Forest editorial design system.
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────────────────────── */
:root {
    /* neutral base (kept from original composition) */
    --black: #0d0d0c;
    --ink: #1a1a17;
    --cream: #F5F1E8;
    --beige: #EAE4D6;
    --brown: #8B7355;
    --brown-dark: #5A4A3A;
    --grey: #888888;

    /* forest palette — the "ar de floresta" */
    --green-deep: #16301f;
    --green-canopy: #1f3d2b;
    --green-moss: #3c5a36;
    --green-leaf: #6b8e23;
    --green-mist: rgba(107, 142, 35, 0.10);
    --gold: #c9a14a;

    --maxw: 1400px;
    --header-h: 64px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-soft: 0 18px 50px -20px rgba(0,0,0,0.45);
    --shadow-card: 0 24px 60px -30px rgba(0,0,0,0.6);

    --font-body: 'Inter', system-ui, sans-serif;
    --font-display: 'Fraunces', 'Lora', Georgia, serif;
    --font-serif: 'Lora', Georgia, serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Lenis controls scroll; disable native smooth when active */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; }
img { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--green-leaf); color: var(--cream); }

/* custom scrollbar */
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: var(--beige); }
body::-webkit-scrollbar-thumb { background: var(--brown); border-radius: 10px; }

/* ─── ACCESSIBILITY ─────────────────────────────────────────────────── */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 3px solid var(--green-leaf);
    outline-offset: 2px;
    border-radius: 2px;
}
/* darker ring on light surfaces keeps >=3:1 contrast */
.section--cream :focus-visible, .section--beige :focus-visible,
.interlude :focus-visible, .quote :focus-visible { outline-color: var(--green-moss); }

.sr-only {
    position: absolute !important; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: -120px; left: 1rem; z-index: 3500;
    background: var(--green-moss); color: var(--cream); padding: 0.85rem 1.4rem;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    text-decoration: none; transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 1rem; outline: 3px solid var(--cream); }

/* ─── UTILITIES ─────────────────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
@media (max-width: 600px) { .container { padding: 0 1.25rem; } }

.eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--brown);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.eyebrow::before {
    content: '';
    width: 22px; height: 1px;
    background: var(--brown);
    display: inline-block;
}
.eyebrow.no-line::before { display: none; }
.eyebrow.center { justify-content: center; }

.display { font-style: italic; }

.section { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--beige { background: var(--beige); }
.section--dark { background: var(--black); color: var(--cream); }
.section--forest {
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(107,142,35,0.12), transparent 60%),
        linear-gradient(160deg, var(--green-deep), var(--green-canopy));
    color: var(--cream);
}

.lead { font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.85; font-family: var(--font-serif); }

/* buttons */
.btn {
    display: inline-flex; align-items: center; gap: 0.7rem;
    padding: 0.95rem 2.1rem;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    text-decoration: none; cursor: pointer; border: none;
    transition: all 0.4s var(--ease); position: relative; overflow: hidden;
    font-family: var(--font-body);
}
.btn--primary { background: var(--brown); color: var(--cream); }
.btn--primary:hover { background: var(--brown-dark); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--leaf { background: var(--green-moss); color: var(--cream); }
.btn--leaf:hover { background: var(--green-canopy); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--outline { background: transparent; color: currentColor; border: 1px solid currentColor; }
.btn--outline:hover { background: var(--cream); color: var(--black); border-color: var(--cream); }
.btn--whats { background: #1faf54; color: #fff; }
.btn--whats:hover { background: #178f44; transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(31,175,84,0.6); }
.btn svg { width: 16px; height: 16px; }

.arrow-link {
    display: inline-flex; align-items: center; gap: 0.7rem;
    color: var(--brown); text-decoration: none;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    transition: gap 0.3s var(--ease);
}
.arrow-link::after { content: '→'; transition: transform 0.3s var(--ease); }
.arrow-link:hover { gap: 1.1rem; }
.arrow-link:hover::after { transform: translateX(4px); }
.arrow-link.on-dark { color: var(--green-leaf); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-top: 1rem; }
.section-head p { margin-top: 1rem; color: var(--brown-dark); font-size: 1rem; }
.section--dark .section-head p, .section--forest .section-head p { color: rgba(245,241,232,0.7); }

/* ─── REVEAL ANIMATIONS (GSAP toggles .is-in; CSS is the fallback too) ─ */
[data-reveal] { opacity: 0; transform: translateY(38px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal]:not(.is-in) { will-change: opacity, transform; }
[data-reveal="left"] { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="zoom"] { transform: scale(0.94); }
[data-reveal].is-in { opacity: 1; transform: none; will-change: auto; }
[data-reveal-delay="1"] { transition-delay: 0.12s; }
[data-reveal-delay="2"] { transition-delay: 0.24s; }
[data-reveal-delay="3"] { transition-delay: 0.36s; }
[data-reveal-delay="4"] { transition-delay: 0.48s; }
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ─── SCROLL PROGRESS BAR ───────────────────────────────────────────── */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: linear-gradient(90deg, var(--green-leaf), var(--gold));
    z-index: 2000; transition: width 0.1s linear;
}

/* ─── HEADER / NAV ──────────────────────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: background 0.5s var(--ease), backdrop-filter 0.5s, box-shadow 0.5s, height 0.4s;
    background: linear-gradient(to bottom, rgba(10,10,9,0.55), transparent);
}
.site-header.is-solid {
    background: rgba(13,13,12,0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(139,115,85,0.25), 0 8px 30px -16px rgba(0,0,0,0.6);
}
.header-inner {
    max-width: 100%; padding: 0 2.2rem; height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.brand-name {
    font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
    color: var(--cream); letter-spacing: 0.1em; text-transform: uppercase;
}
.brand-name small { display: block; font-size: 0.5rem; letter-spacing: 0.35em; color: var(--green-leaf); font-family: var(--font-body); font-weight: 500; }

.nav { display: flex; align-items: center; height: 100%; gap: 0.2rem; min-width: 0; }
.nav-link {
    position: relative; height: 100%; display: flex; align-items: center;
    padding: 0 0.95rem; color: rgba(245,241,232,0.72); text-decoration: none;
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    cursor: pointer; transition: color 0.3s; background: none; border: none; font-family: var(--font-body);
}
.nav-link:hover, .nav-link.is-active { color: var(--cream); }
.nav-link::after {
    content: ''; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 14px; height: 2px;
    background: var(--green-leaf); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.has-drop { position: relative; }
.drop {
    position: absolute; top: 100%; left: 0; min-width: 230px;
    background: rgba(13,13,12,0.97); backdrop-filter: blur(8px);
    border-top: 2px solid var(--green-leaf);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all 0.3s var(--ease); padding: 0.5rem 0;
}
.has-drop:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a {
    display: block; padding: 0.7rem 1.4rem; color: rgba(245,241,232,0.7);
    font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
    text-decoration: none; border-left: 3px solid transparent; transition: all 0.25s;
}
.drop a:hover { color: var(--cream); background: var(--green-mist); border-left-color: var(--green-leaf); }

.nav-cta { margin-left: 0.8rem; padding: 0.6rem 1.4rem; font-size: 0.62rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--cream); transition: all 0.35s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* mobile drawer */
.mobile-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--black);
    z-index: 999; transform: translateX(100%); visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0s 0.45s;
    overflow-y: auto; padding: 1.5rem 0 3rem;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; transition: transform 0.45s var(--ease), visibility 0s 0s; }
.m-link {
    display: block; width: 100%; text-align: left; padding: 1rem 1.8rem; color: rgba(245,241,232,0.8);
    background: none; border: none; border-bottom: 1px solid rgba(139,115,85,0.18); font-family: inherit;
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.m-link:hover { color: var(--green-leaf); background: var(--green-mist); }
.m-sub { background: rgba(0,0,0,0.4); border-left: 3px solid var(--green-leaf); display: none; }
.m-sub.is-open { display: block; }
.m-sub a { display: block; padding: 0.8rem 1.8rem 0.8rem 3rem; color: rgba(245,241,232,0.6); font-size: 0.72rem; text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em; }
.m-sub a:hover { color: var(--green-leaf); }

@media (max-width: 1100px) {
    .nav { display: none; }
    .nav-toggle { display: flex; }
}

/* ─── PAGES / ROUTER ────────────────────────────────────────────────── */
.route { display: none; }
.route.is-active { display: block; animation: pageIn 0.7s var(--ease) both; }
main { padding-top: 0; }
.route > section:first-child { margin-top: 0; }

@keyframes pageIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* sub-pages start under the fixed header */
.page-hero { margin-top: 0; }

/* ─── FOREST DECORATIONS ────────────────────────────────────────────── */
.leaf-fall { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.leaf {
    position: absolute; top: -8%; width: 26px; height: 26px; opacity: 0; color: var(--green-leaf);
    animation: leafFall linear infinite;
}
@keyframes leafFall {
    0% { transform: translateY(-10vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateY(112vh) rotate(420deg); opacity: 0; }
}

/* canopy silhouette divider */
.canopy { position: absolute; left: 0; width: 100%; line-height: 0; z-index: 2; pointer-events: none; }
.canopy--top { top: 0; }
.canopy--bottom { bottom: 0; transform: rotate(180deg); }
.canopy svg { width: 100%; height: 80px; display: block; }

/* vine with swinging monkey */
.vine-scene { position: relative; height: 0; z-index: 5; }
.monkey-swing { position: absolute; top: -10px; right: 8%; width: 92px; transform-origin: top center; }
.monkey-swing svg { width: 100%; height: auto; }

@keyframes monkeyPend { 0%, 100% { transform: rotate(-13deg); } 50% { transform: rotate(13deg); } }

/* peeking monkey */
.monkey-peek { position: absolute; bottom: 0; width: 120px; z-index: 4; opacity: 0.9; pointer-events: none; }

/* paw trail */
.paw-trail { display: flex; gap: 1.2rem; justify-content: center; align-items: center; opacity: 0.5; }
.paw-trail svg { width: 22px; height: 22px; color: var(--brown); }

@media (prefers-reduced-motion: reduce) {
    .leaf, .monkey-swing { animation: none !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* ─── HOME: HERO ────────────────────────────────────────────────────── */
.hero {
    position: relative; height: 100vh; min-height: 640px; overflow: hidden;
    display: flex; align-items: center; justify-content: center; text-align: center; background: var(--black);
}
.hero-media { position: absolute; inset: -10% 0; z-index: 0; }
.hero-media img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.hero-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,9,0.45) 0%, rgba(10,10,9,0.35) 40%, rgba(10,10,9,0.8) 100%);
}
.hero-content { position: relative; z-index: 6; padding: 0 1.5rem; max-width: 980px; }
.hero-eyebrow { color: var(--green-leaf); margin-bottom: 1.6rem; justify-content: center; }
.hero h1 { font-size: clamp(3rem, 11vw, 7.5rem); color: var(--cream); font-style: italic; letter-spacing: -0.01em; }
.hero-tagline { font-size: clamp(0.95rem, 2.2vw, 1.3rem); color: rgba(245,241,232,0.78); font-weight: 300; margin: 1.5rem 0 2.6rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 6;
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
    color: rgba(245,241,232,0.55); font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-scroll .line { width: 1px; height: 46px; background: linear-gradient(var(--green-leaf), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.4; transform: scaleY(0.7); } 50% { opacity: 1; transform: scaleY(1); } }

/* marquee ribbon */
.marquee { background: var(--green-deep); color: var(--cream); padding: 0.9rem 0; overflow: hidden; white-space: nowrap; border-block: 1px solid rgba(107,142,35,0.25); }
.marquee-track { display: inline-flex; gap: 2.5rem; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--font-display); font-style: italic; font-size: 1rem; opacity: 0.85; }
.marquee span::after { content: '✦'; margin-left: 2.5rem; color: var(--green-leaf); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* intro split */
.intro { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; }
.intro-media { position: relative; min-height: 540px; overflow: hidden; background: var(--green-canopy); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; }
.intro-media .cap { position: absolute; bottom: 1.4rem; left: 1.4rem; font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,241,232,0.7); z-index: 2; }
.intro-text { background: var(--black); color: var(--cream); display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 6vw, 6rem); }
.intro-text h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-style: italic; margin: 1.4rem 0; }
.intro-text p { color: rgba(245,241,232,0.68); margin-bottom: 1.2rem; }

/* logo interlude */
.interlude { text-align: center; }
.interlude .mark { margin: 1.5rem auto; width: 64px; }
.interlude p { max-width: 660px; margin: 1.5rem auto 0; font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.9; color: var(--brown-dark); }

/* highlights */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.hl {
    position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--green-canopy);
    display: flex; align-items: flex-end; cursor: pointer;
}
.hl-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.2s var(--ease); }
.hl:hover .hl-bg { transform: scale(1.07); }
.hl::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,9,0.9), rgba(10,10,9,0.05) 65%, transparent); }
.hl-body { position: relative; z-index: 2; padding: 2.4rem 2rem; }
.hl-num { font-size: 0.6rem; letter-spacing: 0.2em; color: var(--green-leaf); text-transform: uppercase; }
.hl-body h3 { font-size: 1.5rem; color: var(--cream); font-style: italic; margin: 0.6rem 0; }
.hl-body p { font-size: 0.85rem; color: rgba(245,241,232,0.7); max-height: 0; overflow: hidden; opacity: 0; transition: all 0.5s var(--ease); }
.hl:hover .hl-body p { max-height: 200px; opacity: 1; margin-bottom: 0.8rem; }

/* generic card grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }

.card {
    background: var(--black); color: var(--cream); overflow: hidden;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.card-media { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--green-canopy); }
.card-media img, .card-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card-media img { transform: scale(1.08); }
.card-tag { position: absolute; top: 1rem; left: 1rem; background: rgba(13,13,12,0.8); color: var(--green-leaf); font-size: 0.55rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.4rem 0.8rem; z-index: 2; }
.card-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.3rem; color: var(--cream); margin-bottom: 0.6rem; }
.card-body p { font-size: 0.85rem; color: rgba(245,241,232,0.66); margin-bottom: 1.2rem; flex: 1; }

/* photo placeholder (forest gradient) */
.ph { display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); color: rgba(245,241,232,0.5); font-size: 0.9rem; letter-spacing: 0.05em; text-align: center; padding: 1rem; }
.ph--forest { background: linear-gradient(135deg, var(--green-deep), var(--green-moss), var(--green-deep)); }
.ph--rock { background: linear-gradient(135deg, #2a2018, #5a4a3a, #2a2018); }
.ph--water { background: linear-gradient(135deg, #102b2e, #1a4a50, #102b2e); }
.ph--sunset { background: linear-gradient(135deg, #3a2010, #7a4a1a, #3a2010); }

/* quote banner */
.quote { background: var(--brown); text-align: center; }
.quote blockquote { max-width: 860px; margin: 0 auto; font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 3.2vw, 2.4rem); color: var(--cream); line-height: 1.45; }
.quote cite { display: block; margin-top: 1.8rem; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(245,241,232,0.7); font-style: normal; }

/* accommodations preview rows */
.accom-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.accom-row:nth-child(even) .accom-media { order: 2; }
.accom-media { overflow: hidden; position: relative; background: var(--green-canopy); aspect-ratio: 4/3; }
.accom-media img, .accom-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.accom-row:hover .accom-media img { transform: scale(1.05); }
.accom-text { background: var(--black); color: var(--cream); display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 5vw, 4.5rem); }
.accom-text h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-style: italic; margin: 1rem 0 1.2rem; }
.accom-text p { color: rgba(245,241,232,0.66); margin-bottom: 1.8rem; }

/* sustainability stats */
.sustain { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.sustain h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-style: italic; margin: 1rem 0 1.4rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.stat { border-top: 2px solid var(--green-leaf); padding-top: 1rem; }
.stat-num { font-family: var(--font-display); font-size: 2.4rem; color: var(--green-moss); line-height: 1; }
.section--dark .stat-num, .section--forest .stat-num { color: var(--green-leaf); }
.stat-label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brown-dark); margin-top: 0.4rem; }
.section--dark .stat-label, .section--forest .stat-label { color: rgba(245,241,232,0.7); }

/* testimonials */
.testi-track { display: flex; gap: 1.2rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
.testi-track::-webkit-scrollbar { display: none; }
.testi { flex: 0 0 360px; scroll-snap-align: start; background: rgba(245,241,232,0.04); border: 1px solid rgba(107,142,35,0.2); padding: 2rem; }
.testi-stars { color: var(--gold); letter-spacing: 0.1em; margin-bottom: 1rem; }
.testi-text { font-family: var(--font-serif); font-style: italic; color: rgba(245,241,232,0.78); margin-bottom: 1.4rem; line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: 0.8rem; }
.testi-av { width: 40px; height: 40px; border-radius: 50%; background: var(--green-moss); color: var(--cream); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); }
.testi-name { font-size: 0.82rem; font-weight: 600; color: var(--cream); }
.testi-origin { font-size: 0.7rem; color: rgba(245,241,232,0.45); }
@media (max-width: 520px) { .testi { flex-basis: 280px; } }

/* gallery strip + full grid */
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.g-cell { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--green-canopy); cursor: pointer; display: block; width: 100%; padding: 0; border: 0; color: inherit; font: inherit; }
.gallery-strip .g-cell { aspect-ratio: 16/10; }
.g-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g-cell:hover img { transform: scale(1.08); }
.g-cell::after { content: '+'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--cream); background: rgba(13,13,12,0.35); opacity: 0; transition: opacity 0.4s; font-family: var(--font-body); font-weight: 300; }
.g-cell:hover::after { opacity: 1; }
@media (max-width: 800px) { .gallery-strip { grid-template-columns: 1fr 1fr; } .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(8,8,7,0.95); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; animation: pageIn 0.4s var(--ease); }
.lightbox img { max-width: 90vw; max-height: 82vh; object-fit: contain; box-shadow: var(--shadow-card); }
.lb-btn { position: absolute; background: none; border: none; color: var(--cream); cursor: pointer; font-size: 2.4rem; padding: 1rem; opacity: 0.7; transition: opacity 0.3s; font-family: var(--font-body); }
.lb-btn:hover { opacity: 1; }
.lb-close { top: 1rem; right: 1.4rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: rgba(245,241,232,0.6); font-size: 0.75rem; letter-spacing: 0.1em; }

/* ─── PAGE HERO (sub-pages) ─────────────────────────────────────────── */
.page-hero { position: relative; min-height: 70vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--black); color: var(--cream); }
.page-hero-media { position: absolute; inset: -8% 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 116%; object-fit: cover; }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,9,0.92), rgba(10,10,9,0.3) 70%, rgba(10,10,9,0.5)); }
.page-hero .inner { position: relative; z-index: 3; padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-style: italic; margin-top: 1rem; }
.page-hero .sub { color: rgba(245,241,232,0.75); font-size: clamp(1rem, 2vw, 1.25rem); max-width: 620px; margin-top: 1rem; font-family: var(--font-serif); }
.breadcrumb { display: flex; gap: 0.6rem; font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,241,232,0.55); }
.breadcrumb a { color: var(--green-leaf); text-decoration: none; cursor: pointer; }

/* ─── CHALÉS overview ───────────────────────────────────────────────── */
.lodge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.lodge-card { position: relative; aspect-ratio: 16/11; overflow: hidden; cursor: pointer; background: var(--green-canopy); display: flex; align-items: flex-end; }
.lodge-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.3s var(--ease); }
.lodge-card:hover .lodge-card-bg { transform: scale(1.07); }
.lodge-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,9,0.92), transparent 60%); }
.lodge-card-body { position: relative; z-index: 2; padding: 2.2rem; color: var(--cream); width: 100%; }
.lodge-card-body .num { font-size: 0.6rem; letter-spacing: 0.2em; color: var(--green-leaf); text-transform: uppercase; }
.lodge-card-body h3 { font-size: 1.9rem; font-style: italic; margin: 0.4rem 0 0.6rem; }
.lodge-card-body p { font-size: 0.85rem; color: rgba(245,241,232,0.72); margin-bottom: 0.8rem; max-width: 90%; }

/* ─── LODGE DETAIL ──────────────────────────────────────────────────── */
.lodge-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.lodge-intro h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-style: italic; margin-bottom: 1.4rem; }
.lodge-intro p { color: var(--brown-dark); margin-bottom: 1.2rem; font-size: 1rem; line-height: 1.9; }
.ficha { background: var(--black); color: var(--cream); padding: 2rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.ficha h4 { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-leaf); margin-bottom: 1.2rem; }
.ficha ul { list-style: none; }
.ficha li { display: flex; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(139,115,85,0.2); font-size: 0.85rem; color: rgba(245,241,232,0.8); align-items: center; }
.ficha li svg { width: 18px; height: 18px; color: var(--green-leaf); flex-shrink: 0; }
.ficha .btn { width: 100%; justify-content: center; margin-top: 1.4rem; }
.amenities { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.amenity { font-size: 0.72rem; letter-spacing: 0.05em; padding: 0.5rem 0.9rem; border: 1px solid var(--brown); border-radius: 100px; color: var(--brown-dark); }

.lodge-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(139,115,85,0.3); padding-top: 2rem; margin-top: 1rem; }

/* ─── PASSEIOS ──────────────────────────────────────────────────────── */
.tour { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; align-items: stretch; background: var(--black); color: var(--cream); overflow: hidden; }
.tour:nth-child(even) .tour-media { order: 2; }
.tour-media { position: relative; min-height: 420px; overflow: hidden; background: linear-gradient(135deg, var(--green-deep), var(--green-moss)); }
.tour-media img, .tour-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-media .badge { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 3; background: rgba(13,13,12,0.75); color: var(--green-leaf); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.45rem 0.9rem; }
.tour-body { padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.tour-body h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-style: italic; margin: 0.8rem 0 1rem; }
.tour-body p { color: rgba(245,241,232,0.7); margin-bottom: 1.2rem; }
.tour-meta { display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 0.5rem 0 1.4rem; }
.tour-meta div { font-size: 0.72rem; }
.tour-meta .k { color: var(--green-leaf); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.58rem; }
.tour-meta .v { color: var(--cream); margin-top: 0.2rem; }
.partner-note { font-size: 0.75rem; color: rgba(245,241,232,0.5); border-left: 2px solid var(--green-leaf); padding-left: 0.9rem; margin-top: 0.6rem; }

/* ─── GASTRONOMIA / generic split rows ─────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split + .split { margin-top: clamp(3rem, 6vw, 5rem); }
.split.flip .split-media { order: 2; }
.split-media { aspect-ratio: 4/3; overflow: hidden; background: var(--green-canopy); }
.split-media img, .split-media .ph { width: 100%; height: 100%; object-fit: cover; }
.split-text h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-style: italic; margin-bottom: 1.2rem; }
.split-text p { color: var(--brown-dark); margin-bottom: 1rem; }
.section--dark .split-text p { color: rgba(245,241,232,0.68); }

.info-list { list-style: none; margin-top: 1rem; }
.info-list li { display: flex; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(139,115,85,0.25); }
.info-list .k { min-width: 150px; color: var(--brown); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; }
.section--dark .info-list .k { color: var(--green-leaf); }
.info-list .v { color: var(--brown-dark); font-size: 0.92rem; }
.section--dark .info-list .v { color: rgba(245,241,232,0.8); }

/* ─── CONTATO ───────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-card { background: var(--black); color: var(--cream); padding: clamp(2rem, 4vw, 3rem); }
.contact-card h3 { font-size: 1.6rem; font-style: italic; margin-bottom: 1.4rem; }
.contact-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(139,115,85,0.2); align-items: flex-start; }
.contact-item svg { width: 22px; height: 22px; color: var(--green-leaf); flex-shrink: 0; margin-top: 2px; }
.contact-item .k { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,241,232,0.5); }
.contact-item a, .contact-item span { color: var(--cream); text-decoration: none; font-size: 0.95rem; display: block; margin-top: 0.2rem; }
.contact-item a:hover { color: var(--green-leaf); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown); font-weight: 600; margin-bottom: 0.5rem; }
.field input, .field textarea { width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--brown); background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 0.95rem; transition: border-color 0.3s; }
.field input:focus, .field textarea:focus { border-color: var(--green-moss); box-shadow: 0 0 0 3px rgba(60,90,54,0.30); }
.field textarea { min-height: 130px; resize: vertical; }
.map-embed { width: 100%; aspect-ratio: 16/9; border: 0; filter: grayscale(0.3) contrast(1.05); }

/* floating whatsapp */
.fab-whats {
    position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 1500;
    width: 58px; height: 58px; border-radius: 50%; background: #1faf54; color: #fff;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -10px rgba(31,175,84,0.7);
    text-decoration: none; transition: transform 0.3s var(--ease); animation: fabPulse 2.6s infinite;
}
.fab-whats:hover { transform: scale(1.1); }
.fab-whats svg { width: 30px; height: 30px; }
@keyframes fabPulse { 0%,100% { box-shadow: 0 12px 30px -10px rgba(31,175,84,0.7), 0 0 0 0 rgba(31,175,84,0.4); } 50% { box-shadow: 0 12px 30px -10px rgba(31,175,84,0.7), 0 0 0 14px rgba(31,175,84,0); } }

/* ─── FOOTER ────────────────────────────────────────────────────────── */
.site-footer { background: var(--black); color: var(--cream); padding: clamp(3rem, 6vw, 5rem) 0 2rem; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand p { color: rgba(245,241,232,0.6); font-size: 0.88rem; margin-top: 1.2rem; max-width: 320px; line-height: 1.8; }
.footer-col h4 { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green-leaf); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a, .footer-col p { color: rgba(245,241,232,0.62); text-decoration: none; font-size: 0.85rem; cursor: pointer; transition: color 0.25s; line-height: 1.7; }
.footer-col a:hover { color: var(--green-leaf); }
.social { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.social a { width: 38px; height: 38px; border: 1px solid rgba(139,115,85,0.4); display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.social a:hover { background: var(--green-moss); border-color: var(--green-moss); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(139,115,85,0.25); padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.72rem; color: rgba(245,241,232,0.45); }
.footer-bottom a { color: rgba(245,241,232,0.55); text-decoration: none; }

/* ─── RESPONSIVE ────────────────────────────────────────────────────── */
@media (max-width: 980px) {
    .intro, .sustain, .contact-grid, .lodge-intro, .split, .tour, .accom-row { grid-template-columns: 1fr; }
    .accom-row:nth-child(even) .accom-media, .tour:nth-child(even) .tour-media, .split.flip .split-media { order: 0; }
    .highlights, .grid-3 { grid-template-columns: 1fr; }
    .lodge-grid { grid-template-columns: 1fr; }
    .ficha { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery-strip { grid-template-columns: 1fr 1fr; }
    .tour-media { min-height: 300px; }
    .intro-media { min-height: 320px; }
}
@media (max-width: 720px) {
    .grid-2, .form-row, .stats { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
}
@media (max-width: 520px) {
    .lightbox img { max-width: 96vw; }
    .lb-btn { font-size: 1.9rem; }
    .lb-prev, .lb-next { background: rgba(13,13,12,0.55); border-radius: 50%; width: 2.6rem; height: 2.6rem; padding: 0; display: flex; align-items: center; justify-content: center; }
    .lb-prev { left: 0.5rem; }
    .lb-next { right: 0.5rem; }
    .lb-close { background: rgba(13,13,12,0.55); border-radius: 50%; width: 2.6rem; height: 2.6rem; padding: 0; display: flex; align-items: center; justify-content: center; top: 0.8rem; right: 0.8rem; }
}
