/*
Theme Name: Lovable Theme
Theme URI: https://lovable.dev
Author: Lovable
Author URI: https://lovable.dev
Description: Tema WordPress nativo, leve e moderno, com suporte completo a menus, widgets, imagens destacadas e blocos do editor Gutenberg.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lovable-theme
Tags: blog, one-column, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #1f2937;
  background: #ffffff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.site-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.site-header { border-bottom: 1px solid #e5e7eb; padding: 22px 0; background: #fff; }
.site-header .site-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding a { color: #111827; font-weight: 700; font-size: 20px; text-decoration: none; }
.site-description { color: #6b7280; font-size: 14px; margin-top: 2px; }

/* Nav */
.main-navigation ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.main-navigation a { color: #374151; font-weight: 500; }
.main-navigation a:hover { color: #2563eb; text-decoration: none; }
.menu-toggle { display: none; background: none; border: 1px solid #d1d5db; padding: 8px 12px; border-radius: 8px; cursor: pointer; }

/* Content */
.site-main { padding: 40px 0 60px; }
.content-area { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.posts-list { display: grid; gap: 32px; }
article.post, article.page { background: #fff; }
.entry-title { font-size: 28px; line-height: 1.25; margin: 0 0 8px; }
.entry-title a { color: #111827; }
.entry-meta { color: #6b7280; font-size: 14px; margin-bottom: 12px; }
.entry-content p { margin: 0 0 1em; }
.post-thumbnail { margin-bottom: 16px; border-radius: 10px; overflow: hidden; }

/* Sidebar */
.widget-area .widget { margin-bottom: 30px; padding: 18px; background: #f9fafb; border-radius: 10px; }
.widget-title { margin: 0 0 10px; font-size: 16px; text-transform: uppercase; letter-spacing: 0.05em; color: #374151; }

/* Footer */
.site-footer { border-top: 1px solid #e5e7eb; padding: 28px 0; color: #6b7280; font-size: 14px; text-align: center; margin-top: 40px; }

/* Pagination */
.pagination { display: flex; gap: 8px; margin-top: 30px; }
.pagination .page-numbers { padding: 8px 12px; border: 1px solid #e5e7eb; border-radius: 6px; color: #374151; }
.pagination .current { background: #2563eb; color: #fff; border-color: #2563eb; }

/* Forms */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font: inherit;
}
button, input[type="submit"], .button {
  background: #2563eb; color: #fff; border: 0; padding: 10px 18px; border-radius: 8px; cursor: pointer; font: inherit;
}

/* Responsive */
@media (max-width: 860px) {
  .content-area { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-block; }
  .main-navigation ul { display: none; flex-direction: column; gap: 10px; width: 100%; padding-top: 12px; }
  .main-navigation.toggled ul { display: flex; }
  .site-header .site-container { flex-wrap: wrap; }
}

/* WP Core */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 14px; color: #6b7280; text-align: center; }
.sticky { border-left: 4px solid #2563eb; padding-left: 16px; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}