/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo img {
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #2563eb;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Main Content */
.main {
  padding: 4rem 0;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.article-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.article-image {
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* Alinha a imagem ao topo */
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 1.5rem;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  color: #1f2937;
}

.article-excerpt {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.btn-read-more {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-read-more:hover {
  background: #1d4ed8;
}

/* About Section */
.about {
  background: #f8fafc;
  padding: 4rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  object-position: top center; /* Alinha a imagem ao topo */
}

.about-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

.about-description {
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-social h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #374151;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background: #4b5563;
}

.footer-contact p {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: #d1d5db;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-copyright {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer-copyright p {
  margin-bottom: 0.25rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  padding: 12px 16px;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
  font-weight: 500;
  font-size: 0.9rem;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float span {
  white-space: nowrap;
}

/* Article Pages */
.article-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 0;
}

.article-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article-meta {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.article-social {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-share {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.article-likes {
  display: flex;
  align-items: center;
}

.like-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.3s ease;
}

.like-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.article-body {
  padding: 3rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.article-body h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: #1f2937;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: #374151;
}

.article-body p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
  color: #4b5563;
}

.article-body ul,
.article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #4b5563;
}

.article-body li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.article-cta {
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.article-cta p {
  margin-bottom: 1rem;
  color: #0f172a;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
  background: #128c7e;
}

.telegram-cta {
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.telegram-cta p {
  margin-bottom: 1rem;
  color: #0f172a;
}

.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0088cc;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-telegram:hover {
  background: #006699;
}

.article-about {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
}

.article-about .about-content {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.article-about .about-image {
  flex-shrink: 0;
}

.article-about .about-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center; /* Alinha a imagem ao topo */
}

.article-about .about-text {
  flex: 1;
}

.article-about .about-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1f2937;
}

.article-about .about-description {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.article-navigation {
  margin: 3rem 0;
  text-align: center;
}

.btn-back {
  display: inline-block;
  background: #6b7280;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-back:hover {
  background: #4b5563;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .article-hero-title {
    font-size: 1.75rem;
  }

  .article-social {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .article-about .about-content {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 2rem 0;
  }

  .main {
    padding: 2rem 0;
  }

  .about {
    padding: 2rem 0;
  }

  .article-body {
    padding: 2rem 0;
  }

  .article-cta,
  .telegram-cta {
    padding: 1.5rem;
    margin: 2rem 0;
  }
}

/* Hide any debug elements or section names */
*::before,
*::after {
  content: none !important;
}

/* Ensure no pseudo-elements show debug text */
.main::before,
.hero::before,
.about::before,
.footer::before,
.article-header::before,
.article-body::before {
  display: none !important;
}
