/* LS Decor - Estilos Globais do Blog */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap" );

:root {
    --primary-color: #f37021;
    --secondary-color: #005596;
    --text-color: #333333;
    --text-light: #666666;
    --light-gray: #f8f9fa;
    --border-color: #eeeeee;
    --white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset e Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text-color); line-height: 1.6; background-color: #fff; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== HEADER ========== */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}
.header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.logo-img { height: 50px; }

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}
.hamburger {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: var(--white);
    z-index: 1001;
    transition: var(--transition);
    padding: 40px 20px;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
}
.sidebar-menu.active { left: 0; }
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 1000;
}
.menu-overlay.active { display: block; }

.menu-list { margin-top: 30px; }
.menu-item { margin-bottom: 15px; }
.menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 10px;
    border-radius: 5px;
}
.menu-link:hover { background: var(--light-gray); color: var(--primary-color); }

/* ========== FOOTER ========== */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 50px;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-section-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 18px;
    text-transform: uppercase;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #ccc; font-size: 14px; }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }

.footer-newsletter {
    background: #222;
    padding: 40px 0;
    margin-top: 40px;
    text-align: center;
}
.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.newsletter-input {
    padding: 12px 20px;
    border-radius: 5px;
    border: none;
    flex: 1;
}
.newsletter-button {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 40px;
    font-size: 13px;
    color: #888;
    text-align: center;
}

/* ========== ESTILOS DE ARTIGO E BLOG ========== */
.blog-post { padding: 50px 0; }
.post-header { margin-bottom: 30px; text-align: center; }
.post-title { font-size: 36px; color: var(--primary-color); margin-bottom: 15px; }
.post-meta { color: var(--text-light); font-size: 14px; margin-bottom: 20px; }
.post-content { font-size: 18px; line-height: 1.8; color: #444; max-width: 800px; margin: 0 auto; }
.post-content h2, .post-content h3 { color: var(--secondary-color); margin: 30px 0 15px; }
.post-content p { margin-bottom: 20px; }
.post-content img { border-radius: 10px; margin: 30px 0; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* Cards da Home */
.post-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.post-card-img { height: 200px; object-fit: cover; width: 100%; }
.post-card-body { padding: 20px; }
.post-card-title { font-size: 20px; color: var(--secondary-color); margin-bottom: 10px; }
.btn-read-more {
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

/* Botão Padrão */
.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    display: inline-block;
}
.btn-primary:hover { background: #00447a; }

/* Responsivo */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }
    .header-logo {
        position: static;
        transform: none;
        flex-grow: 1;
        text-align: center;
    }
    .menu-toggle {
        order: -1;
    }
    .sidebar-menu {
        width: 250px;
    }
    .post-title { font-size: 28px; }
    .newsletter-form { flex-direction: column; padding: 0 20px; }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-section {
        margin-bottom: 30px;
    }
    .footer-section:last-child {
        margin-bottom: 0;
    }
    .footer-links {
        padding: 0;
    }
    .footer-links li {
        margin-bottom: 5px;
    }
    .footer-links a {
        display: block;
        padding: 5px 0;
    }
    .footer-section-title {
        text-align: center;
    }
    .social-media div {
        justify-content: center;
    }
}
