/* ============================================================
   A VIDA NÃO É SÓ TRILHAR — Design System v2
   Dark Theme · Portal Outdoor · Exploração & Aventura
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
    /* Cores – Dark Theme */
    --clr-bg:            #0B0F14;
    --clr-bg-card:       #151B23;
    --clr-bg-card-hover: #1A2230;
    --clr-bg-surface:    #111820;
    --clr-bg-nav:        rgba(11,15,20,.92);
    --clr-border:        rgba(255,255,255,.07);

    /* Texto */
    --clr-text:          #E6E6E6;
    --clr-text-sec:      #B8C1CC;
    --clr-text-muted:    #6B7A8D;

    /* Cores de destaque */
    --clr-accent:        #2ECC71;
    --clr-accent-hover:  #27AE60;
    --clr-link:          #2C7BE5;
    --clr-link-hover:    #4A9AF5;

    /* Efeitos */
    --shadow-sm:  0 1px 4px rgba(0,0,0,.25);
    --shadow-md:  0 4px 16px rgba(0,0,0,.35);
    --shadow-lg:  0 8px 32px rgba(0,0,0,.45);
    --shadow-glow: 0 0 20px rgba(46,204,113,.15);

    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-full: 50px;

    --transition:      all .3s cubic-bezier(.4,0,.2,1);
    --transition-fast: all .18s ease;

    /* Tipografia */
    --font-body:    'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;

    --max-width: 1280px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background: var(--clr-bg);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height:1.2; color: var(--clr-text); }
a { text-decoration:none; color: var(--clr-link); transition: var(--transition-fast); }
a:hover { color: var(--clr-link-hover); }
ul { list-style:none; }
img { max-width:100%; display:block; }
.container { max-width: var(--max-width); margin:0 auto; padding:0 clamp(1rem,4vw,3rem); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top:0; left:0; width:100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 84px;
    background: transparent;
    transition: var(--transition);
}
.navbar.scrolled {
    background: var(--clr-bg-nav);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 1px 0 var(--clr-border), var(--shadow-sm);
    height: 72px;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    transition: var(--transition);
    padding: 0 .5rem;
}
.logo-link:hover { transform: scale(1.03); }
.logo-link:hover .logo-text { color: var(--clr-accent); }
.logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}
.navbar.scrolled .logo-img { height: 50px; }
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.3px;
    transition: var(--transition);
    white-space: nowrap;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
}
.nav-links a {
    color: rgba(255,255,255,.8);
    font-weight: 600;
    font-size: .9rem;
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}
.nav-links a:hover {
    color: #fff;
    background: rgba(255,255,255,.06);
}
/* Active Nav Item */
.nav-links a.nav-link.active {
    background: var(--clr-accent);
    color: var(--clr-bg) !important;
    font-weight: 700;
    padding: .5rem 1.25rem;
    border-radius: var(--radius-full);
}
.nav-links a.nav-link.active:hover {
    background: var(--clr-accent-hover);
    box-shadow: var(--shadow-glow);
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    z-index: 1001;
}
.menu-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.open span:nth-child(2) { opacity:0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/hero-mountains.png') center/cover no-repeat;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        175deg,
        rgba(11,15,20,.78) 0%,
        rgba(11,15,20,.55) 50%,
        rgba(11,15,20,.82) 100%
    );
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding: 8rem 1.5rem 5rem;
    max-width: 860px;
    margin: 0 auto;
}
.hero-content h1 {
    font-size: clamp(2.5rem, 7vw, 4.2rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -.5px;
    opacity:0; transform:translateY(30px);
    animation: fadeUp .9s ease forwards;
}
.hero-content h1 .accent { color: var(--clr-accent); }
.hero-content p {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    color: var(--clr-text-sec);
    max-width: 620px;
    margin-bottom: 2.5rem;
    opacity:0; transform:translateY(30px);
    animation: fadeUp .9s ease .15s forwards;
}
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem; left:50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2.2s infinite;
}
.scroll-indicator a {
    color: rgba(255,255,255,.45);
    font-size: 1.6rem;
    text-decoration: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--clr-accent);
    color: var(--clr-bg);
    box-shadow: 0 4px 15px rgba(46,204,113,.3);
}
.btn-primary:hover {
    background: var(--clr-accent-hover);
    color: var(--clr-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46,204,113,.35), var(--shadow-glow);
}
.btn-outline {
    background: transparent;
    color: var(--clr-accent);
    border: 2px solid var(--clr-accent);
}
.btn-outline:hover {
    background: var(--clr-accent);
    color: var(--clr-bg);
}
.btn-sm { padding: .6rem 1.4rem; font-size: .9rem; }
.btn-hero-outline { border-color: rgba(255,255,255,.4); color: rgba(255,255,255,.9); }
.btn-hero-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* Hero dual buttons */
.hero-buttons {
    display: flex; gap: 1rem; align-items: center;
    justify-content: center; flex-wrap: wrap;
    opacity:0; transform:translateY(30px);
    animation: fadeUp .9s ease .3s forwards;
}
/* Legacy compat */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 2rem;
    background: var(--clr-accent);
    color: var(--clr-bg);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(46,204,113,.3);
    opacity:0; transform:translateY(30px);
    animation: fadeUp .9s ease .3s forwards;
}
.cta-button:hover {
    background: var(--clr-accent-hover);
    color: var(--clr-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46,204,113,.35);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
    padding: 8rem 5% 3.5rem;
    text-align: center;
    background: linear-gradient(175deg, #0D1520 0%, var(--clr-bg) 100%);
    border-bottom: 1px solid var(--clr-border);
}
.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: .6rem;
}
.page-header .breadcrumb {
    font-size: .85rem;
    color: var(--clr-text-muted);
}
.page-header .breadcrumb a {
    color: var(--clr-text-sec);
}
.page-header .breadcrumb a:hover { color: var(--clr-accent); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 5rem 0; }
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: .4rem;
}
.section-header p {
    color: var(--clr-text-sec);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
}

/* ============================================================
   CARDS GRID
   ============================================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}
.card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.card:hover {
    transform: translateY(-6px);
    border-color: rgba(46,204,113,.2);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(46,204,113,.06);
    background: var(--clr-bg-card-hover);
}
.card:hover .card-body h3 { color: var(--clr-accent); }
.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--clr-bg-surface);
}
.card-body {
    padding: 1.5rem;
    flex:1;
    display:flex;
    flex-direction:column;
}
.card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .5rem;
    transition: var(--transition-fast);
}
.card-body p {
    color: var(--clr-text-sec);
    font-size: .92rem;
    flex: 1;
    line-height: 1.65;
}
.card-link {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--clr-accent);
    font-weight: 600;
    font-size: .9rem;
    transition: var(--transition-fast);
}
.card-link:hover { gap: .75rem; }

/* ============================================================
   SUBCATEGORY CARDS
   ============================================================ */
.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}
.subcategory-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
    border-left: 3px solid var(--clr-accent);
}
.subcategory-card:hover {
    border-color: rgba(46,204,113,.25);
    border-left-color: var(--clr-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.subcategory-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.15rem;
    color: var(--clr-text);
}
.subcategory-card ul { display:flex; flex-direction:column; gap:.55rem; }
.subcategory-card li a {
    color: var(--clr-text-sec);
    font-size: .92rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .25rem 0;
    transition: var(--transition-fast);
}
.subcategory-card li a::before {
    content: '›';
    color: var(--clr-accent);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}
.subcategory-card li a:hover {
    color: var(--clr-accent);
    padding-left: .35rem;
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--clr-bg-surface);
}
.gallery-item img {
    width:100%; height:100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,15,20,.6) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover::after { opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #080C10;
    border-top: 1px solid var(--clr-border);
    padding: 4rem 0 0;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(1rem,4vw,3rem);
}
.footer-brand { display: flex; flex-direction: column; gap: .75rem; }
.footer-logo { height: 48px; width: auto; object-fit: contain; opacity: .8; transition: var(--transition-fast); }
.footer-logo:hover { opacity: 1; }
.footer-tagline { color: var(--clr-text-muted); font-size: .85rem; line-height: 1.55; max-width: 220px; }
.footer-col h4 {
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--clr-accent);
    letter-spacing: .3px;
    text-transform: uppercase;
}
.footer-col ul { display:flex; flex-direction:column; gap:.5rem; }
.footer-col a {
    color: var(--clr-text-muted);
    font-size: .88rem;
    transition: var(--transition-fast);
}
.footer-col a:hover { color: var(--clr-text); padding-left: .3rem; }
.footer-bottom {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    border-top: 1px solid var(--clr-border);
    font-size: .82rem;
    color: var(--clr-text-muted);
}
.footer-bottom p { margin-bottom: .25rem; }
.footer-legal a { color: var(--clr-text-muted); transition: var(--transition-fast); }
.footer-legal a:hover { color: var(--clr-accent); }

/* ============================================================
   SECTION ALTERNATING BG
   ============================================================ */
.section-alt { background: var(--clr-bg-surface); }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ============================================================
   DESTINATION OVERLAY CARDS
   ============================================================ */
.card-destination { position: relative; }
.card-destination .card-img { height: 260px; transition: transform .5s ease; }
.card-destination:hover .card-img { transform: scale(1.04); }
.card-destination-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(11,15,20,.8) 0%, rgba(11,15,20,.15) 55%, transparent 100%);
    transition: var(--transition);
}
.card-destination:hover .card-destination-overlay {
    background: linear-gradient(to top, rgba(11,15,20,.88) 0%, rgba(11,15,20,.25) 55%, transparent 100%);
}
.card-tag {
    display: inline-block;
    padding: .2rem .7rem;
    background: var(--clr-accent);
    color: var(--clr-bg);
    border-radius: var(--radius-full);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .5rem;
    width: fit-content;
}
.card-destination-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}
.card-location {
    color: var(--clr-text-sec);
    font-size: .85rem;
    margin-top: .2rem;
}

/* Difficulty levels */
.card-level { font-weight: 700; font-size: .78rem; }
.card-level--easy { color: #2ECC71; }
.card-level--moderate { color: #F39C12; }
.card-level--hard { color: #E74C3C; }

/* ============================================================
   ARTICLE CARDS
   ============================================================ */
.cards-grid-3 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.cards-grid-4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card-article .card-img { height: 190px; }
.card-meta-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: .6rem; gap: .5rem;
}
.card-read-time {
    font-size: .75rem; color: var(--clr-text-muted); font-weight: 500;
    white-space: nowrap;
}
.card-category {
    display: inline-block;
    padding: .15rem .6rem;
    background: rgba(46,204,113,.12);
    color: var(--clr-accent);
    border-radius: var(--radius-sm);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: .6rem;
    width: fit-content;
}

/* ============================================================
   GUIDE CARDS (horizontal)
   ============================================================ */
.guides-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.guide-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}
.guide-card:hover {
    border-color: rgba(46,204,113,.2);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
    background: var(--clr-bg-card-hover);
}
.guide-icon { font-size: 2rem; flex-shrink: 0; }
.guide-body { flex: 1; }
.guide-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .3rem; transition: var(--transition-fast); }
.guide-card:hover .guide-body h3 { color: var(--clr-accent); }
.guide-body p { color: var(--clr-text-sec); font-size: .9rem; line-height: 1.55; }
.guide-arrow { color: var(--clr-accent); font-size: 1.3rem; font-weight: 700; transition: var(--transition-fast); flex-shrink: 0; }
.guide-card:hover .guide-arrow { transform: translateX(4px); }

/* ============================================================
   CATEGORIES CHIPS
   ============================================================ */
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}
.cat-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .7rem 1.4rem;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-full);
    color: var(--clr-text-sec);
    font-size: .92rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}
.cat-chip:hover {
    background: var(--clr-accent);
    color: var(--clr-bg);
    border-color: var(--clr-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ============================================================
   EDITORIAL GALLERY / INSTAGRAM
   ============================================================ */
.editorial-gallery {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
}
.editorial-gallery h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
}
.editorial-lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.editorial-gallery p {
    color: var(--clr-text-sec);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.editorial-highlight {
    color: var(--clr-text);
    font-weight: 600;
    margin: 2rem 0;
}
.editorial-call {
    font-size: 1.15rem;
    color: var(--clr-accent) !important;
    font-weight: 700;
    margin-bottom: 2rem !important;
}
.btn-instagram {
    display: inline-flex;
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
    padding: 1rem 2.5rem;
}
.instagram-icon {
    display: inline-block;
    vertical-align: middle;
}
.editorial-note {
    font-size: .85rem !important;
    color: var(--clr-text-muted) !important;
}

/* ============================================================
   STORY / HISTORY CARDS
   ============================================================ */
.card-story .card-body { gap: .4rem; }
.card-quote {
    display: block;
    font-style: italic;
    color: var(--clr-text-muted);
    font-size: .85rem;
    border-left: 2px solid var(--clr-accent);
    padding-left: .75rem;
    margin: .5rem 0;
    line-height: 1.5;
}

/* ============================================================
   ABOUT BLOCK (EEAT)
   ============================================================ */
.about-block {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 0;
}
.about-block h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.about-block p {
    color: var(--clr-text-sec);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ============================================================
   PROMO / ADVERTISE BLOCK
   ============================================================ */
.promo-block {
    background: linear-gradient(135deg, #0D1520, #111D2C);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    text-align: center;
}
.promo-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.promo-content > p {
    color: var(--clr-text-sec);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 1.75rem;
}
.promo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.promo-tags span {
    padding: .4rem 1rem;
    background: rgba(46,204,113,.08);
    color: var(--clr-accent);
    border: 1px solid rgba(46,204,113,.2);
    border-radius: var(--radius-full);
    font-size: .82rem;
    font-weight: 600;
}

/* ============================================================
   FEATURES GRID (Diferencial)
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.feature-item {
    padding: 2rem;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}
.feature-item:hover {
    border-color: rgba(46,204,113,.18);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.feature-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.feature-item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.feature-item p { color: var(--clr-text-sec); font-size: .9rem; line-height: 1.6; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
    to { opacity:1; transform:translateY(0); }
}
@keyframes bounce {
    0%,20%,50%,80%,100% { transform:translateY(0) translateX(-50%); }
    40%  { transform:translateY(-14px) translateX(-50%); }
    60%  { transform:translateY(-6px) translateX(-50%); }
}
.reveal {
    opacity:0;
    transform:translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity:1;
    transform:translateY(0);
}

/* ============================================================
   DESTINATION TEMPLATE
   ============================================================ */
.destination-page { background: var(--clr-bg); }

/* Dest Hero */
.dest-hero {
    position: relative;
    padding: 10rem 0 5rem;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(175deg, #0D1520 0%, var(--clr-bg) 100%);
    border-bottom: 1px solid var(--clr-border);
}
.dest-hero-content {
    position: relative; z-index: 2;
    width: 100%;
}
.breadcrumb-nav { margin-bottom: 1.5rem; }
.breadcrumb-list {
    display: flex; flex-wrap: wrap; gap: .5rem;
    font-size: .85rem; color: var(--clr-text-muted);
}
.breadcrumb-list li { display: flex; align-items: center; gap: .5rem; }
.breadcrumb-list li:not(:last-child)::after { content: '/'; color: var(--clr-border); }
.breadcrumb-list a { color: var(--clr-text-sec); }
.breadcrumb-list a:hover { color: var(--clr-accent); }

.dest-title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; margin-bottom: .25rem; line-height: 1.1; }
.dest-location { font-size: 1.25rem; color: var(--clr-accent); font-weight: 600; margin-bottom: 1.5rem; }
.dest-summary { font-size: 1.15rem; color: var(--clr-text-sec); max-width: 800px; line-height: 1.6; margin-bottom: 2rem; }

.dest-badges { display: flex; flex-wrap: wrap; gap: .75rem; }
.dest-badge {
    padding: .4rem 1rem; border-radius: var(--radius-full);
    font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}
.dest-badge-type { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.level-easy { background: rgba(46,204,113,.15); color: #2ECC71; border: 1px solid rgba(46,204,113,.3); }
.level-moderate { background: rgba(243,156,18,.15); color: #F39C12; border: 1px solid rgba(243,156,18,.3); }
.level-hard { background: rgba(231,76,60,.15); color: #E74C3C; border: 1px solid rgba(231,76,60,.3); }
.dest-badge-season { background: rgba(44,123,229,.15); color: #2C7BE5; border: 1px solid rgba(44,123,229,.3); }

/* Dest Layout (Sidebar + Content) */
.dest-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    padding: 3rem 1rem 6rem;
}

/* Sidebar / TOC */
.dest-sidebar { position: relative; }
.toc-sticky {
    position: sticky; top: 100px;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.toc-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--clr-border); color: #fff; }
.toc-list { display: flex; flex-direction: column; gap: .4rem; }
.toc-list a {
    display: block; color: var(--clr-text-sec); font-size: .9rem;
    padding: .3rem 0 .3rem .75rem; border-left: 2px solid transparent;
    transition: var(--transition-fast);
}
.toc-list a:hover { color: #fff; }
.toc-list a.active { color: var(--clr-accent); border-left-color: var(--clr-accent); font-weight: 600; }

/* Content Sections */
.dest-content { min-width: 0; }
.dest-section { scroll-margin-top: 100px; margin-bottom: 3rem; }
.dest-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1.5rem; color: #fff; }
.dest-section h3 { font-size: 1.4rem; font-weight: 700; margin: 2rem 0 1rem; color: var(--clr-text); }
.dest-section p { font-size: 1.1rem; color: var(--clr-text-sec); line-height: 1.8; margin-bottom: 1.25rem; }
.dest-divider { border: 0; height: 1px; background: var(--clr-border); margin: 3rem 0; }

/* Data Lists & Grids */
.data-list { margin-bottom: 1.5rem; }
.data-list li { font-size: 1.05rem; margin-bottom: .5rem; padding-left: 1.5rem; position: relative; color: var(--clr-text-sec); }
.data-list li::before { content: '•'; position: absolute; left: 0; color: var(--clr-accent); font-weight: bold; }
.data-list strong { color: #fff; }

.data-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.data-box {
    background: var(--clr-bg-card); border: 1px solid var(--clr-border);
    padding: 1.5rem; border-radius: var(--radius-md); text-align: center;
}
.data-icon { font-size: 2rem; display: block; margin-bottom: .75rem; }
.data-box strong { display: block; font-size: 1.1rem; color: #fff; margin-bottom: .25rem; }
.data-box span { color: var(--clr-text-sec); font-size: .95rem; }

/* Transport Options */
.transport-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.transport-card {
    background: var(--clr-bg-surface); border: 1px solid var(--clr-border);
    padding: 1.5rem; border-radius: var(--radius-md);
}
.transport-icon { font-size: 1.8rem; margin-bottom: 1rem; display: block; }
.transport-card h4 { font-size: 1.1rem; margin-bottom: .5rem; color: #fff; }
.transport-card p { font-size: .95rem; margin-bottom: 0; }

/* Info Split */
.info-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.info-block h3 { margin-top: 0; }

/* Seasons */
.season-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.season-card { padding: 1.5rem; border-radius: var(--radius-md); border: 1px solid var(--clr-border); }
.season-good { background: rgba(46,204,113,.08); border-color: rgba(46,204,113,.2); }
.season-bad { background: rgba(231,76,60,.08); border-color: rgba(231,76,60,.2); }
.season-card h4 { margin-top: 0; margin-bottom: .75rem; }

/* Alerts */
.alert-box {
    padding: 1rem 1.5rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-size: 1.05rem;
}
.alert-warning { background: rgba(243,156,18,.15); border: 1px solid rgba(243,156,18,.4); color: #F39C12; }
.alert-warning strong { color: #F39C12; }

/* Lists (Activities, Highlights, Itinerary) */
.activity-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: .75rem; }
.activity-list li { background: var(--clr-bg-surface); padding: .75rem 1rem; border-radius: var(--radius-sm); font-size: .95rem; }

.highlight-list li { margin-bottom: 1rem; font-size: 1.05rem; padding-left: 1.5rem; position: relative; }
.highlight-list li::before { content: '🌟'; position: absolute; left: 0; top: 2px; font-size: 1rem; }
.highlight-list strong { color: var(--clr-accent); }

.itinerary-list li { margin-bottom: 1.25rem; font-size: 1.05rem; border-left: 2px solid var(--clr-accent); padding-left: 1rem; }
.itinerary-list strong { color: #fff; display: block; margin-bottom: .25rem; }

/* Tables */
.table-responsive { overflow-x: auto; margin-top: 1.5rem; }
.cost-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.cost-table th { background: var(--clr-bg-card); color: #fff; text-align: left; padding: 1rem; border-bottom: 2px solid var(--clr-border); }
.cost-table td { padding: 1rem; border-bottom: 1px solid var(--clr-border); color: var(--clr-text-sec); font-size: 1.05rem; }
.cost-table tr:hover td { background: var(--clr-bg-surface); }
.cost-table td:nth-child(2) { color: var(--clr-accent); font-weight: 600; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; max-width: 320px;
        height: 100vh;
        background: #0D1520;
        flex-direction: column;
        padding: 5.5rem 2rem 2rem;
        gap: .25rem;
        transition: right .35s ease;
        box-shadow: -8px 0 30px rgba(0,0,0,.5);
        border-left: 1px solid var(--clr-border);
        overflow-y: auto;
    }
    .nav-links.open { right: 0; }
    .nav-links a {
        color: var(--clr-text-sec) !important;
        font-size: 1.05rem;
        padding: .75rem 1rem;
        border-radius: var(--radius-sm);
    }
    .nav-links a:hover,
    .nav-links a.active { color: var(--clr-accent) !important; background: rgba(255,255,255,.04); }
    .nav-links a.nav-cta {
        margin-left: 0;
        margin-top: .5rem;
        text-align: center;
        justify-content: center;
    }
    .hero-content { padding: 7rem 1.25rem 4rem; }
    .hero-content h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
    .cards-grid { grid-template-columns: 1fr; }
    .cards-grid-3 { grid-template-columns: 1fr; }
    .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .subcategory-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid-home { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .guide-card { flex-direction: column; text-align: center; }
    .guide-arrow { display: none; }
    .promo-block { padding: 2.5rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
    .logo-img { height: 52px; }
    .logo-text { font-size: .95rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; justify-content: center; max-width: 320px; }

    /* Destination Template Responsive */
    .dest-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .toc-sticky { position: static; max-height: none; }
    .info-split { grid-template-columns: 1fr; gap: 1.5rem; }
    .season-grid { grid-template-columns: 1fr; }
    .dest-hero { padding-top: 8rem; min-height: 50vh; }
    .dest-title { font-size: 2.2rem; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid-home { grid-template-columns: 1fr; }
    .cards-grid-4 { grid-template-columns: 1fr; }
    .page-header { padding: 7rem 1.25rem 2.5rem; }
    .section { padding: 3.5rem 0; }
    .logo-img { height: 46px; }
    .logo-text { display: none; }
    .promo-block { padding: 2rem 1.25rem; }
    .promo-content h2 { font-size: 1.5rem; }
    .cat-chip { font-size: .82rem; padding: .55rem 1rem; }
}

/* Hero tagline below image */
.hero-tagline {
    background: linear-gradient(90deg, #111D2C, #0A131E);
    border-bottom: 1px solid var(--clr-border);
    padding: .85rem 0;
    text-align: center;
}
.hero-tagline p {
    color: var(--clr-text-sec);
    font-size: .95rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: .2px;
}
@media (max-width: 768px) {
    .hero-tagline p { font-size: .85rem; }
}

/* ============================================================
   BLOG CATEGORIES GRID (5+4 centered layout)
   ============================================================ */
.blog-categories-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 1.5rem;
}
.blog-categories-grid .blog-cat-card:nth-child(1) { grid-column: 1 / 3; }
.blog-categories-grid .blog-cat-card:nth-child(2) { grid-column: 3 / 5; }
.blog-categories-grid .blog-cat-card:nth-child(3) { grid-column: 5 / 7; }
.blog-categories-grid .blog-cat-card:nth-child(4) { grid-column: 7 / 9; }
.blog-categories-grid .blog-cat-card:nth-child(5) { grid-column: 9 / 11; }
.blog-categories-grid .blog-cat-card:nth-child(6) { grid-column: 2 / 4; }
.blog-categories-grid .blog-cat-card:nth-child(7) { grid-column: 4 / 6; }
.blog-categories-grid .blog-cat-card:nth-child(8) { grid-column: 6 / 8; }
.blog-categories-grid .blog-cat-card:nth-child(9) { grid-column: 8 / 10; }

.blog-cat-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    min-height: 0;
}
.blog-cat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(46,204,113,.25);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(46,204,113,.06);
    background: var(--clr-bg-card-hover);
}
.blog-cat-card:hover h3 { color: var(--clr-accent); }

.blog-cat-icon {
    font-size: 2.2rem;
    margin-bottom: .85rem;
    line-height: 1;
}
.blog-cat-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .45rem;
    color: var(--clr-text);
    transition: var(--transition-fast);
    line-height: 1.3;
}
.blog-cat-card p {
    color: var(--clr-text-sec);
    font-size: .82rem;
    line-height: 1.5;
    flex: 1;
}
.blog-cat-card .card-link {
    margin-top: .85rem;
    font-size: .82rem;
}

/* ---- Blog Categories Responsive ---- */

/* Notebook / telas médias: 3 por linha, centralizado */
@media (max-width: 1200px) {
    .blog-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .blog-categories-grid .blog-cat-card {
        grid-column: auto !important;
    }
}

/* Tablet: 2 por linha */
@media (max-width: 768px) {
    .blog-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Mobile: 1 por linha */
@media (max-width: 480px) {
    .blog-categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ============================================================
   GLOBAL SEARCH NAV
   ============================================================ */
.nav-search-item {
    margin-left: .5rem;
    display: flex;
    align-items: center;
}
.nav-search-form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: var(--transition);
}
.nav-search-form:focus-within {
    background: rgba(255,255,255,.1);
    border-color: var(--clr-accent);
    box-shadow: 0 0 10px rgba(46,204,113,.15);
}
.nav-search-form input {
    background: transparent;
    border: none;
    color: #fff;
    padding: .45rem .8rem .45rem 1rem;
    font-family: inherit;
    font-size: .88rem;
    width: 220px;
    outline: none;
    transition: var(--transition);
}
.nav-search-form input::placeholder {
    color: rgba(255,255,255,.4);
}
.navbar.scrolled .nav-search-form input {
    width: 180px; 
}
.nav-search-form button {
    background: transparent;
    border: none;
    color: var(--clr-accent);
    padding: 0 .8rem 0 .2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.nav-search-form button:hover {
    color: #fff;
    transform: scale(1.05);
}

/* Mobile Adjustments for Search */
@media (max-width: 900px) {
    .nav-search-item {
        margin: 1rem 0 0 0;
        width: 100%;
        padding: 0 1rem;
    }
    .nav-search-form {
        width: 100%;
        background: rgba(255,255,255,.08);
    }
    .nav-search-form input {
        width: 100%;
        padding: .75rem 1rem;
        font-size: 1rem;
    }
}

/* ============================================================
   SEARCH RESULTS PAGE
   ============================================================ */
.search-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.search-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}
.search-header p {
    color: var(--clr-text-sec);
    font-size: 1.15rem;
}
.search-header .highlight-term {
    color: var(--clr-accent);
    font-weight: 700;
}
.search-results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 860px;
    margin: 0 auto;
}
.search-result-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}
.search-result-card:hover {
    border-color: rgba(46,204,113,.2);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    background: var(--clr-bg-card-hover);
}
.search-result-category {
    font-size: .75rem;
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: .5rem;
    display: block;
}
.search-result-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--clr-text);
}
.search-result-card:hover .search-result-title {
    color: var(--clr-accent);
}
.search-result-desc {
    color: var(--clr-text-sec);
    font-size: .95rem;
    line-height: 1.6;
}
.search-result-empty {
    text-align: center;
    padding: 4rem 1rem;
    background: var(--clr-bg-card);
    border-radius: var(--radius-md);
    border: 1px dashed var(--clr-border);
    max-width: 860px;
    margin: 0 auto;
}
.search-result-empty p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}
