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

html {
    scroll-behavior: smooth; /* Rolagem suave ao clicar nos links */
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Merriweather', serif; /* Fonte estilo editorial */
}

/* Utilitários */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Navbar */
.navbar {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #555;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e67e22;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1507842217121-9e96283f1511?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 60px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-block;
    background: #e67e22;
    color: white;
    padding: 10px 30px;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #d35400;
}

/* Quem Somos */
.about {
    padding: 80px 20px;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

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

.quemSomos-img {
    height: 300px;
    width: 430px;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about-image {
    flex: 1;
    min-width: 300px;
    height: 300px;
    /* background-color: #eee; */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Galeria */
.gallery {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.subtitle {
    margin-bottom: 40px;
    color: #777;
}

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

.card-revista {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.capa {
    height: 250px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #888;
    /* border: 1px solid #eee; */
}

.img-capa {
    height: 250px;
    width: 80%;
    justify-content: center;
}

.card-revista h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.btn-download {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    border: 1px solid #e67e22;
    color: #e67e22;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-download:hover {
    background: #e67e22;
    color: white;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Mobile Menu Toggle (Oculto no Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: #333;
    margin: 4px 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Escondido por padrão no mobile */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: white;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex; /* Mostra quando ativo */
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }
}