/* Líassan — Design único, moderno e minimalista
   Paleta: Terracota quente, azeitona, creme, tinta escura
   Tipografia: System + Georgia para leitura agradável
   Totalmente responsivo, sem frameworks externos
*/

:root {
  --bg: #FAF3E8;
  --cream: #F5EDE0;
  --terracotta: #C17F59;
  --olive: #5C7450;
  --ink: #2C2118;
  --gold: #D4A574;
  --soft-border: #E8DFD0;
  --text-muted: #5C5145;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

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

a:hover {
  color: var(--olive);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background-color: var(--bg);
  border-bottom: 1px solid var(--soft-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  font-family: system-ui, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover {
  color: var(--terracotta);
}

.nav-links a.active {
  color: var(--terracotta);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--terracotta);
}

/* Hero */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(to right, var(--terracotta), var(--gold));
  border-radius: 2px;
}

.hero h1 {
  font-size: 56px;
  max-width: 820px;
  margin: 0 auto 24px;
  letter-spacing: -1.2px;
}

.hero .subtitle {
  font-size: 21px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
}

.hero .meta {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* Decorative element */
.decor {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.decor-line {
  width: 60px;
  height: 1px;
  background: var(--terracotta);
  opacity: 0.4;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 28px;
  margin-bottom: 32px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--terracotta);
  border-radius: 3px;
}

/* Article cards - unique asymmetric feel */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.article-card {
  background: white;
  border: 1px solid var(--soft-border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--terracotta);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(44, 33, 24, 0.08);
}

.article-card h3 {
  font-size: 21px;
  margin-bottom: 14px;
  line-height: 1.35;
}

.article-card .excerpt {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 24px;
}

.article-card .meta {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-card .meta::before {
  content: '—';
}

/* Long form article */
article.content {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

article.content h1 {
  font-size: 38px;
  margin-bottom: 12px;
  line-height: 1.25;
}

article.content .article-meta {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--soft-border);
}

article.content h2 {
  font-size: 24px;
  margin: 48px 0 18px;
  color: var(--ink);
}

article.content p {
  margin-bottom: 22px;
}

article.content blockquote {
  margin: 36px 0;
  padding: 28px 32px;
  background: var(--cream);
  border-left: 5px solid var(--terracotta);
  font-style: italic;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
}

article.content ul, article.content ol {
  margin: 22px 0 22px 24px;
}

article.content li {
  margin-bottom: 10px;
}

/* Author page unique layout */
.author-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

@media (max-width: 900px) {
  .author-layout {
    grid-template-columns: 1fr;
  }
}

.author-main {
  font-size: 17.5px;
}

.author-sidebar {
  background: var(--cream);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--soft-border);
  position: sticky;
  top: 100px;
}

.author-sidebar h4 {
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--terracotta);
}

/* Contact form */
.contact-form {
  max-width: 620px;
  margin: 40px auto 0;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  border: 1px solid var(--soft-border);
  border-radius: 8px;
  background: white;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(193, 127, 89, 0.1);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.btn {
  display: inline-block;
  background: var(--terracotta);
  color: white;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 36px;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  background: #A65F45;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
}

.btn-secondary:hover {
  background: var(--terracotta);
  color: white;
}

/* Footer */
footer {
  background: var(--ink);
  color: #C9B8A8;
  padding: 60px 0 40px;
  font-size: 14px;
  font-family: system-ui, sans-serif;
}

footer a {
  color: #C9B8A8;
}

footer a:hover {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-col h5 {
  color: white;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-col p, .footer-col a {
  display: block;
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.legal-links a {
  font-size: 13px;
}

/* Thank you page */
.thanks {
  text-align: center;
  padding: 120px 20px;
}

.thanks h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.thanks p {
  font-size: 18px;
  max-width: 460px;
  margin: 0 auto 40px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 38px;
  }
  
  .nav-links {
    gap: 18px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  article.content h1 {
    font-size: 30px;
  }
}

/* Small decorative touches */
.eyebrow {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}