@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    --bg-black: #030604;
    --bg-dark: #070d09;
    --primary: #2F7D32;
    --primary-glow: rgba(47, 125, 50, 0.25);
    --primary-hover: #3F8F3F;
    --primary-light: #4C9A2A;
    --forest-deep: #162f1c;
    --stone-gray: #8c9c93;
    --text-light: #f2f5f3;
    --text-muted: #9ab0a2;
    --glass-bg: rgba(7, 13, 9, 0.85);
    --glass-border: rgba(255, 255, 255, 0.04);
    --divider: rgba(255, 255, 255, 0.08);
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Inter', sans-serif;
    --transition-smooth: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-card: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --section-padding: 80px;
}

/* ============================================
   BASE RESET
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-black);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Accessibility Keyboard Focus & Visually Hidden SEO Utilities */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #4ade80;
    outline-offset: 3px;
}

.visually-hidden,
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-black); }
::-webkit-scrollbar-thumb {
    background: var(--forest-deep);
    border: 2px solid var(--bg-black);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ============================================
   FLOATING LEAVES CANVAS
   Always fixed to viewport — does not affect layout
   ============================================ */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    font-weight: 500;
}

/* ============================================
   LAYOUT: CONTAINER & SECTIONS
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* All sections sit in normal document flow */
section {
    position: relative;
    padding: var(--section-padding) 0;
    z-index: 3;
    border-bottom: 1px solid var(--divider);
}

section:last-of-type {
    border-bottom: none;
}

/* ============================================
   SECTION HEADER STYLES
   ============================================ */
.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 680px;
    margin-bottom: 3.5rem;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 3.5rem;
}

/* ============================================
   NAVBAR — Fixed, does not affect flow
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(3, 6, 4, 0.75);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

/* Nav: no logo — menu centered, CTA on right */
.nav-container {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    height: 80px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 1.5rem;
}

/* The menu takes all remaining space and self-centers */
.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    justify-self: start;
    justify-content: center;
    flex: 1;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active { color: var(--text-light); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
    box-shadow: 0 0 6px var(--primary);
}

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

.nav-cta-wrapper { justify-self: end; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    text-decoration: none;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    justify-self: end;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-smooth);
}

/* ============================================
   LUCIDE ICON SYSTEM
   ============================================ */
.lucide {
    display: inline-block;
    width: 44px;
    height: 44px;
    color: var(--primary);
    filter: drop-shadow(0 0 8px rgba(47, 125, 50, 0.4));
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.glass-card:hover .card-icon .lucide,
.immersive-card:hover .secret-icon .lucide {
    transform: scale(1.15);
}

/* Small icons in buttons */
.btn .lucide,
.btn-icon {
    width: 20px;
    height: 20px;
    filter: none;
    flex-shrink: 0;
}

/* Icons in trail/plan icon boxes */
.trail-icon-box .lucide,
.plan-card-icon .lucide {
    width: 24px;
    height: 24px;
    filter: none;
    color: var(--primary-light);
}

/* Trail stop markers */
.stop-marker .lucide {
    width: 28px;
    height: 28px;
}

/* Secret card icons */
.secret-icon .lucide {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 10px rgba(47, 125, 50, 0.7));
}

/* Compact card icons (História section) */
.compact-card .card-icon .lucide {
    width: 32px;
    height: 32px;
}

/* FAQ icon */
.faq-icon .lucide {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform 0.4s ease, color 0.4s ease;
}

.faq-item.active .faq-icon .lucide {
    transform: rotate(45deg);
    color: var(--primary-light);
}

/* Logo leaf */
.logo-leaf.lucide {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 6px var(--primary-glow));
}

/* ============================================
   HERO SECTION
   height: 100vh is correct for the hero — it is
   a standalone fullscreen unit, not a typical section
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    overflow: hidden;
    border-bottom: none;
    /* Hero is not a regular section, so no section padding */
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(3, 6, 4, 0.2) 0%,
        rgba(3, 6, 4, 0.7) 65%,
        var(--bg-black) 100%
    );
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 80px; /* offset for fixed nav */
}

.hero-tag {
    margin-bottom: 2rem;
    display: block;
    animation: fadeInUp 1.2s ease both;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: #fff;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 600;
    background: rgba(14, 30, 18, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    padding: 0.55rem 1.4rem;
}

.hero-title-headline {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.2vw, 4.2rem);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 1.2rem;
    color: var(--text-light);
    animation: fadeInUp 1.5s ease both;
    letter-spacing: -0.02em;
    text-shadow: none;
}

.hero-br {
    display: inline;
}

/* Only 'casa centenária' is bold — no italic */
.hero-bold {
    font-weight: 700;
    color: var(--text-light);
}

.hero-desc {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 2.5rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.8s ease both;
    background: transparent;
    border: none;
    padding: 0;
    text-shadow: none;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 2s ease both;
}

/* Scroll indicator — anchored to bottom of hero, does not affect flow */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
    pointer-events: none;
}

.scroll-indicator span {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(154, 176, 162, 0.5);
    border-radius: 10px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    white-space: nowrap;
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(47, 125, 50, 0.15);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-glowing {
    padding: 1.2rem 2.6rem;
    font-size: 1.05rem;
}

.btn-glowing:hover {
    background: var(--primary-hover);
    box-shadow: 0 8px 30px rgba(47, 125, 50, 0.3);
}

/* ============================================
   GLASS CARDS — Reusable component
   ============================================ */
.glass-card {
    background: rgba(4, 9, 6, 0.9);
    border: 1px solid rgba(47, 125, 50, 0.15);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: var(--transition-card);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(47, 125, 50, 0.08);
    border-color: rgba(47, 125, 50, 0.3);
}

.card-icon {
    margin-bottom: 1.25rem;
    display: block;
    line-height: 1;
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text-light);
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    flex: 1;
}

/* ============================================
   SECTION 2: A EXPERIÊNCIA
   ============================================ */
#experiencia {
    background-color: var(--bg-black);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch; /* equal card heights */
}

/* ============================================
   SECTION 3: HISTÓRIA & MISTÉRIOS
   Two-column layout that grows with content.
   NO fixed heights, no overflow tricks.
   ============================================ */
#mistérios {
    background-color: var(--bg-dark);
}

.mysteries-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mysteries-image-box {
    /* No fixed height — image fills the column fluidly */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    line-height: 0; /* remove inline gap under img */
}

.mysteries-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.88);
    border-radius: 20px;
    /* Enforce a nice aspect ratio on the image */
    aspect-ratio: 3 / 4;
}

.mysteries-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.section-desc-compact {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Two compact info cards stacked vertically on the right */
.mysteries-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.compact-card {
    padding: 1.5rem;
    gap: 0;
}

.compact-card .card-icon {
    margin-bottom: 0.75rem;
}

.mystery-quote-box {
    padding-top: 2rem;
    border-top: 1px solid var(--divider);
}

.mystery-quote {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.5;
    font-style: italic;
    color: var(--text-light);
}

/* ============================================
   SECTION 4: A TRILHA
   ============================================ */
#trilha {
    position: relative;
    overflow: hidden;
}

.trilha-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url('assets/bg-atrilha.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.trilha-bg-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(3, 6, 4, 0.7) 0%,
        rgba(3, 6, 4, 0.25) 50%,
        rgba(3, 6, 4, 0.7) 100%
    );
    z-index: 2;
}

.trilha-bg {
    display: none;
}

.trilha-content {
    position: relative;
    z-index: 10;
}

#trilha .section-header {
    margin-bottom: 4.5rem;
}

.trail-map-container {
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 24px;
    padding: 5.5rem 3rem 4rem;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
    overflow: visible;
}

.trail-map-path {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 5;
    max-width: 1000px;
    margin: 0 auto;
}

.trail-stop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.stop-marker {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--forest-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-card);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.stop-label {
    margin-top: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.98rem;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* Map Connector Line */
.map-connector-line {
    position: absolute;
    top: 33px;
    left: 8%;
    width: 84%;
    height: 4px;
    z-index: 1;
}

.map-connector-line svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.map-connector-line path {
    stroke: var(--forest-deep);
    stroke-width: 2px;
    fill: none;
    stroke-dasharray: 6 6;
}

.map-connector-line .active-trail-line {
    stroke: var(--primary);
    stroke-dasharray: none;
    transition: stroke-dashoffset 0.6s ease;
}

/* Stop Popups — Photo Cards */
.stop-popup {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 200px;
    background: rgba(3, 6, 4, 0.95);
    border: 1px solid rgba(47, 125, 50, 0.4);
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-card);
    z-index: 200;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75);
    pointer-events: none;
}

.stop-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: rgba(3, 6, 4, 0.95) transparent transparent transparent;
}

.stop-popup-img-container {
    position: relative;
    width: 100%;
    height: 125px;
    overflow: hidden;
    border-radius: 13px;
}

.stop-popup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.trail-stop:hover .stop-popup-img {
    transform: scale(1.06);
}

/* Hover / Active states */
.trail-stop:hover .stop-marker,
.trail-stop.active .stop-marker {
    border-color: var(--primary);
    background: var(--forest-deep);
    transform: scale(1.08);
}

.trail-stop:hover .stop-label,
.trail-stop.active .stop-label,
.trail-stop.current-stop .stop-label {
    color: #4ade80;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.trail-stop:hover .stop-popup,
.trail-stop.current-stop .stop-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Trail Info Grid */
.trail-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.trail-info-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: var(--transition-card);
}

.trail-info-card:hover {
    border-color: rgba(47, 125, 50, 0.25);
    transform: translateY(-3px);
}

.trail-icon-box {
    background: rgba(47, 125, 50, 0.08);
    border: 1px solid rgba(47, 125, 50, 0.15);
    border-radius: 10px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trail-info-content h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.trail-info-content p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* ============================================
   SECTION 5: SEGREDOS DA MATA ATLÂNTICA
   ============================================ */
#segredos {
    background-color: var(--bg-dark);
}

.secrets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

.immersive-card {
    position: relative;
    border-radius: 16px;
    padding: 2.5rem 1.75rem;
    text-align: center;
    transition: var(--transition-card);
    overflow: hidden;
    background: rgba(4, 9, 6, 0.95);
    border: 1px solid rgba(47, 125, 50, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.immersive-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
    filter: brightness(1) saturate(1.08);
    transform: scale(1.08);
}

.immersive-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.immersive-card:hover {
    transform: translateY(-8px);
    border-color: rgba(47, 125, 50, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.immersive-card:hover .immersive-bg {
    opacity: 1;
    transform: scale(1);
}

.immersive-card:hover .immersive-content {
    opacity: 0;
    transform: translateY(-10px);
}

.secret-icon {
    margin-bottom: 1.25rem;
    display: block;
    line-height: 1;
}

.secret-title {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text-light);
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.secret-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ============================================
   SECTION 6: PLANEJE SUA VISITA
   ============================================ */
#planejar {
    background-color: var(--bg-black);
}

.plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.plan-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.plan-card {
    background: rgba(4, 9, 6, 0.9);
    border: 1px solid rgba(47, 125, 50, 0.12);
    border-radius: 14px;
    padding: 1.75rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: var(--transition-card);
}

.plan-card:hover {
    border-color: rgba(47, 125, 50, 0.25);
    transform: translateY(-3px);
}

.plan-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(47, 125, 50, 0.08);
    border: 1px solid rgba(47, 125, 50, 0.15);
    border-radius: 10px;
    flex-shrink: 0;
}

.plan-card-content h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--text-light);
}

.plan-card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.plan-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-hover);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.65rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.plan-map-link .lucide,
.plan-map-link i {
    width: 14px;
    height: 14px;
}

.plan-map-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

/* FAQ Accordion */
.faq-container,
.faq-item,
.faq-question-btn,
.faq-question,
.faq-answer,
.faq-answer p {
    font-family: var(--font-display);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(4, 9, 6, 0.9);
    border: 1px solid rgba(47, 125, 50, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-card);
}

.faq-item.active {
    border-color: rgba(47, 125, 50, 0.25);
}

.faq-question-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 1.4rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    outline: none;
    gap: 1rem;
    font-family: var(--font-display);
}

.faq-question {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-light);
    transition: color 0.4s ease;
    line-height: 1.5;
}

.faq-item.active .faq-question {
    color: var(--primary-light);
}

.faq-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.faq-icon .lucide {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform 0.4s ease, color 0.4s ease;
}

.faq-item.active .faq-icon .lucide {
    transform: rotate(45deg);
    color: var(--primary-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
}

/* ============================================
   SECTION 7: CTA / RESERVAR
   Uses position:relative + absolute bg — valid pattern.
   The section height is set by its content (padding).
   ============================================ */
.cta {
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
    border-bottom: none;
}

.cta-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url('assets/cta.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-bg-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(3, 6, 4, 0.7) 0%,
        rgba(3, 6, 4, 0.25) 50%,
        rgba(3, 6, 4, 0.7) 100%
    );
    z-index: 2;
}

.cta-bg {
    display: none;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.35;
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

.cta-btn-wrapper {
    margin-bottom: 1.5rem;
}

.cta-note {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ============================================
   FOOTER — Minimal Centered
   ============================================ */
.footer-minimal {
    background: #020402;
    border-top: 1px solid var(--divider);
    padding: 2.5rem 0;
    position: relative;
    z-index: 10;
}

.footer-minimal-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
    font-family: var(--font-display);
}

.footer-credit {
    color: rgba(154, 176, 162, 0.6);
    font-size: 0.82rem;
    font-family: var(--font-display);
}

.footer-credit strong {
    color: rgba(154, 176, 162, 0.9);
    font-weight: 600;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40%  { transform: translateX(-50%) translateY(-8px); }
    60%  { transform: translateX(-50%) translateY(-4px); }
}

@keyframes scrollWheel {
    0%   { opacity: 1; top: 6px; }
    50%  { opacity: 0.3; top: 18px; }
    100% { opacity: 0; top: 18px; }
}

/* Scroll-reveal */
.reveal-item {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s ease-out, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Nav CTA hidden by default on desktop */
.mobile-cta-li { display: none; }

/* ============================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
    :root { --section-padding: 70px; }

    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .secrets-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mysteries-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .mysteries-img {
        aspect-ratio: 16 / 9;
    }

    .mysteries-content {
        padding: 0;
    }

    .trail-map-container {
        padding: 4rem 2rem 3rem;
    }

    .trail-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plan-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

/* ============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================ */
@media (max-width: 768px) {
    :root { --section-padding: 60px; }

    /* Nav — Hide top bar and menu on mobile */
    .navbar {
        display: none !important;
    }

    /* Hero — Mobile top positioning, lighter overlay & typography refinement */
    .hero {
        align-items: flex-start;
        height: auto;
        min-height: 100vh;
        padding-top: 4.25rem;
        padding-bottom: 4rem;
    }
    .hero-bg-wrapper::after {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.25) 45%,
            transparent 85%
        );
    }
    .hero-bg {
        content: url('assets/bg-mobile-valeverde.webp');
    }
    .hero-bg-wrapper {
        background-image: url('assets/bg-mobile-valeverde.webp');
        background-size: cover;
        background-position: center;
    }
    .hero-content {
        padding-top: 0.5rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .hero-tag {
        margin-bottom: 1.25rem;
    }
    .hero-badge {
        font-size: 0.7rem;
        letter-spacing: 4px;
        padding: 0.5rem 1.2rem;
        background: rgba(8, 20, 11, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    .hero-br { display: none; }
    .hero-title-headline {
        font-size: clamp(1.85rem, 7.4vw, 2.7rem);
        font-weight: 500;
        line-height: 0.98;
        margin-bottom: 16px;
        text-shadow: none;
    }
    .hero-desc {
        display: block;
        font-family: var(--font-body);
        font-size: clamp(1.15rem, 4.6vw, 1.35rem);
        font-weight: 500;
        line-height: 1.2;
        color: #072800;
        letter-spacing: 0.2px;
        text-shadow: none;
        margin-bottom: 2rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        background: transparent;
        border: none;
        padding: 0;
    }
    .hero-buttons { flex-direction: column; gap: 1rem; }

    /* Mysteries */
    .mysteries-cards-stack { gap: 0.75rem; }
    .mysteries-img { aspect-ratio: 4 / 3; }
    .mystery-quote-box { padding-top: 1.25rem; }
    .mystery-quote {
        font-size: 1.05rem;
        line-height: 1.45;
    }

    /* Trail Mobile Timeline — Big Full-Width Photo Cards & Mobile Background */
    .trilha-bg {
        content: url('assets/bg-opercurso.webp');
    }
    .trilha-bg-wrapper {
        background-image: url('assets/bg-opercurso.webp');
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }
    #trilha .section-header { margin-bottom: 2.5rem; }
    
    .trail-info-card {
        background: rgba(3, 6, 4, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }
    .trail-map-path {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .trail-stop {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
    }

    .stop-label {
        font-size: 1.08rem;
        font-weight: 600;
        color: #ffffff;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
        margin-top: 0.5rem;
    }

    .map-connector-line { display: none; }

    .stop-popup {
        position: relative;
        left: 0;
        transform: translateY(-12px);
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        margin-top: 0;
        transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.4s ease;
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
        border: none;
        border-radius: 16px;
        visibility: hidden;
    }

    .stop-popup-img-container {
        width: 100%;
        height: 200px;
        border-radius: 16px;
        overflow: hidden;
    }

    .stop-popup-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
        display: block;
    }

    .stop-popup::after { display: none; }

    .trail-stop:hover .stop-popup,
    .trail-stop.current-stop .stop-popup {
        max-height: 240px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 0.9rem;
        border: 1px solid rgba(47, 125, 50, 0.45);
    }

    /* Immersive Cards Mobile Refinements */
    .immersive-card {
        padding: 2.2rem 1.5rem;
    }

    .secret-icon {
        margin-bottom: 1rem;
    }

    .secret-icon .lucide {
        width: 36px;
        height: 36px;
    }

    .secret-title {
        font-size: 1.28rem;
        font-weight: 600;
        margin-bottom: 0.65rem;
        color: #ffffff;
    }

    .secret-desc {
        font-size: 0.98rem;
        line-height: 1.55;
        color: rgba(255, 255, 255, 0.88);
    }

    .immersive-card.mobile-revealed .immersive-bg {
        opacity: 1;
        transform: scale(1);
    }
    .immersive-card.mobile-revealed .immersive-content {
        opacity: 0;
        transform: translateY(-10px);
    }

    /* Experience Grid → 2 columns x 2 rows on mobile */
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }

    .experience-grid .glass-card {
        padding: 1.15rem 0.9rem;
    }

    .experience-grid .card-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 0.75rem;
    }

    .experience-grid .card-icon .lucide {
        width: 20px;
        height: 20px;
    }

    .experience-grid .card-title {
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
    }

    .experience-grid .card-text {
        font-size: 0.78rem;
        line-height: 1.45;
    }

    /* Secrets & Trail Info Grids → single column */
    .secrets-grid,
    .trail-info-grid {
        grid-template-columns: 1fr;
    }

    /* Section titles */
    .section-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    /* CTA */
    .cta { padding: 7rem 0; }
    .cta-bg-wrapper { background-attachment: scroll; }
    .cta-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================ */
@media (max-width: 480px) {
    :root { --section-padding: 50px; }

    .container { padding: 0 1.25rem; }
    .btn { padding: 0.9rem 1.8rem; font-size: 0.85rem; }
    .section-desc { margin-bottom: 2.5rem; }

    .trail-map-container { padding: 3rem 1.25rem 2.5rem; }
    .plan-grid { gap: 2.5rem; }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
    background-color: #20ba5a;
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
}
