/* ==========================================================================
   XMULHER THEME — CSS Nativo Otimizado
   Identidade: Gold & Black Premium
   Versão: 2.0
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. IMPORTS & TOKENS
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Paleta de Cores */
    --gold-light:   #fcf6ba;
    --gold-mid:     #d4af37;
    --gold-deep:    #b38728;
    --gold-dark:    #7a5c1e;
    --black:        #000000;
    --surface-0:    #080808;
    --surface-1:    #0f0f0f;
    --surface-2:    #161616;
    --surface-3:    #1e1e1e;
    --border-subtle:#1f1f1f;
    --border-gold:  rgba(179, 135, 40, 0.25);
    --text-primary: #f0f0f0;
    --text-muted:   #888888;
    --text-dim:     #555555;

    /* Tipografia */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;

    /* Espaçamento */
    --gap-xs:  8px;
    --gap-sm:  16px;
    --gap-md:  24px;
    --gap-lg:  40px;
    --gap-xl:  60px;
    --gap-2xl: 80px;

    /* Layout */
    --max-width:     1240px;
    --content-width: 860px;
    --sidebar-width: 320px;
    --radius-sm:     6px;
    --radius-md:     10px;
    --radius-lg:     16px;

    /* Gradiente dourado */
    --gold-gradient: linear-gradient(90deg, #bf953f, #fcf6ba, #b38728, #fcf6ba, #bf953f);
}

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

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

body {
    background-color: var(--surface-0);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* --------------------------------------------------------------------------
   2. UTILITÁRIOS
   -------------------------------------------------------------------------- */
.container {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: 20px;
}

.gold-line {
    width: 48px;
    height: 2px;
    background: var(--gold-gradient);
    background-size: 200% auto;
    border-radius: 2px;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-mid);
}

/* --------------------------------------------------------------------------
   3. HEADER
   -------------------------------------------------------------------------- */
.site-header {
    background-color: var(--black);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

/* Borda dourada animada */
.site-header::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: var(--gold-gradient);
    background-size: 200% auto;
    animation: goldShimmer 5s linear infinite;
}

@keyframes goldShimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: var(--gap-md);
}

/* Logo */
.site-logo {
    text-decoration: none;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.75rem;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 1px;
    flex-shrink: 0;
}

.logo-x    { color: var(--gold-mid); font-weight: 900; }
.logo-main { color: #fff; font-weight: 700; }
.logo-nua  { color: var(--gold-mid); font-weight: 700; }
.logo-tld  {
    color: var(--gold-deep);
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.75;
    align-self: flex-end;
    margin-bottom: 3px;
}

/* Navegação desktop */
.primary-nav ul {
    display: flex;
    align-items: center;
    gap: var(--gap-lg);
}

.primary-nav a {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav .current-menu-item a {
    color: var(--gold-light);
}

/* Busca no header */
.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search input {
    width: 200px;
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 7px 36px 7px 14px;
    color: var(--text-primary);
    font-size: 0.82rem;
    font-family: var(--font-body);
    transition: border-color 0.2s, width 0.3s;
    outline: none;
}

.header-search input:focus {
    border-color: var(--gold-deep);
    width: 240px;
}

.header-search input::placeholder { color: var(--text-dim); }

.header-search button {
    position: absolute;
    right: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
}

.header-search button:hover { color: var(--gold-mid); }

/* Hamburger mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    padding: 0;
    z-index: 1100;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--gold-light); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--gold-light); }

/* --------------------------------------------------------------------------
   4. HOME — GALERIA PREMIUM
   -------------------------------------------------------------------------- */

/* Banner hero da home */
.home-hero {
    padding: var(--gap-xl) 0 var(--gap-lg);
    border-bottom: 1px solid var(--border-subtle);
}

.home-hero__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--gap-md);
}

.home-hero__text {}

.home-hero__label {
    margin-bottom: 10px;
}

.home-hero__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 14px;
}

.home-hero__title span {
    color: var(--gold-mid);
}

.home-hero__desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
}

.home-hero__meta {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-dim);
    white-space: nowrap;
}

/* Banner de ad horizontal abaixo do hero */
.ad-horizontal {
    margin: var(--gap-md) 0;
}

.ad-slot {
    background: var(--surface-2);
    border: 1px dashed var(--border-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    overflow: hidden;
    position: relative;
}

.ad-slot--728x90 { width: 100%; height: 90px; }
.ad-slot--300x250 { width: 300px; height: 250px; }
.ad-slot--300x600 { width: 300px; height: 600px; }

.ad-slot img { width: 100%; height: 100%; object-fit: cover; }
.ad-slot > span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Grid principal de galerias */
.gallery-section {
    padding: var(--gap-md) 0 var(--gap-xl);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--gap-md);
    padding-bottom: var(--gap-sm);
    border-bottom: 1px solid var(--border-subtle);
}

.section-header__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
}

.section-header__link {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-deep);
    transition: color 0.2s;
}

.section-header__link:hover { color: var(--gold-light); }

/* GRID DE CARDS — layout portrait */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Card de galeria */
.post-card {
    background: var(--surface-1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.post-card:hover { transform: translateY(-6px); }

.post-card__link {
    display: block;
    text-decoration: none;
}

/* Thumbnail portrait 3:4 */
.post-card__thumb {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--surface-3);
    position: relative;
}

.post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card__thumb img { transform: scale(1.07); }

/* Badge de views no canto */
.post-card__badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    color: var(--text-muted);
    font-size: 0.68rem;
    padding: 3px 7px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-card__badge svg { opacity: 0.7; }

/* Info do card */
.post-card__info {
    padding: 12px 14px 14px;
}

.post-card__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.post-card:hover .post-card__title { color: var(--gold-mid); }

/* Card em destaque — tamanho 2x */
.post-card--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.post-card--featured .post-card__thumb {
    aspect-ratio: 3 / 4;
}

.post-card--featured .post-card__title {
    font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   5. LAYOUT COM SIDEBAR (Single, Category, Search)
   -------------------------------------------------------------------------- */
.layout-with-sidebar {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: var(--gap-lg);
    align-items: flex-start;
    padding-block: var(--gap-xl);
}

.main-area { min-width: 0; }

/* --------------------------------------------------------------------------
   6. SIDEBAR
   -------------------------------------------------------------------------- */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
    position: sticky;
    top: 80px;
}

/* Widget base */
.widget {
    background: var(--surface-1);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.widget__header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget__title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.widget__body {
    padding: 18px;
}

/* Widget: busca */
.search-widget .search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-widget input[type="search"],
.search-widget input[type="text"] {
    width: 100%;
    background: var(--surface-0);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 11px 44px 11px 14px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-widget input:focus { border-color: var(--gold-deep); }
.search-widget input::placeholder { color: var(--text-dim); }

.search-widget__btn {
    position: absolute;
    right: 8px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--gold-deep), var(--gold-light));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    flex-shrink: 0;
}

/* Widget: posts recentes */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.recent-post-item {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: opacity 0.2s;
}

.recent-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.recent-post-item:first-child { padding-top: 0; }
.recent-post-item:hover { opacity: 0.75; }

.recent-post-item__thumb {
    width: 68px;
    height: 52px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface-3);
    border: 1px solid var(--border-gold);
}

.recent-post-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-item__title {
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.recent-post-item:hover .recent-post-item__title { color: var(--gold-mid); }

/* Widget: anúncio sidebar */
.ad-widget .widget__body {
    padding: 0;
}

.ad-widget .ad-slot {
    width: 100%;
    height: 250px;
    border-radius: 0;
    border: none;
}

.ad-widget .ad-slot--tall {
    height: 600px;
}

/* Widget: tags */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-pill {
    background: var(--surface-0);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    text-transform: lowercase;
}

.tag-pill:hover {
    border-color: var(--gold-deep);
    color: var(--gold-light);
    background: rgba(179, 135, 40, 0.08);
}

/* Widget: categorias */
.categories-list {
    display: flex;
    flex-direction: column;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.2s, padding-left 0.2s;
}

.category-link:last-child { border-bottom: none; }
.category-link:hover { color: var(--gold-mid); padding-left: 4px; }

.category-link__count {
    background: var(--surface-3);
    font-size: 0.68rem;
    padding: 2px 7px;
    border-radius: 10px;
    color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   7. SINGLE POST (Página de Galeria)
   -------------------------------------------------------------------------- */
.single-header {
    margin-bottom: var(--gap-md);
    padding-bottom: var(--gap-md);
    border-bottom: 1px solid var(--border-subtle);
}

.single-header__label {
    margin-bottom: 10px;
}

.single-header__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 14px;
}

.single-header__meta {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    flex-wrap: wrap;
}

/* Bold & Links — Identidade Gold */
strong, b {
    color: #fff;
    font-weight: 700;
}

a {
    color: var(--gold-deep);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--gold-light);
}

.single-content a,
.static-page__content a {
    color: var(--gold-mid);
    text-decoration: none;
    text-decoration-color: rgba(212, 175, 55, 0.35);
}

.single-content a:hover,
.static-page__content a:hover {
    color: #fff;
    text-decoration-color: rgba(255,255,255,0.4);
}

/* Breadcrumb */
.breadcrumb {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    list-style: none;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.breadcrumb__list li + li::before {
    content: "/";
    opacity: 0.4;
    margin-right: 6px;
}

.breadcrumb__list a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb__list a:hover { color: var(--gold-mid); }

.breadcrumb__list li:last-child {
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--text-dim);
}

.meta-item svg { color: var(--gold-dark); }

.meta-item--views { color: var(--text-muted); }

/* Banner de ad acima do conteúdo */
.single-ad-top {
    margin-bottom: var(--gap-md);
}

/* Conteúdo do post */
.single-content {
    line-height: 1.8;
    color: var(--text-primary);
}

.single-content img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin-bottom: var(--gap-md);
}

.single-content p { margin-bottom: var(--gap-sm); }

.single-content h2,
.single-content h3 {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--gold-light);
    margin: var(--gap-lg) 0 var(--gap-sm);
}

/* Galeria de imagens dentro do post */
.wp-block-gallery,
.gallery,
.gallery-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    margin-bottom: var(--gap-md);
}

.gallery-grid-inner figure,
.wp-block-gallery figure {
    margin: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.gallery-grid-inner figure img,
.wp-block-gallery figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-grid-inner figure:hover img,
.wp-block-gallery figure:hover img {
    transform: scale(1.05);
}

/* Info do modelo */
.model-credits {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--surface-2);
    border: 1px solid var(--border-gold);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    margin-top: var(--gap-md);
    font-size: 0.82rem;
    flex-wrap: wrap;
}

.model-credits__label { color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; font-size: 0.68rem; }
.model-credits__value { color: #fff; font-weight: 600; }
.model-credits__sep { width: 1px; height: 20px; background: var(--border-gold); }
.model-credits__link { color: var(--gold-deep); }
.model-credits__link:hover { color: var(--gold-light); text-decoration: underline; }

/* Ad mid-content */
.single-ad-mid {
    margin: var(--gap-lg) 0;
}

/* --------------------------------------------------------------------------
   8. GALERIAS RELACIONADAS
   -------------------------------------------------------------------------- */
.related-section {
    padding: var(--gap-xl) 0;
    border-top: 1px solid var(--border-subtle);
    margin-top: var(--gap-xl);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.related-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.3s;
}

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

.related-card__thumb {
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface-3);
    border: 1px solid var(--border-subtle);
}

.related-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.related-card:hover .related-card__thumb img { transform: scale(1.06); }

.related-card__title {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.related-card:hover .related-card__title { color: var(--gold-mid); }

/* --------------------------------------------------------------------------
   9. CATEGORIA / ARQUIVO / TAG / BUSCA
   -------------------------------------------------------------------------- */
.archive-hero {
    text-align: center;
    padding: var(--gap-xl) 0 var(--gap-lg);
}

.archive-hero__eyebrow {
    margin-bottom: 12px;
}

.archive-hero__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 16px;
    line-height: 1;
}

.archive-hero__desc {
    color: var(--text-muted);
    max-width: 560px;
    margin-inline: auto;
    font-size: 1rem;
    line-height: 1.6;
}

.archive-hero__line {
    width: 48px;
    height: 2px;
    background: var(--gold-gradient);
    background-size: 200% auto;
    margin: var(--gap-md) auto 0;
}

/* --------------------------------------------------------------------------
   10. PAGINAÇÃO
   -------------------------------------------------------------------------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: var(--gap-xl) 0 var(--gap-md);
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    background: var(--surface-1);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.page-numbers:hover:not(.current) {
    border-color: var(--gold-dark);
    color: var(--gold-light);
    background: rgba(179, 135, 40, 0.07);
}

.page-numbers.current {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-mid));
    border-color: transparent;
    color: #000;
    font-weight: 700;
}

.page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: var(--text-dim);
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--black);
    margin-top: var(--gap-2xl);
    position: relative;
}

.footer-top-border {
    height: 1px;
    background: linear-gradient(90deg, transparent, #bf953f, #fcf6ba, #bf953f, transparent);
}

.footer-main {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr;
    gap: var(--gap-xl);
    padding: var(--gap-xl) 0 var(--gap-lg);
}

.footer-brand__logo {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--gold-light);
    text-decoration: none;
    display: block;
    margin-bottom: 14px;
}

.footer-brand__bio {
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-col__title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

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

.footer-col ul li a {
    color: var(--text-dim);
    font-size: 0.88rem;
    transition: color 0.2s, padding-left 0.2s;
    display: block;
}

.footer-col ul li a:hover {
    color: var(--gold-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #0f0f0f;
    padding: 20px 0;
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-md);
    flex-wrap: wrap;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.78rem;
}

.footer-legal-links {
    display: flex;
    gap: var(--gap-md);
}

.footer-legal-links a {
    color: var(--text-dim);
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-links a:hover { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   12. MODAL DE VERIFICAÇÃO DE IDADE
   -------------------------------------------------------------------------- */
.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.age-gate.is-visible {
    display: flex;
    opacity: 0;
}

.age-gate.is-shown { opacity: 1; }

.age-modal {
    width: 100%;
    max-width: 420px;
    background: var(--surface-1);
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-lg);
    padding: 44px 32px;
    text-align: center;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 60px rgba(212, 175, 55, 0.04);
}

.age-modal__logo {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.6rem;
    margin-bottom: 28px;
}

.age-modal__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.3rem, 4vw, 1.7rem);
    color: #fff;
    margin-bottom: 12px;
}

.age-modal__text {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.age-modal__text strong { color: var(--text-muted); }

.age-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Botões */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-mid), var(--gold-dark));
    background-size: 200% auto;
    color: #000;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: none;
    transition: background-position 0.4s, transform 0.2s;
    width: 100%;
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-block;
    color: var(--text-dim);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 8px;
    transition: color 0.2s;
}

.btn-ghost:hover { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   13. 404 & PÁGINA ESTÁTICA
   -------------------------------------------------------------------------- */
.page-404 {
    text-align: center;
    padding: var(--gap-2xl) 20px;
}

.page-404__number {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(5rem, 15vw, 10rem);
    color: var(--surface-3);
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--surface-3), var(--border-subtle));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-404__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 12px;
}

.page-404__text {
    color: var(--text-muted);
    margin-bottom: var(--gap-lg);
}

.static-page {
    max-width: 760px;
    margin-inline: auto;
    padding: var(--gap-xl) 20px;
}

.static-page__header {
    text-align: center;
    margin-bottom: var(--gap-xl);
}

.static-page__title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 16px;
}

.static-page__divider {
    width: 48px;
    height: 2px;
    background: var(--gold-gradient);
    background-size: 200% auto;
    margin: 0 auto;
}

.static-page__content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1rem;
}

.static-page__content p { margin-bottom: var(--gap-md); }
.static-page__content h2 { color: var(--gold-light); font-family: var(--font-display); font-style: italic; margin: var(--gap-lg) 0 var(--gap-sm); }
.static-page__content a { color: var(--gold-mid); }
.static-page__content a:hover { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------------------
   14. LOGIN PAGE
   -------------------------------------------------------------------------- */
body.login {
    font-family: var(--font-body) !important;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh;
}

#login {
    width: 100% !important;
    max-width: 380px !important;
    padding: 44px 36px !important;
    background: rgba(12, 12, 12, 0.9) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    border-radius: 16px !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.9) !important;
    backdrop-filter: blur(10px);
}

.login h1 a {
    background-image: none !important;
    text-indent: 0 !important;
    width: auto !important;
    height: auto !important;
    font-family: var(--font-display) !important;
    font-style: italic !important;
    font-size: 1.8rem !important;
    background: linear-gradient(90deg, #bf953f, #fcf6ba, #b38728) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: block !important;
    margin-bottom: 28px !important;
}

.login form { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; }
.login label { font-size: 0.7rem !important; letter-spacing: 1.5px !important; text-transform: uppercase !important; color: var(--gold-deep) !important; font-weight: 700 !important; }
.login input[type="text"], .login input[type="password"] {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid #222 !important;
    border-radius: 8px !important;
    color: #fff !important;
    padding: 12px !important;
    width: 100% !important;
    transition: border-color 0.2s !important;
}
.login input:focus { border-color: var(--gold-deep) !important; box-shadow: 0 0 0 2px rgba(179,135,40,0.15) !important; outline: none !important; }
.wp-core-ui .button-primary {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-mid) 100%) !important;
    border: none !important; border-radius: 8px !important; padding: 12px !important;
    color: #000 !important; font-weight: 800 !important; text-transform: uppercase !important;
    letter-spacing: 1px !important; text-shadow: none !important; box-shadow: none !important;
    width: 100% !important; float: none !important;
}
.wp-core-ui .button-primary:hover { filter: brightness(1.1) !important; }
.login #nav a, .login #backtoblog a { color: #444 !important; font-size: 0.75rem !important; }
.login #nav a:hover { color: var(--gold-deep) !important; }
#login h1, #login h1.wp-login-logo { display: none !important; }

/* --------------------------------------------------------------------------
   15. RESPONSIVIDADE
   -------------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 1100px) {
    .posts-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; }
}

/* Tablet pequeno / layout com sidebar */
@media (max-width: 900px) {
    .layout-with-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--gap-md);
    }

    .ad-widget { grid-column: 1 / -1; }

    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .post-card--featured { grid-column: span 2; }
}

/* Mobile */
@media (max-width: 640px) {
    :root { --gap-xl: 40px; --gap-2xl: 60px; }

    .nav-toggle { display: flex; }
    .primary-nav { display: none; }
    .header-search { display: none; }

    .primary-nav.is-open {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        background: var(--black);
        z-index: 999;
        padding: 0;
        overflow-y: auto;
        border-top: 1px solid var(--border-gold);
        animation: slideDown 0.3s ease;
    }

    .primary-nav.is-open ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        align-items: flex-start;
    }

    .primary-nav.is-open ul li {
        width: 100%;
        border-bottom: 1px solid var(--border-subtle);
        min-height: 52px;
        display: flex;
        align-items: center;
    }

    .primary-nav.is-open a {
        display: flex;
        align-items: center;
        width: 100%;
        height: 52px;
        padding: 0 28px;
        font-size: 1rem;
        color: var(--text-primary);
        letter-spacing: 1.5px;
        text-align: left;
        transition: background 0.2s, color 0.2s, padding-left 0.2s;
    }

    .primary-nav.is-open a:hover {
        background: rgba(179, 135, 40, 0.06);
        color: var(--gold-light);
        padding-left: 36px;
    }

    .home-hero__inner { flex-direction: column; gap: var(--gap-sm); }
    .home-hero__meta { text-align: left; }

    .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .post-card--featured { grid-column: span 2; }

    .sidebar { grid-template-columns: 1fr; }
    .ad-widget .ad-slot--tall { height: 250px; }

    .footer-main { grid-template-columns: 1fr; gap: var(--gap-lg); }
    .footer-bottom__inner { flex-direction: column; text-align: center; }
    .footer-legal-links { justify-content: center; }

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

    .age-modal { padding: 32px 20px; }
    .ad-slot--728x90 { height: 60px; }
}

@media (max-width: 380px) {
    .posts-grid { grid-template-columns: 1fr; }
    .post-card--featured { grid-column: span 1; }
}

/* --------------------------------------------------------------------------
   16. IFRAME RESPONSIVO
   -------------------------------------------------------------------------- */
.video-container,
.responsive-embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: var(--gap-md);
}

.video-container iframe,
.responsive-embed-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --------------------------------------------------------------------------
   17. ACESSIBILIDADE
   -------------------------------------------------------------------------- */
:focus-visible {
    outline: 2px solid var(--gold-mid);
    outline-offset: 2px;
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

