/* ============================================
   ARQUIVO ESSENCIAL — Audio Page
   Estilo Documental Minimalista
   ============================================ */

/* Reset e Configurações Gerais */
*, *::before, *::after {
   box-sizing: border-box;
}

body {
   padding: 0;
   margin: 0 auto;
   font-family: 'Inter', Arial, Helvetica, sans-serif;
   background-color: #f7f7f5;
   color: #1a1a1a;
   line-height: 1.6;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   min-height: 100vh;
}

ul {
   list-style: none;
   padding: 0;
   margin: 0;
}

h1, h2, h3, p {
   margin: 0;
   padding: 0;
}

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

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

/* ============================================
   HEADER
   ============================================ */

.header-bg {
   background-color: #f7f7f5;
   border-bottom: 1px solid #e8e8e6;
   position: sticky;
   top: 0;
   z-index: 100;
}

.container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 40px;
}

.header {
   display: flex;
   flex-wrap: wrap;
   padding: 24px 0;
   gap: 8px;
   align-items: center;
   justify-content: space-between;
   font-weight: normal;
}

.logo h1 {
   font-size: 1.4rem;
   font-family: 'Cormorant Garamond', serif;
   font-weight: 600;
   letter-spacing: -0.02em;
}

.logo h1 a {
   color: #1a1a1a;
   transition: opacity 0.3s ease;
}

.logo h1 a:hover {
   opacity: 0.6;
}

.header-menu {
   display: flex;
   flex-wrap: wrap;
   gap: 32px;
}

.header-menu a {
   position: relative;
   display: inline-block;
   padding: 4px 0;
   color: #666;
   font-size: 0.85rem;
   font-weight: 400;
   letter-spacing: 0.05em;
   text-transform: uppercase;
   font-family: 'Inter', sans-serif;
   transition: color 0.3s ease;
}

.header-menu a:hover {
   color: #1a1a1a;
}

.header-menu a::after {
   content: "";
   position: absolute;
   left: 50%;
   bottom: -2px;
   width: 0;
   height: 1px;
   background-color: #1a1a1a;
   transition: width 0.4s ease, left 0.4s ease;
}

.header-menu a:hover::after {
   width: 100%;
   left: 0;
}

/* ============================================
   ARCHIVE HEADER
   ============================================ */

.archive-header {
   padding: 100px 0 80px;
   text-align: center;
   border-bottom: 1px solid #e8e8e6;
}

.archive-label {
   display: block;
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.7rem;
   letter-spacing: 0.2em;
   text-transform: uppercase;
   color: #999;
   margin-bottom: 20px;
}

.archive-title {
   font-family: 'Cormorant Garamond', serif;
   font-size: 4rem;
   font-weight: 400;
   color: #1a1a1a;
   margin-bottom: 20px;
   letter-spacing: -0.03em;
   line-height: 1.1;
}

.archive-desc {
   font-size: 1rem;
   color: #888;
   font-weight: 300;
   max-width: 500px;
   margin: 0 auto;
   line-height: 1.7;
}

/* ============================================
   AUDIO SECTION
   ============================================ */

.audio-bg {
   background-color: #f7f7f5;
   padding: 80px 0 120px;
}

.audio-header {
   display: flex;
   justify-content: space-between;
   align-items: baseline;
   margin-bottom: 60px;
   padding-bottom: 20px;
   border-bottom: 1px solid #e8e8e6;
}

.audio-section-title {
   font-family: 'Cormorant Garamond', serif;
   font-size: 1.8rem;
   font-weight: 400;
   color: #1a1a1a;
   letter-spacing: -0.02em;
}

.audio-count {
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.7rem;
   color: #999;
   letter-spacing: 0.1em;
}

/* ============================================
   AUDIO GRID
   ============================================ */

.audio-grid {
   display: flex;
   flex-direction: column;
   gap: 80px;
}

/* Audio Card */
.audio-card {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 60px;
   align-items: start;
   position: relative;
   padding-bottom: 80px;
   border-bottom: 1px solid #e8e8e6;
}

.audio-card:last-child {
   border-bottom: none;
   padding-bottom: 0;
}

/* Archive code */
.archive-code {
   position: absolute;
   bottom: 80px;
   right: 0;
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.65rem;
   letter-spacing: 0.15em;
   color: #bbb;
   text-transform: uppercase;
}

.audio-card:last-child .archive-code {
   bottom: 0;
}

/* ============================================
   AUDIO VISUAL (Waveform + Meta)
   ============================================ */

.audio-visual {
   position: relative;
}

.audio-waveform {
   position: relative;
   background-color: #eee;
   border-radius: 2px;
   padding: 40px 30px;
   overflow: hidden;
}

.waveform-svg {
   width: 100%;
   height: auto;
   display: block;
}

/* Meta info */
.audio-meta {
   display: flex;
   gap: 16px;
   margin-top: 12px;
   opacity: 0;
   transform: translateY(8px);
   transition: all 0.4s ease;
}

.audio-card:hover .audio-meta {
   opacity: 1;
   transform: translateY(0);
}

.meta-item {
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.65rem;
   color: #999;
   letter-spacing: 0.05em;
}

/* ============================================
   AUDIO CONTENT (Texto + Player)
   ============================================ */

.audio-content {
   padding-top: 8px;
}

.audio-header-info {
   display: flex;
   gap: 16px;
   margin-bottom: 16px;
   align-items: center;
}

.audio-date {
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.7rem;
   color: #999;
   letter-spacing: 0.1em;
}

.audio-location {
   font-size: 0.75rem;
   color: #888;
   font-weight: 300;
   position: relative;
   padding-left: 16px;
}

.audio-location::before {
   content: "—";
   position: absolute;
   left: 0;
   color: #ccc;
}

.audio-title {
   font-family: 'Cormorant Garamond', serif;
   font-size: 2.2rem;
   font-weight: 400;
   color: #1a1a1a;
   margin-bottom: 24px;
   letter-spacing: -0.02em;
   line-height: 1.2;
}

.audio-description {
   margin-bottom: 32px;
}

.audio-description p {
   font-size: 0.9rem;
   color: #555;
   line-height: 1.7;
   margin-bottom: 16px;
   font-weight: 300;
}

.audio-description p:last-child {
   margin-bottom: 0;
}

/* ============================================
   AUDIO PLAYER
   ============================================ */

.audio-player-wrapper {
   margin-top: 24px;
}

.audio-element {
   width: 100%;
   border-radius: 0;
   background: transparent;
}

/* Estilização customizada do player */
audio::-webkit-media-controls-panel {
   background: #f0f0f0;
   border-radius: 0;
}

audio::-webkit-media-controls-play-button {
   background-color: #1a1a1a;
   border-radius: 50%;
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.7rem;
   color: #666;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
   background-color: #1a1a1a;
   padding: 40px 0;
}

.footer .container {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.footer p {
   font-size: 0.8rem;
   color: #888;
   font-weight: 300;
   letter-spacing: 0.05em;
}

.footer-year {
   font-family: 'JetBrains Mono', monospace;
   font-size: 0.7rem;
   color: #555;
}

/* ============================================
   MENU HAMBÚRGUER & MOBILE
   ============================================ */

.hamburger-menu {
   display: none;
   flex-direction: column;
   cursor: pointer;
   width: 36px;
   height: 36px;
   justify-content: center;
   align-items: center;
   border: 1px solid #ddd;
   border-radius: 50%;
   padding: 0;
   background: transparent;
   transition: all 0.3s ease;
}

.hamburger-menu:hover {
   border-color: #1a1a1a;
}

.hamburger-menu .bar {
   width: 14px;
   height: 1.5px;
   background-color: #333;
   margin: 2px 0;
   transition: all 0.3s ease;
}

.mobile-menu {
   display: none;
   background-color: #f7f7f5;
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100vh;
   padding-top: 80px;
   z-index: 99;
}

.mobile-menu-list {
   list-style: none;
   text-align: center;
}

.mobile-menu-list li {
   margin: 24px 0;
}

.mobile-menu-list a {
   font-size: 1.5rem;
   color: #1a1a1a;
   font-family: 'Cormorant Garamond', serif;
   font-weight: 400;
   letter-spacing: 0.05em;
   transition: opacity 0.3s ease;
}

.mobile-menu-list a:hover {
   opacity: 0.5;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media screen and (max-width: 768px) {
   .container {
      padding: 0 24px;
   }

   .header {
      padding: 20px 0;
   }

   .archive-header {
      padding: 60px 0 50px;
   }

   .archive-title {
      font-size: 2.8rem;
   }

   .archive-desc {
      font-size: 0.9rem;
      max-width: 90%;
   }

   .audio-header {
      margin-bottom: 40px;
   }

   .audio-card {
      grid-template-columns: 1fr;
      gap: 32px;
      padding-bottom: 60px;
   }

   .archive-code {
      position: static;
      display: block;
      margin-top: 24px;
      text-align: right;
   }

   .audio-title {
      font-size: 1.8rem;
   }

   .audio-meta {
      opacity: 1;
      transform: none;
   }

   .audio-waveform {
      padding: 30px 20px;
   }

   .header-menu {
      display: none;
   }

   .hamburger-menu {
      display: flex;
   }

   .mobile-menu.active {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
   }

   .footer .container {
      flex-direction: column;
      gap: 8px;
      text-align: center;
   }
}

@media screen and (max-width: 480px) {
   .archive-title {
      font-size: 2.2rem;
   }

   .audio-title {
      font-size: 1.5rem;
   }

   .audio-description p {
      font-size: 0.85rem;
   }

   .audio-section-title {
      font-size: 1.4rem;
   }
}