/*
Theme Name: Editora Novo Milênio
Theme URI: https://www.editoranovomilenio.com.br
Author: WE3P
Author URI: https://www.we3p.com
Description: Tema customizado para Editora Novo Milênio
Version: 1.0
Text Domain: novo-milenio
*/

/* Base Styles */
:root {
    --primary-color: #015a68;
    --secondary-color: #5bb6b7;
    --accent-color: #1a4162;
    --text-color: #00223d;
    --light-color: #ffffff;
    --medium-color: #3e778b;
    --dark-color: #006168;
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Lora', serif;
    
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset e Estilos Básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

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

ul, ol {
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.btn-secondary:hover {
    background-color: var(--medium-color);
    color: var(--light-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Header Styles */
.site-header {
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 100;
    margin-top: 0;
}

.top-bar {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-info a {
    color: var(--light-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

.contact-info i {
    font-size: 0.9rem;
}

.social-media {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-media a {
    color: var(--light-color);
    margin-left: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-media a:hover {
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.main-header {
    background-color: var(--light-color);
    padding: 15px 0;
    display: block;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 20px;
}

.header-logo img {
    max-height: 80px;
    width: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 1;
    justify-content: center;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.primary-menu li {
    position: relative;
    margin: 0;
}

.primary-menu a {
    color: var(--text-color) !important;
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 8px 12px;
    display: block;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    background-color: transparent !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
    color: var(--primary-color);
    background-color: rgba(1, 90, 104, 0.05) !important;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
    margin-left: 0;
    padding: 8px;
    transition: var(--transition);
    border-radius: 4px;
}

.search-toggle:hover {
    color: var(--primary-color);
    background-color: rgba(1, 90, 104, 0.05);
}

.search-form-container {
    display: none;
    background-color: var(--light-color);
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 99;
}

.search-form-container .container {
    position: relative;
}

.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-form input[type="search"] {
    flex: 1;
    padding: var(--spacing-md);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: var(--font-secondary);
}

.search-form button {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 0 var(--spacing-lg);
    cursor: pointer;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    transition: var(--transition);
}

.search-form button:hover {
    background-color: var(--dark-color);
}

.search-close {
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-close:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 35px;
    height: 30px;
    position: relative;
    z-index: 10;
    padding: 5px;
    border-radius: 4px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background-color: rgba(1, 90, 104, 0.05);
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    margin: 4px 0;
    transition: var(--transition);
    border-radius: 2px;
}



/* Footer Styles */
.site-footer {
    background-color: var(--accent-color);
    color: var(--light-color);
}

.footer-widgets {
    padding: var(--spacing-xxl) 0;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    padding: 0 15px;
    margin-bottom: var(--spacing-lg);
}

.footer-logo img {
    margin-bottom: var(--spacing-md);
}

.footer-about {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.footer-social {
    display: flex;
    margin-top: var(--spacing-md);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    border-radius: 50%;
    margin-right: var(--spacing-sm);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.footer-title {
    color: var(--light-color);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: var(--spacing-sm);
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--secondary-color);
    padding-left: var(--spacing-xs);
}

.contact-info p {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
}

.contact-info i {
    color: var(--light-color);
    margin-right: var(--spacing-sm);
    width: 20px;
}

.newsletter-form {
    margin-top: var(--spacing-lg);
}

.newsletter-form h4 {
    color: var(--light-color);
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.newsletter-form form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-sm);
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: var(--font-secondary);
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: none;
    padding: 0 var(--spacing-md);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-md) 0;
    font-size: 0.9rem;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
}

.credits a {
    color: var(--secondary-color);
}

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

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--light-color);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    font-size: 2rem;
    transition: var(--transition);
}

.whatsapp-float a:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 90px;
    z-index: 99;
    display: none;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.scroll-to-top:hover {
    background-color: var(--dark-color);
}

/* Home Page Styles */
.section-padding {
    padding: var(--spacing-xxl) 0;
}

.bg-light {
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    margin-top: var(--spacing-sm);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: var(--light-color);
    padding: var(--spacing-xl) 0;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--light-color);
    margin-bottom: var(--spacing-md);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

.hero-buttons .btn {
    margin-right: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.btn-outline-light {
    background-color: transparent;
    border: 2px solid var(--light-color);
    color: var(--light-color);
}

.btn-outline-light:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xl);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Featured Books Section */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.book-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.book-cover {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

.book-details {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.book-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.book-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.book-title a:hover {
    color: var(--dark-color);
}

.book-author {
    color: var(--medium-color);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
}

.book-excerpt {
    margin-bottom: var(--spacing-md);
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-color);
    /* Limitar o texto da descrição */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    align-self: flex-start;
    margin-top: auto;
}

.view-all-books {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.service-card {
    background-color: var(--light-color);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.view-all-services {
    text-align: center;
}

/* Testimonials Section */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--light-color);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 var(--spacing-md);
}

.testimonial-content {
    position: relative;
    padding: var(--spacing-md) 0;
}

.testimonial-content:before {
    content: '\201C';
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    margin-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--primary-color);
}

.author-title {
    font-size: 0.9rem;
    color: var(--medium-color);
}

.author-company {
    font-size: 0.85rem;
    color: var(--medium-color);
    font-style: italic;
}



/* Newsletter Section */
.newsletter-section {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.newsletter-content h2 {
    color: var(--light-color);
    margin-bottom: var(--spacing-sm);
}

.newsletter-content p {
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form-home {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form-home input {
    flex: 1;
    padding: var(--spacing-md);
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: var(--font-secondary);
}

.newsletter-form-home button {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: none;
    padding: 0 var(--spacing-lg);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form-home button:hover {
    background-color: var(--dark-color);
}

/* Responsive Styles for Home Page */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-slide {
        min-height: 450px;
    }
    
    .section-padding {
        padding: var(--spacing-xl) 0;
    }
    
    .books-grid, .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .newsletter-form-home {
        flex-direction: column;
    }
    
    .newsletter-form-home input {
        border-radius: var(--border-radius);
        margin-bottom: var(--spacing-sm);
    }
    
    .newsletter-form-home button {
        border-radius: var(--border-radius);
        padding: var(--spacing-sm) 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-slide {
        min-height: 350px;
    }
    
    .books-grid, .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Styles */
.page-hero {
    position: relative;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--light-color);
    text-align: center;
}

.page-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl) 0;
}

.page-hero h1 {
    color: var(--light-color);
    margin-bottom: var(--spacing-sm);
    font-size: 2.5rem;
}

.page-breadcrumbs {
    font-size: 0.9rem;
}

.page-breadcrumbs a {
    color: var(--light-color);
}

.page-breadcrumbs a:hover {
    color: var(--secondary-color);
}

.page-breadcrumbs .separator {
    margin: 0 var(--spacing-xs);
}

.page-breadcrumbs .current {
    color: var(--secondary-color);
}

/* About Page Styles */
.about-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-content-main {
    flex: 2;
    min-width: 300px;
}

.about-featured-image {
    flex: 1;
    min-width: 300px;
}

.about-featured-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
}

/* Mission Vision Values Section */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.mission-vision-card {
    background-color: var(--light-color);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.mission-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
}

.mission-vision-card h3 {
    margin-bottom: var(--spacing-sm);
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
}

.values-list li i {
    color: var(--secondary-color);
    margin-right: var(--spacing-xs);
}

/* Team Section */
.section-description {
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.team-member {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: var(--spacing-md);
}

.member-info h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

.member-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.member-bio {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Call to Action Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--light-color);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

/* Responsive Styles for About Page */
@media (max-width: 992px) {
    .about-content-wrapper {
        flex-direction: column;
    }
    
    .mission-vision-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .page-hero {
        min-height: 200px;
    }
    
    .mission-vision-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Services Page Styles */
.services-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-grid-section .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.services-grid-section .service-card {
    background-color: var(--light-color);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.services-grid-section .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.services-grid-section .service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(1, 90, 104, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--spacing-md);
    transition: var(--transition);
}

.services-grid-section .service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.services-grid-section .service-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.services-grid-section .service-card p {
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

/* Process Timeline Styles */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    height: 100%;
    width: 4px;
    background-color: var(--secondary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
    padding-left: 80px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 1;
    font-family: var(--font-primary);
}

.timeline-content {
    background-color: var(--light-color);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-content h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

/* Testimonials Grid Styles */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.no-testimonials {
    text-align: center;
    padding: var(--spacing-xl);
    grid-column: 1 / -1;
}

.no-testimonials h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.no-testimonials p {
    color: var(--medium-color);
}

.no-featured-books {
    text-align: center;
    padding: var(--spacing-xl);
    grid-column: 1 / -1;
}

.no-featured-books p {
    color: var(--medium-color);
    margin-bottom: var(--spacing-sm);
}

.no-featured-books p:first-child {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Styles for Services Page */
@media (max-width: 992px) {
    .services-grid-section .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .process-timeline:before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .services-grid-section .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Single Book Page Styles */
.book-hero {
    background-color: var(--light-color);
}

.book-hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.book-cover-large {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover-large img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.book-cover-large img:hover {
    transform: scale(1.05);
}

.book-info {
    padding: var(--spacing-lg);
}

.book-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.book-author {
    font-size: 1.2rem;
    color: var(--medium-color);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.book-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    color: var(--text-color);
}

.book-meta i {
    color: var(--primary-color);
}

.book-format-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.book-format-badge.physical {
    background-color: var(--primary-color);
    color: white;
}

.book-format-badge.digital {
    background-color: var(--secondary-color);
    color: white;
}

.book-format-badge.both {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.book-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.book-actions .btn {
    min-width: 200px;
}

/* Related Books Section */
.related-books h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.related-books .books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.related-books .book-card.small {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.related-books .book-card.small:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.related-books .book-card.small .book-cover {
    height: 200px;
    overflow: hidden;
}

.related-books .book-card.small .book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-books .book-card.small:hover .book-cover img {
    transform: scale(1.05);
}

.related-books .book-card.small .book-details {
    padding: var(--spacing-md);
}

.related-books .book-card.small .book-title {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.related-books .book-card.small .book-title a {
    color: var(--text-color);
    text-decoration: none;
}

.related-books .book-card.small .book-title a:hover {
    color: var(--primary-color);
}

.related-books .book-card.small .book-author {
    font-size: 0.9rem;
    color: var(--medium-color);
    margin-bottom: var(--spacing-sm);
}

/* Responsive styles for Related Books */
@media (max-width: 768px) {
    .related-books h2 {
        font-size: 1.8rem;
    }
    
    .related-books .books-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--spacing-md);
    }
    
    .related-books .book-card.small .book-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .related-books h2 {
        font-size: 1.5rem;
    }
    
    .related-books .books-grid {
        grid-template-columns: 1fr;
    }
    
    .related-books .book-card.small .book-cover {
        height: 180px;
    }
}

/* Books Page Styles */
.books-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Books Filter Styles */
.books-filters {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    background-color: var(--light-color);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    /* Garantir centralização usando margin auto */
    position: relative;
    left: 0;
    transform: none;
    /* Garantir que o filtro apareça acima de outros elementos */
    z-index: 10;
}

.books-filters h3 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-color);
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 14px;
    line-height: 1.4;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(1, 90, 104, 0.1);
}

.filter-group input[type="text"] {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>');
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 16px;
    padding-left: 40px;
}

.filter-group input[type="text"]::placeholder {
    color: #999;
    font-style: italic;
}

.filter-form button {
    padding: 12px 25px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    min-width: 120px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Correção específica para quando há sidebar */
.books-filter-section {
    position: relative;
    z-index: 5;
    width: 100%;
}

.books-filter-section .container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Books Grid Styles */
.books-grid-section .books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.books-grid-section .book-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    /* Garantir que o card não interfira com o dropdown */
    position: relative;
    z-index: 1;
}

.books-grid-section .book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.books-grid-section .book-cover {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.books-grid-section .book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.books-grid-section .book-card:hover .book-cover img {
    transform: scale(1.05);
}

.books-grid-section .book-format-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

.books-grid-section .book-format-badge.physical {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.books-grid-section .book-format-badge.digital {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.books-grid-section .book-format-badge.both {
    background-color: var(--accent-color);
    color: var(--light-color);
}

.books-grid-section .book-details {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.books-grid-section .book-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.books-grid-section .book-author {
    color: var(--medium-color);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

.books-grid-section .book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
}

.books-grid-section .book-year,
.books-grid-section .book-isbn {
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.books-grid-section .book-year i,
.books-grid-section .book-isbn i {
    color: var(--primary-color);
    margin-right: 5px;
}

.books-grid-section .book-excerpt {
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    flex-grow: 1;
}

.books-grid-section .book-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: auto;
}

.books-grid-section .buy-dropdown {
    position: relative;
    /* Garantir que o dropdown apareça acima de outros elementos */
    z-index: 100;
    /* Garantir que o dropdown tenha espaço suficiente */
    display: inline-block;
}

.books-grid-section .dropdown-toggle {
    display: flex;
    align-items: center;
    /* Garantir que o botão seja clicável */
    cursor: pointer;
    user-select: none;
}

.books-grid-section .dropdown-toggle:after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.books-grid-section .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 150px;
    /* Aumentar z-index para garantir que apareça acima de outros elementos */
    z-index: 1000;
    display: none;
    overflow: hidden;
    /* Garantir que o dropdown não seja cortado */
    margin-top: 5px;
    /* Garantir que o dropdown tenha bordas visíveis */
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.books-grid-section .dropdown-menu.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.books-grid-section .dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    transition: var(--transition);
    text-decoration: none;
    /* Garantir que os links sejam clicáveis */
    cursor: pointer;
    white-space: nowrap;
}

.books-grid-section .dropdown-menu a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.books-grid-section .no-books,
.books-grid-section .no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xl);
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.books-grid-section .no-books i,
.books-grid-section .no-results i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    display: block;
}

/* Responsive Styles for Books Page */
@media (max-width: 992px) {
    .filter-form {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .filter-group {
        width: 100%;
    }
    
    .books-grid-section .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    /* Garantir centralização em telas menores */
    .books-filters {
        left: 0;
        transform: none;
        margin: 0 auto var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .books-grid-section .book-cover {
        height: 350px;
    }
    
    /* Ajustar dropdown para telas menores */
    .books-grid-section .dropdown-menu {
        right: auto;
        left: 0;
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    .books-grid-section .books-grid {
        grid-template-columns: 1fr;
    }
    
    .books-grid-section .book-cover {
        height: 300px;
    }
    
    /* Garantir que o filtro seja centralizado em mobile */
    .books-filters {
        margin: 0 15px var(--spacing-xl);
        left: 0;
        transform: none;
    }
}

/* Contact Page Styles */
.contact-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Contact Form and Info Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact-form-wrapper,
.contact-info-wrapper {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.form-header,
.info-header {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: var(--spacing-md) var(--spacing-lg);
}

.form-header h3,
.info-header h3 {
    color: var(--light-color);
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
}

.form-header h3 i,
.info-header h3 i {
    margin-right: var(--spacing-sm);
}

.form-content,
.info-content {
    padding: var(--spacing-lg);
}

/* Contact Form Styles */
.wpcf7-form p {
    margin-bottom: var(--spacing-md);
}

.wpcf7-form label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-color);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
}

.wpcf7-form textarea {
    height: 150px;
}

.wpcf7-form .wpcf7-submit {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    transition: var(--transition);
}

.wpcf7-form .wpcf7-submit:hover {
    background-color: var(--dark-color);
}

.form-note {
    font-size: 0.9rem;
    font-style: italic;
    margin-top: var(--spacing-md);
    color: #777;
}

/* Contact Info Styles */
.info-item {
    display: flex;
    margin-bottom: var(--spacing-md);
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: var(--spacing-md);
    width: 24px;
}

.info-item h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.info-item p {
    margin-bottom: 0;
}

.info-item a {
    color: var(--text-color);
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary-color);
}

.social-links h4 {
    margin-bottom: var(--spacing-sm);
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Map Styles */
.map-container {
    height: 450px;
    width: 100%;
}

.map-container iframe {
    border: none;
    display: block;
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--spacing-md);
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    background-color: var(--light-color);
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    flex: 1;
}

.faq-toggle {
    color: var(--primary-color);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(1, 90, 104, 0.1);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.faq-answer {
    padding: 0 var(--spacing-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9f9f9;
}

.faq-answer p {
    padding: var(--spacing-md) 0;
    margin: 0;
}

/* Responsive Styles for Contact Page */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .map-container {
        height: 350px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .map-container {
        height: 300px;
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .info-item i {
        margin-bottom: var(--spacing-xs);
    }
}

/* Header Styles */
.site-header {
    background-color: var(--light-color);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo img {
    max-height: 80px;
    width: auto;
}

.main-navigation .primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation .primary-menu li {
    margin-left: 30px;
}

.main-navigation .primary-menu a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.main-navigation .primary-menu a:hover {
    color: var(--primary-color);
}

/* Footer Styles */
.site-footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 40px 0 20px;
}

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

.footer-widgets h3,
.footer-contact h3 {
    color: var(--light-color);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widgets h3:after,
.footer-contact h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright,
.credits {
    font-size: 14px;
}

.credits a {
    color: var(--secondary-color);
}

/* Responsive Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation .primary-menu {
        flex-direction: column;
    }
    
    .main-navigation .primary-menu li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation .primary-menu a {
        display: block;
        padding: 15px;
    }
}

/* Página Quem Somos */
.about-section {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 40px;
    margin: 60px 0;
}

.about-features {
    display: grid;
    gap: 20px;
}

.feature-box {
    background-color: var(--light-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.feature-box h3 {
    color: var(--primary-color);
    margin-top: 0;
    display: flex;
    align-items: center;
}

.feature-box h3 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

/* Página Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.service-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-process {
    margin: 60px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step {
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 15px;
}

.step:not(:last-child):after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-color);
    font-size: 20px;
}

@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
}

/* Página Livros */
.books-filters {
    margin: 40px 0;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

#books-filter {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

#books-filter select, 
#books-filter button {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#books-filter button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.book-card {
    background-color: var(--light-color);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.book-cover {
    height: 250px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.no-cover {
    color: var(--medium-color);
    text-align: center;
    padding: 20px;
}

.book-info {
    padding: 15px;
}

.book-author {
    color: var(--medium-color);
    font-style: italic;
    margin: 5px 0;
}

.book-meta {
    font-size: 14px;
    color: #666;
}

.buy-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.buy-button:hover {
    background-color: var(--primary-color);
}

/* Página Contato */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.contact-form {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.contact-info {
    /* background-color: #f9f9f9; */
    padding: 12px;
    /* border-radius: 5px; */
}



.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

.contact-map {
    margin: 40px 0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* Botão WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-size: 30px;
    transition: all 0.3s ease;
}

.whatsapp-float a:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* Garantir que o dropdown seja visível quando ativo */
.books-grid-section .dropdown-menu.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Garantir que o dropdown não seja sobreposto por outros elementos */
.books-grid-section .book-card {
    overflow: visible !important;
}

.books-grid-section .book-details {
    overflow: visible !important;
}

.books-grid-section .book-actions {
    overflow: visible !important;
    position: relative;
    z-index: 50;
}

/* Responsive Styles for Header */
@media (max-width: 992px) {
    .main-header .container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .main-navigation {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
    .primary-menu {
        gap: 3px;
    }
    
    .primary-menu a {
        font-size: 0.75rem;
        padding: 6px 8px;
    }
    
    .header-logo img {
        max-height: 70px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 4px 0;
        font-size: 0.75rem;
    }
    
    .top-bar .container {
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
        align-items: center;
    }
    
    .contact-info {
        justify-content: flex-start;
        gap: 15px;
    }
    
    .contact-info a {
        font-size: 0.7rem;
    }
    
    .social-media {
        justify-content: flex-end;
    }
    
    .main-header {
        padding: 8px 0;
    }
    
    .main-header .container {
        flex-direction: row;
        gap: 15px;
        position: relative;
        align-items: center;
    }
    
    .header-logo {
        order: 1;
        text-align: left;
        flex: 1;
    }
    
    .header-logo img {
        max-height: 60px;
        width: auto;
    }
    
    .header-buttons {
        order: 2;
        justify-content: flex-end;
        gap: 10px;
    }
    
    .main-navigation {
        order: 3;
        width: 100%;
    }
    
    .menu-toggle {
        position: absolute;
        top: 10px;
        right: 15px;
        order: 0;
        display: block !important;
    }
    
    .primary-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2px;
    }
    
    .primary-menu a {
        font-size: 0.7rem;
        padding: 5px 6px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .main-navigation.active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .main-navigation .primary-menu {
        flex-direction: column;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    .main-navigation .primary-menu li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation .primary-menu a {
        display: block;
        padding: 15px 20px;
        font-size: 1rem;
        color: var(--text-color);
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 600;
        text-transform: uppercase;
    }
    
    .main-navigation .primary-menu a:hover {
        background-color: rgba(1, 90, 104, 0.05);
        color: var(--primary-color);
    }
}

@media (max-width: 576px) {
    .top-bar {
        padding: 3px 0;
        font-size: 0.65rem;
    }
    
    .contact-info {
        gap: 8px;
    }
    
    .contact-info a {
        font-size: 0.6rem;
    }
    
    .header-logo img {
        max-height: 55px;
    }
    
    .main-header {
        padding: 6px 0;
    }
    
    .header-buttons {
        gap: 8px;
    }
    
    .primary-menu a {
        font-size: 0.65rem;
        padding: 4px 5px;
    }
}

/* Responsive Styles for Filter */
@media (max-width: 992px) {
    .filter-form {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .filter-group {
        width: 100%;
    }
    
    .books-grid-section .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    /* Garantir centralização em telas menores */
    .books-filters {
        left: 0;
        transform: none;
        margin: 0 auto var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .books-grid-section .book-cover {
        height: 350px;
    }
    
    /* Ajustar dropdown para telas menores */
    .books-grid-section .dropdown-menu {
        right: auto;
        left: 0;
        min-width: 120px;
    }
    
    /* Melhorar campos de filtro em mobile */
    .filter-group select,
    .filter-group input {
        padding: 10px 12px;
        font-size: 16px; /* Evitar zoom no iOS */
    }
    
    .filter-group input[type="text"] {
        padding-left: 35px;
        background-position: 10px center;
    }
    
    .filter-form button {
        padding: 10px 20px;
        font-size: 13px;
        min-width: 100px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .books-grid-section .books-grid {
        grid-template-columns: 1fr;
    }
    
    .books-grid-section .book-cover {
        height: 300px;
    }
    
    /* Garantir que o filtro seja centralizado em mobile */
    .books-filters {
        margin: 0 15px var(--spacing-xl);
        left: 0;
        transform: none;
        padding: 15px;
    }
    
    .filter-form {
        gap: 10px;
    }
    
    .filter-group select,
    .filter-group input {
        padding: 12px 10px;
    }
    
    .filter-form button {
        width: 100%;
        margin-top: 5px;
    }
}

/* Partners Section */
.partners-section {
    background-color: var(--light-color);
    padding: var(--spacing-xxl) 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.partner-item {
    background-color: var(--light-color);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.partner-item:hover .partner-logo {
    color: var(--dark-color);
    transform: scale(1.1);
}

.partner-item h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

/* Responsive Styles for Partners */
@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: var(--spacing-md);
    }
    
    .partner-logo {
        font-size: 2rem;
        height: 50px;
    }
    
    .partner-item h4 {
        font-size: 0.9rem;
    }
    
    /* Single Book Responsive */
    .book-hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .book-title {
        font-size: 2rem;
    }
    
    .book-meta {
        flex-direction: column;
    }
    
    .book-actions {
        flex-direction: column;
    }
    
    .book-actions .btn {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--spacing-sm);
    }
    
    .partner-item {
        padding: var(--spacing-md);
    }
    
    .partner-logo {
        font-size: 1.8rem;
        height: 45px;
    }
    
    .partner-item h4 {
        font-size: 0.85rem;
    }
    
    /* Single Book Responsive */
    .book-hero-content {
        grid-template-columns: 1fr 1.5fr;
        gap: var(--spacing-lg);
    }
    
    .book-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .partner-item {
        padding: 15px;
    }
    
    .partner-logo {
        font-size: 1.5rem;
        height: 40px;
    }
    
    .partner-item h4 {
        font-size: 0.8rem;
    }
}

/* Editorial Process Section */
.editorial-process-section {
    background-color: var(--light-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.process-step {
    text-align: center;
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto var(--spacing-md);
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.step-content p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Responsive styles for Editorial Process */
@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--spacing-lg);
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Category Books Page Styles */
.category-hero {
    background-color: var(--light-color);
    text-align: center;
}

.category-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumbs {
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    color: var(--medium-color);
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: var(--medium-color);
}

.breadcrumbs .current {
    color: var(--text-color);
    font-weight: 600;
}

.category-hero h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.category-description {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.books-count {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.books-count i {
    font-size: 1.1rem;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.category-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-card a {
    display: block;
    padding: var(--spacing-lg);
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
}

.category-card:hover a {
    color: var(--primary-color);
}

.category-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto var(--spacing-md);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background-color: var(--primary-color);
    color: white;
}

.category-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.category-card p {
    color: var(--medium-color);
    font-size: 0.9rem;
}

/* No Books Message */
.no-books {
    text-align: center;
    padding: var(--spacing-xxl);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.no-books i {
    font-size: 3rem;
    color: var(--medium-color);
    margin-bottom: var(--spacing-md);
}

.no-books h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.no-books p {
    color: var(--medium-color);
    margin-bottom: var(--spacing-lg);
}

/* Pagination */
.pagination-wrapper {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    gap: 5px;
}

.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
    padding: 8px 12px;
    border: 1px solid var(--light-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.pagination-wrapper .page-numbers a:hover,
.pagination-wrapper .page-numbers .current {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Responsive styles for Category Books */
@media (max-width: 768px) {
    .category-hero h1 {
        font-size: 2rem;
    }
    
    .category-description {
        font-size: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .category-hero h1 {
        font-size: 1.8rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        margin-bottom: var(--spacing-md);
    }
}

/* Category Books Grid Specific Styles */
.category-books .books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.category-books .book-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-books .book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-books .book-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/3;
}

.category-books .book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-books .book-card:hover .book-cover img {
    transform: scale(1.05);
}

.category-books .book-details {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category-books .book-title {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    line-height: 1.3;
}

.category-books .book-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.category-books .book-title a:hover {
    color: var(--primary-color);
}

.category-books .book-author {
    color: var(--medium-color);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.category-books .book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.8rem;
    color: var(--medium-color);
}

.category-books .book-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.category-books .book-meta i {
    font-size: 0.8rem;
}

.category-books .book-excerpt {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.category-books .book-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: auto;
}

.category-books .book-actions .btn {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    padding: 8px 12px;
}

/* Responsive for Category Books */
@media (max-width: 768px) {
    .category-books .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .category-books .books-grid {
        grid-template-columns: 1fr;
    }
    
    .category-books .book-actions {
        flex-direction: column;
    }
}
