/*
Theme Name: Tio do Marketing Digital
Theme URI: https://tiodomarketingdigital.com.br
Author: Manus AI
Author URI: https://manus.im
Description: Tema exclusivo com identidade visual Surfe Digital (Dark Mode, Ciano, Source Sans Pro).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: dark, blog, responsive, custom-colors
Text Domain: tiodomkt
*/

/* --- Variáveis CSS --- */
:root {
    --primary: #00D9FF;
    --bg-body: #000000;
    --bg-card: #111111;
    --text-main: #FFFFFF;
    --text-muted: #CCCCCC;
    --border: #333333;
    --font-main: 'Source Sans Pro', sans-serif;
}

/* --- Reset & Base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: 0.3s; }
a:hover { color: #fff; text-shadow: 0 0 8px var(--primary); }

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

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

/* --- Header --- */
.site-header {
    background: rgba(0,0,0,0.95);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.custom-logo { height: 40px; width: auto; }

.main-navigation ul { list-style: none; display: flex; gap: 25px; margin: 0; }
.main-navigation a { color: var(--text-main); font-weight: 600; text-transform: uppercase; font-size: 14px; letter-spacing: 1px; }
.main-navigation a:hover { color: var(--primary); }

/* --- Hero --- */
.page-header { text-align: center; padding: 60px 0; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.page-title { font-size: 2.5rem; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.page-desc { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* --- Grid de Posts --- */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin-bottom: 60px; }

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.post-card:hover { transform: translateY(-5px); border-color: var(--primary); }

.post-thumbnail { height: 200px; overflow: hidden; }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.post-card:hover .post-thumbnail img { transform: scale(1.1); }

.post-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }

.post-meta { font-size: 0.8rem; color: var(--primary); text-transform: uppercase; margin-bottom: 10px; font-weight: bold; }

.entry-title { font-size: 1.4rem; margin-bottom: 15px; line-height: 1.3; }
.entry-title a { color: var(--text-main); }
.entry-title a:hover { color: var(--primary); }

.entry-excerpt { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }

.read-more { font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }

/* --- Single Post --- */
.single-container { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.single-header { text-align: center; margin-bottom: 40px; }
.single-title { font-size: 2.5rem; line-height: 1.2; margin-bottom: 15px; color: var(--text-main); }
.single-meta { color: var(--text-muted); font-size: 0.9rem; border-bottom: 1px solid var(--border); padding-bottom: 20px; }

.entry-content { font-size: 1.15rem; line-height: 1.8; color: #e0e0e0; }
.entry-content p { margin-bottom: 20px; }
.entry-content h2, .entry-content h3 { color: var(--primary); margin: 40px 0 20px; }
.entry-content blockquote { border-left: 4px solid var(--primary); padding-left: 20px; margin: 30px 0; font-style: italic; color: var(--text-muted); }
.entry-content ul { padding-left: 20px; margin-bottom: 20px; }

/* --- Footer --- */
.site-footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 40px 0; text-align: center; margin-top: auto; }
.footer-copy { color: var(--text-muted); font-size: 0.9rem; margin-top: 20px; }

/* --- Responsividade --- */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 15px; }
    .main-navigation ul { flex-wrap: wrap; justify-content: center; }
    .page-title, .single-title { font-size: 2rem; }
}
