/* ===========================================================
   Blumenau Hub — identidade visual
   Fundo branco · Texto #101010 · Degradê #4d2057 → #ff8603
   Títulos: Glacial Indifference · Corpo: Inter
   =========================================================== */

/* ---------- Fonte de títulos (auto-hospedada) ---------- */
@font-face {
  font-family: 'Glacial Indifference';
  src: url('../fonts/GlacialIndifference-Regular.woff2') format('woff2'),
       url('../fonts/GlacialIndifference-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Glacial Indifference';
  src: url('../fonts/GlacialIndifference-Bold.woff2') format('woff2'),
       url('../fonts/GlacialIndifference-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f7f4f9;
  --bg-card: #ffffff;
  --bg-elev: #efeaf3;
  --line: #e7e1ec;
  --text: #101010;
  --text-dim: #54505c;
  --text-mute: #8d8794;
  --grad1: #4d2057;
  --grad2: #ff8603;
  --brand-gradient: linear-gradient(100deg, var(--grad1) 0%, var(--grad2) 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
  --font-head: 'Glacial Indifference', 'Jost', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --shadow: 0 18px 50px -22px rgba(77,32,87,.30);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; line-height: 0; }
.brand-logo { height: 36px; width: auto; max-width: 200px; object-fit: contain; }
.header-accent { height: 3px; background: var(--grad1); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .86rem;
  color: var(--text-dim);
  padding: 7px 11px;
  border-radius: 999px;
  transition: color .18s, background .18s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--bg-elev); }
.nav-link.is-active {
  color: #fff;
  background: var(--grad1);
}

/* Busca no header */
.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 14px;
  margin-left: 6px;
}
.search-box input {
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .9rem;
  width: 110px;
  outline: none;
}
.search-box input::placeholder { color: var(--text-mute); }
.search-box button {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: none;
  border-radius: 999px;
  background: var(--grad1);
  color: #fff;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .25s;
}

/* ---------- Main ---------- */
.site-main { padding: 36px 0 64px; }

/* ---------- Section heads ---------- */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 18px;
}
.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.01em;
  position: relative;
  padding-left: 16px;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 5px;
  border-radius: 4px;
  background: var(--grad1);
}
.section-more {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  color: var(--grad1);
}
.section-more:hover { color: var(--grad2); }
.section-head--accent { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 40px; }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; }
.card-media {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 16 / 9;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 14px 2px 0; }
.card-title {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.card-title a { transition: color .18s; }
.card-title a:hover {
  color: var(--grad1);
}
.card-excerpt { color: var(--text-dim); font-size: .92rem; margin: 0 0 10px; }
.card-meta {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-mute); font-size: .8rem;
}
.card-meta .dot { opacity: .6; }

/* Tags / categorias */
.tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(16,16,16,.62);
  backdrop-filter: blur(4px);
}
.tag--noticias      { background: #4d2057; }
.tag--eventos       { background: #ff8603; }
.tag--negocios      { background: #4d2057; }
.tag--networking    { background: #ff8603; }
.tag--historias     { background: #4d2057; }
.tag--oportunidades { background: #ff8603; }
.tag--podcast       { background: #4d2057; }

/* ---------- Featured / destaques ---------- */
.featured { margin-bottom: 52px; }

/* Hero principal — imagem com gradiente e texto por cima */
.fhero {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  text-decoration: none;
  aspect-ratio: 21 / 9;
}
.fhero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.fhero:hover .fhero-img { transform: scale(1.03); }

.fhero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,15,30,.92) 0%, rgba(26,15,30,.35) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 36px;
  gap: 10px;
}
.fhero-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin: 0;
}
.fhero-excerpt {
  color: rgba(255,255,255,.78);
  font-size: .97rem;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fhero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: .83rem;
}

/* 3 cards abaixo do hero */
.featured-sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.featured-sub .card--default .card-excerpt { display: none; }

/* ---------- Home columns ---------- */
.home-columns {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.grid { display: grid; gap: 28px; }
.grid--cards { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Sidebar */
.sidebar {
  position: sticky;
  top: 96px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.sidebar .section-title { font-size: 1.15rem; }
.rank-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.rank-list li { display: flex; gap: 14px; align-items: baseline; }

/* ---- Sidebar: última por categoria ------------------------------------ */
.cat-latest { display: grid; gap: 4px; }
.cat-latest-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: opacity .18s;
}
.cat-latest-item:last-child { border-bottom: none; }
.cat-latest-item:hover { opacity: .78; }
.cat-latest-item .tag { position: static; display: inline-flex; font-size: .68rem; align-self: flex-start; }
.cat-latest-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-latest-date { font-size: .78rem; color: var(--text-mute); }
.rank-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--grad1);
  min-width: 22px;
}
.rank-list a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.3;
  transition: color .18s;
}
.rank-list a:hover { color: var(--grad1); }

/* Seção de destaque por categoria */
.ia-section { margin-top: 8px; }

.empty {
  color: var(--text-mute);
  padding: 40px 0;
  grid-column: 1 / -1;
  text-align: center;
}

/* ---------- Page hero (categoria, busca, página) ---------- */
.page-hero {
  padding: 28px 0 32px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.page-kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--grad1);
}
.page-title { font-size: 2.6rem; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; }

/* ---------- Post ---------- */
.post { max-width: 760px; }
.post-head-inner { padding: 8px 0 0; }
.post-title { font-size: 2.4rem; font-weight: 700; letter-spacing: -.02em; margin: 14px 0 14px; line-height: 1.08; }
.post-head .tag { position: static; display: inline-block; }
.post-lead { font-size: 1.2rem; color: var(--text-dim); margin: 0 0 18px; }
.post-meta { display: flex; gap: 8px; align-items: center; color: var(--text-mute); font-size: .9rem; }
.post-cover { margin: 28px 0; border-radius: var(--radius); overflow: hidden; }
.post-cover img { width: 100%; }

.post-body { font-size: 1.08rem; line-height: 1.78; color: #232026; }
.post-body h2 { font-size: 1.6rem; font-weight: 700; margin: 36px 0 14px; }
.post-body h3 { font-size: 1.25rem; font-weight: 700; margin: 28px 0 10px; }
.post-body p { margin: 0 0 20px; }
.post-body a { color: var(--grad1); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--grad2); }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 22px; }
.post-body li { margin: 6px 0; }
.post-body strong { color: var(--text); }
.post-body blockquote {
  margin: 24px 0;
  padding: 14px 22px;
  border-left: 4px solid var(--grad1);
  background: var(--bg-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-dim);
  font-style: italic;
}
.post-body img { border-radius: var(--radius-sm); margin: 18px 0; }
.post-body code {
  background: var(--bg-elev);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: .9em;
}
.post-body pre {
  background: #1a0f1e;
  color: #f3eef6;
  padding: 18px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
}
.post-body pre code { background: none; padding: 0; color: inherit; }

/* ---- Embed YouTube ---------------------------------------------------- */
.post-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  margin: 28px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.post-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Galeria de fotos ------------------------------------------------- */
.post-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin: 28px 0;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-elev);
}
.gallery-item a { display: block; width: 100%; height: 100%; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease, opacity .3s;
  display: block;
}
.gallery-item:hover img { transform: scale(1.04); opacity: .9; }

.post-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.reading-time { font-size: .85rem; color: var(--text-mute); }

/* ======================================================================
   CTA CINEMATOGRÁFICO — CURTAIN REVEAL (seção escura sobre site claro)
   ====================================================================== */

@keyframes cf-aurora-breathe {
  0%   { transform: translate(-50%,-50%) scale(1);    opacity: .6; }
  100% { transform: translate(-50%,-50%) scale(1.1);  opacity: 1;  }
}
@keyframes cf-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes cf-heartbeat {
  0%,100% { transform: scale(1);   filter: drop-shadow(0 0 5px rgba(255,134,3,.5)); }
  15%,45% { transform: scale(1.2); filter: drop-shadow(0 0 10px rgba(255,134,3,.85)); }
  30%     { transform: scale(1); }
}

/* --- Wrapper no fluxo: height 100vh + clip-path = "cortina" --- */
.cta-curtain-wrapper {
  position: relative;
  height: 100vh;
  width: 100%;
  clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0 100%);
}

/* --- Footer fixo revelado pela cortina --- */
.cta-fixed-footer {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%; height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: #1a0f1e;
  color: #fff;
  z-index: 0;
}

/* Aurora */
.cf-aurora {
  position: absolute;
  width: 80vw; height: 60vh;
  top: 50%; left: 50%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(77,32,87,.55)  0%,
    rgba(255,134,3,.20) 42%,
    transparent         70%);
  animation: cf-aurora-breathe 8s ease-in-out infinite alternate;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Grid */
.cf-grid {
  position: absolute; inset: 0;
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  pointer-events: none;
  z-index: 0;
}

/* Texto gigante de fundo */
.cf-bg-text {
  position: absolute;
  bottom: -5vh; left: 50%;
  transform: translateX(-50%);
  font-size: 26vw;
  line-height: .75;
  font-weight: 900;
  letter-spacing: -.05em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, transparent 60%);
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  will-change: transform, opacity;
}

/* Marquee diagonal */
.cf-marquee-wrap {
  position: absolute;
  top: 48px; left: 0;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(26,15,30,.6);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  z-index: 10;
  transform: rotate(-2deg) scaleX(1.1);
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.cf-marquee-track {
  display: flex;
  width: max-content;
  animation: cf-marquee 40s linear infinite;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
}

/* Centro — headline + pills */
.cf-center {
  position: relative;
  z-index: 10;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  margin-top: 80px;
  gap: 40px;
  max-width: 900px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Headline — metallic text glow */
.cf-headline {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.05;
  text-align: center;
  margin: 0;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255,255,255,.15));
  will-change: transform, opacity;
}
.cf-headline-glow {
  background: linear-gradient(100deg, #c77dff, #ff8603);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: none;
}

/* Links */
.cf-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  will-change: transform, opacity;
}
.cf-primary-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.cf-secondary-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Glass pill */
.cf-glass-pill {
  background: linear-gradient(145deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100%);
  box-shadow:
    0 10px 30px -10px rgba(0,0,0,.5),
    inset 0 1px 1px rgba(255,255,255,.1),
    inset 0 -1px 2px rgba(0,0,0,.8);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all .4s cubic-bezier(.16,1,.3,1);
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  will-change: transform;
  transform-style: preserve-3d;
}
.cf-glass-pill:hover {
  background: linear-gradient(145deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,.02) 100%);
  border-color: rgba(255,255,255,.22);
  box-shadow:
    0 20px 40px -10px rgba(0,0,0,.7),
    inset 0 1px 1px rgba(255,255,255,.2);
  color: #fff;
}

.cf-pill-lg {
  padding: 18px 36px;
  font-size: 1rem;
}
.cf-pill-sm {
  padding: 10px 22px;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.cf-pill-sm:hover { color: #fff; }
.cf-pill-grad {
  background: linear-gradient(110deg, #4d2057, #ff8603) !important;
  border-color: transparent !important;
  color: #fff !important;
}
.cf-pill-grad:hover {
  background: linear-gradient(110deg, #5f2a6c, #ff9a2e) !important;
  box-shadow: 0 20px 40px -10px rgba(255,134,3,.5) !important;
}

/* Bottom bar */
.cf-bottom-bar {
  position: relative;
  z-index: 20;
  width: 100%;
  padding: 24px 40px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cf-copyright {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.cf-love-badge {
  padding: 10px 20px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  gap: 6px;
  color: rgba(255,255,255,.4);
  cursor: default;
}
.cf-love-badge strong { color: rgba(255,255,255,.8); }
.cf-heart {
  animation: cf-heartbeat 2s cubic-bezier(.25,1,.5,1) infinite;
  color: #ff8603;
  display: inline-block;
}
.cf-back-top {
  width: 48px; height: 48px;
  padding: 0;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5), inset 0 1px 1px rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  color: rgba(255,255,255,.55);
  cursor: pointer;
  transition: all .4s cubic-bezier(.16,1,.3,1);
  will-change: transform;
  transform-style: preserve-3d;
}
.cf-back-top:hover { color: #fff; border-color: rgba(255,255,255,.22); }
.post-cta-divider {
  height: 1px;
  background: var(--line);
}

/* ---- Share bar -------------------------------------------------------- */
.post-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.post-share-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-mute);
  margin-right: 4px;
  white-space: nowrap;
}
.post-share-links { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text-dim);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
  font-family: var(--font-body);
}
.share-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.share-btn:hover { color: #fff; border-color: transparent; }
.share-wa:hover  { background: #25D366; }
.share-li:hover  { background: #0A66C2; }
.share-fb:hover  { background: #1877F2; }
.share-x:hover   { background: #000; }
.share-th:hover  { background: #000; }
.share-copy:hover { background: var(--grad1); }
.chip {
  font-size: .82rem;
  color: var(--text-dim);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}
.related { margin-top: 56px; }

.page-content { max-width: 760px; }
.page-content h2 { font-size: 1.6rem; font-weight: 700; margin: 32px 0 12px; }
.page-content h3 { font-size: 1.25rem; font-weight: 700; margin: 26px 0 10px; }
.page-content p { margin: 0 0 18px; line-height: 1.75; }
.page-content a { color: var(--grad1); text-decoration: underline; text-underline-offset: 3px; }
.page-content ul, .page-content ol { margin: 0 0 18px; padding-left: 22px; }
.page-content li { margin: 6px 0; }

/* ---------- Busca ---------- */
.search-page-form { margin-top: 20px; }
#search-input {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.1rem;
  padding: 16px 20px;
  outline: none;
}
#search-input:focus { border-color: var(--grad1); }
.search-status { color: var(--text-mute); margin: 18px 0; }

/* ---------- Footer (escuro para contraste) ---------- */
.site-footer {
  border-top: 3px solid var(--grad1);
  background: #1a0f1e;
  color: rgba(255,255,255,.72);
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 32px;
  padding: 48px 24px;
  align-items: start;
}
.footer-logo { height: 32px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,.6); max-width: 320px; margin: 0; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,.66); font-weight: 500; }
.footer-nav a:hover { color: #fff; }
.footer-meta { display: flex; flex-direction: column; gap: 8px; color: rgba(255,255,255,.45); font-size: .85rem; text-align: right; }
.footer-meta a { color: var(--grad2); }
.footer-meta a:hover { color: #ffab43; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .home-columns { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .fhero { aspect-ratio: 16 / 9; }
  .fhero-overlay { padding: 20px; }
  .fhero-title { font-size: 1.35rem; }
  .fhero-excerpt { display: none; }
  .featured-sub { grid-template-columns: 1fr; }
  .featured-sub .card--default .card-excerpt { display: block; }
}

/* Nav: vira menu hambúrguer mais cedo (10 itens não cabem em telas médias) */
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: rgba(255,255,255,.98);
    backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    margin: 0;
    transform: translateY(-130%);
    transition: transform .28s ease;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-link { padding: 12px 14px; font-size: .95rem; }
  .search-box { margin: 8px 0 0; }
  .search-box input { width: 100%; flex: 1; }
}

@media (max-width: 760px) {
  .grid--cards, .grid--3 { grid-template-columns: 1fr; }
  .page-title { font-size: 2rem; }
  .post-title { font-size: 1.8rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
  /* CTA mobile: desativa curtain reveal (incompatível com iOS Safari)
     e usa layout estático com as mesmas animações visuais */
  .cta-curtain-wrapper {
    height: auto;
    clip-path: none;
  }
  .cta-fixed-footer {
    position: relative;
    bottom: auto; left: auto;
    height: auto;
    min-height: 100svh;
  }
  .cf-marquee-wrap {
    position: relative;
    top: auto;
    transform: rotate(-1.5deg) scaleX(1.06);
    margin-bottom: 0;
  }
  .cf-center {
    margin-top: 0;
    padding: 40px 20px 20px;
    gap: 28px;
  }
  .cf-headline { font-size: 2.2rem; }
  .cf-primary-row { flex-direction: column; align-items: center; gap: 12px; width: 100%; }
  .cf-pill-lg { width: 100%; max-width: 320px; justify-content: center; padding: 16px 24px; font-size: .92rem; }
  .cf-bottom-bar {
    padding: 20px 20px 28px;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }
  .cf-bg-text { font-size: 38vw; bottom: -2vh; }
  .cf-links { gap: 16px; }
  .post-share { gap: 8px; }
  .post-share-links { gap: 6px; }
  .share-btn { padding: 5px 10px; font-size: .72rem; }
}
