/*
Theme Name: Biblioteca Acervo Moderna
Version: 2.0
*/

/* ========================================
   RESET E VARIÁVEIS
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cor-laranja: #F46A1F;
    --cor-laranja-escuro: #E85A0A;
    --cor-preto: #111111;
    --cor-cinza-escuro: #333333;
    --cor-cinza-medio: #666666;
    --cor-cinza-claro: #D9D9D9;
    --cor-branco: #FFFFFF;
    --cor-fundo-banner: #1A1A1A;
    --sombra-card: 0 2px 8px rgba(0,0,0,0.15);
    --sombra-hover: 0 4px 16px rgba(244,106,31,0.3);
    --transicao: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--cor-preto);
    background-color: var(--cor-branco);
    line-height: 1.6;
}

/* ========================================
   HEADER / NAVBAR
======================================== */
.site-header {
    background: var(--cor-branco);
    height: 75px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    fill: var(--cor-laranja);
}

.site-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--cor-laranja);
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-icon {
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: var(--transicao);
    color: var(--cor-laranja);
    background: var(--cor-branco);
    border: 2px solid var(--cor-laranja);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.header-icon:hover {
    background: var(--cor-laranja);
    color: var(--cor-branco);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(244,106,31,0.3);
}

.header-icon svg {
    width: 24px;
    height: 24px;
}

/* Overlay de Busca */
#search-overlay {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--cor-branco);
    padding: 30px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 999;
    display: none;
}

#search-overlay.show {
    display: block;
}

#autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cor-branco);
    border: 2px solid var(--cor-laranja);
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
}

#autocomplete-results.show {
    display: block;
}

#autocomplete-results a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--cor-preto);
    border-bottom: 1px solid #E9ECEF;
    transition: var(--transicao);
}

#autocomplete-results a:hover {
    background: #FFF8F5;
    border-left: 4px solid var(--cor-laranja);
}

.header-icon.home {
    color: var(--cor-laranja);
    background: var(--cor-branco);
}

/* ========================================
   BANNER HERO / CARROSSEL PRINCIPAL
======================================== */
.hero-banner {
    background: linear-gradient(135deg, var(--cor-fundo-banner) 0%, #2A2A2A 100%);
    border-radius: 16px;
    margin: 30px auto;
    max-width: 1400px;
    padding: 0 40px;
    overflow: hidden;
    position: relative;
    height: 450px;
}

.hero-slider {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    display: none;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 60px 80px;
}

.hero-slide.active {
    display: flex;
    animation: fadeIn 0.6s ease-in-out;
}

.hero-book-3d {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-book-3d {
        display: flex !important;
    }
}

.book-3d-container {
    position: relative;
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transicao);
}

.book-3d-container:hover {
    transform: perspective(1000px) rotateY(-10deg) translateY(-10px);
}

.hero-book-image {
    width: 300px;
    height: 450px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: block;
}

.hero-book-placeholder {
    width: 300px;
    height: 450px;
    background: linear-gradient(135deg, var(--cor-laranja) 0%, var(--cor-laranja-escuro) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-content {
    flex: 0 0 50%;
    color: var(--cor-branco);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.btn-cta {
    display: inline-block;
    background: var(--cor-laranja);
    color: var(--cor-branco);
    padding: 16px 48px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: var(--transicao);
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background: var(--cor-laranja-escuro);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244,106,31,0.4);
}

/* Setas de navegação do hero */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transicao);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-branco);
    font-size: 24px;
}

.hero-arrow:hover {
    background: rgba(255,255,255,0.2);
}

.hero-arrow.prev {
    left: 20px;
}

.hero-arrow.next {
    right: 20px;
}

/* Indicadores do carrossel */
.hero-indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cor-cinza-claro);
    cursor: pointer;
    transition: var(--transicao);
}

.indicator-dot.active {
    background: var(--cor-laranja);
    width: 30px;
    border-radius: 5px;
}

/* ========================================
   SEÇÕES DE CONTEÚDO
======================================== */
.content-section {
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--cor-preto);
}

.ver-tudo-link {
    color: var(--cor-cinza-escuro);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transicao);
}

.ver-tudo-link:hover {
    color: var(--cor-laranja);
}

/* ========================================
   CARROSSEL HORIZONTAL DE LIVROS
======================================== */
.books-carousel {
    position: relative;
}

.carousel-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.carousel-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.books-grid {
    display: flex;
    gap: 20px;
    padding-bottom: 10px;
}

.book-card {
    flex: 0 0 auto;
    width: 180px;
    cursor: pointer;
    transition: var(--transicao);
}

.book-card:hover {
    transform: translateY(-8px);
}

.book-cover {
    width: 100%;
    height: 270px;
    border-radius: 8px;
    box-shadow: var(--sombra-card);
    transition: var(--transicao);
    object-fit: cover;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.book-card:hover .book-cover {
    box-shadow: var(--sombra-hover);
}

.book-info {
    margin-top: 12px;
}

.book-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--cor-preto);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-author {
    font-size: 13px;
    color: var(--cor-cinza-medio);
    margin-top: 4px;
}

/* Setas de navegação do carrossel */
.carousel-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: var(--cor-branco);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--sombra-card);
    transition: var(--transicao);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-arrow:hover {
    background: var(--cor-laranja);
    color: var(--cor-branco);
    box-shadow: var(--sombra-hover);
}

.carousel-arrow.prev {
    left: -15px;
}

.carousel-arrow.next {
    right: -15px;
}

/* ========================================
   ANIMAÇÕES
======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   RESPONSIVO
======================================== */
@media (max-width: 1024px) {
    .hero-banner {
        height: 350px;
    }
    
    .hero-slide {
        padding: 40px 50px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .book-card {
        width: 160px;
    }
    
    .book-cover {
        height: 240px;
    }
}

/* ========================================
   RESPONSIVO - TABLET
======================================== */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 30px;
    }
    
    .site-title {
        font-size: 16px;
    }
    
    .header-icons {
        gap: 16px;
    }
    
    .header-icon {
        width: 40px;
        height: 40px;
    }
    
    .header-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .hero-banner {
        height: 350px;
        padding: 0 30px;
    }
    
    .hero-slide {
        padding: 40px 50px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .book-card {
        width: 160px;
    }
    
    .book-cover {
        height: 240px;
    }
    
    .content-section {
        padding: 0 30px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .carousel-arrow.prev {
        left: -10px;
    }
    
    .carousel-arrow.next {
        right: -10px;
    }
}

/* ========================================
   RESPONSIVO - MOBILE
======================================== */
@media (max-width: 768px) {
    /* Header */
    .site-header {
        height: 65px;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .site-title {
        font-size: 14px;
        letter-spacing: 0.3px;
    }
    
    .header-icons {
        gap: 10px;
    }
    
    .header-icon {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
    
    .header-icon svg {
        width: 18px;
        height: 18px;
    }
    
    /* Overlay de Busca */
    #search-overlay {
        top: 65px;
        padding: 20px 15px;
    }
    
    #search-overlay .container {
        padding: 0;
    }
    
    #global-search {
        font-size: 16px;
        padding: 14px 50px 14px 20px;
    }
    
    #autocomplete-results {
        max-height: 300px;
    }
    
    #autocomplete-results a {
        padding: 12px 15px;
        flex-wrap: wrap;
    }
    
    #autocomplete-results a img,
    #autocomplete-results a > div:first-child {
        width: 40px;
        height: 56px;
        margin-right: 12px;
    }
    
    /* Hero Banner */
    .hero-banner {
        height: auto;
        min-height: 400px;
        margin: 15px;
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .hero-slide {
        flex-direction: column;
        padding: 20px 0;
        justify-content: center;
        text-align: center;
        gap: 20px;
    }
    
    .hero-book-3d {
        display: flex !important;
        flex: 0 0 auto;
        width: 100%;
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .book-3d-container {
        transform: none !important;
        width: 100%;
        max-width: 200px;
    }
    
    .hero-book-image,
    .hero-book-placeholder {
        width: 100% !important;
        max-width: 200px !important;
        height: auto !important;
        aspect-ratio: 2/3;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }
    
    .hero-book-image {
        object-fit: cover;
    }
    
    .hero-book-placeholder {
        font-size: 18px !important;
        padding: 30px !important;
    }
    
    .hero-content {
        flex: 1;
        width: 100%;
    }
    
    .hero-title {
        font-size: 24px;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 15px;
        margin-bottom: 18px;
    }
    
    .btn-cta {
        padding: 12px 28px;
        font-size: 15px;
    }
    
    .hero-arrow {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    
    .hero-arrow.prev {
        left: 8px;
    }
    
    .hero-arrow.next {
        right: 8px;
    }
    
    .hero-indicators {
        bottom: 12px;
    }
    
    .indicator-dot {
        width: 8px;
        height: 8px;
    }
    
    .indicator-dot.active {
        width: 26px;
    }
    
    /* Seções de Conteúdo */
    .content-section {
        margin: 30px auto;
        padding: 0 15px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .ver-tudo-link {
        font-size: 15px;
    }
    
    /* Carrossel */
    .books-carousel {
        margin: 0 -15px;
        padding: 0 15px;
    }
    
    .carousel-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    
    .books-grid {
        gap: 15px;
        padding-bottom: 5px;
    }
    
    .book-card {
        width: 130px;
    }
    
    .book-cover {
        height: 195px;
    }
    
    .book-title {
        font-size: 13px;
    }
    
    .book-author {
        font-size: 12px;
    }
    
    .carousel-arrow {
        display: none; /* Ocultar setas no mobile, usar scroll nativo */
    }
    
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Melhorias gerais para mobile */
    body {
        font-size: 15px;
    }
    
    /* Ajustes de espaçamento */
    .content-section {
        margin: 25px auto;
    }
    
    .section-header {
        margin-bottom: 18px;
    }
    
    /* Melhorar toque em botões */
    .btn-cta,
    .header-icon,
    .carousel-arrow,
    .hero-arrow {
        -webkit-tap-highlight-color: rgba(244,106,31,0.2);
        touch-action: manipulation;
    }
    
    /* Footer */
    .site-footer {
        padding: 40px 0 25px;
        margin-top: 50px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-title {
        font-size: 22px;
    }
    
    .footer-tagline {
        font-size: 15px;
    }
    
    .footer-links {
        gap: 12px;
    }
    
    .footer-link {
        font-size: 15px;
    }
    
    .footer-bottom {
        padding-top: 25px;
    }
    
    .footer-bottom p {
        font-size: 14px;
    }
    
    /* Página de Detalhes (Single) */
    .item-detail-layout {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Breadcrumb */
    .container[style*="padding-top: 30px"] {
        padding: 20px 15px !important;
    }
    
    /* Cards de detalhes */
    .container[style*="background: var(--cor-branco)"] {
        padding: 25px 20px !important;
    }
    
    /* Botão Ler */
    .btn-cta[style*="font-size: 22px"] {
        font-size: 18px !important;
        padding: 16px 40px !important;
        max-width: 100% !important;
    }
    
    /* Grid de livros nas páginas de categoria */
    #grid-literatura,
    #grid-museus,
    #grid-documentos {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
        gap: 20px !important;
    }
    
    /* Títulos das páginas de categoria */
    h1[style*="font-size: 42px"] {
        font-size: 28px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    
    h1[style*="font-size: 42px"] span[style*="font-size: 48px"] {
        font-size: 32px !important;
    }
    
    p[style*="font-size: 20px"] {
        font-size: 16px !important;
    }
    
    /* Input de busca nas páginas de categoria */
    input[style*="max-width: 600px"] {
        max-width: 100% !important;
        padding: 14px 20px !important;
        font-size: 15px !important;
    }
    
    /* Contador de itens */
    div[style*="padding: 20px 30px"] {
        padding: 15px 20px !important;
        font-size: 16px !important;
    }
    
    /* Página Todos os Itens */
    h1[style*="font-size: 36px"] {
        font-size: 24px !important;
    }
    
    p[style*="font-size: 18px"] {
        font-size: 15px !important;
    }
    
    /* Grid de todos os itens */
    #all-items-grid,
    div[style*="grid-template-columns: repeat(auto-fill, minmax(180px, 1fr))"] {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
        gap: 20px !important;
    }
}

/* ========================================
   RESPONSIVO - MOBILE PEQUENO
======================================== */
@media (max-width: 480px) {
    .site-header {
        height: 60px;
    }
    
    .header-container {
        padding: 0 12px;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .site-title {
        font-size: 12px;
    }
    
    .header-icon {
        width: 32px;
        height: 32px;
        padding: 5px;
    }
    
    .header-icon svg {
        width: 16px;
        height: 16px;
    }
    
    /* Hero Banner Mobile Pequeno */
    .hero-banner {
        height: auto;
        min-height: 380px;
        margin: 10px;
        padding: 20px 15px;
    }
    
    .hero-slide {
        padding: 15px 0;
        gap: 15px;
    }
    
    .book-3d-container {
        max-width: 160px !important;
    }
    
    .hero-book-image,
    .hero-book-placeholder {
        max-width: 160px !important;
    }
    
    .hero-book-placeholder {
        font-size: 16px !important;
        padding: 25px !important;
    }
    
    .hero-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .hero-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .btn-cta {
        padding: 11px 24px;
        font-size: 14px;
    }
    
    .hero-arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .hero-arrow.prev {
        left: 8px;
    }
    
    .hero-arrow.next {
        right: 8px;
    }
    
    .hero-indicators {
        bottom: 10px;
    }
    
    .indicator-dot {
        width: 8px;
        height: 8px;
    }
    
    .indicator-dot.active {
        width: 24px;
    }
    
    /* Cards e Grids */
    .book-card {
        width: 110px;
    }
    
    .book-cover {
        height: 165px;
    }
    
    .book-title {
        font-size: 12px;
    }
    
    .book-author {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .content-section {
        margin: 25px auto;
        padding: 0 12px;
    }
    
    #grid-literatura,
    #grid-museus,
    #grid-documentos {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important;
        gap: 12px !important;
    }
    
    #all-items-grid,
    div[style*="grid-template-columns: repeat(auto-fill, minmax(180px, 1fr))"] {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important;
        gap: 12px !important;
    }
    
    h1[style*="font-size: 42px"] {
        font-size: 22px !important;
    }
    
    h1[style*="font-size: 36px"] {
        font-size: 20px !important;
    }
    
    p[style*="font-size: 20px"] {
        font-size: 14px !important;
    }
    
    input[style*="max-width: 600px"] {
        padding: 12px 18px !important;
        font-size: 14px !important;
    }
    
    /* Footer Mobile Pequeno */
    .site-footer {
        padding: 35px 0 20px;
        margin-top: 40px;
    }
    
    .footer-container {
        padding: 0 12px;
    }
    
    .footer-title {
        font-size: 20px;
    }
    
    .footer-tagline {
        font-size: 14px;
    }
    
    .footer-link {
        font-size: 14px;
    }
    
    .footer-bottom p {
        font-size: 13px;
    }
    
    /* Melhorias adicionais para mobile pequeno */
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* Ajustes de espaçamento reduzidos */
    .content-section {
        margin: 20px auto;
    }
    
    /* Melhorar área de toque */
    .book-card {
        min-height: 280px;
    }
    
    /* Ajustar padding de cards */
    .book-info {
        margin-top: 10px;
    }
}

/* ========================================
   RODAPÉ
======================================== */
.site-footer {
    background: linear-gradient(135deg, var(--cor-fundo-banner) 0%, #2A2A2A 100%);
    color: var(--cor-branco);
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 4px solid var(--cor-laranja);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-brand {
    max-width: 400px;
}

.footer-title {
    color: var(--cor-laranja);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-tagline {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    display: inline-block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transicao);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    width: fit-content;
}

.footer-link:hover {
    color: var(--cor-laranja);
    border-bottom-color: var(--cor-laranja);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.7);
}

.footer-bottom p {
    margin: 0;
    font-size: 15px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-title {
        font-size: 24px;
    }
    
    .footer-links {
        gap: 12px;
    }
}

/* ========================================
   UTILITÁRIOS
======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 4rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

/* Badge de tipo */
.type-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.type-badge.literatura {
    background: var(--cor-laranja);
    color: var(--cor-branco);
}

.type-badge.museu {
    background: #FF8C5F;
    color: var(--cor-branco);
}

.type-badge.documento {
    background: #FFA07A;
    color: var(--cor-branco);
}


