/* Site publico — layout editorial em azul */
:root {
  --navy-950: #050f24;
  --navy-900: #0a1f44;
  --navy-700: #14336b;
  --blue-700: #1746c7;
  --blue-600: #1f5eff;
  --blue-400: #5b9bff;
  --blue-100: #dbe8ff;
  --blue-50: #f1f6ff;
  --ink: #0b1526;
  --text: #25324a;
  --muted: #64728a;
  --line: #e1e7f0;
  --soft: #f5f8fc;
  --surface: #ffffff;
  --success: #0f7b55;
  --danger: #c0362c;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --reading: Georgia, "Times New Roman", serif;
  --container: 1240px;
  --gutter: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  -webkit-text-size-adjust: 100%;
}

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

body.is-locked {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

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

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.icon {
  flex: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--blue-600);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

/* Botoes e etiquetas */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.18s ease;
}

.btn:hover {
  background: var(--blue-700);
}

.btn--accent {
  background: var(--blue-600);
}

.btn--accent:hover {
  background: var(--blue-700);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue-700);
  font-size: 0.85rem;
  font-weight: 600;
}

.link-button:hover {
  text-decoration: underline;
}

.kicker {
  display: inline-block;
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

a.kicker:hover {
  text-decoration: underline;
}

.kicker--light {
  color: var(--blue-400);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

.meta strong {
  color: var(--ink);
  font-weight: 600;
}

.meta time::before {
  content: "·";
  margin-right: 10px;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.more-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.18s ease;
}

.more-link:hover .icon {
  transform: translateX(4px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.chip span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.chip:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Cabecalho */
.utility-bar {
  background: var(--navy-950);
  color: #b9c6dd;
  font-size: 0.76rem;
}

.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
}

.utility-bar__date::first-letter {
  text-transform: uppercase;
}

.utility-bar__links {
  display: flex;
  gap: 20px;
}

.utility-bar__links a:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: box-shadow 0.2s ease;
}

.site-header.is-stuck {
  box-shadow: 0 6px 24px rgba(5, 15, 36, 0.14);
}

.masthead {
  background: var(--navy-900);
  color: #fff;
}

.masthead__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  transition: min-height 0.2s ease;
}

.is-stuck .masthead__inner {
  min-height: 58px;
}

.masthead__menu {
  justify-self: start;
  margin-left: -10px;
}

.masthead__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.masthead .icon-button:hover {
  color: var(--blue-400);
}

.masthead__cta {
  min-height: 38px;
  padding: 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.brand__mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand--dark {
  color: var(--navy-900);
}

.brand--dark .brand__mark {
  border: 1px solid var(--line);
}

.section-nav {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.section-nav__inner {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.section-nav__inner::-webkit-scrollbar {
  display: none;
}

.section-nav a {
  flex: none;
  padding: 13px 0 11px;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.section-nav a:hover,
.section-nav a.is-active {
  border-color: var(--blue-600);
  color: var(--blue-700);
}

.search-panel {
  position: absolute;
  inset: 100% 0 auto;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 18px 30px rgba(5, 15, 36, 0.12);
}

.search-panel__form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 16px;
  color: var(--muted);
}

.search-panel__form input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  outline: none;
}

.search-panel__form input:focus {
  border-color: var(--blue-600);
}

/* Menu lateral */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 15, 36, 0.55);
}

.drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: min(360px, 88vw);
  background: var(--surface);
  overflow-y: auto;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s;
}

.drawer.is-open {
  transform: none;
  visibility: visible;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 12px 16px 20px;
  border-bottom: 1px solid var(--line);
}

.drawer__head .brand__name {
  font-size: 1.5rem;
}

.drawer__search {
  display: flex;
  margin: 20px;
  border: 1px solid var(--line);
}

.drawer__search input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  outline: none;
}

.drawer__search button {
  display: grid;
  place-items: center;
  width: 48px;
  border: 0;
  background: var(--navy-900);
  color: #fff;
}

.drawer__search:focus-within {
  border-color: var(--blue-600);
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 0 20px 28px;
}

.drawer__label {
  margin-top: 18px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drawer__nav a {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.drawer__nav a:hover {
  color: var(--blue-700);
}

/* Alertas */
.flash-wrap:empty,
.flash-wrap:not(:has(.alert)) {
  display: none;
}

.flash-wrap {
  padding-top: 20px;
}

.alert {
  padding: 14px 18px;
  border-left: 4px solid var(--blue-600);
  background: var(--blue-50);
  color: var(--ink);
  font-weight: 500;
}

.alert + .alert {
  margin-top: 10px;
}

.alert-success {
  border-color: var(--success);
  background: #e9f7f1;
}

.alert-error {
  border-color: var(--danger);
  background: #fdeeec;
}

/* Seccoes */
.section {
  padding-block: 44px;
}

.section--soft {
  background: var(--soft);
}

.section--flush {
  padding-top: 32px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-top: 14px;
  border-top: 3px solid var(--navy-900);
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.section-head h2 a:hover {
  color: var(--blue-700);
}

.section-head__note {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rail-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  padding-top: 12px;
  border-top: 3px solid var(--navy-900);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 0 rgba(31, 94, 255, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(31, 94, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 94, 255, 0); }
}

/* Primeira pagina */
.front {
  padding-block: 28px 20px;
}

.front__grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 300px;
  grid-template-areas: "latest lead popular";
  gap: 0 32px;
}

.front__lead {
  grid-area: lead;
  padding-inline: 32px;
  border-inline: 1px solid var(--line);
}

.front__latest {
  grid-area: latest;
}

.front__popular {
  grid-area: popular;
}

.lead-story {
  text-align: center;
}

.lead-story__image,
.card__image,
.channel__image,
.feature__image {
  display: block;
  overflow: hidden;
  background: var(--blue-50);
}

.lead-story__image img,
.card__image img,
.channel__image img,
.feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lead-story:hover img,
.card:hover .card__image img,
.channel__lead:hover img,
.feature:hover img {
  transform: scale(1.03);
}

.lead-story__image {
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
}

.lead-story h1 {
  margin: 8px 0 12px;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 800;
  line-height: 1.08;
}

.lead-story h1 a:hover,
.card h3 a:hover,
.channel__lead h3 a:hover,
.feature h2 a:hover {
  color: var(--blue-700);
}

.lead-story p {
  max-width: 58ch;
  margin: 0 auto 14px;
  color: var(--text);
  font-size: 1.05rem;
}

.lead-story .meta {
  justify-content: center;
}

.front__secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.front__secondary .card p {
  display: none;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline a {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
}

.timeline a:hover,
.ranked a:hover strong,
.story-row:hover strong {
  color: var(--blue-700);
}

.front__latest .more-link {
  margin-top: 16px;
}

.ranked {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ranked;
}

.ranked li {
  counter-increment: ranked;
  border-bottom: 1px solid var(--line);
}

.ranked a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 14px 0;
}

.ranked a::before {
  content: counter(ranked);
  color: var(--blue-600);
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.ranked__text small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ranked__text strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.25;
  transition: color 0.18s ease;
}

.ranked img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  background: var(--blue-50);
}

/* Cartoes */
.card-grid {
  display: grid;
  gap: 32px 28px;
}

.card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card__image {
  aspect-ratio: 3 / 2;
  margin-bottom: 14px;
}

.card h3 {
  margin: 6px 0 8px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.card p {
  display: -webkit-box;
  margin-bottom: 10px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.93rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Bloco de editoria */
.channel {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 36px;
}

.channel--single {
  grid-template-columns: minmax(0, 1fr);
}

.channel__lead {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
  gap: 26px;
}

.channel__image {
  aspect-ratio: 3 / 2;
}

.channel__lead h3 {
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
}

.channel__lead p {
  margin-bottom: 14px;
  color: var(--muted);
}

.channel__list {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.story-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  align-items: start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.story-row:first-child {
  padding-top: 0;
}

.story-row:last-child {
  border-bottom: 0;
}

.story-row strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.25;
  transition: color 0.18s ease;
}

.story-row small {
  color: var(--muted);
  font-size: 0.78rem;
}

.story-row img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  background: var(--blue-50);
}

/* Destaque de listagem */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.feature__image {
  aspect-ratio: 16 / 9;
}

.feature h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
}

.feature p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 1.02rem;
}

/* Cabecalho de pagina */
.page-header {
  padding-block: 44px 36px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.page-header h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
}

.page-header p {
  max-width: 68ch;
  color: var(--text);
  font-size: 1.08rem;
}

.page-header .btn {
  margin-top: 22px;
}

.page-header__count {
  margin-top: 14px;
  color: var(--muted) !important;
  font-size: 0.9rem !important;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--blue-700);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.search-page-form {
  display: flex;
  gap: 10px;
  max-width: 720px;
  margin-top: 18px;
}

.search-page-form input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #c6d0e0;
  background: var(--surface);
  font-size: 1.02rem;
  outline: none;
}

.search-page-form input:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-100);
}

.search-page-form .btn {
  min-height: 52px;
  margin-top: 0;
}

.empty-state {
  padding: 56px 20px;
  border: 1px dashed #c6d0e0;
  text-align: center;
}

.empty-state h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.empty-state p {
  color: var(--muted);
}

.empty-state .btn {
  margin-top: 20px;
}

.empty-note {
  padding: 18px;
  background: var(--soft);
  color: var(--muted);
}

/* Editorias */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 260px;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 15, 36, 0.15) 0%, rgba(5, 15, 36, 0.92) 100%);
}

.tile:hover img {
  transform: scale(1.05);
}

.tile__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 22px;
}

.tile__body small {
  color: var(--blue-400);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tile__body strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.1;
}

.tile__body span {
  color: #d3dcec;
  font-size: 0.9rem;
}

/* Paginacao */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 44px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 600;
}

.pagination a {
  border: 1px solid var(--line);
}

.pagination a:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
}

.pagination a.is-active {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: #fff;
}

.pagination__step {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Artigo */
.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 110;
  height: 3px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--blue-400);
  transform: scaleX(0);
  transform-origin: left;
}

.article-head {
  max-width: 900px;
  padding-block: 36px 28px;
  text-align: center;
}

.article-head .breadcrumb {
  justify-content: center;
}

.article-head h1 {
  margin: 16px 0;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
}

.article-head__deck {
  max-width: 62ch;
  margin-inline: auto;
  color: var(--text);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 28px;
  padding-block: 16px;
  border-block: 1px solid var(--line);
  text-align: left;
}

.byline__avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.byline__text {
  flex: 1;
  min-width: 200px;
  font-size: 0.95rem;
}

.byline__text strong {
  color: var(--ink);
}

.byline__text small {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
}

.byline__text small span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.byline__text .icon {
  width: 14px;
  height: 14px;
}

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

.share > span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.share a,
.share button {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--navy-900);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.share a:hover,
.share button:hover,
.share button.is-copied {
  border-color: var(--blue-600);
  background: var(--blue-600);
  color: #fff;
}

.share .icon {
  width: 18px;
  height: 18px;
}

.share button.is-copied::after {
  content: "Ligação copiada";
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  padding: 5px 10px;
  background: var(--ink);
  color: #fff;
  font-size: 0.74rem;
  white-space: nowrap;
}

.article-cover {
  max-width: 1100px;
  margin-block: 0 36px;
}

.article-cover img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  background: var(--blue-50);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 300px;
  justify-content: center;
  gap: 64px;
  padding-bottom: 56px;
}

.article-rail > section {
  position: sticky;
  top: 140px;
}

.article-body {
  color: #1a2438;
  font-family: var(--reading);
  font-size: 1.16rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.article-body > * + * {
  margin-top: 1.25em;
}

.article-body > p:first-of-type::first-letter {
  float: left;
  margin: 0.06em 0.1em 0 0;
  color: var(--navy-900);
  font-family: var(--serif);
  font-size: 3.9em;
  font-weight: 800;
  line-height: 0.82;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin-top: 1.7em;
}

.article-body h2 {
  font-size: 1.7rem;
}

.article-body h3 {
  font-size: 1.35rem;
}

.article-body h4 {
  font-size: 1.12rem;
}

.article-body a {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--navy-900);
}

.article-body img {
  height: auto;
  margin-inline: auto;
}

.article-body figure {
  margin-inline: 0;
}

.article-body figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
}

.article-body blockquote {
  margin-inline: 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--blue-600);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
}

.article-body ul,
.article-body ol {
  padding-left: 1.3em;
}

.article-body li + li {
  margin-top: 0.4em;
}

.article-body hr {
  width: 80px;
  margin-block: 2.2em;
  border: 0;
  border-top: 3px solid var(--navy-900);
}

.article-body pre {
  padding: 16px;
  overflow-x: auto;
  background: var(--navy-950);
  color: #e6edf9;
  font-size: 0.9rem;
}

.article-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.92rem;
}

.article-body th,
.article-body td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.article-body th {
  background: var(--soft);
  color: var(--ink);
}

.article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
}

/* Comentarios */
.comments {
  margin-top: 48px;
}

.comment {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.comment__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.comment__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.85rem;
  font-weight: 700;
}

.comment__head strong {
  color: var(--ink);
}

.comment__head time {
  color: var(--muted);
  font-size: 0.8rem;
}

.comment > p {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.comment__children {
  margin: 14px 0 0 16px;
  padding-left: 18px;
  border-left: 2px solid var(--blue-100);
}

.comment__children .comment:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.comment-form {
  margin-top: 32px;
  padding: 26px;
  background: var(--soft);
}

.comment-form h3 {
  font-size: 1.3rem;
}

.reply-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-left: 3px solid var(--blue-600);
  background: var(--blue-50);
  font-size: 0.9rem;
}

/* Formularios */
.form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c6d0e0;
  background: var(--surface);
  font-size: 1rem;
  font-weight: 400;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form textarea {
  resize: vertical;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-100);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.form-actions small {
  color: var(--muted);
}

.form > .btn {
  justify-self: start;
}

/* Paginas institucionais */
.prose-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: start;
  gap: 48px;
}

.prose h2 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.prose p {
  font-size: 1.06rem;
}

.prose p + h2 {
  margin-top: 32px;
}

.prose-note,
.contact-panel {
  padding: 28px;
  border-top: 3px solid var(--blue-600);
  background: var(--soft);
}

.prose-note h3,
.contact-panel h2 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.contact-panel p + p {
  margin-top: 12px;
}

.contact-panel strong {
  color: var(--ink);
}

/* Newsletter e rodape */
.newsletter {
  padding-block: 52px;
  background: var(--navy-900);
  color: #d3dcec;
}

.newsletter__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.newsletter h2 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.newsletter__form {
  display: flex;
  gap: 10px;
}

.newsletter__form input {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}

.newsletter__form input::placeholder {
  color: #9fb0cc;
}

.newsletter__form input:focus {
  border-color: var(--blue-400);
}

.newsletter__form .btn {
  min-height: 50px;
}

.site-footer {
  background: var(--navy-950);
  color: #a9b7d0;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: 52px 40px;
}

.footer-about p {
  max-width: 38ch;
  margin-top: 16px;
}

.site-footer .brand__name {
  font-size: 1.6rem;
}

.site-footer h4 {
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-about) a {
  display: block;
  padding: 5px 0;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid p {
  margin-top: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 18px;
}

.footer-bottom a {
  color: #fff;
  font-weight: 600;
}

/* Responsivo */
@media (max-width: 1180px) {
  .front__grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-areas:
      "lead popular"
      "latest latest";
  }

  .front__lead {
    padding-left: 0;
    border-left: 0;
  }

  .front__latest {
    margin-top: 36px;
  }

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

  .article-layout {
    grid-template-columns: minmax(0, 720px) 260px;
    gap: 40px;
  }
}

@media (max-width: 960px) {
  .front__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "lead"
      "latest"
      "popular";
  }

  .front__lead {
    padding-right: 0;
    border-right: 0;
  }

  .front__popular {
    margin-top: 36px;
  }

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

  .card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid--three,
  .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel,
  .feature,
  .prose-grid,
  .contact-grid,
  .newsletter__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel__list {
    padding-left: 0;
    border-left: 0;
  }

  .article-layout {
    grid-template-columns: minmax(0, 720px);
  }

  .article-rail > section {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  html {
    scroll-padding-top: 110px;
  }

  .utility-bar__links,
  .masthead__menu span,
  .masthead__cta {
    display: none;
  }

  .masthead__inner {
    min-height: 60px;
  }

  .brand__name {
    font-size: 1.45rem;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__mark img {
    width: 26px;
    height: 26px;
  }

  .section-nav__inner {
    gap: 22px;
  }

  .search-panel__form > .icon,
  .search-panel__form .btn {
    display: none;
  }

  .search-panel__form input {
    font-size: 1.1rem;
  }

  .section {
    padding-block: 32px;
  }

  .front {
    padding-top: 20px;
  }

  .lead-story {
    text-align: left;
  }

  .lead-story__image {
    margin-inline: calc(var(--gutter) * -1);
  }

  .lead-story p {
    margin-inline: 0;
  }

  .lead-story .meta {
    justify-content: flex-start;
  }

  .front__secondary,
  .timeline,
  .ranked,
  .card-grid--four,
  .card-grid--three,
  .tile-grid,
  .channel__lead,
  .form-row,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-grid {
    gap: 28px;
  }

  .tile {
    min-height: 200px;
  }

  .page-header {
    padding-block: 30px 26px;
  }

  .article-head {
    padding-top: 26px;
    text-align: left;
  }

  .article-head .breadcrumb {
    justify-content: flex-start;
  }

  .article-cover {
    width: 100%;
    margin-bottom: 26px;
  }

  .article-body {
    font-size: 1.08rem;
  }

  .article-body blockquote {
    font-size: 1.2rem;
  }

  .comment-form {
    padding: 20px 16px;
  }

  .search-page-form,
  .newsletter__form {
    flex-direction: column;
  }

  .footer-grid {
    gap: 28px;
    padding-block: 36px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
