/* ===========================================================
   Blog Datexa — identidade visual
   Fundo branco · Texto preto · Acento laranja #ff5c00
   =========================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --bg-card: #f7f7f8;
  --bg-elev: #eeeeef;
  --line: #e6e6e9;
  --text: #000000;
  --text-dim: #444444;
  --text-mute: #777777;
  --grad1: #ff5c00;
  --grad2: #ff5c00;
  --grad3: #ff5c00;
  --brand-gradient: #ff5c00;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --shadow: 0 18px 50px -20px rgba(0,0,0,.18);
}

* { 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,.9);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; line-height: 0; }
.brand-logo { height: 38px; width: auto; display: block; }
.header-accent { height: 3px; background: var(--brand-gradient); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--text-dim);
  padding: 8px 14px;
  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(--brand-gradient);
}

/* 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: 8px;
}
.search-box input {
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .9rem;
  width: 130px;
  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(--brand-gradient);
  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: 800;
  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(--brand-gradient);
}
.section-more {
  font-family: var(--font-head);
  font-weight: 600;
  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 {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.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(0,0,0,.55);
  backdrop-filter: blur(4px);
}
.tag--ia,
.tag--tecnologia,
.tag--negocios,
.tag--tendencias,
.tag--futuro,
.tag--insights { background: var(--grad1); }

/* ---------- 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: 16 / 7;
  min-height: 280px;
}
.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(0,0,0,.88) 0%, rgba(0,0,0,.3) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 36px;
  gap: 10px;
}
.fhero-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin: 0;
}
.fhero-excerpt {
  color: rgba(255,255,255,.75);
  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,.55);
  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: 800;
  font-size: 1.3rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  min-width: 22px;
}
.rank-list a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.3;
  transition: color .18s;
}
.rank-list a:hover { color: var(--grad1); }

/* IA section */
.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;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-title { font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }

/* ---------- Post ---------- */
.post { max-width: 780px; }
.post-head-inner { padding: 12px 0 0; }
.post-title {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -.025em;
  margin: 16px 0 18px;
  line-height: 1.08;
  color: #0a0a0a;
}
.post-head .tag { position: static; display: inline-block; }
.post-lead {
  font-size: 1.22rem;
  color: #444;
  margin: 0 0 20px;
  line-height: 1.65;
  padding-left: 16px;
  border-left: 3px solid var(--grad1);
  font-style: italic;
}
.post-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--text-mute);
  font-size: .88rem;
  padding: 14px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 8px;
}
.post-cover { margin: 28px 0; border-radius: var(--radius); box-shadow: 0 4px 24px rgba(0,0,0,.08); overflow: hidden; }
.post-cover img { width: 100%; display: block; border-radius: var(--radius) var(--radius) 0 0; }
.post-cover:has(.post-cover-caption) img { border-radius: var(--radius) var(--radius) 0 0; }
.post-cover:not(:has(.post-cover-caption)) img { border-radius: var(--radius); }
.post-cover-caption {
  padding: 7px 14px;
  font-size: .76rem;
  color: #888;
  background: #f7f7f8;
  border-top: 1px solid #e8e8ea;
  font-style: italic;
  letter-spacing: .01em;
  display: block;
}

/* ---- Post body — tipografia editorial --------------------------------- */
.post-body {
  font-size: 1.08rem;
  line-height: 1.82;
  color: #1d1d1d;
}

/* Primeiro parágrafo levemente maior */
.post-body > p:first-of-type {
  font-size: 1.14rem;
  color: #111;
  line-height: 1.78;
}

/* Drop cap — primeira letra em destaque */
.post-body > p:first-of-type::first-letter {
  float: left;
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 0.8;
  margin: 5px 10px 0 0;
  color: var(--grad1);
  font-family: var(--fh);
}

.post-body p { margin: 0 0 22px; }

/* H2 — título de seção com linha + acento laranja */
.post-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 52px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8e8ea;
  position: relative;
  color: #0a0a0a;
  letter-spacing: -.01em;
}
.post-body h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--grad1);
  border-radius: 2px;
}

/* H3 — subtítulo com barra lateral laranja */
.post-body h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin: 36px 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--grad1);
  color: #0a0a0a;
}

/* Blockquote — card de destaque com aspas */
.post-body blockquote {
  position: relative;
  margin: 36px 0;
  padding: 26px 28px 22px 60px;
  background: #fff8f5;
  border: 1px solid #ffd8c0;
  border-left: 4px solid var(--grad1);
  border-radius: 0 14px 14px 0;
  font-style: italic;
}
.post-body blockquote::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 3.8rem;
  color: var(--grad1);
  opacity: 0.3;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1;
}
.post-body blockquote p {
  font-size: 1.1rem;
  font-weight: 500;
  color: #222;
  margin: 0;
  line-height: 1.7;
}
.post-body blockquote cite,
.post-body blockquote footer {
  display: block;
  margin-top: 10px;
  font-size: .82rem;
  font-style: normal;
  color: #888;
}
.post-body blockquote cite::before { content: '— '; }

/* Links */
.post-body a { color: var(--grad1); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { opacity: .8; text-decoration: none; }

/* Listas com marcador laranja */
.post-body ul, .post-body ol { margin: 0 0 22px; padding-left: 24px; }
.post-body li { margin: 8px 0; line-height: 1.65; }
.post-body ul li::marker { color: var(--grad1); font-size: 1.1em; }
.post-body ol li::marker { color: var(--grad1); font-weight: 700; }

/* Strong / em */
.post-body strong { color: #0a0a0a; font-weight: 700; }
.post-body em { color: #444; }

/* HR decorativo */
.post-body hr {
  margin: 44px auto;
  width: 60px;
  border: none;
  border-top: 3px solid var(--grad1);
  opacity: .45;
  border-radius: 99px;
}

/* Imagens */
.post-body img { border-radius: var(--radius-sm); margin: 28px 0; width: 100%; }

/* Código inline */
.post-body code {
  background: #f2f2f4;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: .9em;
  color: #c0392b;
}
.post-body pre {
  background: #f2f2f4;
  padding: 20px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 0 0 22px;
}
.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: 8px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #eee;
}
.reading-time { font-size: .85rem; color: var(--text-mute); }

/* ======================================================================
   CTA CINEMATOGRÁFICO — CURTAIN REVEAL
   Arquitetura fiel ao componente React/GSAP original
   ====================================================================== */

@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,92,0,.5)); }
  15%,45% { transform: scale(1.2); filter: drop-shadow(0 0 10px rgba(255,92,0,.8)); }
  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: #09080d;
  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(255,92,0,.22)  0%,
    rgba(255,140,0,.14) 40%,
    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,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.03) 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,.05);
  background: linear-gradient(180deg, rgba(255,255,255,.1) 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 (igual ao original: absolute top-12, -rotate-2 scale-110) */
.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(9,8,13,.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,.3);
  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: #ff5c00;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(255,92,0,.45));
}

/* 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 — fiel ao original */
.cf-glass-pill {
  background: linear-gradient(145deg, rgba(255,255,255,.03) 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,.08);
  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,.75);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  will-change: transform;
  transform-style: preserve-3d;
}
.cf-glass-pill:hover {
  background: linear-gradient(145deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.02) 100%);
  border-color: rgba(255,255,255,.2);
  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: #ff5c00 !important;
  border-color: transparent !important;
  color: #fff !important;
}
.cf-pill-grad:hover {
  background: #ff7a2b !important;
  box-shadow: 0 20px 40px -10px rgba(255,92,0,.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,.3);
}
.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: #ff5c00;
  display: inline-block;
}
.cf-back-top {
  width: 48px; height: 48px;
  padding: 0;
  justify-content: center;
  border: none;
  background: linear-gradient(145deg, rgba(255,255,255,.03), 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,.08);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  color: rgba(255,255,255,.5);
  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,.2); }
.post-cta-divider {
  height: 1px;
  background: var(--line);
}

/* ---- CTA Instagram card ----------------------------------------------- */
.datexa-cta-card {
  position: relative;
  margin: 48px 0 36px;
  border-radius: 18px;
  background: var(--bg-card, var(--bg-soft));
  border: 1px solid rgba(255, 92, 0, .35);
  overflow: hidden;
}
.datexa-cta-glow {
  position: absolute;
  top: -50px; left: 50%;
  transform: translateX(-50%);
  width: 320px; height: 160px;
  background: radial-gradient(ellipse, rgba(255,92,0,.15) 0%, transparent 70%);
  pointer-events: none;
}
.datexa-cta-inner {
  position: relative;
  padding: 30px 36px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.datexa-cta-logo {
  color: var(--grad1);
  flex-shrink: 0;
}
.datexa-cta-text {
  flex: 1;
  min-width: 180px;
  font-size: .97rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}
.datexa-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--brand-gradient, var(--grad1));
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s, transform .15s;
}
.datexa-cta-btn:hover { opacity: .85; transform: translateY(-1px); }
@media (max-width: 600px) {
  .datexa-cta-inner { padding: 22px 20px 20px; gap: 14px; }
  .datexa-cta-btn   { width: 100%; justify-content: center; }
}

/* ---- 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: .78rem;
  font-family: var(--fh);
  font-weight: 600;
  color: #555;
  background: #f5f5f7;
  border: 1px solid #e8e8ea;
  padding: 5px 12px;
  border-radius: 999px;
  transition: background .15s, color .15s;
}
.chip:hover { background: #ff5c00; color: #fff; border-color: #ff5c00; }
.related { margin-top: 56px; }

.page-content { max-width: 760px; }

/* ---------- Newsletter (shortcode [newsletter]) ---------- */
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 28px 0 12px;
}
.newsletter-input {
  flex: 1 1 280px;
  min-width: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 20px;
  outline: none;
}
.newsletter-input:focus { border-color: var(--grad1); }
.newsletter-btn {
  flex: 0 0 auto;
  border: none;
  border-radius: 999px;
  background: var(--grad1);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  cursor: pointer;
  transition: background .18s;
}
.newsletter-btn:hover { background: #ff7a2b; }
.newsletter-hint {
  flex: 1 1 100%;
  margin: 0;
  font-size: .85rem;
  color: var(--text-mute);
}

/* ---------- 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 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  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: 34px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-dim); max-width: 320px; margin: 0; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--text-dim); font-weight: 500; }
.footer-nav a:hover { color: var(--text); }
.footer-meta { display: flex; flex-direction: column; gap: 8px; color: var(--text-mute); font-size: .85rem; text-align: right; }
.footer-meta a { color: var(--grad1); }

.footer-legal {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.footer-legal-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
  justify-content: center;
}
.footer-legal-inner a {
  font-size: .78rem;
  color: var(--text-mute);
  transition: color .15s;
  white-space: nowrap;
}
.footer-legal-inner a:hover { color: var(--grad1); }

/* ---- Columnist inline in post-meta -------------------------------- */
.post-meta-columnist {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.post-meta-columnist:hover { color: var(--grad1); }
.post-meta-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

/* ---- Nav dropdown (Colunistas) ------------------------------------ */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-dropdown-chevron { transition: transform .2s; flex-shrink: 0; opacity: .7; }
.nav-dropdown:hover .nav-dropdown-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
  transform: translateX(-50%) translateY(-6px);
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* triangle */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 6px;
  background: var(--bg-soft);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border-top: 1px solid var(--line);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: background .12s, color .12s;
  text-decoration: none;
}
.nav-dropdown-item:hover { background: var(--bg-elev); color: var(--text); }
.nav-dropdown-item--all {
  font-weight: 700;
  color: var(--grad1);
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.nav-dropdown-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.nav-dropdown-empty { display: block; padding: 12px 16px; font-size: .82rem; color: var(--text-mute); }

/* ---- Columnist card on post page ---------------------------------- */
.post-columnist-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin-top: 36px;
}
.post-columnist-photo {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-elev);
}
.post-columnist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.post-columnist-initials {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
}
.post-columnist-initials {
  background: var(--grad1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-head);
}
.post-columnist-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); margin: 0 0 2px; }
.post-columnist-name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--text); text-decoration: none; }
.post-columnist-name:hover { color: var(--grad1); }
.post-columnist-column { font-size: .82rem; color: var(--grad1); font-weight: 600; margin: 2px 0 6px; }
.post-columnist-bio { font-size: .85rem; color: var(--text-dim); margin: 0; line-height: 1.55; }

/* ---- Columnists listing page -------------------------------------- */
.columnists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.columnist-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.columnist-card:hover {
  border-color: var(--grad1);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.columnist-card-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 200px;
  overflow: hidden;
  background: var(--bg-elev);
}
.columnist-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.columnist-card:hover .columnist-card-photo img { transform: scale(1.04); }
.columnist-card-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--font-head);
  color: #fff;
  background: var(--grad1);
}
.columnist-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.columnist-card-name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin: 0; }
.columnist-card-column { font-size: .82rem; color: var(--grad1); font-weight: 600; margin: 0; }
.columnist-card-bio { font-size: .85rem; color: var(--text-dim); margin: 0; line-height: 1.5; flex: 1; }
.columnist-card-cta { font-size: .8rem; font-weight: 700; color: var(--grad1); margin-top: 8px; }

/* ---- Columnist profile page --------------------------------------- */
.columnist-profile {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.columnist-profile-photo {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-elev);
}
.columnist-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.columnist-profile-initials {
  background: var(--grad1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-head);
}
.columnist-profile-kicker { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grad1); font-weight: 700; margin: 0 0 4px; }
.columnist-profile-name { font-family: var(--font-head); font-weight: 800; font-size: 2rem; margin: 0 0 4px; }
.columnist-profile-column { font-size: .95rem; color: var(--text-dim); margin: 0 0 12px; }
.columnist-profile-bio { font-size: .95rem; color: var(--text-dim); line-height: 1.65; margin: 0 0 16px; max-width: 600px; }
.columnist-profile-social { display: flex; gap: 12px; align-items: center; }
.columnist-profile-social a { color: var(--text-mute); display: flex; align-items: center; transition: color .15s; }
.columnist-profile-social a:hover { color: var(--grad1); }
.columnist-posts-head { margin-bottom: 24px; }

/* ---- Page lead (used in columnists listing) ----------------------- */
.page-lead { color: var(--text-dim); font-size: 1.05rem; max-width: 600px; margin: 8px auto 0; line-height: 1.6; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .home-columns { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .fhero {
    aspect-ratio: unset;
    height: 420px;
    min-height: unset;
  }
  .fhero-overlay {
    padding: 20px 18px;
    background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.4) 60%, transparent 100%);
  }
  .fhero-title {
    font-size: 1.25rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .fhero-excerpt { display: none; }
  .featured-sub { grid-template-columns: 1fr; }
  .featured-sub .card--default .card-excerpt { display: block; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    margin: 0;
    transform: translateY(-120%);
    transition: transform .28s ease;
    box-shadow: var(--shadow);
  }
  .main-nav.open { transform: translateY(0); }
  .nav-link { padding: 12px 14px; }
  .search-box { margin: 8px 0 0; }
  .search-box input { width: 100%; flex: 1; }
  .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; }

  /* Nav dropdown: abre inline no mobile */
  .nav-dropdown { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    left: auto;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border-radius: 8px;
    margin-top: 4px;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: none;
  }
  .nav-dropdown-menu.open { display: block; }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-trigger { width: 100%; }

  /* Columnist card on post page */
  .post-columnist-card { flex-direction: column; gap: 14px; }
  .post-columnist-photo { width: 56px; height: 56px; }
  .post-columnist-initials { width: 56px; height: 56px; }

  /* Columnist profile page */
  .columnist-profile { flex-direction: column; gap: 20px; padding: 32px 0 28px; }
  .columnist-profile-photo { width: 88px; height: 88px; }
  .columnist-profile-initials { width: 88px; height: 88px; }
  .columnist-profile-name { font-size: 1.6rem; }
}
