/* ==========================================================================
   MONTEIRO & QUINTÃO ADVOCACIA — ARQUITETURA EDITORIAL: WATERMARK HERO
   Integração orgânica de gravura editorial em marca d'água etérea
   Inspirado em The Atlantic, The New Yorker, Harper's Magazine e Piauí
   ========================================================================== */

.article-hero-watermark {
  position: relative;
  max-width: 74rem;
  margin: 1.5rem auto 2.8rem;
  padding: 3.5rem 2rem 3rem;
  overflow: hidden;
}

.watermark-layer {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 65%;
  height: 125%;
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 0.15;
  mix-blend-mode: multiply;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 78% 45%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 78% 45%, black 20%, transparent 75%);
  filter: contrast(1.2) sepia(0.25);
  transition: opacity 0.3s ease;
}

.hero-watermark-content {
  position: relative;
  z-index: 2;
  max-width: 52rem;
}

.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #A37E36;
  margin-bottom: 0.85rem;
}

.article-kicker svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.article-headline {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--marinho-deep, #1B212B);
  margin-bottom: 1.2rem;
  text-wrap: balance;
  letter-spacing: -0.015em;
}

.article-sub {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-2, #5C6472);
  margin-bottom: 2rem;
  font-style: italic;
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
}

/* MESA DO AUTOR & REPRODUTOR DE ÁUDIO UNIFICADO */
.editorial-desk-card {
  background: rgba(250, 248, 242, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line, #DCD5C5);
  border-top: 3px solid #B38E5D;
  border-radius: 6px;
  box-shadow: 0 10px 30px -12px rgba(27, 33, 43, 0.12);
  overflow: hidden;
  max-width: 44rem;
}

.desk-author-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem 1.4rem;
}

.desk-author-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  outline: 2px solid #B38E5D;
  outline-offset: 2px;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.desk-author-details {
  flex: 1;
  min-width: 0;
}

.desk-author-name {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--marinho, #2C3441);
  line-height: 1.2;
}

.desk-author-meta {
  font-size: 0.78rem;
  color: var(--ink-2, #5C6472);
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.desk-sep {
  color: #B38E5D;
  font-weight: 700;
}

.desk-share-wrap {
  flex-shrink: 0;
}

.desk-btn-share {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background: rgba(44, 52, 65, 0.05);
  border: 1px solid var(--line, #DCD5C5);
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--marinho, #2C3441);
  cursor: pointer;
  transition: all 0.2s ease;
}

.desk-btn-share:hover {
  background: var(--marinho, #2C3441);
  color: var(--marfim, #F3EFE6);
  border-color: var(--marinho, #2C3441);
}

.desk-btn-share svg {
  width: 14px;
  height: 14px;
}

/* Unidade de Áudio Integrada na Mesa Editorial */
.desk-audio-unit {
  border-top: 1px solid rgba(44, 52, 65, 0.09);
  background: rgba(243, 239, 230, 0.45);
  padding: 0.85rem 1.4rem;
}

.desk-audio-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.desk-play-btn {
  width: 40px;
  height: 40px;
  background: var(--marinho, #2C3441);
  color: #FAF8F2;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(44, 52, 65, 0.22);
}

.desk-play-btn:hover {
  background: #B38E5D;
  transform: scale(1.06);
}

.desk-play-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.desk-audio-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.desk-audio-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8rem;
}

.desk-audio-title {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--marinho, #2C3441);
  letter-spacing: 0.01em;
}

.desk-audio-time {
  font-family: 'Source Sans 3', monospace, sans-serif;
  font-size: 0.76rem;
  color: var(--ink-2, #5C6472);
  font-weight: 600;
}

.desk-progress {
  width: 100%;
  height: 5px;
  background: rgba(44, 52, 65, 0.15);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}

.desk-progress .audio-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--marinho, #2C3441);
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s linear;
}

.desk-progress .audio-progress-thumb {
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  background: #B38E5D;
  border: 2px solid #FAF8F2;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.desk-speed-btn {
  background: var(--marfim, #F3EFE6);
  border: 1px solid var(--line, #DCD5C5);
  color: var(--marinho, #2C3441);
  padding: 0.3rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.desk-speed-btn:hover {
  background: var(--marinho, #2C3441);
  color: #fff;
}

.watermark-artwork-credit {
  margin-top: 1.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--ink-2, #5C6472);
  opacity: 0.8;
  font-style: italic;
}

/* DIVISOR EDITORIAL SUTIL */
.hero-editorial-divider {
  max-width: 74rem;
  margin: 1.5rem auto 3.5rem;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.hero-editorial-divider::before,
.hero-editorial-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line, #DCD5C5), transparent);
}

.hero-editorial-divider-mark {
  color: #B38E5D;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
}

/* Responsividade Mobile & Tablet */
@media (max-width: 900px) {
  .article-hero-watermark {
    padding: 2.5rem 1.5rem 2rem;
    margin-bottom: 2rem;
  }
  .watermark-layer {
    width: 85%;
    opacity: 0.12;
    top: -5%;
    right: -10%;
  }
}

@media (max-width: 640px) {
  .article-hero-watermark {
    padding: 1.8rem 1.2rem 1.5rem;
  }
  .watermark-layer {
    width: 100%;
    opacity: 0.10;
    top: 0;
    right: 0;
    background-position: center top;
    mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 80%);
  }
  .desk-author-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .desk-share-wrap {
    width: 100%;
  }
  .desk-btn-share {
    width: 100%;
    justify-content: center;
  }
}
