/*
Theme Name: Taioba Music
Theme URI: https://taiobamusic.com.br/
Author: Taioba Music
Author URI: https://taiobamusic.com.br/
Description: Tema oficial da Taioba Music - Gravadora independente da Paraíba
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: taioba-music
Tags: music, record-label, custom-post-types
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #111111;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    opacity: 0.65;
}

ul {
    list-style: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
    font-size: 1rem;
    line-height: 1.75;
    color: #333;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    height: 64px;
}

/* Empurra o header fixo para baixo da admin bar do WordPress */
.admin-bar .site-header {
    top: var(--wp-admin--admin-bar--height, 32px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    height: 32px;
    width: auto;
}

.site-logo__text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-transform: lowercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #111;
    white-space: nowrap;
}

.site-nav a:hover {
    opacity: 0.55;
}

.site-nav__social {
    display: flex;
    align-items: center;
    margin-left: 8px;
    padding-left: 24px;
    border-left: 1px solid #e8e8e8;
}

.site-nav__social svg {
    width: 20px;
    height: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #111;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 999;
    padding: 32px 24px;
    flex-direction: column;
}

.mobile-menu.is-open {
    display: flex;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: block;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    margin-top: 64px;
    position: relative;
    height: calc(100vh - 64px);
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 0 24px 56px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero__tagline {
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
    max-width: 600px;
}

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section {
    padding: 80px 0;
}

.section--dark {
    background: #111111;
    color: #ffffff;
}

.section--dark p {
    color: rgba(255,255,255,0.75);
}

.section--dark a:hover {
    opacity: 0.6;
}

.section--light-gray {
    background: #f7f7f7;
}

.section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e8e8;
}

.section--dark .section__header {
    border-bottom-color: rgba(255,255,255,0.15);
}

.section__title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
}

.section--dark .section__title {
    color: rgba(255,255,255,0.5);
}

.section__link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #111;
}

.section--dark .section__link {
    color: rgba(255,255,255,0.7);
}

/* ============================================================
   INTRO SECTION (HOME)
   ============================================================ */
.home-intro {
    padding: 80px 0;
}

.home-intro__text {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    color: #222;
    max-width: 700px;
}

/* ============================================================
   ARTIST GRID
   ============================================================ */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 32px;
}

.artist-card {
    display: flex;
    flex-direction: column;
}

.artist-card__image {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f0f0f0;
    margin-bottom: 16px;
}

.artist-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.artist-card:hover .artist-card__image img {
    transform: scale(1.03);
}

.artist-card__name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.artist-card__genre {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.artist-card__bio {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============================================================
   RELEASES GRID
   ============================================================ */
.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 28px;
}

.release-card {
    display: flex;
    flex-direction: column;
}

.release-card__cover {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f0f0f0;
    margin-bottom: 14px;
}

.release-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.release-card:hover .release-card__cover img {
    transform: scale(1.03);
}

.release-card__format {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.format-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 8px;
    border: 1px solid #ddd;
    color: #555;
}

.release-card__artist {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.release-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.release-card__date {
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 8px;
}

.release-card__excerpt {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 18px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    color: #555;
}

.filter-btn:hover,
.filter-btn.is-active {
    background: #111;
    border-color: #111;
    color: #fff;
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
    margin-top: 64px;
    padding: 72px 0 48px;
    border-bottom: 1px solid #e8e8e8;
}

.page-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.page-hero__lead {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    line-height: 1.65;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-block {
    padding: 80px 0;
}

.about-block__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-block__grid--reverse {
    direction: rtl;
}

.about-block__grid--reverse > * {
    direction: ltr;
}

.about-block__image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0f0f0;
}

.about-block__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-block__text h2 {
    margin-bottom: 20px;
}

.about-block__text p {
    margin-bottom: 16px;
}

.services-list {
    margin-top: 32px;
}

.services-list__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.services-list__item:first-child {
    border-top: 1px solid #f0f0f0;
}

.services-list__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.services-list__text {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}

.about-fullwidth-image {
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.about-fullwidth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   PRESS PAGE
   ============================================================ */
.press-contact {
    background: #f7f7f7;
    padding: 40px;
    margin-bottom: 60px;
}

.press-contact p {
    font-size: 0.95rem;
}

.press-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.press-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid #e8e8e8;
    align-items: start;
}

.press-item:first-child {
    border-top: 1px solid #e8e8e8;
}

.press-item__image {
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #f0f0f0;
}

.press-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.press-item__date {
    font-size: 0.75rem;
    color: #aaa;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.press-item__title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.press-item__excerpt {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 14px;
}

/* ============================================================
   PROPOR LANCAMENTO PAGE
   ============================================================ */
.propor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    padding: 80px 0;
}

.propor-text h2 {
    margin-bottom: 24px;
}

.propor-text p {
    margin-bottom: 16px;
}

.status-banner {
    background: #f7f7f7;
    border-left: 4px solid #111;
    padding: 24px 28px;
    margin-top: 32px;
}

.status-banner__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.status-banner p {
    font-size: 0.875rem;
    color: #555;
}

.propor-image {
    position: sticky;
    top: 88px;
}

.propor-image img {
    width: 100%;
}

/* ============================================================
   SINGLE ARTIST
   ============================================================ */
.single-artist-hero {
    margin-top: 64px;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    min-height: 520px;
}

.single-artist-hero__image {
    overflow: hidden;
    background: #f0f0f0;
}

.single-artist-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-artist-hero__content {
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.single-artist-hero__name {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.single-artist-hero__bio {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
    max-width: 540px;
}

.single-artist-hero__links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.social-link {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

.artist-releases-section {
    padding: 80px 0;
}

/* ============================================================
   SINGLE RELEASE
   ============================================================ */
.single-release-hero {
    margin-top: 64px;
    display: grid;
    grid-template-columns: 480px 1fr;
    min-height: 520px;
}

.single-release-hero__cover {
    overflow: hidden;
    background: #f0f0f0;
}

.single-release-hero__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-release-hero__content {
    padding: 64px 56px;
    background: #111;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.single-release-hero__artist {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
}

.single-release-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 16px;
}

.single-release-hero__meta {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 28px;
}

.single-release-hero__excerpt,
.single-release-hero__excerpt p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.8);
    max-width: 480px;
}

.release-body {
    padding: 80px 0;
}

.release-body__content {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 660px;
}

.release-body__content p {
    margin-bottom: 20px;
}

/* ============================================================
   GALERIA DO LANÇAMENTO
   ============================================================ */
.release-gallery {
    padding: 0 0 80px;
}

.release-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 4px;
}

.release-gallery__item {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #111;
}

.release-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.release-gallery__item:hover img {
    transform: scale(1.04);
    opacity: 0.85;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #e8e8e8;
    padding: 56px 0 40px;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col__logo {
    margin-bottom: 20px;
}

.footer-col__logo img {
    height: 28px;
    width: auto;
}

.footer-col__logo-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-transform: lowercase;
}

.footer-col p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.65;
}

.footer-col__title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 16px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    font-size: 0.875rem;
    color: #444;
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #bbb;
}

/* ============================================================
   UTILITY
   ============================================================ */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn:hover {
    background: transparent;
    color: #111;
    opacity: 1;
}

.btn--outline {
    background: transparent;
    color: #111;
}

.btn--outline:hover {
    background: #111;
    color: #fff;
    opacity: 1;
}

.btn--white {
    background: #fff;
    border-color: #fff;
    color: #111;
}

.btn--white:hover {
    background: transparent;
    color: #fff;
    opacity: 1;
}

.btn--buy {
    background: #fff;
    border-color: #fff;
    color: #111;
    padding: 14px 36px;
    font-size: 0.9rem;
}

.btn--buy:hover {
    background: transparent;
    color: #fff;
    opacity: 1;
}

.btn--ghost {
    background: transparent;
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}

.btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    opacity: 1;
}

.single-release-hero__actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
    align-items: center;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    color: #aaa;
    font-size: 1rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .about-block__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-block__grid--reverse {
        direction: ltr;
    }

    .single-artist-hero {
        grid-template-columns: 1fr;
    }

    .single-artist-hero__image {
        height: 400px;
    }

    .single-release-hero {
        grid-template-columns: 1fr;
    }

    .single-release-hero__cover {
        height: 400px;
    }

    .propor-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .press-item {
        grid-template-columns: 1fr;
    }

    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero__tagline {
        font-size: 1.6rem;
    }

    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .releases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .single-artist-hero__content {
        padding: 40px 24px;
    }

    .single-release-hero__content {
        padding: 40px 24px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .section {
        padding: 56px 0;
    }

    .about-fullwidth-image {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .artists-grid {
        grid-template-columns: 1fr;
    }

    .releases-grid {
        grid-template-columns: 1fr;
    }
}
