/* ============================================================
   DIÁRIO 94 - Folha de estilo principal
   Marca: serifa "DIÁRIO" + caixa azul "94"
   Paleta: Branco 60% · Azul #1077ad 30% · Preto 20%
   Tipografia: Playfair Display (títulos) · Poppins (texto)
   ============================================================ */

:root {
  /* Cores da marca */
  --blue: #1077ad;
  --blue-dark: #0a5c84;
  --blue-darker: #073f5e;
  --blue-light: #3d9cc8;
  --blue-faint: #eef6fb;
  --white: #ffffff;
  --black: #0a0a0a;

  --ink: #16191d;
  --gray-800: #23272e;
  --gray-600: #565d66;
  --gray-500: #767d86;
  --gray-400: #99a0a8;
  --gray-300: #cfd4da;
  --gray-200: #e6e9ed;
  --gray-100: #f3f5f7;
  --gray-50: #fafbfc;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, sans-serif;

  --wrap: 1280px;
  --gap: 26px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(10, 30, 50, 0.08);
  --shadow: 0 6px 22px rgba(10, 30, 50, 0.1);
  --shadow-lg: 0 18px 48px rgba(10, 30, 50, 0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
input,
button {
  font-family: inherit;
}
ul {
  list-style: none;
}

::selection {
  background: var(--blue);
  color: #fff;
}

.ic {
  flex-shrink: 0;
}

.logo img {
  height: clamp(26px, 8vw, 50px); /* min 36px, ideal 8% da tela, max 70px */
  width: auto;
  object-fit: contain;
}

.logo--footer img {
  height: 40px;  /* footer normalmente é menor. Testa 40px */
  width: auto;
  object-fit: contain;
  opacity: 0.9; /* opcional: deixa mais discreto no footer */
}

.logo--footer img {
  height: clamp(28px, 6vw, 50px); /* min 28px, ideal 6vw, max 50px */
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

.logo--footer img {
  height: 40px;
  filter: brightness(0) invert(1); /* deixa branco */
}




.bo-logo img {
  height: 32px; /* backoffice usa logo menor. Testa 32px */
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* deixa o logo branco */
}


.bo-logo img {
  height: clamp(54px, 3.5vw, 40px); /* min 24px, ideal 3.5vw, max 40px */
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* transforma pra branco */
}

.bo-logo img {
  height: 50px;
  width: auto;
}




















.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--blue);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 6px 0;
  font-weight: 600;
  font-size: 13px;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: 24px;
}

/* ── LOGÓTIPO (reconstruído em CSS, escala fielmente) ───────── */
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-family: var(--serif);
  font-weight: 900;
}
.logo-word {
  font-size: 30px;
  letter-spacing: -0.5px;
  color: var(--black);
  padding: 5px 10px 5px 12px;
  border: 2.5px solid var(--blue);
  border-right: none;
}
.logo-box {
  font-size: 26px;
  letter-spacing: -1px;
  color: #fff;
  background: var(--blue);
  padding: 7px 11px;
  background-image: linear-gradient(160deg, #fff -40%, var(--blue) 55%);
  -webkit-background-clip: text;
  background-clip: text;
}
/* a caixa azul é o fundo; os dígitos surgem em degradê claro */
.logo-box {
  background: var(--blue);
  color: transparent;
  background-image: linear-gradient(165deg, #ffffff 0%, #cfe6f3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
}
.logo-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  z-index: -1;
}
.logo--footer .logo-word {
  color: #fff;
  border-color: var(--blue-light);
}

/* ── BARRA DE ÚLTIMA HORA (TICKER) ──────────────────────────── */
.ticker {
  display: flex;
  align-items: stretch;
  height: 38px;
  background: var(--blue);
  color: #fff;
  overflow: hidden;
}
.ticker-label {
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.ticker-label::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 0;
  bottom: 0;
  width: 10px;
  background: var(--black);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: ticker 48s linear infinite;
}
.ticker-content span {
  padding: 0 38px;
  font-size: 12.5px;
  font-weight: 500;
  position: relative;
}
.ticker-content span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transform: translateY(-50%);
}
.ticker:hover .ticker-content {
  animation-play-state: paused;
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── CABEÇALHO ──────────────────────────────────────────────── */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--blue);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-date {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
  white-space: nowrap;
}

.header-search {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 22px;
  padding: 4px 6px 4px 4px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.header-search:focus-within {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px var(--blue-faint);
}
.header-search button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--gray-500);
  border-radius: 50%;
}
.header-search input {
  border: none;
  background: none;
  outline: none;
  font-size: 13px;
  width: 158px;
  color: var(--ink);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c81e2c;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e53935;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.55);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(229, 57, 53, 0);
  }
}

.hamburger {
  display: none;
  color: var(--black);
  padding: 4px;
}

/* ── NAVEGAÇÃO ──────────────────────────────────────────────── */
.site-nav {
  background: var(--black);
}
.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar {
  display: none;
}
.nav-inner > a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 17px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.nav-inner > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-inner > a.active {
  color: var(--blue-light);
  border-bottom-color: var(--blue);
}
.nav-fechar {
  display: none;
}
.nav-overlay {
  display: none;
}

/* ── EYEBROW / CABEÇALHO DE SECÇÃO ──────────────────────────── */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--black);
  padding-bottom: 12px;
  margin-bottom: 22px;
}
.section-title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--black);
}
.section-title::before {
  content: "";
  width: 5px;
  height: 22px;
  background: var(--blue);
  border-radius: 2px;
}
.see-all {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}
.see-all:hover {
  gap: 9px;
}

/* ── MINIATURA COM MOTIVO "94" (placeholder de imagem) ──────── */
.thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blue);
  background-image: linear-gradient(
    135deg,
    color-mix(in srgb, var(--c, #1077ad) 78%, #000) 0%,
    var(--c, #1077ad) 55%,
    color-mix(in srgb, var(--c, #1077ad) 60%, #fff) 100%
  );
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb.is-motif::after {
  content: "94";
  position: absolute;
  right: -6px;
  bottom: -22px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 130px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
  letter-spacing: -8px;
  pointer-events: none;
}
.thumb-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border-radius: 3px;
  backdrop-filter: blur(2px);
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 500;
}
.meta .author {
  color: var(--blue);
  font-weight: 600;
}
.meta .ic {
  vertical-align: -2px;
  margin-right: 3px;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 30px 24px 4px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0 36px;
  border-bottom: 1px solid var(--gray-200);
}
.hero-main {
  padding-right: 36px;
  border-right: 1px solid var(--gray-200);
}
.hero-thumb {
  aspect-ratio: 16/9;
  margin-bottom: 18px;
}
.hero-thumb.is-motif::after {
  font-size: 280px;
  bottom: -60px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 900;
  line-height: 1.12;
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--black);
  margin: 6px 0 14px;
}
.hero-main:hover .hero-title {
  color: var(--blue-dark);
}
.hero-title,
.hero-excerpt {
  transition: color 0.2s;
}
.hero-excerpt {
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 62ch;
}

.hero-side {
  display: flex;
  flex-direction: column;
  padding-bottom: 22px;
}
.side-story {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-200);
}
.side-story:first-child {
  padding-top: 4px;
}
.side-story:last-child {
  border-bottom: none;
}
.side-story .thumb {
  width: 92px;
  height: 66px;
  flex-shrink: 0;
}
.side-story .thumb.is-motif::after {
  font-size: 52px;
  bottom: -10px;
  right: -2px;
}
.side-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.32;
  color: var(--black);
  margin: 4px 0 6px;
  transition: color 0.2s;
}
.side-story:hover .side-title {
  color: var(--blue);
}
.side-time {
  font-size: 11px;
  color: var(--gray-400);
}

/* ── GRELHAS DE CARTÕES ─────────────────────────────────────── */
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 24px;
}
.grid {
  display: grid;
  gap: var(--gap);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  display: flex;
  flex-direction: column;
}
.card .thumb {
  aspect-ratio: 16/10;
  margin-bottom: 13px;
}
.card .thumb.is-motif::after {
  font-size: 96px;
  bottom: -16px;
}
.card-cat {
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 7px;
}
.card-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.28;
  color: var(--black);
  margin-bottom: 9px;
  transition: color 0.2s;
}
.card:hover .card-title {
  color: var(--blue);
}
.card-excerpt {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 11px;
}
.card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: var(--gray-400);
}
.card-meta .author {
  color: var(--blue);
  font-weight: 600;
}

/* cartão largo (lista de categoria) */
.card-wide {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-200);
}
.card-wide .thumb {
  aspect-ratio: 16/10;
}
.card-wide .thumb.is-motif::after {
  font-size: 120px;
  bottom: -22px;
}
.card-wide .card-title {
  font-size: 22px;
}
.card-wide .card-excerpt {
  font-size: 14.5px;
}

/* ── LAYOUT DE DUAS COLUNAS (home) ──────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
}
.divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 40px 0;
}

/* coluna lateral */
.aside-block {
  margin-bottom: 38px;
}
.opinion-card {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: flex-start;
}
.opinion-card:last-child {
  border-bottom: none;
}
.opinion-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.opinion-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
}
.opinion-role {
  font-size: 11px;
  color: var(--gray-400);
  margin-bottom: 5px;
}
.opinion-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.32;
  color: var(--gray-800);
  transition: color 0.2s;
}
.opinion-card:hover .opinion-title {
  color: var(--blue);
}

/* mais lidas */
.trending-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: flex-start;
}
.trending-item:last-child {
  border-bottom: none;
}
.trending-num {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  color: var(--blue);
  opacity: 0.35;
  flex-shrink: 0;
  width: 32px;
}
.trending-title {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--gray-800);
  transition: color 0.2s;
}
.trending-item:hover .trending-title {
  color: var(--blue);
}

/* destaque azul (caixa de opinião principal) */
.feature-box {
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  overflow: hidden;
  margin-bottom: 38px;
}
.feature-box::after {
  content: "94";
  position: absolute;
  right: -10px;
  bottom: -40px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 150px;
  color: rgba(255, 255, 255, 0.1);
}
.feature-box .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}
.feature-box .quote-mark {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}
.feature-box h3 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 12px;
  position: relative;
}
.feature-box .meta {
  color: rgba(255, 255, 255, 0.8);
}
.feature-box .meta .author {
  color: #fff;
}

/* ── PÁGINA DE CATEGORIA / CABEÇALHO DE PÁGINA ──────────────── */
.page-head {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.page-head-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 38px 24px;
}
.page-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}
.page-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 46px);
  color: var(--black);
  line-height: 1.06;
}
.page-sub {
  color: var(--gray-600);
  font-size: 15px;
  margin-top: 10px;
  max-width: 60ch;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 14px;
}
.breadcrumb a:hover {
  color: var(--blue);
}
.breadcrumb span {
  color: var(--gray-300);
}

/* ── ARTIGO ─────────────────────────────────────────────────── */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 20px;
}
.article-cat {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.article-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.1;
  color: var(--black);
  margin: 12px 0 16px;
}
.article-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--gray-600);
  font-weight: 400;
  margin-bottom: 22px;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.article-byline .opinion-avatar {
  width: 44px;
  height: 44px;
}
.byline-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}
.byline-role {
  font-size: 12px;
  color: var(--gray-400);
}
.byline-meta {
  margin-left: auto;
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--gray-400);
}
.byline-meta .ic {
  vertical-align: -2px;
  margin-right: 4px;
}
.article-hero {
  aspect-ratio: 16/9;
  margin-bottom: 8px;
}
.article-hero.is-motif::after {
  font-size: 240px;
  bottom: -50px;
}
.article-caption {
  font-size: 12px;
  color: var(--gray-400);
  padding: 8px 2px 28px;
  font-style: italic;
}

.article-body {
  font-size: 17px;
  line-height: 1.78;
  color: var(--gray-800);
}
.article-body p {
  margin-bottom: 22px;
}
.article-body h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 26px;
  color: var(--black);
  margin: 34px 0 14px;
}
.article-body blockquote {
  border-left: 4px solid var(--blue);
  background: var(--blue-faint);
  padding: 18px 24px;
  margin: 28px 0;
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  color: var(--blue-darker);
  border-radius: 0 6px 6px 0;
}
.article-body a {
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
}

.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 0;
  border-top: 1px solid var(--gray-200);
  margin-top: 30px;
}
.article-share span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
}
.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gray-100);
  color: var(--gray-600);
  transition: 0.2s;
}
.share-btn:hover {
  background: var(--blue);
  color: #fff;
}

.related {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px 24px 40px;
}

/* tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0;
}
.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 5px 12px;
  border-radius: 20px;
  transition: 0.2s;
}
.tag:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ── PÍLULAS DE FILTRO ──────────────────────────────────────── */
.pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.pill {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 7px 16px;
  border-radius: 22px;
  transition: 0.2s;
}
.pill:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.pill.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

/* ── NEWSLETTER ─────────────────────────────────────────────── */
.newsletter {
  background: var(--black);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px 24px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.newsletter-94 {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 160px;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.newsletter-text {
  flex: 1;
  min-width: 240px;
  position: relative;
  z-index: 1;
}
.newsletter-text h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 28px;
  margin-bottom: 6px;
}
.newsletter-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.newsletter-form input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 13px 18px;
  border-radius: 26px;
  font-size: 14px;
  outline: none;
  width: 280px;
}
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.newsletter-form input:focus {
  border-color: var(--blue-light);
  background: rgba(255, 255, 255, 0.14);
}
.newsletter-form button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: 26px;
  transition: 0.2s;
}
.newsletter-form button:hover {
  background: var(--blue-light);
}
.newsletter-msg {
  width: 100%;
  font-size: 13px;
  color: var(--blue-light);
  font-weight: 600;
  min-height: 0;
}
.newsletter-msg.show {
  min-height: 20px;
}

/* ── RODAPÉ ─────────────────────────────────────────────────── */
.site-footer {
  background: #111418;
  color: rgba(255, 255, 255, 0.7);
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 50px 24px 34px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
}
.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 36ch;
  margin-bottom: 18px;
}
.social {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  transition: 0.2s;
}
.social-link:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.footer-col ul a:hover {
  color: var(--blue-light);
}
.footer-contactos ul li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-contactos .ic {
  color: var(--blue-light);
  margin-top: 2px;
}
.footer-contactos a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-contactos a:hover {
  color: var(--blue-light);
}
.footer-nif {
  margin-top: 18px;
}
.footer-nif-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 4px;
}
.footer-nif-num {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-legal {
  display: flex;
  gap: 16px;
}
.footer-legal a:hover {
  color: var(--blue-light);
}

/* ── BOTÃO VOLTAR AO TOPO ───────────────────────────────────── */
.topo {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s;
  z-index: 900;
}
.topo.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.topo:hover {
  background: var(--blue-dark);
}

/* ── FORMULÁRIOS (contacto) ─────────────────────────────────── */
.form-grid {
  display: grid;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 7px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field textarea {
  resize: vertical;
  min-height: 140px;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-faint);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: 8px;
  transition: 0.2s;
}
.btn:hover {
  background: var(--blue-dark);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}
.form-note {
  font-size: 13px;
  color: var(--gray-500);
}
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}
.alert-ok {
  background: #e7f6ec;
  color: #1b6e34;
  border: 1px solid #bfe6cb;
}

/* ── BLOCOS DE TEXTO (sobre) ────────────────────────────────── */
.prose {
  max-width: 760px;
}
.prose p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-800);
  margin-bottom: 20px;
}
.prose h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 27px;
  color: var(--black);
  margin: 36px 0 14px;
}
.prose ul.bullets {
  list-style: none;
  margin: 0 0 22px;
}
.prose ul.bullets li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--gray-800);
}
.prose ul.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 2px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 10px 0 30px;
}
.value-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  transition: 0.2s;
}
.value-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--blue-light);
}
.value-card .num {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 34px;
  color: var(--blue);
  opacity: 0.25;
  line-height: 1;
}
.value-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--black);
  margin: 8px 0 8px;
}
.value-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.team-card {
  text-align: center;
}
.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  color: #fff;
  font-weight: 700;
  font-size: 26px;
}
.team-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
}
.team-role {
  font-size: 12.5px;
  color: var(--gray-500);
}

/* reveal ao scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--gray-500);
}
.empty .big94 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 72px;
  color: var(--gray-200);
}

/* ============================================================
   ÁREAS DE PUBLICIDADE
   ============================================================ */
.ad-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  justify-content: center;
}
.ad-wrap--feed {
  padding: 8px 24px 4px;
}

.ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.ad-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  font-weight: 600;
}
.ad-box {
  width: min(var(--ad-w), 100%);
  min-height: var(--ad-h);
  max-width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* Marcador de lugar (enquanto não há anúncio real) */
.ad-ph {
  position: relative;
  width: 100%;
  min-height: inherit;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  text-align: center;
  background: repeating-linear-gradient(
    135deg,
    var(--blue-faint) 0 14px,
    #fff 14px 28px
  );
  border: 1px dashed var(--blue-light);
  border-radius: var(--radius);
  color: var(--gray-500);
  overflow: hidden;
}
.ad-ph-94 {
  position: absolute;
  right: 14px;
  bottom: -10px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(54px, 12vw, 96px);
  line-height: 1;
  color: var(--blue);
  opacity: 0.1;
  pointer-events: none;
}
.ad-ph-txt {
  position: relative;
  font-weight: 600;
  font-size: 13px;
  color: var(--gray-600);
}
.ad-ph-dim {
  position: relative;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--white);
  background: var(--blue);
  padding: 3px 10px;
  border-radius: 999px;
}
/* Anúncio fixo na barra lateral */
.ad--sticky {
  position: sticky;
  top: 92px;
}

/* Formatos com fundo da própria caixa (mantêm proporção) */
.ad--leaderboard .ad-box,
.ad--billboard .ad-box {
  width: min(var(--ad-w), 100%);
}
.ad--retangulo,
.ad--halfpage {
  width: auto;
}

/* ============================================================
   EMPREGOS
   ============================================================ */
/* Botões adicionais */
.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}
.btn-bloco {
  width: 100%;
  justify-content: center;
}

.feature-box--wide {
  margin-bottom: 0;
}
.feature-box--wide h3 {
  font-size: 22px;
}

/* Barra de filtros */
.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 18px;
}
.filtros-busca {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 240px;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--gray-500);
}
.filtros-busca input {
  border: 0;
  outline: 0;
  padding: 12px 0;
  flex: 1;
  font: inherit;
  background: transparent;
  color: var(--ink);
}
.filtros select {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.filtros .btn {
  padding: 12px 22px;
}
.filtros-limpar {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
}
.filtros-limpar:hover {
  text-decoration: underline;
}

.vagas-contagem {
  font-size: 14px;
  color: var(--gray-600);
  margin: 4px 0 22px;
}
.vagas-contagem strong {
  color: var(--ink);
}

/* Grelha de vagas */
.vagas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.vagas-grid--destaque {
  margin-bottom: 8px;
}
.vaga-ad {
  grid-column: 1 / -1;
}

/* Cartão de vaga */
.vaga-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: 0.2s var(--ease);
  border-top: 3px solid var(--c, var(--blue));
}
.vaga-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--gray-300);
}
.vaga-flag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c, var(--blue));
  background: var(--blue-faint);
  background: color-mix(in srgb, var(--c, var(--blue)) 12%, #fff);
  padding: 3px 9px;
  border-radius: 999px;
}
.vaga-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.vaga-logo {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--c, var(--blue));
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
}
.vaga-headings {
  min-width: 0;
}
.vaga-titulo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
}
.vaga-card:hover .vaga-titulo {
  color: var(--blue);
}
.vaga-empresa {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-600);
  margin-top: 4px;
}
.vaga-empresa svg {
  color: var(--gray-400);
}

.vaga-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vaga-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gray-700, #444);
  background: var(--gray-100);
  padding: 5px 10px;
  border-radius: 6px;
}
.vaga-chip svg {
  color: var(--gray-500);
}

.vaga-rodape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.vaga-area {
  font-size: 12px;
  font-weight: 600;
  color: var(--c, var(--blue));
}
.vaga-salario {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.vaga-salario svg {
  color: var(--c, var(--blue));
}

.vaga-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--gray-100);
  padding-top: 14px;
  margin-top: 2px;
}
.vaga-data {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-500);
}
.vaga-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}
.vaga-btn:hover {
  gap: 9px;
}

/* Cabeçalho da vaga (detalhe) */
.vaga-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 16px;
}
.vaga-logo--lg {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  font-size: 23px;
}
.vaga-head-titulo {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.15;
}
.vaga-head-empresa {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  color: var(--gray-700, #444);
  margin-top: 8px;
}
.vaga-head-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}
.vaga-head-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--gray-600);
}
.vaga-head-meta svg {
  color: var(--c, var(--blue));
}

/* Corpo da vaga */
.vaga-corpo {
  min-width: 0;
}
.vaga-bloco {
  margin-bottom: 30px;
}
.vaga-h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-100);
}
.vaga-requisitos ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vaga-requisitos li {
  position: relative;
  padding-left: 28px;
  color: var(--gray-700, #444);
}
.vaga-requisitos li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-faint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231077ad' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Resumo lateral */
.vaga-resumo {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}
.vaga-resumo .btn-bloco {
  margin-bottom: 18px;
}
.vaga-resumo-lista {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.vaga-resumo-lista li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 13.5px;
}
.vaga-resumo-lista li:last-child {
  border-bottom: 0;
}
.vaga-resumo-lista span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
}
.vaga-resumo-lista span svg {
  color: var(--gray-400);
}
.vaga-resumo-lista strong {
  text-align: right;
  color: var(--ink);
  font-weight: 600;
}
