/* ========================================
   BLOG JOICE NOGUEIRA - CSS PREMIUM
   Mantendo o padrão do site principal
======================================== */

:root {
    --primary: #2c1810;
    --primary-light: #4a2818;
    --accent: #c9a56a;
    --accent-dark: #a88654;
    --dark: #1a1a1a;
    --text: #333;
    --text-light: #666;
    --bg: #ffffff;
    --bg-light: #f8f7f5;
    --border: #e5e3df;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVEGAÇÃO
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--primary);
}

.logo-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

.btn-admin {
    background: var(--primary) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 4px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

/* ========================================
   HERO DO BLOG
======================================== */
.blog-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg) 100%);
    text-align: center;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-label {
    display: inline-block;
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--accent);
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Busca */
.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 5px 5px 5px 25px;
    transition: border-color 0.3s;
}

.search-input-wrapper:focus-within {
    border-color: var(--accent);
}

.search-input-wrapper i {
    color: var(--text-light);
    margin-right: 10px;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 10px;
}

.btn-search {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-search:hover {
    background: var(--accent-dark);
}

/* ========================================
   CATEGORIAS
======================================== */
.categorias-section {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 81px;
    z-index: 100;
}

.categorias-wrapper {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
}

.categorias-wrapper::-webkit-scrollbar {
    height: 4px;
}

.categorias-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.categoria-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-light);
    color: var(--text);
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.categoria-tag:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.categoria-tag.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent-dark);
}

/* ========================================
   ARTIGOS EM DESTAQUE
======================================== */
.destaques-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.title-divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto;
}

.destaques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.destaque-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.destaque-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow);
}

.destaque-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    display: block;
}

.destaque-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.destaque-card:hover .destaque-image img {
    transform: scale(1.1);
}

.destaque-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
}

.destaque-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.destaque-content {
    padding: 30px;
}

.destaque-categoria {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.destaque-title a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    line-height: 1.3;
    display: block;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.destaque-title a:hover {
    color: var(--accent);
}

.destaque-excerpt {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.destaque-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 13px;
}

.destaque-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ========================================
   LISTA DE ARTIGOS
======================================== */
.artigos-section {
    padding: 80px 0;
}

.resultado-busca {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.total-resultados {
    color: var(--text-light);
    margin-top: 5px;
}

.sem-artigos {
    text-align: center;
    padding: 80px 20px;
}

.sem-artigos i {
    font-size: 80px;
    color: var(--accent);
    margin-bottom: 20px;
}

.sem-artigos h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
}

.artigos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.artigo-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.artigo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px var(--shadow);
}

.artigo-image {
    display: block;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.artigo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.artigo-card:hover .artigo-image img {
    transform: scale(1.05);
}

.artigo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 50px;
}

.artigo-content {
    padding: 25px;
}

.artigo-categoria {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 12px;
    transition: opacity 0.3s;
}

.artigo-categoria:hover {
    opacity: 0.8;
}

.artigo-title a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    line-height: 1.3;
    display: block;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.artigo-title a:hover {
    color: var(--accent);
}

.artigo-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.artigo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.artigo-meta {
    display: flex;
    gap: 15px;
    color: var(--text-light);
    font-size: 12px;
}

.artigo-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-ler-mais {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.btn-ler-mais:hover {
    gap: 12px;
}

/* ========================================
   PAGINAÇÃO
======================================== */
.paginacao {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
}

.btn-pagina {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-pagina:hover {
    background: var(--accent-dark);
    transform: translateX(0) scale(1.05);
}

.paginas-numeros {
    display: flex;
    gap: 8px;
}

.numero-pagina {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.numero-pagina:hover {
    background: var(--accent);
    color: white;
}

.numero-pagina.active {
    background: var(--primary);
    color: white;
}

.pagina-reticencias {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* ========================================
   ARTIGO COMPLETO
======================================== */
.breadcrumb {
    padding: 100px 0 20px;
    background: var(--bg-light);
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--text-light);
}

.breadcrumb .current {
    color: var(--text);
}

.artigo-completo {
    padding: 40px 0 80px;
}

.artigo-header {
    text-align: center;
    margin-bottom: 40px;
}

.artigo-categoria-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 20px;
}

.artigo-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.artigo-resumo {
    font-size: 20px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.artigo-meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
}

.autor-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.autor-avatar,
.autor-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.autor-avatar-placeholder {
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.autor-dados {
    display: flex;
    flex-direction: column;
}

.autor-dados strong {
    color: var(--primary);
    font-size: 16px;
}

.autor-dados span {
    color: var(--text-light);
    font-size: 13px;
}

.artigo-stats {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 14px;
}

.artigo-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.compartilhar-artigo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.compartilhar-label {
    font-weight: 600;
    color: var(--text);
}

.compartilhar-buttons {
    display: flex;
    gap: 10px;
}

.btn-share {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-share:hover {
    transform: translateY(-3px);
}

.btn-share.facebook { background: #1877f2; }
.btn-share.twitter { background: #1da1f2; }
.btn-share.linkedin { background: #0077b5; }
.btn-share.whatsapp { background: #25d366; }
.btn-share.link { background: var(--primary); }

.artigo-imagem-destaque {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
}

.artigo-imagem-destaque img {
    width: 100%;
    height: auto;
    display: block;
}

.artigo-conteudo {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text);
}

.artigo-conteudo p {
    margin-bottom: 20px;
}

.artigo-conteudo h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--primary);
    margin: 40px 0 20px;
}

.artigo-conteudo h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--primary);
    margin: 30px 0 15px;
}

.artigo-conteudo strong {
    color: var(--primary);
    font-weight: 600;
}

.artigo-conteudo ul,
.artigo-conteudo ol {
    margin: 20px 0 20px 30px;
}

.artigo-conteudo li {
    margin-bottom: 10px;
}

.artigo-conteudo blockquote {
    border-left: 4px solid var(--accent);
    padding: 20px 30px;
    margin: 30px 0;
    background: var(--bg-light);
    font-style: italic;
    color: var(--text-light);
    border-radius: 0 8px 8px 0;
}

.artigo-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border);
}

.autor-bio {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 40px;
}

.autor-bio-avatar,
.autor-bio-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.autor-bio-avatar-placeholder {
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
}

.autor-bio-info h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
}

.autor-bio-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.autor-social {
    display: flex;
    gap: 10px;
}

.autor-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.autor-social a:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.compartilhar-novamente {
    text-align: center;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 12px;
}

.compartilhar-novamente p {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
}

/* ========================================
   ARTIGOS RELACIONADOS
======================================== */
.artigos-relacionados {
    padding: 80px 0;
    background: var(--bg-light);
}

.artigos-relacionados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.artigo-card-mini {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px var(--shadow);
    transition: transform 0.3s;
}

.artigo-card-mini:hover {
    transform: translateY(-5px);
}

.artigo-mini-image {
    display: block;
    height: 180px;
    overflow: hidden;
}

.artigo-mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.artigo-card-mini:hover .artigo-mini-image img {
    transform: scale(1.1);
}

.artigo-placeholder-mini {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
}

.artigo-mini-content {
    padding: 20px;
}

.artigo-mini-categoria {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
}

.artigo-mini-title a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    line-height: 1.3;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.artigo-mini-title a:hover {
    color: var(--accent);
}

.artigo-mini-data {
    color: var(--text-light);
    font-size: 12px;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-large {
    padding: 15px 40px !important;
    font-size: 18px !important;
}

/* ========================================
   NEWSLETTER
======================================== */
.newsletter-section {
    padding: 60px 0;
    background: var(--primary);
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: white;
    margin-bottom: 10px;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
}

.newsletter-form button {
    white-space: nowrap;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-col h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
}

.footer-col p {
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-oab {
    margin-top: 10px;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.footer-logo h3 {
    font-family: 'Cormorant Garamond', serif;
    color: white;
    font-size: 24px;
    margin-bottom: 5px;
}

.footer-logo p {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 2px;
}

.footer-text {
    text-align: right;
}

/* ========================================
   WHATSAPP FLUTUANTE
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ========================================
   BOTÕES GERAIS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

/* ========================================
   ALERTAS
======================================== */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ========================================
   RESPONSIVO
======================================== */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 81px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 81px);
        background: white;
        flex-direction: column;
        padding: 40px;
        transition: left 0.3s;
        box-shadow: 0 4px 20px var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .artigo-titulo {
        font-size: 36px;
    }
    
    .destaques-grid,
    .artigos-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-text {
        text-align: center;
    }
    
    .artigo-meta-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .autor-bio {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .search-input-wrapper {
        flex-direction: column;
        border-radius: 12px;
        padding: 10px;
        gap: 10px;
    }
    
    .btn-search {
        width: 100%;
    }
    
    .compartilhar-artigo {
        flex-direction: column;
    }
    
    .paginacao {
        flex-wrap: wrap;
    }
}

/* ========================================
   ADMIN CSS
======================================== */
.admin-body {
    display: flex;
    background: #f5f5f5;
}

.admin-sidebar {
    width: 260px;
    height: 100vh;
    background: var(--primary);
    color: white;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-nav .nav-item:hover,
.sidebar-nav .nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: 3px solid var(--accent);
}

.sidebar-user {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-info i {
    font-size: 32px;
}

.user-info strong {
    display: block;
    font-size: 14px;
}

.user-info span {
    font-size: 12px;
    color: var(--accent);
}

.admin-main {
    margin-left: 260px;
    flex: 1;
    padding: 30px;
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 32px;
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 10px var(--shadow);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.stat-info h3 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-info p {
    color: var(--text-light);
    font-size: 14px;
}

.admin-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--shadow);
}

.section-header-admin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header-admin h2 {
    font-size: 24px;
    color: var(--primary);
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: var(--bg-light);
}

.admin-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--text);
    border-bottom: 2px solid var(--border);
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
}

.artigo-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.artigo-thumb,
.artigo-thumb-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.artigo-thumb-placeholder {
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.artigo-slug {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 3px;
}

.categoria-badge {
    padding: 4px 12px;
    border-radius: 50px;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-publicado {
    background: #d1fae5;
    color: #065f46;
}

.status-rascunho {
    background: #fef3c7;
    color: #92400e;
}

.status-arquivado {
    background: #e5e7eb;
    color: #374151;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-action {
    width: 35px;
    height: 35px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: white;
}

.btn-view {
    background: #3b82f6;
}

.btn-edit {
    background: #f59e0b;
}

.btn-delete {
    background: #ef4444;
}

.btn-action:hover {
    transform: scale(1.1);
}

.admin-form {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.form-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.form-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group small {
    display: block;
    color: var(--text-light);
    font-size: 13px;
    margin-top: 5px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    position: relative;
}

.checkbox-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-label {
    display: block;
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border: 2px dashed var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.file-label:hover {
    background: var(--border);
    border-color: var(--accent);
}

.file-label i {
    font-size: 30px;
    color: var(--accent);
    margin-bottom: 10px;
}

input[type="file"] {
    display: none;
}

.imagem-preview,
.imagem-atual {
    position: relative;
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.imagem-preview img,
.imagem-atual img {
    width: 100%;
    height: auto;
    display: block;
}

.btn-remover-preview {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-remover-preview:hover {
    background: #ef4444;
    transform: scale(1.1);
}

.text-muted {
    color: var(--text-light);
    font-size: 13px;
    text-align: center;
    margin-top: 8px;
}

.form-actions-sticky {
    position: sticky;
    top: 20px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.stats-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
}

.stat-inline i {
    color: var(--accent);
    font-size: 18px;
}

/* ========================================
   RESPONSIVO ADMIN
======================================== */
@media (max-width: 1200px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-sidebar {
        order: -1;
    }
    
    .form-actions-sticky {
        position: static;
    }
}

@media (max-width: 968px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
        z-index: 2000;
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* ========================================
   ANIMAÇÕES
======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.artigo-card,
.destaque-card {
    animation: fadeIn 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu.active {
    animation: slideDown 0.3s ease-out;
}

/* ========================================
   SCROLL SUAVE
======================================== */
html {
    scroll-behavior: smooth;
}

/* ========================================
   SELEÇÃO DE TEXTO
======================================== */
::selection {
    background: var(--accent);
    color: white;
}

::-moz-selection {
    background: var(--accent);
    color: white;
}

/* ========================================
   SCROLLBAR PERSONALIZADA
======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

/* ========================================
   LOADING STATE
======================================== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   UTILITÁRIOS
======================================== */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-light);
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.hidden {
    display: none;
}

/* ========================================
   IMPRESSÃO
======================================== */
@media print {
    .navbar,
    .categorias-section,
    .compartilhar-artigo,
    .compartilhar-novamente,
    .artigos-relacionados,
    .cta-section,
    .newsletter-section,
    .footer,
    .whatsapp-float,
    .breadcrumb {
        display: none;
    }
    
    .artigo-completo {
        padding: 0;
    }
    
    body {
        background: white;
    }
}