/*
Theme Name: Gramaticoteca
Theme URI: https://gramaticoteca.org.br
Description: Tema customizado para o projeto Gramaticoteca - Rede de pesquisa em educação linguística
Author: Gramaticoteca Team
Version: 1.0.0
Text Domain: gramaticoteca
*/

/* ============================================
   VARIÁVEIS CSS - PALETA DE CORES
   ============================================ */
:root {
    /* Cores Principais */
    --cor-azul: #4A90E2;
    --cor-rosa: #FF6B9D;
    --cor-laranja: #fe964f;
    --cor-amarelo: #FFD93D;
    --cor-bege: #F5F1E8;
    --cor-marrom: #3D2817;
    --cor-branco: #FFFFFF;
    --cor-preto: #000000;
    
    /* Cores de Texto */
    --texto-principal: var(--cor-marrom);
    --texto-secundario: rgba(61, 40, 23, 0.8);
    
    /* Tipografia */
    --fonte-principal: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --fonte-titulo: var(--fonte-principal);
    
    /* Espaçamentos */
    --espaco-xs: 0.5rem;
    --espaco-sm: 1rem;
    --espaco-md: 2rem;
    --espaco-lg: 3rem;
    --espaco-xl: 4rem;
    
    /* Bordas */
    --raio-sm: 4px;
    --raio-md: 8px;
    --raio-lg: 16px;
    --raio-xl: 24px;
    
    /* Sombras */
    --sombra-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --sombra-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --sombra-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

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

body {
    font-family: var(--fonte-principal);
    color: var(--texto-principal);
    background-color: var(--cor-bege);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* ============================================
   TIPOGRAFIA
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--fonte-titulo);
    font-weight: 700;
    color: var(--texto-principal);
    line-height: 1.2;
    margin-bottom: var(--espaco-sm);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: var(--espaco-sm);
    color: var(--texto-secundario);
}

/* ============================================
   CONTAINER E LAYOUT
   ============================================ */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 var(--espaco-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--espaco-md);
}

.section {
    padding: var(--espaco-xl) 0;
}

.section-sm {
    padding: var(--espaco-lg) 0;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background-color: var(--cor-branco);
    box-shadow: var(--sombra-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--espaco-sm) 0;
    flex-wrap: wrap;
    gap: var(--espaco-sm);
}

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

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cor-marrom);
    display: flex;
    align-items: center;
    gap: var(--espaco-xs);
    text-transform: lowercase;
}

.site-logo .logo-dot {
    width: 12px;
    height: 12px;
    background-color: var(--cor-azul);
    border-radius: 50%;
    display: inline-block;
}

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

.site-logo-custom img {
    max-height: 60px;
    width: auto;
    height: auto;
}
.bg-white {
    background-color: var(--cor-branco);
}

/* ============================================
   NAVEGAÇÃO
   ============================================ */
.main-navigation {
    display: flex;
    align-items: center;
    gap: var(--espaco-md);
    flex-wrap: wrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--espaco-md);
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--texto-principal);
    font-weight: 500;
    padding: var(--espaco-xs) var(--espaco-sm);
    border-radius: var(--raio-sm);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--cor-azul);
    background-color: var(--cor-bege);
}

.app-links {
    display: flex;
    gap: var(--espaco-sm);
    margin-left: var(--espaco-md);
}

.app-link {
    padding: var(--espaco-xs) var(--espaco-sm);
    border-radius: var(--raio-md);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.app-link.previa {
    background-color: var(--cor-azul);
    color: var(--cor-branco);
}

.app-link.gramatike {
    background-color: var(--cor-laranja);
    color: var(--cor-branco);
}

.app-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--sombra-md);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--texto-principal);
    padding: var(--espaco-xs);
}

/* ============================================
   BANNER
   ============================================ */
.site-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--cor-bege);
    position: relative;
}

.banner-image-wrapper {
    width: 100%;
    position: relative;
}

.banner-link {
    display: block;
    width: 100%;
    line-height: 0;
    transition: opacity 0.3s ease;
}

.banner-link:hover {
    opacity: 0.9;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 10;
}

.banner-content .container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 var(--espaco-md);
    width: 100%;
}

.banner-text {
    text-align: left;
    max-width: 600px;
}

.banner-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--cor-branco);
    margin-bottom: var(--espaco-sm);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--cor-branco);
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* Banner decorative circles */
.banner-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.banner-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.banner-circle-rosa {
    width: 150px;
    height: 150px;
    background-color: var(--cor-rosa);
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.banner-circle-azul {
    width: 120px;
    height: 120px;
    background-color: var(--cor-azul);
    bottom: 25%;
    right: 35%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

@media (max-width: 768px) {
    .banner-circle-rosa {
        width: 80px;
        height: 80px;
        top: 15%;
        right: 10%;
    }
    
    .banner-circle-azul {
        width: 70px;
        height: 70px;
        bottom: 20%;
        right: 15%;
    }
}

/* Responsive banner height */
@media (min-width: 769px) {
    .banner-image {
        min-height: 500px;
        max-height: 600px;
        object-fit: cover;
    }
    
    .banner-content {
        padding: var(--espaco-xl);
    }
}

@media (max-width: 768px) {
    .banner-image {
        min-height: 350px;
        max-height: 400px;
        object-fit: cover;
    }
    
    .banner-content .container {
        padding: var(--espaco-md);
    }
    
    .banner-text {
        text-align: left;
        max-width: 100%;
    }
    
    .banner-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    .banner-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--cor-bege) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: calc(var(--espaco-xl) * 1.5) 0;
}

.hero-content {
    width: 100%;
    max-width: 100%;
}

.hero-section .container {
    max-width: 1500px;
    padding: 0 var(--espaco-md);
}

.hero-grid {
    display: flex;
    /* grid-template-columns: repeat(2, 1fr); */
    gap: calc(var(--espaco-xl) * 1);
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    border: 1px solid red;
}

.hero-item {
    display: flex;
    flex-direction: column;
    gap: var(--espaco-lg);
    justify-content: space-between;
}

.hero-image-wrapper {
    width: 100%;
    border-radius: var(--raio-md);
    overflow: hidden;
    box-shadow: var(--sombra-md);
    background-color: var(--cor-branco);
    flex: 1;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.hero-image-placeholder {
    width: 100%;
    min-height: 400px;
    background-color: var(--cor-bege);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--texto-secundario);
    font-style: italic;
}

.hero-item-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: var(--espaco-md);
    flex: 1;
}

.hero-item-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--cor-marrom);
    margin: 0;
}

.hero-item-description {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    color: var(--texto-principal);
    line-height: 1.8;
    margin: 0;
    flex: 1;
}

.hero-btn {
    display: inline-block;
    padding: var(--espaco-sm) var(--espaco-lg);
    border-radius: var(--raio-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    align-self: flex-start;
    margin-top: var(--espaco-sm);
}

.hero-btn-gramatike {
    background-color: var(--cor-rosa);
    color: var(--cor-branco);
}

.hero-btn-gramatike:hover {
    background-color: var(--cor-marrom);
    transform: translateY(-2px);
    box-shadow: var(--sombra-md);
    color: var(--cor-branco);
}

.hero-btn-previa {
    background-color: var(--cor-azul);
    color: var(--cor-branco);
}

.hero-btn-previa:hover {
    background-color: var(--cor-marrom);
    transform: translateY(-2px);
    box-shadow: var(--sombra-md);
    color: var(--cor-branco);
}

@media (max-width: 768px) {
    .hero-section {
        padding: var(--espaco-xl) 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--espaco-xl);
    }
    
    .hero-item {
        gap: var(--espaco-md);
    }
    
    .hero-image-wrapper {
        min-height: 300px;
    }
    
    .hero-item-content {
        text-align: center;
    }
    
    .hero-btn {
        align-self: center;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 40%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 70%, rgba(255, 217, 61, 0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--espaco-md);
    color: var(--cor-marrom);
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--texto-secundario);
    margin-bottom: var(--espaco-md);
    font-weight: 400;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    margin-bottom: var(--espaco-lg);
    color: var(--texto-secundario);
}

/* ============================================
   CARDS E COMPONENTES
   ============================================ */
.card-image-wrapper {
    width: 100%;
    margin-bottom: var(--espaco-md);
    border-radius: var(--raio-md);
    overflow: hidden;
    background-color: var(--cor-bege);
}

.card-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.card {
    background-color: var(--cor-branco);
    border-radius: var(--raio-lg);
    padding: var(--espaco-md);
    box-shadow: var(--sombra-sm);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--sombra-md);
    transform: translateY(-4px);
}

.card-title {
    color: var(--cor-marrom);
    margin-bottom: var(--espaco-sm);
}

.card-content {
    color: var(--texto-secundario);
}

.apps-description {
    text-align: center;
    /* margin-top: var(--espaco-xl); */
    /* padding: var(--espaco-lg) 0; */
}

.apps-description p {
    font-size: clamp(1.5rem, 2vw, 1.3rem);
    color: var(--texto-principal);
    line-height: 1.8;
    font-style: italic;
    margin: 0;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px
}

/* ============================================
   CITAÇÕES E DEPOIMENTOS
   ============================================ */
.quote {
    position: relative;
    padding: var(--espaco-lg);
    margin: var(--espaco-lg) 0;
}

.quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    color: var(--cor-rosa);
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.quote-text {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-style: italic;
    color: var(--texto-principal);
    margin-bottom: var(--espaco-md);
    position: relative;
    z-index: 1;
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
    text-overflow: clip;
    display: block;
}

.quote-author {
    font-weight: 600;
    color: var(--cor-marrom);
    font-size: 1.1rem;
}

.quote-role {
    color: var(--texto-secundario);
    font-size: 0.9rem;
}

.quote-image {
    margin-bottom: var(--espaco-md);
    text-align: center;
}

.quote-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--cor-rosa);
}

/* ============================================
   CARROSSEL DE DEPOIMENTOS
   ============================================ */
.depoimentos-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    padding: 0 var(--espaco-sm);
    display: block;
    box-sizing: border-box;
}

.carousel-slide .quote {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    display: block;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--espaco-md);
    margin-top: var(--espaco-lg);
}

.carousel-btn {
    background-color: var(--cor-azul);
    color: var(--cor-branco);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.carousel-btn:hover {
    background-color: var(--cor-marrom);
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    gap: var(--espaco-xs);
    align-items: center;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--cor-azul);
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    opacity: 1;
    transform: scale(1.2);
    background-color: var(--cor-rosa);
}

.carousel-dot:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .carousel-slide {
        padding: 0;
    }
    
    .carousel-container {
        overflow: hidden;
    }
}

/* ============================================
   ESTATÍSTICAS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--espaco-md);
    margin: var(--espaco-lg) 0;
}

.stat-item {
    text-align: center;
    padding: var(--espaco-md);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--cor-azul);
    margin-bottom: var(--espaco-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--espaco-xs);
}

.stat-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
}

.stat-icon.azul {
    background-color: var(--cor-azul);
}

.stat-icon.rosa {
    background-color: var(--cor-rosa);
}

.stat-icon.amarelo {
    background-color: var(--cor-amarelo);
}

.stat-label {
    color: var(--texto-secundario);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
    display: inline-block;
    padding: var(--espaco-sm) var(--espaco-md);
    border-radius: var(--raio-md);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--cor-laranja);
    color: var(--cor-branco);
}

.btn-primary:hover {
    background-color: #c88a3a;
    transform: translateY(-2px);
    box-shadow: var(--sombra-md);
}

.btn-secondary {
    background-color: var(--cor-azul);
    color: var(--cor-branco);
}

.btn-secondary:hover {
    background-color: #5a8be5;
    transform: translateY(-2px);
    box-shadow: var(--sombra-md);
}

/* ============================================
   BLOG/POSTAGENS SECTION
   ============================================ */
.blog-section {
    padding: var(--espaco-xl) 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--espaco-lg);
    margin-bottom: var(--espaco-xl);
}

.blog-card {
    background-color: var(--cor-branco);
    border-radius: var(--raio-lg);
    overflow: hidden;
    box-shadow: var(--sombra-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--sombra-md);
    transform: translateY(-4px);
}

.blog-card-image {
    width: 100%;
    overflow: hidden;
    background-color: var(--cor-bege);
}

.blog-card-image a {
    display: block;
    line-height: 0;
}

.blog-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-thumbnail {
    transform: scale(1.05);
}

.blog-card-content {
    padding: var(--espaco-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-title {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 600;
    color: var(--cor-marrom);
    margin-bottom: var(--espaco-xs);
    line-height: 1.3;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--cor-azul);
}

.blog-card-meta {
    margin-bottom: var(--espaco-sm);
    font-size: 0.9rem;
    color: var(--texto-secundario);
}

.blog-date {
    display: inline-block;
}

.blog-card-excerpt {
    color: var(--texto-secundario);
    line-height: 1.6;
    margin-bottom: var(--espaco-sm);
    flex: 1;
    font-size: 0.95rem;
}

.blog-card-excerpt p {
    margin: 0;
}

.blog-card-link {
    color: var(--cor-azul);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.blog-card-link:hover {
    color: var(--cor-marrom);
}

.blog-footer {
    text-align: center;
    margin-top: var(--espaco-lg);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: var(--espaco-md);
    }
    
    .blog-thumbnail {
        height: 180px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: var(--cor-amarelo);
    padding: var(--espaco-lg) 0;
    margin-top: var(--espaco-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--espaco-md);
    margin-bottom: var(--espaco-md);
}

.footer-section h3 {
    color: var(--cor-marrom);
    margin-bottom: var(--espaco-sm);
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: var(--cor-marrom);
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--cor-azul);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--espaco-md);
    border-top: 1px solid rgba(61, 40, 23, 0.2);
    color: var(--cor-marrom);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: var(--espaco-sm);
}

.footer-bottom p {
    margin: 0;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: var(--espaco-md);
}

.footer-logo-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}
.footer-logo img {
    width: 100px;
}
.logo-fapdf img {
    mix-blend-mode: multiply;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logos {
        justify-content: center;
    }
    
    .footer-logo {
        height: 35px;
    }
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--cor-branco);
        flex-direction: column;
        align-items: stretch;
        padding: var(--espaco-md);
        box-shadow: var(--sombra-md);
        display: none;
    }
    
    .main-navigation.active {
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: var(--espaco-xs);
    }
    
    .nav-menu a {
        width: 100%;
        text-align: left;
        padding: var(--espaco-sm);
    }
    
    .app-links {
        margin-left: 0;
        width: 100%;
        flex-direction: column;
    }
    
    .app-link {
        width: 100%;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: var(--espaco-lg) 0;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--espaco-sm);
    }
    
    .hero-section {
        padding: var(--espaco-lg) 0;
    }
    
    .nav-menu {
        gap: 0;
    }
}

/* ============================================
   POSTS E BLOG
   ============================================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--espaco-md);
    margin: var(--espaco-lg) 0;
}

.post-thumbnail {
    margin-bottom: var(--espaco-sm);
    border-radius: var(--raio-md);
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

.post-meta {
    color: var(--texto-secundario);
    font-size: 0.9rem;
    margin-bottom: var(--espaco-sm);
}

.post-content {
    padding: var(--espaco-md);
}

.page-header {
    margin-bottom: var(--espaco-lg);
    text-align: center;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--cor-marrom);
}

.page-content {
    max-width: 1500px;
    margin: 0 auto;
}

.page-thumbnail {
    margin-bottom: var(--espaco-md);
    border-radius: var(--raio-md);
    overflow: hidden;
}

.entry-header {
    margin-bottom: var(--espaco-md);
}

.entry-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: var(--espaco-sm);
}

.entry-meta {
    color: var(--texto-secundario);
    font-size: 0.9rem;
    margin-bottom: var(--espaco-md);
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: var(--espaco-md);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: var(--espaco-lg);
    margin-bottom: var(--espaco-sm);
}

.entry-footer {
    margin-top: var(--espaco-lg);
    padding-top: var(--espaco-md);
    border-top: 1px solid rgba(61, 40, 23, 0.1);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: var(--espaco-lg) 0;
    padding: var(--espaco-md) 0;
    border-top: 1px solid rgba(61, 40, 23, 0.1);
    border-bottom: 1px solid rgba(61, 40, 23, 0.1);
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.pagination {
    margin: var(--espaco-lg) 0;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: var(--espaco-xs);
    flex-wrap: wrap;
}

.pagination .page-numbers {
    padding: var(--espaco-xs) var(--espaco-sm);
    border-radius: var(--raio-sm);
    color: var(--texto-principal);
    background-color: var(--cor-branco);
    border: 1px solid rgba(61, 40, 23, 0.2);
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: var(--cor-azul);
    color: var(--cor-branco);
    border-color: var(--cor-azul);
}

.no-posts {
    text-align: center;
    padding: var(--espaco-xl) 0;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.text-center {
    text-align: center;
}

.mt-sm { margin-top: var(--espaco-sm); }
.mt-md { margin-top: var(--espaco-md); }
.mt-lg { margin-top: var(--espaco-lg); }
.mb-sm { margin-bottom: var(--espaco-sm); }
.mb-md { margin-bottom: var(--espaco-md); }
.mb-lg { margin-bottom: var(--espaco-lg); }

