/* ==========================================================================
   REVISTA ÍCONE - DESIGN SYSTEM & ESTILOS PRINCIPAIS
   ========================================================================== */

:root {
  /* Paleta cromática principal */
  --ink: #11110f;
  --ink-soft: #1e1e1b;
  --paper: #f6f2e8;
  --paper-subtle: #ede8dc;
  --paper-card: #fdfbf7;
  --white: #ffffff;
  --gold: #f0b800;
  --gold-hover: #dca700;
  --orange: #f24b2f;
  --orange-hover: #d83d23;
  --muted: #6e6b64;
  --muted-light: #949086;
  --line: #d7d1c4;
  --line-light: #e5e0d4;
  --max: 1280px;

  /* Podcast Theme (Dark Editorial Contrast) */
  --podcast-bg: #141312;
  --podcast-surface: #1e1d1b;
  --podcast-text: #f5f2eb;
  --podcast-muted: #a6a29a;

  /* Tipografia */
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;

  /* Transições e Elevações */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(17, 17, 15, 0.06);
  --shadow-md: 0 8px 24px rgba(17, 17, 15, 0.1);
  --shadow-lg: 0 16px 40px rgba(17, 17, 15, 0.16);
  --shadow-float: 0 20px 60px rgba(0, 0, 0, 0.28);
}

/* Reset e Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

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

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  background: var(--ink);
  color: var(--gold);
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 1000;
  border-radius: 0 0 6px 6px;
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--gold);
}

/* --------------------------------------------------------------------------
   BARRA DE ANÚNCIO SUPERIOR (PRESERVADA)
   -------------------------------------------------------------------------- */
.ad-bar {
  height: 48px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.ad-bar > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted-light);
}

.ad-bar strong {
  font-weight: 600;
}

.ad-bar a {
  color: var(--gold);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ad-bar a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   CABEÇALHO & STICKY HEADER COMPACTO
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-sticky {
  background: rgba(246, 242, 232, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(17, 17, 15, 0.08);
  border-bottom-color: rgba(17, 17, 15, 0.15);
}

.header-main {
  height: 118px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition: height 0.3s var(--ease-smooth);
}

.site-header.is-sticky .header-main {
  height: 68px;
}

.date-block {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  letter-spacing: 0.12em;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-header.is-sticky .date-block {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10px);
}

.date-block span {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 3px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand-logo {
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: height 0.3s var(--ease-smooth), transform 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(17, 17, 15, 0.12));
}

.site-header.is-sticky .brand-logo {
  height: 42px;
}

.brand:hover .brand-logo {
  transform: scale(1.02);
}

.brand small {
  font: italic 12px/1 var(--serif);
  display: block;
  letter-spacing: 0.06em;
  text-align: center;
  margin-top: 5px;
  color: var(--ink);
  transition: opacity 0.25s ease, max-height 0.25s ease, margin 0.25s ease;
}

.site-header.is-sticky .brand small {
  opacity: 0;
  max-height: 0;
  margin: 0;
  overflow: hidden;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.subscribe-btn {
  border: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 11px 20px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.subscribe-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(240, 184, 0, 0.35);
}

.icon-btn {
  border: 1px solid transparent;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
  background: rgba(17, 17, 15, 0.06);
}

.icon-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  width: 20px;
  height: 20px;
}

.menu-btn {
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  background: transparent;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.menu-btn:hover {
  background: var(--ink);
  color: var(--white);
}

.menu-btn:hover .menu-btn-lines span {
  background: var(--white);
}

.menu-btn-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.menu-btn-lines span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: background-color 0.2s ease;
}

.menu-btn b {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* Barra de Navegação */
.primary-nav-wrap {
  position: relative;
  width: 100%;
}

.primary-nav {
  height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(17, 17, 15, 0.08);
  transition: height 0.3s ease, border-color 0.3s ease;
}

.site-header.is-sticky .primary-nav {
  height: 38px;
}

.primary-nav button, .primary-nav a {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 8px 4px;
  text-transform: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}

.primary-nav button::after, .primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease-smooth);
}

.primary-nav button:hover, .primary-nav button[aria-expanded="true"],
.primary-nav a:hover, .primary-nav a.active {
  color: var(--orange);
}

.primary-nav button:hover::after, .primary-nav button[aria-expanded="true"]::after,
.primary-nav a:hover::after, .primary-nav a.active::after {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   MEGA MENU EDITORIAL (COM TOLERÂNCIA DE CURSOR)
   -------------------------------------------------------------------------- */
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper-card);
  border-top: 1px solid var(--ink);
  border-bottom: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 95;
}

.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 2.4fr;
  gap: 40px;
  padding-block: 36px 42px;
}

.mega-intro {
  border-right: 1px solid var(--line);
  padding-right: 36px;
}

.mega-eyebrow {
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: inline-block;
}

.mega-intro h2 {
  font: 800 36px/1 var(--serif);
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
}

.mega-intro p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 22px;
}

.mega-intro > a {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mega-intro > a:hover {
  color: var(--orange);
}

.mega-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mega-links::before {
  content: 'Rubricas';
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.mega-links a {
  font: 700 17px/1.2 var(--serif);
  padding: 6px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mega-links a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.mega-stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mega-story a {
  display: block;
}

.mega-story img {
  height: 124px;
  border-radius: 2px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.mega-story:hover img {
  transform: scale(1.02);
  filter: brightness(0.92);
}

.mega-story span {
  display: block;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 10px;
}

.mega-story h3 {
  font: 700 16px/1.15 var(--serif);
  margin: 6px 0 0;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   MODAL DE PESQUISA IMERSIVO
   -------------------------------------------------------------------------- */
.search-modal {
  border: 0;
  padding: 0;
  background: transparent;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  display: grid;
  place-items: flex-start center;
  padding-top: 100px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.search-modal[open] {
  opacity: 1;
  pointer-events: auto;
}

.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 15, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1;
}

.search-modal-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), 740px);
  background: var(--paper-card);
  border: 1px solid var(--ink);
  border-radius: 4px;
  box-shadow: var(--shadow-float);
  padding: 32px 36px;
  transform: translateY(-16px);
  transition: transform 0.3s var(--ease-smooth);
}

.search-modal[open] .search-modal-content {
  transform: translateY(0);
}

.search-modal-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 2px;
  padding: 12px 18px;
}

.search-input-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--ink);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.search-input-wrap input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}

.search-input-wrap input::placeholder {
  color: var(--muted-light);
}

.search-clear-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
}

.search-close-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 8px 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-close-btn:hover {
  background: var(--ink);
  color: #fff;
}

.search-quick-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}

.search-quick-tags span {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-right: 4px;
}

.search-tag {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-tag:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
}

.search-results {
  margin-top: 20px;
  max-height: 280px;
  overflow-y: auto;
  display: none;
}

.search-results.has-results {
  display: block;
}

.search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-light);
  border-radius: 2px;
  transition: background-color 0.15s ease;
}

.search-item:hover {
  background: var(--paper);
}

.search-item h4 {
  margin: 0;
  font: 700 16px var(--serif);
  color: var(--ink);
}

.search-item span {
  font-size: 11px;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   DRAWER / MENU MOBILE COMPLETO
   -------------------------------------------------------------------------- */
.drawer-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 109;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.menu-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(480px, 100%);
  background: var(--ink);
  color: #fff;
  z-index: 110;
  padding: 36px 36px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-open .menu-drawer {
  transform: translateX(0);
}

.menu-open .drawer-scrim {
  opacity: 1;
  visibility: visible;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 24px;
}

.drawer-brand {
  display: inline-flex;
  align-items: center;
}

.drawer-logo {
  height: 44px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.drawer-head button {
  border: 0;
  background: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.drawer-feature {
  display: flex;
  gap: 12px;
  padding: 22px 0;
}

.drawer-feature a {
  background: var(--gold);
  color: var(--ink);
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 2px;
}

.drawer-feature a:hover {
  background: var(--white);
}

.mobile-mega-tabs {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 14px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mobile-mega-tabs::-webkit-scrollbar {
  display: none;
}

.mobile-mega-tabs button {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #ccc;
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: normal;
  cursor: pointer;
  border-radius: 20px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mobile-mega-tabs button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.mobile-mega-tabs button[aria-pressed="true"] {
  background: var(--gold);
  color: #0c0f17;
  border-color: var(--gold);
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(229, 169, 59, 0.35);
}

.mobile-mega-content {
  padding: 22px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes megaFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-mega-content.animate-in {
  animation: megaFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-mega-eyebrow,
.mobile-mega-content > span {
  color: var(--orange, #ff5722);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: block;
}

.mobile-mega-content h2 {
  font: 800 26px/1.1 var(--serif);
  margin: 6px 0 8px;
  color: #fff;
}

.mobile-mega-content > p {
  color: #bbb;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 14px;
}

.mobile-mega-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  margin-bottom: 18px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(229, 169, 59, 0.5);
  transition: all 0.2s ease;
}

.mobile-mega-all-btn:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.mobile-mega-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.mobile-mega-links::before {
  content: 'Rubricas';
  width: 100%;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 2px;
}

.mobile-mega-links a {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 600;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-mega-links a:hover {
  background: var(--gold);
  color: #0c0f17;
  border-color: var(--gold);
}

.mobile-mega-stories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-mega-card a,
.mobile-mega-story a {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  padding: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.mobile-mega-card a:hover,
.mobile-mega-story a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.mobile-mega-card img,
.mobile-mega-story img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}

.mobile-mega-card-tag,
.mobile-mega-story span {
  display: block;
  color: var(--gold);
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.mobile-mega-card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.mobile-mega-card-title,
.mobile-mega-story h3 {
  font: 700 14px/1.25 var(--serif);
  margin: 0;
  color: #f8fafc;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.drawer-minor {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  border-top: 1px solid #333;
  padding: 22px 0;
}

.drawer-minor a {
  color: #aaa;
  font-size: 13px;
  font-weight: 500;
}

.drawer-minor a:hover {
  color: var(--gold);
}

.socials {
  display: flex;
  gap: 10px;
  padding-top: 10px;
}

.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid #555;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.socials a:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   SEÇÃO FLASH & HERO SLIDER
   -------------------------------------------------------------------------- */
.flash {
  padding-top: 48px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
}

.section-kicker > span {
  width: 32px;
  height: 7px;
  background: var(--gold);
}

.section-kicker h2 {
  font: 700 28px var(--serif);
  margin: 0;
}

/* Indicador Ao Vivo com Ponto Pulsante */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(242, 75, 47, 0.12);
  color: var(--orange);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.live-pulse {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(242, 75, 47, 0.7);
  animation: pulseAnimation 1.8s infinite;
}

@keyframes pulseAnimation {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(242, 75, 47, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(242, 75, 47, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(242, 75, 47, 0);
  }
}

.section-kicker p {
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Grid Flash com Larguras Calibradas para Hero Central e Headlines Bilaterais (Estilo Vox.com) */
.flash-grid {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr) 275px;
  gap: 24px;
  padding-top: 24px;
}


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

.flash-list li {
  counter-increment: flash;
  border-bottom: 1px solid var(--line);
  padding: 0 0 16px;
  margin-bottom: 16px;
}

.flash-list a {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.flash-list a:hover {
  color: var(--orange);
  transform: translateX(3px);
}

.flash-list a::before {
  content: counter(flash, decimal-leading-zero);
  font: 800 12px var(--sans);
  color: var(--orange);
  margin-top: 3px;
}

/* Carrossel Hero com Barra de Progresso e Hover Pause */
.hero-slider {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  background: #1e1e1b;
  border-radius: 3px;
  box-shadow: var(--shadow-md);
  touch-action: pan-y;
  cursor: grab;
}

.hero-slider:active {
  cursor: grabbing;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.2) 65%), var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 0.8s ease;
  display: flex;
  align-items: flex-end;
  color: #fff;
  padding: 48px;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.hero-slide > div {
  max-width: 700px;
}

.tag, .story-card > span, .video-list span, .arts-feature span, .arts-side span {
  display: inline-block;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.hero-slide h1 {
  font: 800 clamp(32px, 4vw, 56px)/1.02 var(--serif);
  letter-spacing: -0.03em;
  margin: 12px 0 14px;
  color: #fff;
}

.hero-slide p {
  max-width: 600px;
  color: #e5e5e5;
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 20px;
}

.hero-slide > div > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  transition: color 0.2s ease, transform 0.2s ease;
}

.hero-slide > div > a:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Controles com Barra de Progresso */
.slider-controls {
  position: absolute;
  z-index: 10;
  bottom: 0;
  right: 0;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  box-shadow: -2px -2px 10px rgba(0, 0, 0, 0.15);
}

.slider-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--orange);
  width: 0%;
  transition: width 0.1s linear;
}

.slider-controls button {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease;
}

.slider-controls button:hover {
  background: rgba(0, 0, 0, 0.1);
}

.slider-controls span {
  font-size: 11px;
  font-weight: 800;
  padding: 0 6px;
  letter-spacing: 0.05em;
}

/* Coluna Lateral de Notícias Rápidas (Headlines com Fotos em Quadro Pequeno Estilo Vox.com) */
.side-news {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
}

.side-news article,
.side-news .side-news-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-smooth);
}

.side-news article:last-child,
.side-news .side-news-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.side-news article:hover,
.side-news .side-news-card:hover {
  transform: translateY(-2px);
}

.side-news-kicker,
.side-news span {
  display: block;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.side-news-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.side-news-content {
  flex: 1 1 auto;
  min-width: 0;
}

.side-news--left .side-news-thumb {
  display: none !important;
}

.side-news--left .side-news-content {
  width: 100%;
}

.side-news-title,
.side-news h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.side-news a {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.side-news article:hover a,
.side-news .side-news-card:hover a {
  color: var(--orange);
}

.side-news time,
.side-news-time {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* Quadro Pequeno / Thumbnail Quadrado com Efeito Hover Suave */
.side-news-thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--paper-subtle);
  position: relative;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  display: block;
}

.side-news-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.35s var(--ease-smooth), filter 0.3s ease;
}

.side-news article:hover .side-news-thumb img,
.side-news .side-news-card:hover .side-news-thumb img {
  transform: scale(1.08);
  filter: brightness(1.03);
}

/* --------------------------------------------------------------------------
   SEÇÃO RECOMENDADOS (CARDS COM MICRO-INTERAÇÕES)
   -------------------------------------------------------------------------- */
.recommend {
  padding-top: 80px;
  padding-bottom: 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.section-heading span {
  font-size: 11px;
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.section-heading h2 {
  font: 800 clamp(30px, 3.8vw, 48px)/1 var(--serif);
  letter-spacing: -0.03em;
  margin: 6px 0 0;
}

.section-heading > a {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-heading > a:hover {
  color: var(--orange);
}

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

.story-card {
  transition: transform 0.25s var(--ease-smooth);
}

.story-card:hover {
  transform: translateY(-4px);
}

.card-image {
  display: block;
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 2px;
  background: var(--paper-subtle);
}

.story-card img {
  aspect-ratio: 4 / 3;
  transition: transform 0.45s var(--ease-smooth), filter 0.45s ease;
}

.story-card:hover img {
  transform: scale(1.04);
}

.story-card > span {
  color: var(--orange);
}

.story-card h3 {
  font: 700 21px/1.15 var(--serif);
  margin: 8px 0;
}

.story-card h3 a:hover {
  color: var(--orange);
}

.story-card.large h3 {
  font-size: 30px;
}

.story-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 8px 0 0;
}

/* --------------------------------------------------------------------------
   TRENDS PODCAST (REFINAMENTO CROMÁTICO & PLAYER DE ÁUDIO REAL)
   -------------------------------------------------------------------------- */
.podcast-band {
  background: var(--podcast-bg);
  color: var(--podcast-text);
  padding-block: 85px;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--gold);
}

.podcast-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 50%, rgba(240, 184, 0, 0.08), transparent 45%),
              radial-gradient(circle at 85% 30%, rgba(242, 75, 47, 0.08), transparent 45%);
  pointer-events: none;
}

.section-heading.light {
  border-color: rgba(255, 255, 255, 0.15);
}

.section-heading.light span {
  color: var(--gold);
}

.section-heading.light h2 {
  color: #fff;
}

.section-heading.light > a {
  color: var(--gold);
}

.podcast-grid {
  display: grid;
  grid-template-columns: 310px 1.2fr 1.1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.podcast-cover {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f0b800 0%, #e09800 100%);
  color: var(--ink);
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.podcast-cover span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.podcast-cover strong {
  font: 800 64px/0.85 var(--serif);
  margin-top: auto;
  letter-spacing: -0.06em;
}

.podcast-cover em {
  font: italic 28px var(--serif);
  align-self: flex-end;
}

.podcast-cover small {
  border-top: 1px solid rgba(17, 17, 15, 0.25);
  padding-top: 12px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
}

.cover-lines {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 30px solid rgba(242, 75, 47, 0.85);
  border-radius: 50%;
  right: -140px;
  top: -140px;
  box-shadow: 0 0 0 25px rgba(17, 17, 15, 0.9), 0 0 0 50px rgba(242, 75, 47, 0.8);
  pointer-events: none;
}

/* Área Principal do Episódio */
.episode-main > span {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--gold);
}

.episode-main h3 {
  font: 800 42px/1.05 var(--serif);
  margin: 12px 0 14px;
  color: #fff;
}

.episode-main p {
  line-height: 1.6;
  color: var(--podcast-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

/* Player de Áudio Embutido */
.audio-player-box {
  background: var(--podcast-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 22px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.audio-controls-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.play-btn {
  border: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 22px 10px 14px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.play-btn:hover {
  background: #fff;
  transform: scale(1.02);
}

.play-btn i {
  font-style: normal;
  background: var(--ink);
  color: var(--gold);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 13px;
  transition: transform 0.2s ease;
}

/* Equalizador Visual Animado */
.audio-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
  padding-inline: 6px;
}

.audio-equalizer span {
  display: block;
  width: 3px;
  height: 6px;
  background: var(--gold);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.audio-player-box.is-playing .audio-equalizer span:nth-child(1) { animation: eqBar 0.8s ease infinite alternate; }
.audio-player-box.is-playing .audio-equalizer span:nth-child(2) { animation: eqBar 0.6s ease infinite 0.2s alternate; }
.audio-player-box.is-playing .audio-equalizer span:nth-child(3) { animation: eqBar 0.9s ease infinite 0.4s alternate; }
.audio-player-box.is-playing .audio-equalizer span:nth-child(4) { animation: eqBar 0.7s ease infinite 0.1s alternate; }

@keyframes eqBar {
  0% { height: 4px; }
  100% { height: 18px; }
}

/* Barra de Duração e Scrub */
.audio-timeline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.audio-time {
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--podcast-muted);
}

.audio-scrub {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}

.audio-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--gold);
  border-radius: 3px;
}

/* Selos das Plataformas de Streaming */
.podcast-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.podcast-platforms span {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--podcast-muted);
  margin-right: 4px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 14px;
  transition: all 0.2s ease;
}

.platform-chip:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
}

/* Lista Lateral de Episódios */
.episode-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.episode-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.episode-list li:hover {
  background: rgba(255, 255, 255, 0.03);
}

.episode-list li > span {
  font: 700 24px var(--serif);
  color: var(--gold);
}

.episode-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.episode-list b {
  font: 700 16px/1.2 var(--serif);
  color: #fff;
  transition: color 0.2s ease;
}

.episode-list li:hover b {
  color: var(--gold);
}

.episode-list small {
  color: var(--podcast-muted);
  font-size: 11px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   POPULARES & NEWSLETTER
   -------------------------------------------------------------------------- */
.popular {
  padding-top: 85px;
  padding-bottom: 0;
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 80px;
  align-items: center;
}

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

.popular-list a {
  display: grid;
  grid-template-columns: 65px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  transition: transform 0.2s ease;
}

.popular-list a:hover {
  transform: translateX(4px);
}

.popular-list a:hover span {
  color: var(--orange);
}

.popular-list b {
  font: 800 26px var(--serif);
  color: var(--orange);
}

.popular-list span {
  font: 700 20px/1.25 var(--serif);
  color: var(--ink);
  transition: color 0.2s ease;
}

/* Newsletter Box */
.newsletter {
  background: var(--gold);
  padding: 42px;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}

.newsletter > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.newsletter h3 {
  font: 800 38px/1 var(--serif);
  margin: 10px 0 12px;
  color: var(--ink);
}

.newsletter p {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter input {
  border: 1px solid var(--ink);
  padding: 14px;
  background: #fff;
  border-radius: 2px;
  font-size: 14px;
}

.newsletter button {
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 14px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.newsletter button:hover {
  background: #2b2b27;
}

.newsletter small {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  color: #444;
}

/* --------------------------------------------------------------------------
   VÍDEO SECTION (ÍCONE PLAY & MODAL DE VÍDEO)
   -------------------------------------------------------------------------- */
.video-section {
  background: var(--ink);
  color: #fff;
  padding-block: 85px;
}

.video-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
}

.featured-video {
  position: relative;
  border: 0;
  padding: 0;
  background: #222;
  color: #fff;
  text-align: left;
  cursor: pointer;
  min-height: 520px;
  overflow: hidden;
  border-radius: 3px;
}

.featured-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 65%);
}

.featured-video img {
  position: absolute;
  inset: 0;
  height: 100%;
  transition: transform 0.5s var(--ease-smooth);
}

.featured-video:hover img {
  transform: scale(1.03);
}

.featured-video > i {
  position: absolute;
  z-index: 2;
  left: 42px;
  top: 42px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.featured-video:hover > i {
  transform: scale(1.1);
  background: #fff;
}

.featured-video > div {
  position: absolute;
  z-index: 2;
  left: 42px;
  bottom: 38px;
}

.featured-video span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 800;
}

.featured-video h3 {
  font: 700 40px/1.05 var(--serif);
  max-width: 580px;
  margin: 8px 0 0;
  color: #fff;
}

.video-list article {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 18px;
  padding: 0 0 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #333;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.video-list article:hover {
  transform: translateX(4px);
}

.video-list img {
  height: 105px;
  border-radius: 2px;
}

.video-list h3 {
  font: 700 18px/1.15 var(--serif);
  margin: 6px 0;
  color: #fff;
  transition: color 0.2s ease;
}

.video-list article:hover h3 {
  color: var(--gold);
}

.video-list small {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-light);
}

/* Modal de Vídeo Interativo */
.video-modal {
  border: 0;
  padding: 0;
  background: transparent;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  display: grid;
  place-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal[open] {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.video-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), 920px);
  background: #181816;
  border: 1px solid #333;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-float);
}

.video-player-container {
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-modal-info {
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.video-modal-info span {
  font-size: 11px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.video-modal-info h3 {
  font: 700 28px/1.15 var(--serif);
  color: #fff;
  margin: 6px 0;
}

.video-modal-info p {
  color: #aaa;
  font-size: 14px;
  margin: 0;
  max-width: 680px;
}

.video-modal-close {
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease;
}

.video-modal-close:hover {
  background: var(--orange);
}

/* --------------------------------------------------------------------------
   SEÇÃO NOSSAS ARTES
   -------------------------------------------------------------------------- */
.arts {
  padding-block: 95px;
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  gap: 32px;
}

.arts-title > span {
  display: block;
  background: var(--gold);
  width: 38px;
  height: 8px;
}

.arts-title p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-top: 18px;
  color: var(--muted);
}

.arts-title h2 {
  font: 800 64px/0.85 var(--serif);
  letter-spacing: -0.05em;
  margin: 18px 0;
}

.arts-title em {
  color: var(--orange);
  font-style: italic;
}

.arts-feature img {
  height: 440px;
  border-radius: 2px;
}

.arts-feature > div {
  background: var(--paper-card);
  width: 88%;
  margin: -80px auto 0;
  position: relative;
  padding: 30px 38px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-light);
  border-radius: 2px;
}

.arts-feature h3 {
  font: 800 38px/1 var(--serif);
  margin: 10px 0 12px;
}

.arts-feature h3 a:hover {
  color: var(--orange);
}

.arts-feature p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.text-link {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.text-link:hover {
  color: var(--orange);
}

/* Notícias Secundárias de Nossas Artes (Headlines com Fotos em Quadro Pequeno Estilo Vox.com) */
.arts-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.arts-side article,
.arts-side .arts-side-card {
  padding: 0 0 16px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-smooth);
}

.arts-side article:last-child,
.arts-side .arts-side-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.arts-side article:hover,
.arts-side .arts-side-card:hover {
  transform: translateY(-2px);
}

.arts-side-kicker,
.arts-side span {
  display: block;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.arts-side-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.arts-side-content {
  flex: 1 1 auto;
  min-width: 0;
}

.arts-side-title,
.arts-side h3 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.32;
  margin: 0;
  letter-spacing: -0.01em;
}

.arts-side a {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.arts-side article:hover a,
.arts-side .arts-side-card:hover a {
  color: var(--orange);
}

/* Quadro Pequeno / Thumbnail Quadrado em Nossas Artes */
.arts-side-thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--paper-subtle);
  position: relative;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  display: block;
}

.arts-side-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.35s var(--ease-smooth), filter 0.3s ease;
}

.arts-side article:hover .arts-side-thumb img,
.arts-side .arts-side-card:hover .arts-side-thumb img {
  transform: scale(1.08);
  filter: brightness(1.03);
}

/* --------------------------------------------------------------------------
   RODAPÉ (FOOTER)
   -------------------------------------------------------------------------- */
footer {
  background: var(--gold);
  padding-top: 65px;
  color: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 55px;
  padding-bottom: 50px;
}

.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}

.footer-logo {
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.footer-brand small {
  font: italic 12px var(--serif);
  display: block;
  margin-top: 8px;
  color: var(--ink);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.footer-socials a {
  display: inline-grid !important;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(17, 17, 15, 0.12);
  color: var(--ink) !important;
  margin: 0 !important;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.footer-socials a:hover {
  background: var(--ink);
  color: var(--gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.footer-socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-top h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-top > div:not(.footer-news) a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin: 8px 0;
}

.footer-top > div:not(.footer-news) a:hover {
  text-decoration: underline;
}

.footer-news p {
  font-size: 13px;
  margin-bottom: 14px;
}

.footer-news form {
  display: flex;
  border-bottom: 2px solid var(--ink);
}

.footer-news input {
  border: 0;
  background: transparent;
  padding: 12px 0;
  min-width: 0;
  width: 100%;
  outline: none;
  font-size: 14px;
  color: var(--ink);
}

.footer-news button {
  border: 0;
  background: none;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid rgba(17, 17, 15, 0.4);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-bottom div {
  display: flex;
  gap: 20px;
}

.footer-bottom-brand span {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}

.footer-bottom-brand p {
  margin: 4px 0 0;
  color: rgba(17, 17, 15, 0.7);
  font-size: 11px;
}

.footer-institutional {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-institutional a {
  color: var(--ink);
  text-decoration: none;
}

.footer-institutional a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   MODAL DE SUBSCRIÇÃO
   -------------------------------------------------------------------------- */
.subscribe-modal {
  border: 0;
  padding: 48px;
  max-width: 520px;
  background: var(--paper-card);
  box-shadow: var(--shadow-float);
  border-radius: 4px;
  position: relative;
}

.subscribe-modal::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 16px;
  border: 0;
  background: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--ink);
}

.subscribe-modal > span {
  font-size: 11px;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.16em;
}

.subscribe-modal h2 {
  font: 800 44px/1 var(--serif);
  margin: 14px 0;
}

.subscribe-modal h2 em {
  color: var(--orange);
  font-style: italic;
}

.subscribe-modal p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.subscribe-modal form {
  display: flex;
  gap: 8px;
}

.subscribe-modal input {
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
  flex: 1;
  border-radius: 2px;
  font-size: 14px;
}

.subscribe-modal form button {
  border: 0;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 20px;
  cursor: pointer;
  border-radius: 2px;
}

.subscribe-modal form button:hover {
  background: var(--gold-hover);
}

/* --------------------------------------------------------------------------
   RESPONSIVIDADE (TABLETS E CELULARES)
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .flash-grid {
    grid-template-columns: 1fr 280px;
    gap: 24px;
  }
  .side-news--left {
    display: none;
  }
  .side-news--right {
    display: flex;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .podcast-grid {
    grid-template-columns: 260px 1fr;
  }
  .episode-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .episode-list li {
    grid-template-columns: 35px 1fr;
  }
  .popular {
    gap: 40px;
  }
  .arts {
    grid-template-columns: 180px 1fr;
  }
  .arts-side {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .ad-bar {
    height: auto;
    min-height: 40px;
    padding: 8px 16px;
    gap: 12px;
    font-size: 11px;
  }
  .ad-bar > span, .date-block {
    display: none;
  }

  .header-main {
    height: 82px;
    grid-template-columns: 1fr auto;
  }
  .brand-logo {
    height: 42px;
    max-width: 140px;
  }
  .brand small {
    display: none;
  }
  .subscribe-btn {
    display: none;
  }

  /* Navegação Horizontal Deslizável em Mobile (Pill Scroll com Arraste Fluido) */
  .primary-nav-wrap {
    position: relative;
    width: 100vw;
    margin-inline: calc(-50vw + 50%);
    overflow: hidden;
    background: var(--paper);
    border-bottom: 1px solid var(--line-light);
  }

  /* Máscaras gradientes de transbordo (sinal visual de conteúdo além da tela) */
  .primary-nav-wrap::before,
  .primary-nav-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .primary-nav-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--paper) 25%, transparent);
  }

  .primary-nav-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--paper) 25%, transparent);
  }

  .primary-nav-wrap.can-scroll-left::before {
    opacity: 1;
  }

  .primary-nav-wrap.can-scroll-right::after {
    opacity: 1;
  }

  .primary-nav {
    display: flex !important;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    height: 46px;
    width: 100% !important;
    max-width: 100% !important;
    padding: 6px 16px;
    margin: 0 !important;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-x;
  }

  .primary-nav::-webkit-scrollbar {
    display: none;
  }

  .primary-nav.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
  }

  .primary-nav button, .primary-nav a {
    white-space: nowrap;
    background: rgba(17, 17, 15, 0.05);
    border: 1px solid rgba(17, 17, 15, 0.08);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    color: var(--ink);
    scroll-snap-align: start;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .primary-nav button.active, .primary-nav a.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
  }

  .primary-nav button::after, .primary-nav a::after {
    display: none;
  }

  .mega-menu {
    display: none;
  }

  .flash {
    padding-top: 32px;
  }
  .flash-grid {
    display: flex;
    flex-direction: column;
  }
  .side-news--left,
  .side-news--right {
    display: flex;
  }
  .side-news {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .hero-slider {
    min-height: 520px;
    order: -1;
  }
  .hero-slide {
    padding: 28px;
  }
  .hero-slide h1 {
    font-size: 34px;
  }

  .recommend {
    padding-top: 60px;
    padding-bottom: 0;
  }
  .card-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    gap: 18px;
  }
  .story-card {
    min-width: 80vw;
    scroll-snap-align: start;
  }
  .story-card.large h3 {
    font-size: 24px;
  }

  .podcast-band {
    padding-block: 60px;
  }
  .podcast-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }
  .podcast-cover {
    width: min(100%, 320px);
    align-self: center;
  }
  .episode-list {
    display: block;
    width: 100%;
  }

  .popular {
    padding-top: 60px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 45px;
  }
  .newsletter {
    width: 100%;
  }

  .video-grid {
    display: block;
  }
  .featured-video {
    min-height: 440px;
    margin-bottom: 28px;
  }
  .featured-video > div {
    left: 24px;
    bottom: 24px;
  }
  .featured-video h3 {
    font-size: 30px;
  }
  .featured-video > i {
    left: 24px;
    top: 24px;
  }

  .arts {
    padding-block: 65px;
    display: block;
  }
  .arts-title h2 {
    font-size: 52px;
  }
  .arts-feature img {
    height: 340px;
  }
  .arts-feature > div {
    width: 92%;
    padding: 24px;
    margin-top: -60px;
  }
  .arts-feature h3 {
    font-size: 28px;
  }
  .arts-side {
    display: block;
    margin-top: 30px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand, .footer-news {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-bottom div {
    gap: 16px;
  }

  .subscribe-modal {
    padding: 36px 24px;
  }
  .subscribe-modal h2 {
    font-size: 34px;
  }
  .subscribe-modal form {
    display: block;
  }
  .subscribe-modal input, .subscribe-modal form button {
    width: 100%;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .menu-drawer {
    padding: 24px;
  }
  .menu-btn {
    padding: 0 10px;
  }
  .menu-btn b {
    display: none;
  }
  .side-news--right {
    display: none;
  }
  .hero-slider {
    min-height: 480px;
  }
  .hero-slide h1 {
    font-size: 30px;
  }
  .section-heading h2 {
    font-size: 30px;
  }
  .video-list article {
    grid-template-columns: 110px 1fr;
  }
  .video-list img {
    height: 85px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}
