/* Páginas internas: blog, artigos, privacidade e créditos */

.page-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 240, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.page-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.page-header .brand__logo { height: 54px; }
.page-header nav { display: flex; align-items: center; gap: 1.2rem; font-size: var(--text-sm); font-weight: 600; }
.page-header nav a { text-decoration: none; }
.page-header nav a:hover { color: var(--ocean-ink); }
@media (max-width: 640px) { .page-header nav .hide-sm { display: none; } }

.page-hero { padding: clamp(3rem, 6vw, 6rem) 0 clamp(2rem, 4vw, 3.5rem); }
.page-hero h1 { font-size: var(--text-3xl); max-width: 18ch; text-wrap: balance; }
.page-hero p:not(.eyebrow):not(.post-card__tag) { margin-top: 1rem; font-size: var(--text-lg); color: var(--ink-2); max-width: 56ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: var(--text-xs); color: var(--ink-3); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--ocean-ink); text-decoration: none; font-weight: 600; }

/* Lista do blog */
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(1.2rem, 2.5vw, 2.2rem); padding-bottom: var(--section); }
.blog-list .post-card p { color: var(--ink-2); font-size: var(--text-sm); }
.blog-list .post-card--soon { opacity: 0.7; pointer-events: none; }
.blog-list .post-card--soon img { filter: grayscale(0.6); }

/* Artigo */
.article { padding-bottom: var(--section); }
.article__cover { width: min(100% - 2 * var(--gutter), 1100px); margin: 0 auto clamp(2rem, 4vw, 3.5rem); aspect-ratio: 21 / 9; border-radius: var(--r-xl); overflow: hidden; position: relative; z-index: 2; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; font-size: var(--text-sm); color: var(--ink-3); margin-top: 1.2rem; }
.prose { width: min(100% - 2 * var(--gutter), 720px); margin-inline: auto; font-size: clamp(1.05rem, 1rem + 0.25vw, 1.15rem); line-height: 1.75; color: #20394a; position: relative; z-index: 2; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: var(--text-2xl); margin-top: 1.5em; color: var(--ink); }
.prose h3 { font-size: var(--text-xl); margin-top: 1.8em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; list-style: revert; }
.prose li + li { margin-top: 0.45em; }
.prose a { color: var(--ocean-ink); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.8em 0; padding: 1.2em 1.4em; border-left: 4px solid var(--ocean); background: var(--foam); border-radius: 0 var(--r-md) var(--r-md) 0; font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.4; color: var(--ink); }
.prose figure img { border-radius: var(--r-lg); }
.prose figcaption { font-size: var(--text-xs); color: var(--ink-3); margin-top: 0.5rem; }
.tip { padding: 1.2rem 1.4rem; border-radius: var(--r-lg); background: var(--shell); }
.tip strong { display: block; font-family: var(--font-display); font-size: var(--text-lg); margin-bottom: 0.3rem; }

.article-cta { width: min(100% - 2 * var(--gutter), 900px); margin: clamp(3rem, 5vw, 5rem) auto 0; padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: var(--r-xl); background: var(--deep); color: var(--white); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; position: relative; z-index: 2; overflow: hidden; }
.article-cta h2 { font-size: var(--text-xl); }
.article-cta p { color: rgba(255, 255, 255, 0.8); margin-top: 0.4rem; max-width: 46ch; }

/* Página legal e créditos */
.legal .prose h2 { font-size: var(--text-xl); }
.legal .notice { padding: 1rem 1.2rem; border-radius: var(--r-md); background: var(--foam); color: var(--ocean-ink); font-size: var(--text-sm); }
.credits-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.credits-table th, .credits-table td { text-align: left; padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits-table th { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.credits-table td:first-child { font-weight: 700; white-space: nowrap; }
.credits-wrap { overflow-x: auto; }

.simple-footer { background: var(--deep); color: rgba(255, 255, 255, 0.75); padding: 2.4rem 0; font-size: var(--text-sm); position: relative; z-index: 2; }
.simple-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.simple-footer a { color: var(--white); }

/* Páginas de passeio (geradas por tools/seo/build.mjs) */
.tour { padding-bottom: var(--section); }
.tour-hero h1 { max-width: 22ch; }
.tour-hero .tour-lead { max-width: 62ch; }
.tour-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.tour-badges li { padding: 0.4rem 0.9rem; border-radius: var(--r-pill); background: var(--foam); color: var(--ocean-ink); font-size: var(--text-sm); font-weight: 700; }

.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); grid-template-areas: "gallery facts" "content facts"; gap: clamp(1.6rem, 3vw, 3rem); align-items: start; }
.tour-gallery { grid-area: gallery; display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: clamp(120px, 14vw, 200px); gap: 0.6rem; margin: 0; }
.tour-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
.tour-gallery img:first-child { grid-row: span 2; border-radius: var(--r-xl); }
.tour-gallery img:only-child { grid-column: 1 / -1; }

.tour-facts { grid-area: facts; position: sticky; top: calc(var(--header-h) + 1.2rem); padding: clamp(1.4rem, 2.5vw, 2rem); border-radius: var(--r-xl); background: var(--white); box-shadow: var(--shadow-md); border: 1px solid var(--line); display: grid; gap: 1.1rem; }
.tour-facts h2 { font-size: var(--text-xl); }
.tour-facts dl { display: grid; gap: 0.9rem; }
.tour-facts dt { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.tour-facts dd { margin: 0.15rem 0 0; color: var(--ink); font-weight: 600; }
.tour-facts .btn { justify-content: center; }
.tour-facts__note { font-size: var(--text-xs); color: var(--ink-3); }

.tour-content { grid-area: content; display: grid; gap: clamp(2rem, 4vw, 3rem); font-size: clamp(1.02rem, 1rem + 0.2vw, 1.1rem); line-height: 1.7; color: #20394a; }
.tour-section h2 { font-size: var(--text-2xl); margin-bottom: 0.9rem; color: var(--ink); }
.tour-section p + p { margin-top: 1em; }
.tour-checks { display: grid; gap: 0.6rem; }
.tour-checks li { display: flex; gap: 0.6rem; align-items: flex-start; }
.tour-checks .icon { flex: none; width: 1.2em; height: 1.2em; margin-top: 0.25em; color: var(--coral); }
.tour-info, .tour-struct { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tour-info li, .tour-struct li { padding: 0.45rem 0.9rem; border-radius: var(--r-md); background: var(--shell); font-size: var(--text-sm); }
.tour-route { counter-reset: stop; display: grid; gap: 0.2rem; border-left: 2px dashed var(--ocean); margin-left: 0.7rem; padding-left: 1.6rem; }
.tour-route li { counter-increment: stop; position: relative; padding: 0.4rem 0; }
.tour-route li::before { content: counter(stop); position: absolute; left: calc(-1.6rem - 0.85rem); top: 0.45rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ocean); color: var(--white); font-size: var(--text-xs); font-weight: 800; display: grid; place-items: center; }
.tour-route small { display: block; color: var(--ink-3); font-size: var(--text-sm); }


.tour-related { margin-top: clamp(3rem, 6vw, 5rem); }
.tour-related h2 { font-size: var(--text-2xl); margin-bottom: 1.2rem; }
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.tour-card { display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tour-card:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; }
.tour-card img { aspect-ratio: 3 / 2; width: 100%; height: auto; object-fit: cover; }
.tour-card__body { display: grid; gap: 0.4rem; padding: 1.1rem 1.2rem 1.3rem; }
.tour-card__tag { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral); }
.tour-card strong { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.2; }
.tour-card__short { font-size: var(--text-sm); color: var(--ink-2); }
.tour-card__price { margin-top: 0.3rem; font-weight: 800; color: var(--ocean-ink); }

.tour-hub { padding-bottom: clamp(1rem, 3vw, 2rem); }
.tour-hub__nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.tour-hub__nav a { padding: 0.5rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white); text-decoration: none; font-size: var(--text-sm); font-weight: 700; }
.tour-hub__nav a:hover { border-color: var(--ocean); color: var(--ocean-ink); }
.tour-hub__group + .tour-hub__group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.tour-hub__group h2 { font-size: var(--text-2xl); margin-bottom: 1.2rem; scroll-margin-top: calc(var(--header-h) + 1rem); }

@media (max-width: 900px) {
  .tour-layout { grid-template-columns: 1fr; grid-template-areas: "gallery" "facts" "content"; }
  .tour-facts { position: static; }
}
@media (max-width: 560px) {
  .tour-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 110px; }
  .tour-gallery img:first-child { grid-column: 1 / -1; grid-row: span 2; }
}
