/* Blog · página de artigo (linguagem da Proposta 5). Carrega depois de blog.css. */

/* Barra de leitura */
.progress { position: fixed; z-index: 60; inset: 0 0 auto; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }

/* Cabeçalho do artigo */
.phead { position: relative; overflow: hidden; padding: 128px 0 clamp(9rem, 16vw, 13rem); }
.phead .bhead__leaves { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; }
.phead__inner { position: relative; z-index: 1; display: grid; gap: 18px; justify-items: center; width: min(900px, 100% - 2 * var(--gutter)); margin-inline: auto; text-align: center; }
.phead__crumb { font-size: var(--t-small); color: var(--cream-muted); }
.phead__crumb a { color: var(--cream); text-underline-offset: 4px; }
.phead__crumb > span[aria-hidden] { margin-inline: 6px; }
.phead__cat { width: fit-content; margin-inline: auto; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.phead__cat a { display: inline-block; padding: 6px 16px; border-radius: var(--r-pill); background: var(--orange); color: var(--ink); text-decoration: none; transition: background 200ms var(--ease); }
.phead__cat a:hover, .phead__cat a:focus-visible { background: var(--cream); }
.phead__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 1.4rem + 4vw, 5rem); line-height: 1.03; letter-spacing: -0.025em; font-variation-settings: "SOFT" 100, "opsz" 144; text-wrap: balance; }
.phead__lead { max-width: 56ch; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); color: var(--cream-muted); }
.phead__meta { display: flex; align-items: center; gap: 12px; margin-top: 6px; text-align: left; font-size: var(--t-small); }
.phead__meta strong { display: block; color: var(--cream); }
.phead__meta span > span { color: var(--cream-muted); }
.phead__avatar { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--r-pill); background: var(--paper); }
.phead__avatar img { width: 40px; }
@media (prefers-reduced-motion: no-preference) {
  .phead__inner > * { animation: h-rise 700ms var(--ease) both; }
  .phead__inner > :nth-child(2) { animation-delay: 60ms; }
  .phead__inner > :nth-child(3) { animation-delay: 120ms; }
  .phead__inner > :nth-child(4) { animation-delay: 200ms; }
  .phead__inner > :nth-child(5) { animation-delay: 260ms; }
}

/* Capa */
.pcover { position: relative; z-index: 2; width: min(1040px, 100% - 2 * var(--gutter)); margin: calc(-1 * clamp(7rem, 13vw, 10.5rem)) auto 0; }
.pcover__frame { padding: 10px; background: #FFFDF8; box-shadow: 0 30px 60px -34px rgba(31,42,34,0.6); rotate: -0.6deg; }
.pcover__frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 66%; }
.pcover figcaption { margin-top: 14px; text-align: center; font-family: var(--serif); font-style: italic; color: var(--muted); }
.pcover .pcover__credit { margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 0.75rem; }
.pcover__credit a { color: inherit; }
@media (max-width: 599px) { .pcover__frame img { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: no-preference) { .pcover__frame { animation: h-rise 900ms 250ms var(--ease) both; } }

/* Corpo */
.pbody { display: grid; gap: 48px; width: min(1180px, 100% - 2 * var(--gutter)); margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding-bottom: var(--section); }
.pbody__main { min-width: 0; }
.pside { display: none; }
@media (min-width: 1000px) {
  .pbody { grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(3rem, 6vw, 5.5rem); }
  .pside { display: block; }
  .pside__sticky { position: sticky; top: 104px; display: grid; gap: 24px; }
  .toc-m { display: none; }
}

/* Sumário */
.toc { display: grid; gap: 12px; }
.toc__label { font-size: var(--t-kicker); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-deep); }
.toc ol, .toc-m ol { display: grid; counter-reset: toc; }
.toc li, .toc-m li { counter-increment: toc; }
.toc a, .toc-m a { display: flex; gap: 12px; align-items: baseline; min-height: 44px; padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--t-small); line-height: 1.35; color: var(--muted); text-decoration: none; transition: color 160ms var(--ease); }
.toc a::before, .toc-m a::before { content: counter(toc, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--orange-deep); }
.toc a:hover, .toc a[aria-current] { color: var(--ink); }
.toc a[aria-current] { font-weight: 700; }
.toc-m { margin-bottom: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.toc-m summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 18px; font-weight: 700; cursor: pointer; list-style: none; }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m summary .ic { transition: rotate 200ms var(--ease); }
.toc-m[open] summary .ic { rotate: 180deg; }
.toc-m ol { padding: 0 18px 8px; }

/* CTA lateral */
.sidecta { position: relative; overflow: hidden; display: grid; gap: 14px; padding: 24px; border-radius: 8px; background: var(--green); color: var(--cream); }
.sidecta__kicker { font-size: var(--t-kicker); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-soft); }
.sidecta__title { font-family: var(--serif); font-size: 1.625rem; line-height: 1.1; }
.sidecta__wa { justify-self: center; display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-small); color: var(--cream-muted); text-underline-offset: 4px; }
.sidecta__wa:hover { color: var(--cream); }

/* Texto do artigo */
.prose { max-width: 68ch; counter-reset: sec; }
.prose > * + * { margin-top: 1.4em; }
.prose p, .prose li { font-size: 1.125rem; line-height: 1.75; color: #2B332B; }
.prose strong { color: var(--ink); }
.prose__lead { font-family: var(--serif); font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem) !important; line-height: 1.45 !important; color: var(--ink) !important; }
.prose__lead::first-letter { float: left; margin: 0.08em 0.12em 0 0; font-style: italic; font-size: 3.4em; line-height: 0.8; color: var(--orange-deep); }
.prose h2 { counter-increment: sec; display: grid; gap: 6px; margin-top: 2.4em; font-family: var(--serif); font-weight: 400; font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; scroll-margin-top: 100px; text-wrap: balance; }
.prose h2::before { content: counter(sec, decimal-leading-zero); font-family: var(--sans); font-size: var(--t-kicker); font-weight: 800; letter-spacing: 0.18em; color: var(--orange-deep); }
.prose ul:not([class]) { display: grid; gap: 8px; }
.prose ul:not([class]) li { position: relative; padding-left: 26px; }
.prose ul:not([class]) li::before { content: ""; position: absolute; left: 4px; top: 0.7em; width: 9px; height: 9px; border-radius: var(--r-pill); background: var(--orange); }
.prose a:not(.btn) { color: var(--green); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.pull { margin: 2em 0; padding: 0; text-align: center; }
.pull p { font-family: var(--serif); font-style: italic; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem) !important; line-height: 1.2 !important; color: var(--ink) !important; text-wrap: balance; }
.pull p::before { content: "“"; display: block; margin-bottom: 4px; font-size: 1.6em; line-height: 0.6; color: var(--orange); }

.review { display: grid; gap: 12px; margin: 2em 0; padding: 24px; border-radius: 8px; background: var(--green); color: var(--cream); }
.review .rv__stars { color: var(--orange-soft); }
.review blockquote { margin: 0; }
.review blockquote p { font-family: var(--serif); font-size: 1.25rem; line-height: 1.5; color: var(--cream); }
.review figcaption { font-size: var(--t-small); color: var(--cream-muted); }
.review figcaption strong { color: var(--cream); }

.pfig { margin: 2.2em 0; }
.pfig__frame { width: min(100%, 520px); margin-inline: auto; padding: 10px 10px 14px; background: #FFFDF8; box-shadow: 0 24px 50px -30px rgba(31,42,34,0.6); rotate: 1.2deg; }
.pfig__frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; }
.pfig figcaption { margin-top: 14px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.0625rem; color: var(--muted); }

.tcards { display: grid; gap: 16px; }
.tcard { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 10px; background: #FFFDF8; border: 1px solid var(--line); border-radius: var(--r-1); }
.tcard__photo { overflow: hidden; border-radius: 2px; }
.tcard__photo img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.tcard__body { display: grid; gap: 4px; align-content: start; justify-items: start; padding-block: 4px; }
.tcard__tag { font-size: 0.6875rem !important; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-deep) !important; line-height: 1.4 !important; }
.tcard__name { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.tcard__desc, .tcard__price { font-size: var(--t-small) !important; line-height: 1.5 !important; color: var(--muted) !important; }
.tcard__price strong { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--green); }
.tcard .btn { margin-top: 8px; }
@media (min-width: 700px) { .tcards { grid-template-columns: 1fr 1fr; } }

.steps--post { display: grid; gap: 12px; }
.steps--post li { font-size: 1.25rem !important; }

.pcta { display: grid; gap: 18px; justify-items: start; margin-top: 2em !important; padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: 8px; background: var(--green); color: var(--cream); }
.pcta__title { font-family: var(--serif); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem) !important; line-height: 1.1 !important; color: var(--cream) !important; }
@media (max-width: 599px) { .pcta .btn { width: 100%; } }

/* Rodapé do artigo */
.pfoot { display: grid; gap: 28px; max-width: 68ch; margin-top: clamp(3rem, 6vw, 4rem); padding-top: 28px; border-top: 1px solid var(--line); }
.pfoot__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pfoot__tags a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r-pill); font-size: var(--t-small); font-weight: 600; text-decoration: none; transition: border-color 160ms var(--ease); }
.pfoot__tags a:hover { border-color: var(--green); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share__label { margin-right: 6px; font-size: var(--t-kicker); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-deep); }
.share__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--green); border-radius: var(--r-pill); background: transparent; font-size: var(--t-small); font-weight: 700; color: var(--green); text-decoration: none; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.share__btn:hover { background: var(--green); color: var(--cream); }
.author { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: 8px; background: var(--sand); }
.author__logo { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: var(--r-pill); background: var(--paper); }
.author__logo img { width: 54px; }
.author__name { font-family: var(--serif); font-size: 1.375rem; line-height: 1.2; }
.author__bio { margin-top: 4px; font-size: var(--t-small); color: var(--muted); }

/* Relacionados */
.related { padding-block: var(--section); background: var(--paper); }
.related__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.related__title { font-family: var(--serif); font-weight: 400; font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.02em; }

.sidecta em, .pcta em { color: var(--orange-soft); }

/* =========================================================
   Blocos dinâmicos (shortcodes). Usados nos artigos e na página /blog/blocos/.
   ========================================================= */
.ic--fill { fill: currentColor; stroke: none; }
.sc-preco { font-weight: 700; color: var(--green); white-space: nowrap; }

/* [passeios] */
.tcards--one { grid-template-columns: 1fr !important; }
@media (min-width: 560px) { .tcards--one .tcard { grid-template-columns: 200px 1fr; } .tcards--one .tcard__photo img { min-height: 190px; } }
.tcard__wa { gap: 8px; padding: 0 16px; white-space: nowrap; font-size: 0.875rem; }
.tcard__wa .ic { width: 18px; height: 18px; }

/* [dica]: bilhete com fita */
.dica { position: relative; display: flex; gap: 16px; align-items: flex-start; margin-block: 2.2em !important; padding: 28px 24px 24px; background: #FFFDF8; box-shadow: 0 2px 4px rgba(31,42,34,0.05), 0 24px 44px -28px rgba(31,42,34,0.55); rotate: -0.6deg; }
.dica::before { content: ""; position: absolute; top: -12px; left: 40px; width: 96px; height: 26px; background: rgba(224,123,36,0.62); rotate: -4deg; }
.dica__ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: var(--r-pill); background: var(--orange); color: var(--ink); }
.dica__ic .ic { width: 22px; height: 22px; stroke-width: 1.8; }
.dica__body { display: grid; gap: 4px; }
.dica .dica__label { font-family: var(--serif); font-style: italic; font-size: 1.0625rem; line-height: 1.3; color: var(--orange-deep); }
.dica .dica__text { font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; color: var(--ink); }

/* [aviso] */
.aviso { --av: var(--orange); --av-text: var(--orange-deep); display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin-block: 2em !important; padding: 22px 24px; border-radius: 8px; background: #FFFDF8; border: 1px solid var(--line); box-shadow: inset 5px 0 0 var(--av); }
.aviso--interdicao { --av: #B3362A; --av-text: #A3261A; background: #FBF1EE; border-color: #EBCFC8; }
.aviso__ic { grid-row: 1 / span 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-pill); background: var(--av); color: var(--ink); }
.aviso--interdicao .aviso__ic { color: #FFFDF8; }
.aviso__ic .ic { width: 22px; height: 22px; stroke-width: 1.9; }
.aviso .aviso__label { font-size: var(--t-kicker); font-weight: 800; letter-spacing: 0.16em; line-height: 1.6; text-transform: uppercase; color: var(--av-text); }
.aviso .aviso__text { font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.aviso .aviso__src { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: var(--t-small); font-weight: 700; color: var(--ink); text-decoration-color: var(--av); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.aviso__src .ic { width: 15px; height: 15px; }

/* [resumo-rapido] */
.resumo { display: grid; gap: 18px; margin-block: 2em !important; padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: 8px; background: var(--green); color: var(--cream); }
.resumo__head { display: flex; align-items: center; gap: 14px; }
.resumo__ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--r-pill); background: var(--orange); color: var(--ink); }
.resumo__ic .ic { width: 22px; height: 22px; stroke-width: 1.9; }
.resumo .resumo__title { font-family: var(--serif); font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); line-height: 1.1; color: var(--cream); }
.resumo .resumo__title em { color: var(--orange-soft); }
.resumo ol { display: grid; counter-reset: rq; }
.resumo li { counter-increment: rq; display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px solid rgba(244,236,221,0.18); font-size: 1.0625rem; line-height: 1.5; color: var(--cream); }
.resumo li::before { content: counter(rq, decimal-leading-zero); flex: none; width: 26px; font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--orange-soft); }
@media (min-width: 700px) { .resumo ol { grid-template-columns: 1fr 1fr; column-gap: 32px; } }

/* [faq] */
.prose h2.faq__heading { display: block; }
.prose h2.faq__heading::before { content: none; }
.faq__heading { font-family: var(--serif); font-weight: 400; font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; }
/* .faq e .faq__item ficam em styles.css (usados também nas páginas de passeio). */

/* [tabela-tpa] */
.tabela-tpa { margin: 1.5rem 0; overflow-x: auto; }
.tabela-tpa table { width: 100%; max-width: 420px; border-collapse: collapse; font-size: var(--t-small); background: #FFFDF8; border: 1px solid var(--line); }
.tabela-tpa th, .tabela-tpa td { padding: 8px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.tabela-tpa thead th { font-size: var(--t-kicker); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-deep); }
.tabela-tpa__src { font-size: 0.8125rem; color: var(--muted); }
