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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

ul {
    list-style: none;
}

/* Layout Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
}

.logo span {
    color: #27ae60; /* Verde Planta/Casa */
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-weight: 600;
    font-size: 15px;
    color: #555;
    text-transform: uppercase;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #27ae60;
}

.search-bar {
    display: flex;
}

.search-bar input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-bar button {
    padding: 8px 15px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* Módulos de Anúncio (AdSense) */
.ad-wrapper {
    margin: 20px auto;
    text-align: center;
}

.ad-placeholder {
    background-color: #eaeaea;
    border: 1px dashed #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
}

.banner-top {
    width: 100%;
    max-width: 728px;
    height: 90px;
    margin: 0 auto;
}

.square-ad {
    width: 100%;
    height: 250px;
}

.sticky-ad {
    width: 100%;
    height: 600px; /* Skyscraper */
    position: sticky;
    top: 100px;
}

/* Área de Conteúdo */
.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
}

/* Grid de Posts (Vitrine) */
.latest-posts h2 {
    font-size: 24px;
    margin-bottom: 25px;
    border-bottom: 2px solid #27ae60;
    display: inline-block;
    padding-bottom: 5px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

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

.post-image {
    width: 100%;
    background-size: cover;
    background-position: center;
}

.post-content {
    padding: 20px;
}

.category-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff;
    margin-bottom: 10px;
    display: inline-block;
}

.cat-decoracao { background-color: #e67e22; }
.cat-limpeza { background-color: #3498db; }
.cat-plantas { background-color: #2ecc71; }
.cat-eletro { background-color: #8e44ad; }

.post-content h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #2c3e50;
}

.post-content h3:hover {
    text-decoration: underline;
}

.post-content p {
    font-size: 14px;
    color: #666;
}

/* Sidebar */
.sidebar {
    padding-top: 55px; /* Para alinhar com os cards */
}

.widget {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.widget h3 {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.widget ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget ul li a {
    font-size: 15px;
    color: #34495e;
    font-weight: 600;
}

.widget ul li a:hover {
    color: #27ae60;
}

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 40px 0;
    margin-top: 40px;
}

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

.footer-links a {
    color: #bdc3c7;
    margin-left: 20px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

/* Responsividade Básica */
@media (max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap: 15px;
    }
}
