:root {
  color-scheme: light;
  --bg: #fdfdfb;
  --text: #1f1f1f;
  --muted: #6b6b6b;
  --accent: #1a56db;
  --border: #e5e5e5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
}

.site-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

.site-header nav a {
  margin-left: 1.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-header nav a:hover { color: var(--accent); }

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem;
}

.hero h1 { margin-bottom: 0.25rem; }
.hero p { color: var(--muted); }

.prose p { margin: 0.75rem 0; }

.section-texto,
.section-imagem {
  margin: 2rem 0;
}

.section-caption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.section-texto-imagem {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.section-texto-imagem.image-right {
  flex-direction: row-reverse;
}

.section-texto-imagem-image,
.section-texto-imagem-text {
  flex: 1 1 260px;
  min-width: 0;
}

.post-list { list-style: none; padding: 0; }
.post-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.post-list a { color: var(--text); text-decoration: none; font-weight: 500; }
.post-list a:hover { color: var(--accent); }
.post-list time { color: var(--muted); font-size: 0.9rem; }

main img,
main picture {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 1rem 0;
}

.youtube-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 1.5rem 0;
}
.youtube-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
  border-radius: 8px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 480px;
  margin-top: 2rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
}

.contact-form button {
  margin-top: 1.25rem;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
}

.contact-form button:hover {
  opacity: 0.9;
}

.form-warning {
  margin-top: 2rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: #fff3cd;
  color: #664d03;
  font-size: 0.9rem;
}

.site-footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}
