


:root {
  --brand-purple: #9001f5;
  --brand-purple-dark: #582a79;
  --brand-white: #ffffff;
  --text-color: #333;
  --background-color: #fff;
}

body {
  font-family: 'PT Sans', sans-serif; /* Fonte padrão para o corpo */
  margin: 0;
  color: var(--text-color);
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif; /* Fonte para títulos */
}

a {
  text-decoration: none;
  color: var(--brand-purple);
}

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




/* Header Styles */
.header {
  background-color: #f8fafc; /* Cinza claro */
  color: var(--text-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.navbar-brand .logo {
  height: 60px;
  transition: all 0.3s ease;
}

.navbar-brand .logo.scrolled {
  height: 40px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-color); /* Cor do texto escuro para fundo cinza */
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.nav-link:hover {
  color: #fbbf24;
}

.cta-button {
  background: #fbbf24;
  color: var(--brand-purple) !important;
  font-weight: 600;
  padding: 0.75rem 1.5rem !important;
  border-radius: 2rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #f59e0b;
  transform: translateY(-2px);
}

.mobile-menu-button {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-button span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--brand-purple-dark);
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 0.5rem;
}

.mobile-nav-link {
  color: white;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }
  
  .mobile-menu-button {
    display: flex;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .mobile-menu.hidden {
    display: none;
  }
}


/* Hero Styles */
.hero {
  background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-dark) 100%);
  padding: 8rem 0 4rem;
  color: white;
  margin-top: 80px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: #fbbf24;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: #fbbf24;
  color: var(--brand-purple);
}

.btn-primary:hover {
  background: #f59e0b;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

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

.hero-featured {
  position: relative;
}

.featured-badge {
  background: #fbbf24;
  color: var(--brand-purple);
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  position: absolute;
  top: -10px;
  left: 20px;
  z-index: 10;
}

.featured-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.featured-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.featured-content {
  padding: 1.5rem;
}

.featured-title {
  color: var(--text-color);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.featured-excerpt {
  color: #666;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.featured-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #888;
}

@media (max-width: 768px) {
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
}


/* News Section Styles */
.news-section {
  padding: 4rem 0;
  background: #f8fafc;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.news-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.news-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
}

.news-category.economia {
  background: #10b981;
}

.news-category.cultura {
  background: #f59e0b;
}

.news-category.politica {
  background: #9c4115;
}

.news-category.esporte {
    background: #1ad576;
}

.news-category.educacao {
    background: #9caf57;
}
.news-category.saude {
    background: #4159bd;
}
.news-category.seguranca {
    background: #58723f;
}

.news-category.meioambiente {
    background: #0a6c3a;
}

.news-category.social {
    background: #b3b3b3;
}

.news-category.outros {
    background: #767775;
}

.news-content {
  padding: 1.5rem;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #888;
}

.author-info,
.time-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-purple);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.read-more-button:hover {
  color: var(--brand-purple-dark);
  transform: translateX(4px);
}

.load-more {
  text-align: center;
}

.btn-outline {
 
  color: var(--brand-purple);
  border: 2px solid var(--brand-purple);
}

.btn-outline:hover {
  background: var(--brand-purple);
  color: white;
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}


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

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

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-description {
  line-height: 1.6;
  color: #d1d5db;
}

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

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

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

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: #d1d5db;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #fbbf24;
}

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

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

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


/* Article Page Styles */
.article-page {
  padding: 2rem 0;
  margin-top: 80px;
}

.back-navigation {
  margin-bottom: 2rem;
}

.back-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--brand-purple);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.back-button:hover {
  background: #f3f4f6;
  color: var(--brand-purple-dark);
  transform: translateX(-4px);
}

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

.article-category {
  margin-bottom: 1.5rem;
}

.category-tag {
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
}

.article-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-color);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.875rem;
}

.article-image {
  margin-bottom: 2rem;
}

.featured-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.image-caption {
  text-align: center;
  color: #666;
  font-size: 0.875rem;
  margin-top: 0.75rem;
  font-style: italic;
}

.article-body {
  line-height: 1.8;
  margin-bottom: 3rem;
}

.lead-paragraph {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.article-body p {
  margin-bottom: 1.5rem;
  color: #374151;
}

.article-body h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 2.5rem 0 1.5rem;
}

.interaction-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 2rem;
}

.interaction-buttons {
  display: flex;
  gap: 1rem;
}

.interaction-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  border: none;
  background: #f3f4f6;
  color: #666;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.interaction-btn:hover {
  background: #e5e7eb;
}

.like-btn.liked {
  background: #fef2f2;
  color: #dc2626;
}

.like-btn.liked svg {
  fill: currentColor;
}

.cta-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-purple);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-whatsapp:hover {
  background: var(--brand-purple-dark);
  transform: translateY(-2px);
}

.reporter-info {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 2rem;
}

.reporter-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.reporter-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.reporter-avatar {
  width: 60px;
  height: 60px;
  background: var(--brand-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.reporter-details h4 {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.reporter-role {
  color: #666;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.reporter-bio {
  color: #374151;
  line-height: 1.6;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 2rem;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .featured-img {
    height: 250px;
  }
  
  .interaction-bar {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .interaction-buttons {
    justify-content: center;
  }
  
  .cta-whatsapp {
    justify-content: center;
  }
  
  .reporter-card {
    flex-direction: column;
    text-align: center;
  }
}


/* Form Page Styles */
.form-page {
  padding: 2rem 0;
  margin-top: 80px;
  background: #f8fafc;
  min-height: calc(100vh - 80px);
}

.form-header {
  text-align: center;
  margin-bottom: 3rem;
}

.form-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.form-subtitle {
  font-size: 1.125rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.news-form-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.news-form {
  padding: 2rem;
}

.form-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.section-title svg {
  color: var(--brand-purple);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(144, 1, 245, 0.1);
}

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

.char-counter {
  text-align: right;
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.25rem;
}

.form-checkbox-group {
  margin-bottom: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: normal;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--brand-purple);
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-text {
  line-height: 1.5;
  color: var(--text-color);
}

.form-help {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.5rem;
  line-height: 1.4;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  border-radius: 1rem;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
}

.close-button {
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 0.25rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.close-button:hover {
  background: #f3f4f6;
  color: var(--text-color);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

/* Preview Content Styles */
.preview-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f3f4f6;
}

.preview-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.preview-label {
  font-weight: 600;
  color: var(--brand-purple);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.preview-value {
  color: var(--text-color);
  line-height: 1.5;
}

.preview-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  background: var(--brand-purple);
}

/* Form Validation Styles */
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #dc2626;
}

.error-message {
  color: #dc2626;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Loading State */
.btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-page {
    padding: 1rem 0;
  }
  
  .form-title {
    font-size: 2rem;
  }
  
  .news-form {
    padding: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .modal-content {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }
  
  .modal-footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .form-title {
    font-size: 1.75rem;
  }
  
  .news-form {
    padding: 1rem;
  }
  
  .section-title {
    font-size: 1.125rem;
  }
}



/* Hero Slider Styles */
.hero {
  overflow: hidden; /* Esconde o conteúdo que transborda */
  position: relative;
}

.hero-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: fit-content; /* Permite que o flex container se ajuste ao conteúdo */
}

.hero-slide {
 
  width: 100%;
  box-sizing: border-box;
  padding: 0 20px; /* Adiciona padding para o container */
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero-slide2 {

  box-sizing: border-box;
  padding: 0 20px; /* Adiciona padding para o container */
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-featured-slide {
  width: 100%;
  max-width: 500px; /* Limita a largura do card de destaque */
  margin: 0 auto; /* Centraliza o card */
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--brand-white);
}

/* Ajustes para o hero-text dentro do slider */
.hero-slide .hero-text {
  max-width: 600px; /* Limita a largura do texto principal */
  text-align: left;
  padding-right: 20px; /* Espaçamento à direita se houver outro elemento */
}

@media (max-width: 768px) {
  .hero-slide {
    flex-direction: column;
    text-align: center;
  }
  .hero-slide .hero-text {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .hero-buttons {
    justify-content: center;
  }
}


