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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

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

.site-header {
  background: #111;
  color: #fff;
  padding: 1.5rem 0;
  margin-bottom: 3rem;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav a:hover {
  opacity: 0.7;
}

main {
  min-height: 60vh;
  padding-bottom: 3rem;
}

h1, h2, h3, h4, h5, h6 {
  margin: 1.5rem 0 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
}

h3 {
  font-size: 1.4rem;
}

p {
  margin: 1rem 0;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  margin: 1rem 0 1rem 2rem;
}

li {
  margin: 0.5rem 0;
}

.hero {
  text-align: center;
  padding: 3rem 0;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 8px;
}

.hero h2 {
  margin-top: 0;
  color: #fff;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 1rem auto;
}

.featured-articles {
  margin: 3rem 0;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.article-card {
  border: 1px solid #e0e0e0;
  padding: 1.5rem;
  border-radius: 8px;
  transition: box-shadow 0.3s;
}

.article-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.article-card h4 {
  margin-top: 0;
}

.article-card a {
  color: #333;
  font-weight: 600;
}

.article-preview {
  margin: 2rem 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

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

.article-preview h3 a {
  color: #333;
  font-weight: 600;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content h1 {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e0e0e0;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #667eea;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
  margin: 0.25rem;
}

.btn:hover {
  background: #5568d3;
  text-decoration: none;
}

/* SEÇÃO YOUTUBE - REALTHINKAI */
.youtube-section {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  margin: 3rem 0;
}

.youtube-section h3 {
  color: #fff;
  margin-top: 0;
  font-size: 1.8rem;
}

.youtube-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 1rem auto;
}

.btn-youtube {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #fff;
  color: #10b981;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  margin: 0.25rem;
}

.btn-youtube:hover {
  background: #f0f0f0;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.contact-form {
  max-width: 600px;
  margin: 2rem 0;
}

.form-group {
  margin: 1.5rem 0;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

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

button[type="submit"] {
  background: #667eea;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

button[type="submit"]:hover {
  background: #5568d3;
}

.site-footer {
  background: #f5f5f5;
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.site-footer p {
  margin: 0.5rem 0;
  color: #666;
}

.site-footer a {
  color: #666;
  text-decoration: none;
}

.site-footer a:hover {
  color: #333;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav {
    justify-content: center;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .article-grid {
    grid-template-columns: 1fr;
  }
  
  .youtube-section {
    padding: 2rem 1rem;
  }
  
  .youtube-section h3 {
    font-size: 1.5rem;
  }
}

/* COMPONENTE AFILIADOS (AMAZON/SHOPEE) */
.card-afiliado {
  background: linear-gradient(135deg, #f8f5ff 0%, #f0eaff 100%);
  border: 2px solid #667eea;
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  transition: box-shadow 0.3s, transform 0.2s;
}
.card-afiliado:hover {
  box-shadow: 0 6px 20px rgba(102,126,234,0.25);
  transform: translateY(-2px);
  text-decoration: none;
}
.card-afiliado .card-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}
.card-afiliado .card-body {
  flex: 1;
}
.card-afiliado .card-body .card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #667eea;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.card-afiliado .card-body .card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin: 0;
}
.card-afiliado .card-body .card-desc {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.2rem;
}
.card-afiliado .card-btn {
  background: #667eea;
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.3s;
}
.card-afiliado .card-btn:hover {
  background: #5568d3;
  text-decoration: none;
}
@media (max-width: 600px) {
  .card-afiliado {
    flex-direction: column;
    text-align: center;
  }
  .card-afiliado .card-btn {
    width: 100%;
    text-align: center;
  }
}
