/* ==========================================================================
   COMPONENTES — cartões, marca d'água, stories, quiz, factos, eventos, widgets
   ========================================================================== */

/* ---- Título de secção ---- */
.section-title {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 1px solid var(--c-line);
  position: relative;
}
.section-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; background: var(--cat-color, var(--c-brand)); border-radius: 2px; }
.section-title h2 { font-size: 26px; }
.section-title p { font-size: 14px; color: var(--c-muted); margin-top: 2px; font-family: var(--f-sans); }
.section-title a { font-size: 13px; font-weight: 700; color: var(--c-brand); white-space: nowrap; }
.section-title a:hover { text-decoration: underline; }

.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-brand); }

/* ---- Etiquetas ---- */
.tag {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--cat-color, var(--c-brand));
}
.tag:hover { text-decoration: underline; }

[data-cat="economia"]   { --cat-color: var(--cat-economia); }
[data-cat="empresas"]   { --cat-color: var(--cat-empresas); }
[data-cat="banca"]      { --cat-color: var(--cat-banca); }
[data-cat="energia"]    { --cat-color: var(--cat-energia); }
[data-cat="sociedade"]  { --cat-color: var(--cat-sociedade); }
[data-cat="cultura"]    { --cat-color: var(--cat-cultura); }

.type-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 8px; border-radius: 999px;
  background: var(--c-bg-soft); color: var(--c-muted);
}
.type-pill--facto { background: var(--c-brand-soft); color: var(--c-brand); }
.type-pill--evento { background: #fff3dc; color: #9a5b00; }
.type-pill--comunidade { background: #efe7fd; color: #6d28d9; }
:root[data-theme="dark"] .type-pill--evento { background: #3a2a0c; color: #f2b33d; }
:root[data-theme="dark"] .type-pill--comunidade { background: #2a1d47; color: #c4b5fd; }

/* Selo de veredito (não usado neste site) */
.verdict {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 9px; border-radius: 4px;
}
.verdict svg { width: 13px; height: 13px; }
.verdict--CREDIVEL { color: var(--c-true); background: var(--c-true-soft); }
.verdict--FALSO { color: var(--c-false); background: var(--c-false-soft); }

.labels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* ---- Metadados ---- */
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12.5px; color: var(--c-muted); }
.meta > * + *::before { content: "·"; margin-right: 10px; }
.meta strong { color: var(--c-text); font-weight: 600; }

/* Moldura da imagem (sem marca d'água) */
.wm { position: relative; overflow: hidden; container-type: inline-size; isolation: isolate; }
.wm > img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Cartões ---- */
.card { display: flex; flex-direction: column; gap: 12px; position: relative; min-width: 0; }
.card__media { border-radius: var(--radius); background: var(--c-bg-soft); aspect-ratio: 16 / 10; }
.card__media > img { transition: transform .45s ease; }
.card:hover .card__media > img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card__title { font-size: 20px; }
.card__title a:hover { color: var(--c-brand); }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__excerpt { font-size: 14.5px; color: var(--c-muted); line-height: 1.5; }
.card .tag { position: relative; z-index: 2; }

.card--lead .card__media { aspect-ratio: 16 / 9; }
.card--lead .card__title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.card--lead .card__excerpt { font-size: 17px; }

.card--h { flex-direction: row; gap: 14px; align-items: flex-start; }
.card--h .card__media { flex: none; width: 128px; aspect-ratio: 4 / 3; }
.card--h .card__title { font-size: 17px; line-height: 1.2; }
.card--h .wm::after { display: none; }

.card--text { padding-bottom: 16px; border-bottom: 1px solid var(--c-line); }
.card--text:last-child { border-bottom: 0; padding-bottom: 0; }
.card--text .card__title { font-size: 19px; }

.card--list { flex-direction: row; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--c-line); }
.card--list .card__media { flex: none; width: 280px; }
.card--list .card__title { font-size: 23px; }

/* ---- Destaques ---- */
.hero { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 32px; margin-bottom: 44px; }
.hero__side { display: flex; flex-direction: column; gap: 20px; }
.hero__side .card + .card { padding-top: 20px; border-top: 1px solid var(--c-line); }

/* ==========================================================================
   STORIES (verificações rápidas)
   ========================================================================== */
.stories { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 20px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.stories::-webkit-scrollbar { display: none; }
.story-bubble {
  flex: none; width: 78px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; scroll-snap-align: start;
  font-size: 11.5px; font-weight: 600; color: var(--c-text); text-align: center; line-height: 1.2;
}
.story-bubble__ring {
  width: 70px; height: 70px; border-radius: 50%; padding: 3px;
  background: conic-gradient(var(--ring, var(--c-brand)) 0 100%);
}
.story-bubble { --ring: var(--c-brand); }
.story-bubble.is-seen .story-bubble__ring { background: var(--c-line); }
.story-bubble__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--c-paper); }
.story-bubble__label { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.story-viewer { position: fixed; inset: 0; z-index: 150; background: #000; display: none; }
.story-viewer.is-open { display: block; }
.story-viewer__frame { position: relative; height: 100%; max-width: 480px; margin: 0 auto; }
.story-viewer__frame .wm { position: absolute; inset: 0; }
.story-viewer__frame .wm::after { font-size: 16cqw; }
.story-viewer__shade { position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 22%, transparent 45%, rgba(0, 0, 0, .9)); pointer-events: none; }
.story-viewer__bars { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 5; display: flex; gap: 4px; }
.story-viewer__bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.story-viewer__bars span i { display: block; height: 100%; width: 0; background: #fff; }
.story-viewer__bars span.is-done i { width: 100%; }
.story-viewer__bars span.is-active i { animation: story-progress var(--story-ms, 6s) linear forwards; }
.story-viewer.is-paused .story-viewer__bars span.is-active i { animation-play-state: paused; }
@keyframes story-progress { to { width: 100%; }}
.story-viewer__head { position: absolute; top: 26px; left: 14px; right: 14px; z-index: 5; display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 13px; font-weight: 600; }
.story-viewer__head .icon-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.story-viewer__copy { position: absolute; left: 20px; right: 20px; bottom: 32px; z-index: 5; color: #fff; }
.story-viewer__copy h3 { color: #fff; font-size: 26px; margin: 10px 0 8px; }
.story-viewer__copy p { color: #dbe5ea; font-size: 15px; margin-bottom: 16px; }
.story-viewer__copy .btn { background: #fff; color: #12283a; }
.story-viewer__tap { position: absolute; top: 70px; bottom: 140px; z-index: 4; width: 40%; background: none; border: 0; }
.story-viewer__tap--prev { left: 0; }
.story-viewer__tap--next { right: 0; width: 60%; }

/* ==========================================================================
   FACTOS
   ========================================================================== */
.fact-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.fact-card .card__media { border-radius: 0; aspect-ratio: 16 / 9; }
.fact-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fact-card__claim { font-size: 19px; }
.fact-card__claim a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fact-card__claim::before { content: "“"; color: var(--c-muted); }
.fact-card__claim::after { content: "”"; color: var(--c-muted); }
.fact-card__origin { font-size: 12px; color: var(--c-muted); }
.fact-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fact-card { border-top: 4px solid var(--c-brand); }

/* Faixa de verificação no topo da home */
.factband { margin-bottom: 48px; }
.factband .fact-card { scroll-snap-align: start; }

/* ==========================================================================
   QUIZ "Facto ou Fake?"
   ========================================================================== */
.quiz {
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px;
  position: relative; overflow: hidden;
}
.quiz__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.quiz__title { font-family: var(--f-serif); font-size: 22px; font-weight: 700; color: var(--c-ink); }
.quiz__title span { color: var(--c-false); }
.quiz__score { font-size: 12px; font-weight: 700; color: var(--c-muted); text-align: right; }
.quiz__score b { color: var(--c-brand); font-size: 16px; }
.quiz__media { border-radius: var(--radius); aspect-ratio: 16 / 9; margin-bottom: 14px; background: var(--c-bg-soft); }
.quiz__media:not(.wm) > img { width: 100%; height: 100%; object-fit: cover; }
.quiz__claim { font-family: var(--f-serif); font-size: 20px; font-weight: 600; color: var(--c-ink); line-height: 1.25; margin-bottom: 16px; }
.quiz__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz__actions .btn { height: 48px; border-radius: var(--radius); font-size: 15px; }
.quiz__result { border-radius: var(--radius); padding: 14px; margin-bottom: 12px; font-size: 14px; animation: pop .25s ease; }
.quiz__result strong { display: block; font-size: 16px; margin-bottom: 4px; }
.quiz__result.is-right { background: var(--c-true-soft); color: var(--c-true); }
.quiz__result.is-wrong { background: var(--c-false-soft); color: var(--c-false); }
.quiz__result p { color: var(--c-text); }
.quiz__foot { display: flex; gap: 10px; }
.quiz__foot .btn { flex: 1; }
.quiz__progress { height: 4px; background: var(--c-bg-soft); border-radius: 4px; margin-bottom: 16px; overflow: hidden; }
.quiz__progress i { display: block; height: 100%; background: var(--c-brand); transition: width .3s; }
.quiz__end { text-align: center; padding: 10px 0; }
.quiz__end .big { font-family: var(--f-serif); font-size: 54px; font-weight: 700; color: var(--c-brand); line-height: 1; }
.quiz__end p { color: var(--c-muted); margin: 8px 0 16px; }
@keyframes pop { from { transform: scale(.96); opacity: 0; }}

/* ==========================================================================
   TERMÓMETRO DE CREDIBILIDADE
   ========================================================================== */
.thermo { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px; }
.thermo__big { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 12px; }
.thermo__big strong { font-family: var(--f-serif); font-size: 44px; line-height: 1; color: var(--c-false); }
.thermo__big span { font-size: 14px; color: var(--c-muted); }
.thermo__bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--c-bg-soft); }
.thermo__bar i { display: block; height: 100%; transition: width 1s ease; width: 0; }
.thermo__bar .t { background: var(--c-true); }
.thermo__bar .f { background: var(--c-false); }
.thermo__legend { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; font-weight: 600; }
.thermo__legend .t { color: var(--c-true); }
.thermo__legend .f { color: var(--c-false); }

/* ==========================================================================
   EVENTOS
   ========================================================================== */
.event-card {
  position: relative; display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 16px;
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 14px;
  transition: box-shadow .2s, transform .2s;
}

.datebox {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: var(--radius); background: var(--c-brand); color: #fff; height: 78px; text-align: center; line-height: 1;
}
.datebox__day { font-family: var(--f-serif); font-size: 32px; font-weight: 700; }
.datebox__month { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.datebox__wd { font-size: 10px; opacity: .8; margin-top: 2px; }
.event-card__title { font-size: 18px; margin: 4px 0 6px; }
.event-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.event-card__title a:hover { color: var(--c-brand); }
.event-card__info { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--c-muted); }
.event-card__info span { display: inline-flex; align-items: center; gap: 5px; }
.event-card__info svg { width: 14px; height: 14px; }
.event-card--img { grid-template-columns: 1fr; padding: 0; overflow: hidden; }
.event-card--img .card__media { border-radius: 0; aspect-ratio: 16 / 9; }
.event-card--img .datebox { position: absolute; top: 12px; right: 12px; z-index: 4; width: 62px; height: 66px; box-shadow: var(--shadow); }
.event-card--img .datebox__day { font-size: 26px; }
.event-card--img .event-card__body { padding: 4px 16px 16px; }

.countdown { display: flex; gap: 8px; }
.countdown div { background: var(--c-bg-soft); border-radius: var(--radius); padding: 8px 10px; min-width: 56px; text-align: center; }
.countdown b { display: block; font-family: var(--f-serif); font-size: 26px; line-height: 1; color: var(--c-ink); }
.countdown small { font-size: 11px; color: var(--c-muted); }

.next-event {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  border: 1px solid var(--c-line); border-left: 4px solid var(--c-brand);
  background: var(--c-bg); padding: 18px 22px; margin-bottom: 20px;
}
.next-event h3 { font-size: 24px; margin-bottom: 6px; }
.next-event h3 a:hover { color: var(--c-brand); }
.next-event p { color: var(--c-muted); font-size: 14px; }

/* ==========================================================================
   LISTAS E WIDGETS
   ========================================================================== */
.widget__title { font-family: var(--f-serif); font-size: 22px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }

.ranked { counter-reset: rank; display: flex; flex-direction: column; }
.ranked li { counter-increment: rank; display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding-block: 13px; border-bottom: 1px solid var(--c-line); }
.ranked li:first-child { padding-top: 0; }
.ranked li::before { content: counter(rank); font-family: var(--f-serif); font-size: 34px; font-weight: 700; line-height: .9; color: var(--c-brand); }
.ranked a { font-family: var(--f-serif); font-weight: 600; color: var(--c-ink); font-size: 16.5px; line-height: 1.25; }
.ranked a:hover { color: var(--c-brand); }
.ranked .verdict { margin-top: 6px; font-size: 9.5px; padding: 2px 6px; }

.timeline li { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding-block: 11px; border-bottom: 1px dashed var(--c-line); }
.timeline li:first-child { padding-top: 0; }
.timeline time { font-size: 12.5px; font-weight: 700; color: var(--c-brand); }
.timeline a { font-weight: 600; color: var(--c-ink); font-size: 14.5px; line-height: 1.35; }
.timeline a:hover { color: var(--c-brand); }

.newsletter { background: var(--c-ink); color: var(--c-bg); border-radius: var(--radius); padding: 24px; }
.newsletter h3 { color: var(--c-bg); font-size: 22px; margin-bottom: 6px; }
.newsletter p { font-size: 14px; opacity: .8; margin-bottom: 14px; }
.newsletter form { display: flex; flex-direction: column; gap: 10px; }
.newsletter input { height: 44px; padding: 0 14px; border-radius: var(--radius); border: 0; background: var(--c-bg); color: var(--c-ink); }
.newsletter .btn { border-radius: var(--radius); }
.newsletter__msg { font-size: 13px; min-height: 1em; }
.newsletter--wide { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 34px; }
.newsletter--wide form { flex-direction: row; flex-wrap: wrap; }
.newsletter--wide input { flex: 1; min-width: 180px; }
.newsletter--wide .newsletter__msg { flex-basis: 100%; }

/* ---- Filtros (chips) ---- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 22px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 34px; padding: 0 12px; border-radius: var(--radius);
  border: 1px solid var(--c-line); background: var(--c-bg); color: var(--c-ink);
  font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { border-color: var(--c-muted); }
.chip.is-active { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }

/* ---- Breadcrumb, vazio, carregar ---- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--c-muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--c-brand); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.load-more { display: flex; justify-content: center; margin-top: 32px; }
.empty { text-align: center; padding: 56px 20px; color: var(--c-muted); }
.empty h2 { margin-bottom: 8px; }
.empty .btn { margin-top: 18px; }

/* ---- Responsivo ---- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 760px) {
  .section-title h2 { font-size: 22px; }
  .card__title { font-size: 18px; }
  .card--lead .card__title { font-size: 28px; }
  .card--lead .card__excerpt { font-size: 15.5px; }
  .card--h .card__media { width: 104px; }
  .card--h .card__title { font-size: 16px; }
  .card--list { flex-direction: row; gap: 14px; padding-bottom: 18px; }
  .card--list .card__media { width: 112px; aspect-ratio: 1; }
  .card--list .card__media::after { display: none; }
  .card--list .card__title { font-size: 17px; }
  .card--list .card__excerpt { display: none; }
  .hero { gap: 22px; margin-bottom: 32px; }
  .newsletter--wide { grid-template-columns: 1fr; padding: 24px; }
  .next-event { grid-template-columns: 1fr; padding: 20px; }
  .grid--4 .card__title { font-size: 15.5px; }}
.chip svg { width: 14px; height: 14px; }

/* ==========================================================================
   CAPA SEM FOTOGRAFIA — cor da editoria + título
   ========================================================================== */
.wm__cover {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 7% 8%;
  background:
    repeating-linear-gradient(-24deg, transparent 0 22px, rgba(255, 255, 255, .06) 22px 23px),
    var(--cat-color, var(--c-brand));
  color: #fff;
}
.wm__cover span { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.wm__cover b {
  font-family: var(--f-serif); font-weight: 700; line-height: 1.1;
  font-size: clamp(14px, 7cqw, 34px);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ==========================================================================
   CARROSSEL CONTÍNUO
   ========================================================================== */
.marquee {
  --gap: 18px;
  overflow: hidden; padding-block: 4px 18px;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.marquee__group { display: flex; gap: var(--gap); padding-right: var(--gap); }
.marquee__group > * { flex: none; width: 290px; }
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track,
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee .fact-card__claim { font-size: 17px; }
.marquee .fact-card .card__media { aspect-ratio: 16 / 10; }
.marquee .fact-card:hover { border-color: var(--c-muted); }

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; mask-image: none; }
  .marquee__track { animation: none; }
  .marquee__group[aria-hidden] { display: none; }
}

/* ==========================================================================
   FACTO EM DESTAQUE
   ========================================================================== */
.fact-feature {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px;
  padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--c-line);
}
.fact-feature .card__media { aspect-ratio: 4 / 3; }
.fact-feature__body { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.fact-feature__claim { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.12; }
.fact-feature__claim a:hover { color: var(--c-brand); }
.fact-feature__claim a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fact-feature p { color: var(--c-muted); }

/* Contadores no cabeçalho */
.page-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.counters { display: flex; gap: 28px; }
.counters div { display: flex; flex-direction: column; }
.counters b { font-family: var(--f-serif); font-size: 36px; line-height: 1; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.counters .f b { color: var(--c-false); }
.counters .t b { color: var(--c-true); }
.counters small { font-size: 12px; color: var(--c-muted); margin-top: 4px; }

/* Troca de resultados ao filtrar */
.is-swapping > * { animation: swap-in .35s ease both; }
.is-swapping > *:nth-child(2) { animation-delay: .04s; }
.is-swapping > *:nth-child(3) { animation-delay: .08s; }
.is-swapping > *:nth-child(4) { animation-delay: .12s; }
.is-swapping > *:nth-child(n+5) { animation-delay: .16s; }
@keyframes swap-in { from { opacity: 0; transform: translateY(10px); } }

/* ==========================================================================
   ENTRADA AO FAZER SCROLL + CARIMBO DA MARCA D'ÁGUA
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease var(--delay, 0ms), transform .55s ease var(--delay, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal .wm::after { opacity: 0; }
.reveal.is-in .wm::after { animation: stamp .4s cubic-bezier(.3, 1.6, .5, 1) calc(var(--delay, 0ms) + .25s) both; }
@keyframes stamp {
  from { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(1.9); }
  to   { opacity: .9; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
}

@media (max-width: 760px) {
  .marquee__group > * { width: 78vw; max-width: 300px; }
  .fact-feature { grid-template-columns: 1fr; gap: 14px; }
  .counters { gap: 18px; }
  .counters b { font-size: 28px; }
}

/* ==========================================================================
   MENOS ESPAÇO EM BRANCO
   ========================================================================== */
.section { margin-bottom: 36px; }
.card__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.grid--4 .card__excerpt { -webkit-line-clamp: 2; }
.widget__title { justify-content: space-between; }
.widget__title a { font-family: var(--f-sans); font-size: 13px; font-weight: 700; color: var(--c-brand); }

/* Lista compacta nas colunas laterais */
.side-list { display: flex; flex-direction: column; gap: 14px; }
.side-list .card--h + .card--h { padding-top: 14px; border-top: 1px solid var(--c-line); }
.side-list .card--h .card__media { width: 96px; }
.side-list .card--h .card__title { font-size: 15.5px; }
.sidebar .event-list { gap: 10px; }
.sidebar .event-card { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 10px; }
.sidebar .event-card .datebox { height: 60px; }
.sidebar .event-card .datebox__day { font-size: 24px; }
.sidebar .event-card__title { font-size: 15.5px; }
.sidebar .event-card__info span:nth-child(n+2) { display: none; }

/* Mini calendário */
.mini-cal { border: 1px solid var(--c-line); background: var(--c-bg); padding: 14px; }
.mini-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mini-cal__head b { font-family: var(--f-serif); font-size: 18px; color: var(--c-ink); text-transform: capitalize; }
.mini-cal__head .icon-btn { width: 32px; height: 32px; font-size: 18px; }
.mini-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 13.5px; }
.mini-cal__grid i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--c-muted); padding-bottom: 4px; }
.mini-cal__grid > span, .mini-cal__grid > a { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--radius); color: var(--c-text); }
.mini-cal__grid .has-event { background: var(--c-brand); color: #fff; font-weight: 700; transition: transform .15s; }
.mini-cal__grid .has-event:hover { transform: scale(1.12); }
.mini-cal__grid .is-today { box-shadow: inset 0 0 0 2px var(--c-accent); }

.city-list li + li { border-top: 1px solid var(--c-line); }
.city-list button {
  width: 100%; display: flex; align-items: center; gap: 8px; padding: 10px 0;
  background: none; border: 0; font-weight: 600; color: var(--c-ink); text-align: left;
}
.city-list button:hover { color: var(--c-brand); }
.city-list svg { width: 15px; height: 15px; color: var(--c-muted); }
.city-list b { margin-left: auto; min-width: 26px; padding: 1px 8px; border-radius: var(--radius); background: var(--c-bg-soft); font-size: 13px; text-align: center; }
.side-list .type-pill { display: none; }

/* Estado editorial */
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--DRAFT { background: #fff3dc; color: #9a5b00; }
.status--PUBLISHED { background: var(--c-true-soft); color: var(--c-true); }
:root[data-theme="dark"] .status--DRAFT { background: #3a2a0c; color: #f2b33d; }

.draft-note { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 16px; background: #fff3dc; color: #7a4800; font-weight: 600; font-size: 14px; border-left: 4px solid #f2b33d; }
.draft-note svg { width: 18px; height: 18px; flex: none; }
:root[data-theme="dark"] .draft-note { background: #3a2a0c; color: #f2b33d; }
.status--REJECTED { background: var(--c-false-soft); color: var(--c-false); }
.my-post__note { font-size: 14px; color: var(--c-false); margin-top: 4px; }
.footer__contact { font-size: 14px; line-height: 1.6; color: inherit; opacity: .85; margin: 12px 0 0; }
.footer__contact a { color: inherit; }
