/*
  Theme: AI / Modern Theme
  Font: Inter
  Language: Portuguese
  Tone: Informative & Straightforward
*/

:root {
  --primary-color: #007BFF;
  --secondary-color: #0056b3;
  --background-color: #f8f9fa;
  --surface-color: #ffffff;
  --text-color: #212529;
  --muted-text-color: #6c757d;
  --border-color: #dee2e6;
  --header-bg: #0d1117;
  --header-text: #ffffff;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1em;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

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

.main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0;
}

@media (min-width: 992px) {
  .main-layout {
    grid-template-columns: 3fr 1fr;
  }
}

/* --- Header & Navigation --- */
.site-header {
  background-color: var(--header-bg);
  color: var(--header-text);
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--header-text);
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--header-text);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}


/* --- Main Content & Articles --- */
main, .page-content {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.page-header h1 {
  margin-top: 0;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.article-list .article-preview {
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
}

.article-list .article-preview:last-child {
  border-bottom: none;
}

.article-preview h2 {
  margin-top: 0;
  font-size: 1.75rem;
}

.article-preview h2 a {
  color: var(--text-color);
}

.article-preview p {
  color: var(--muted-text-color);
}

.read-more {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: var(--secondary-color);
  color: white;
  text-decoration: none;
}

/* --- Article Page --- */
.article-header {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

.article-header h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.article-meta {
  color: var(--muted-text-color);
  font-size: 0.9rem;
}

.article-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

.article-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin-left: 0;
  font-style: italic;
  color: var(--muted-text-color);
}

.cta-section {
    background-color: #e9f4ff;
    border: 1px solid #bde0ff;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    text-align: center;
}
.cta-section p {
    margin: 0;
    font-size: 1.1rem;
}

/* --- Sidebar --- */
aside .widget {
  background-color: var(--surface-color);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.widget-title {
  margin-top: 0;
  font-size: 1.25rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget ul li {
  margin-bottom: 0.75rem;
}

.widget ul li a {
  color: var(--text-color);
  font-weight: 500;
}

.promo-text {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--header-bg);
  color: var(--muted-text-color);
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
}

/* --- Contact Form --- */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}
.contact-form button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.contact-form button:hover {
    background-color: var(--secondary-color);
}
