:root {
  --primary-color: #6a1b9a;
  --primary-dark: #4a0c6b;
  --secondary-color: #ff6d00;
  --light-bg: #f8f9fa;
  --dark-text: #2d3748;
  --light-text: #718096;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #6a1b9a 0%, #9c64bf 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--light-bg);
  font-family: 'Poppins', sans-serif;
  color: var(--dark-text);
}
.artigo-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.artigo-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.artigo-card-text {
    flex: 1;
}

.artigo-ler-mais-btn {
    margin-top: auto;
}
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
  text-decoration: none;
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

.artigo-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.artigo-py-5 {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.artigo-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.artigo-col-lg-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding: 0 15px;
}

.artigo-col-lg-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
}

.artigo-col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.artigo-col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
}

.artigo-text-center {
  text-align: center;
}

.artigo-mb-3 {
  margin-bottom: 1rem;
}

.artigo-mb-4 {
  margin-bottom: 1.5rem;
}

.artigo-mb-2 {
  margin-bottom: 0.5rem;
}

.artigo-mt-auto {
  margin-top: auto;
}

.artigo-small {
  font-size: 0.875rem;
}

.artigo-text-muted {
  color: #6c757d !important;
}

.artigo-position-relative {
  position: relative;
}

.artigo-d-block {
  display: block;
}

.artigo-w-100 {
  width: 100%;
}

/* Header e Carrossel - ADICIONANDO TRANSIÇÕES */
.artigo-hero-section {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  margin-bottom: 3rem;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Para tablets e celulares */
@media (max-width: 768px) {
  .artigo-sidebar-section{
    margin-top: 50px;
  }
}

/* Para tablets e celulares */
@media (max-width: 1024px) {
  .artigo-sidebar-section{
    margin-top: 50px;
  }
}

.artigo-carousel {
  position: relative;
}

.artigo-carousel-inner {
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.artigo-carousel-item {
  position: relative;
  display: none;
  transition: opacity 0.8s ease-in-out;
  opacity: 0;
}

.artigo-carousel-item.active {
  display: block;
  opacity: 1;
}

.artigo-carousel-item-next.artigo-carousel-item-left,
.artigo-carousel-item-prev.artigo-carousel-item-right {
  opacity: 1;
}

.artigo-carousel-item-next,
.artigo-carousel-item-prev,
.artigo-carousel-item.active {
  transform: translateX(0);
}

.artigo-carousel-item-next,
.active.artigo-carousel-item-right {
  transform: translateX(100%);
}

.artigo-carousel-item-prev,
.active.artigo-carousel-item-left {
  transform: translateX(-100%);
}

.artigo-carousel-inner img {
  height: 500px;
  object-fit: cover;
  filter: brightness(0.8);
  width: 100%;
  transition: transform 0.8s ease-in-out;
}

.artigo-carousel-caption {
  position: absolute;
  bottom: 30%;
  text-align: left;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  backdrop-filter: blur(5px);
  max-width: 600px;
  margin-left: 5%;
  color: white;
  transition: all 0.8s ease-in-out;
  transform: translateY(20px);
  opacity: 0;
}

.artigo-carousel-item.active .artigo-carousel-caption {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.5s;
}

.artigo-carousel-caption h5 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  transition: transform 0.8s ease, opacity 0.8s ease;
  transform: translateY(20px);
  opacity: 0;
}

.artigo-carousel-item.active .artigo-carousel-caption h5 {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.7s;
}

.artigo-carousel-caption p {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--white);
  transition: transform 0.8s ease, opacity 0.8s ease;
  transform: translateY(20px);
  opacity: 0;
    line-height: 1.6;
}

.artigo-carousel-item.active .artigo-carousel-caption p {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.9s;
}

/* Ajustando os controles do carrossel */
.artigo-carousel-control-prev,
.artigo-carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5%;
  color: #fff;
  text-align: center;
  opacity: 0.7;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1;
  transition: opacity 0.3s;
}

.artigo-carousel-control-prev:hover,
.artigo-carousel-control-next:hover {
  opacity: 1;
}

.artigo-carousel-control-prev {
  left: 0;
}

.artigo-carousel-control-next {
  right: 0;
}

.artigo-carousel-control-prev-icon,
.artigo-carousel-control-next-icon {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
  transition: transform 0.3s ease;
}

.artigo-carousel-control-prev:hover .artigo-carousel-control-prev-icon,
.artigo-carousel-control-next:hover .artigo-carousel-control-next-icon {
  transform: scale(1.2);
}

.artigo-carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.artigo-carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.artigo-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Cards de Artigos */
.artigo-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  border: none;
  border-radius: 5px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.artigo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(106, 27, 154, 0.2);
}

.artigo-article-image {
  height: 220px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease;
}

.artigo-card:hover .artigo-article-image {
  transform: scale(1.05);
}

.artigo-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.artigo-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.artigo-card-text {
  font-size: 0.95rem;
  color: var(--light-text);
  margin-bottom: 1.5rem;
  flex: 1;
   line-height: 1.6;
}

.artigo-article-meta {
  font-size: 0.85rem;
  color: var(--light-text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.artigo-article-meta i {
  margin-right: 8px;
  color: var(--primary-color);
}

.artigo-ler-mais-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  color: var(--white);
  background: var(--gradient);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  width: fit-content;
  border: none;
  box-shadow: 0 4px 15px rgba(106, 27, 154, 0.3);
  cursor: pointer;
}

.artigo-ler-mais-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(106, 27, 154, 0.4);
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.artigo-ler-mais-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.artigo-ler-mais-btn:hover i {
  transform: translateX(3px);
}

/* Sidebar */
.artigo-sidebar-section {
  background: var(--white);
  border-radius: 5px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
    line-height: 1.6;
}

.artigo-sidebar-section h5 {
  border-bottom: 2px solid rgba(106, 27, 154, 0.1);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--primary-dark);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  line-height: 1.6;
}

.artigo-sidebar-section h5 i {
  margin-right: 10px;
  color: var(--primary-color);
}

.artigo-sidebar-link {
  display: flex;
  align-items: center;
  color: var(--dark-text);
  margin-bottom: 0.75rem;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(0,0,0,0.05);
  line-height: 1.6;
}

.artigo-sidebar-link i {
  margin-right: 10px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.artigo-sidebar-link:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.artigo-sidebar-link:hover i {
  transform: translateX(3px);
  color: var(--secondary-color);
}

/* Busca */
.artigo-search-container {
  position: relative;
  margin-bottom: 2.5rem;
}

#artigo-inputBusca {
    width: 100%;
    max-width: 500px;
    padding: 12px 25px 12px 50px;
    border: 1px solid #673ab7;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

#artigo-inputBusca:focus {
  border-color: var(--primary-color);
  box-shadow: 0 5px 20px rgba(106, 27, 154, 0.1);
}

.artigo-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Paginação */
.artigo-pagination {
  justify-content: center;
  margin-top: 3rem;
  display: flex;
  gap: 8px;
  user-select: none;
}

.artigo-page-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  background: var(--white);
  color: var(--primary-color);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 40px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.artigo-page-btn:hover:not(.disabled):not(.active) {
  background: var(--gradient);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(106, 27, 154, 0.3);
}

.artigo-page-btn.active {
  background: var(--gradient);
  color: var(--white);
  cursor: default;
  box-shadow: 0 5px 15px rgba(106, 27, 154, 0.3);
}

.artigo-page-btn.disabled {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

/* Seção de título */
.artigo-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.artigo-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  position: relative;
  padding-bottom: 10px;
}

.artigo-section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

/* Formulário - AJUSTADO PARA FICAR RESPONSIVO */
.artigo-form-control {
    padding: 0.8rem;
    border: 1px solid #6a1b9a26;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.1);
    color: #000000;
    line-height: 1.5;
    transition: all 0.3s ease;
    width: 305px; /* TAMANHO PADRÃO PARA DESKTOP */
    box-sizing: border-box;
}

.artigo-form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.1);
  outline: none;
}

.artigo-input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  gap: 12px;
  flex-direction: column;
}

.artigo-input-group > .artigo-form-control {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}

.artigo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  margin-top: 8px;
  box-sizing: border-box;
}

.artigo-btn:hover {
  color: var(--white);
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(106, 27, 154, 0.3);
}

.artigo-btn-primary {
  color: #fff;
  background-color: #6a1b9a;
  border-color: #6a1b9a;
}

.artigo-btn-primary:hover {
  color: #fff;
  background-color: #5a167d;
  border-color: #511571;
}

/* Newsletter melhorada */
.artigo-newsletter-container {
    background: linear-gradient(135deg, var(--white) 0%, var(--white) 100%);
    border-radius: 5px;
    padding: 2rem;
    color: #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.artigo-newsletter-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  opacity: 0.5;
}

.artigo-newsletter-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.artigo-newsletter-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}

.artigo-newsletter-title {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    line-height: 1.4;
}

.artigo-newsletter-description {
    color: #546379;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 13px;
}

.artigo-newsletter-form {
  margin-top: 1.5rem;
  width: 100%;
}

.artigo-form-group {
  margin-bottom: 1rem;
  position: relative;
  width: 100%;
}

.artigo-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.8rem;
  color: #000000;
  opacity: 0.9;
}

.artigo-newsletter-btn {
  background: #6a1b9a;
  border: 2px solid #6a1b9a;
  color: var(--white);
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-top: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.artigo-newsletter-btn:hover:not(:disabled) {
  background: #691b9af1;
  border-color: #6a1b9a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(140, 0, 255, 0.3);
  color: var(--white);
}

.artigo-newsletter-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.artigo-newsletter-privacy {
  font-size: 0.75rem;
  opacity: 0.7;
  text-align: center;
  margin-top: 1rem;
  line-height: 1.4;
}

/* Mensagens de alerta */
.artigo-alert {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.4s ease-in-out;
  transform: translateY(-10px);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.artigo-alert.show {
  transform: translateY(0);
  opacity: 1;
  max-height: 200px;
}

.artigo-alert.auto-hide {
  animation: artigo-slideOut 0.4s ease-in-out 5s forwards;
}

@keyframes artigo-slideOut {
  0% {
    transform: translateY(0);
    opacity: 1;
    max-height: 200px;
  }
  100% {
    transform: translateY(-20px);
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}

.artigo-alert-success {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc;
}

.artigo-alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.artigo-alert-info {
  color: #055160;
  background-color: #cff4fc;
  border-color: #b6effb;
}

.artigo-alert ul {
  margin-bottom: 0;
  padding-left: 1rem;
}

.artigo-is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1) !important;
}

.artigo-invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #ff6b6b;
  font-weight: 500;
  animation: artigo-slideDown 0.3s ease;
}

@keyframes artigo-slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Informações de geolocalização */
.artigo-geo-info {
  font-size: 0.7rem;
  opacity: 0.6;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Loading animation */
.artigo-btn-loading {
  position: relative;
  color: transparent !important;
}

.artigo-btn-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: artigo-spin 0.8s ease infinite;
}

@keyframes artigo-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success checkmark */
.artigo-success-checkmark {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.artigo-success-checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: artigo-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes artigo-stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

/* Responsividade - AJUSTES PARA MOBILE */
@media (max-width: 1200px) {
  .artigo-container {
    max-width: 1140px;
  }
}

@media (max-width: 992px) {
  .artigo-container {
    max-width: 960px;
  }
  
  .artigo-col-lg-8, .artigo-col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .artigo-carousel-inner img {
    height: 400px;
  }
  
  .artigo-carousel-caption {
    bottom: 20%;
  }
  
  .artigo-carousel-caption h5 {
    font-size: 2rem;
  }
  
  /* AJUSTE NO FORMULÁRIO PARA TABLET */
  .artigo-form-control {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .artigo-container {
    max-width: 720px;
  }
  
  .artigo-col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .artigo-carousel-inner img {
    height: 300px;
  }
  
  .artigo-carousel-caption {
    bottom: 10%;
    padding: 1rem;
    margin-left: 0;
    max-width: 100%;
  }
  
  .artigo-carousel-caption h5 {
    font-size: 1.5rem;
  }
  
  .artigo-carousel-caption p {
    font-size: 1rem;
  }
  
  .artigo-section-title {
    font-size: 1.5rem;
  }
  
  .artigo-carousel-control-prev,
  .artigo-carousel-control-next {
    width: 10%;
  }
  
  .artigo-newsletter-container {
    padding: 1.5rem;
  }
  
  /* AJUSTE CRÍTICO PARA MOBILE - INPUT E BOTÃO COM MESMA LARGURA */
  .artigo-form-control {
    width: 100% !important; /* SOBRESCREVE O width:305px DO DESKTOP */
    max-width: 100%;
  }
  
  .artigo-newsletter-btn {
    width: 100%;
  }
  
  .artigo-form-group {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .artigo-container {
    max-width: 540px;
  }
  
  .artigo-carousel-inner img {
    height: 250px;
  }
  
  .artigo-card {
    margin-bottom: 1.5rem;
  }
  
  .artigo-pagination {
    flex-wrap: wrap;
  }
  
  .artigo-carousel-caption h5 {
    font-size: 1.2rem;
  }
  
  .artigo-carousel-caption p {
    font-size: 0.9rem;
  }
  
  .artigo-newsletter-title {
    font-size: 1.2rem;
  }
  
  /* AJUSTE FINO PARA TELAS MUITO PEQUENAS */
  .artigo-form-control,
  .artigo-newsletter-btn {
    font-size: 14px;
    padding: 0.7rem;
  }
}

/* Efeitos especiais */
.artigo-hover-shine {
  position: relative;
  overflow: hidden;
}

.artigo-hover-shine:after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.artigo-hover-shine:hover:after {
  left: 100%;
}

/* Badge */
.artigo-badge-popular {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--secondary-color);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
  box-shadow: 0 3px 10px rgba(255, 109, 0, 0.3);
}

.far, .fas {
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
}

.fas {
  font-weight: 900;
}

.fa-calendar-alt:before {
  content: "\f073";
}

.fa-arrow-right:before {
  content: "\f061";
}

.fa-clock:before {
  content: "\f017";
}

.fa-chevron-right:before {
  content: "\f054";
}

.fa-fire:before {
  content: "\f06d";
}

.fa-envelope:before {
  content: "\f0e0";
}

.fa-paper-plane:before {
  content: "\f1d8";
}

.fa-search:before {
  content: "\f002";
}

.fa-book-open:before {
  content: "\f518";
}

.fa-chart-line:before {
  content: "\f201";
}

.fa-chess:before {
  content: "\f439";
}

.fa-star:before {
  content: "\f005";
}

.fa-chevron-left:before {
  content: "\f053";
}

.fa-map-marker-alt:before {
  content: "\f3c5";
}

.fa-check:before {
  content: "\f00c";
}  /* =============================================
           AJUSTES DO CABEÇALHO
           ============================================= */
        
        .site-header {
            background-color: #ffffff;
            color: #673AB7;
            padding: 15px 0;
            border-bottom: 4px solid #673AB7;
            position: sticky;
            top: 0;
            z-index: 1000;
            width: 100%;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
        }
        
        /* Logo à esquerda */
        .header-logo {
            display: flex;
            align-items: center;
            margin-right: auto;
        }
        
        .header-logo a {
            display: flex;
            align-items: center;
            text-decoration: none;
        }
        
        .header-logo img {
            width: 140px;
            height: 50px;
            object-fit: contain;
        }
        
        /* Navegação centralizada */
        .header-nav {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 1;
        }
        
        .nav-list {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            gap: 30px;
        }
        
        .nav-item {
            position: relative;
        }
        
        .nav-link {
            color: #4a0c6b;
            text-decoration: none;
            font-weight: 500;
            padding: 8px 0;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: color 0.3s;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-size: 0.95rem;
        }
        
        .nav-link:hover {
            color: #673AB7;
            text-decoration: none;
        }
        
        .nav-link i {
            color: #673AB7;
            font-size: 1rem;
        }
        
        .badge-pro {
            background-color: #ff6d00;
            color: #ffffff;
            font-size: 0.7rem;
            padding: 3px 8px;
            border-radius: 20px;
            margin-left: 8px;
            border: 1px solid #ff6d00;
        }
        
        /* Ações do usuário - botão à direita com espaçamento */
        .user-actions {
            display: flex;
            align-items: center;
            margin-left: 30px;
        }
        
        .btn-login {
            color: #673ab7;
            text-decoration: none;
            padding: 10px 25px;
            border: 2px solid #673AB7;
            border-radius: 50px;
            font-weight: 500;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            white-space: nowrap;
        }
        
        .btn-login:hover {
            background-color: #673AB7;
            color: #ffffff;
            border-color: #673AB7;
            text-decoration: none;
        }
        
        .btn-login:hover i {
            color: #ffffff;
        }
        
        /* Espaçamento extra entre Contato e o botão */
        .nav-item:last-child {
            margin-right: 20px;
        }
        
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            color: #4a0c6b;
            font-size: 1.8rem;
            cursor: pointer;
            padding: 5px;
            transition: color 0.3s;
            z-index: 1002;
        }
        
        .mobile-toggle:hover {
            color: #673AB7;
        }
        
        /* Botão de fechar no menu mobile */
        .mobile-close-btn {
            display: none;
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: #4a0c6b;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 10px;
            transition: color 0.3s;
            z-index: 1003;
        }
        
        .mobile-close-btn:hover {
            color: #673AB7;
        }
        
        /* Overlay para mobile */
        .nav-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s;
            backdrop-filter: blur(3px);
        }
        
        .nav-overlay.active {
            display: block;
            opacity: 1;
        }
        
        /* Media queries para mobile */
        @media (max-width: 992px) {
            .header-container {
                justify-content: space-between;
            }
            
            .header-logo {
                margin-right: 0;
            }
            
            .mobile-toggle {
                display: block;
                order: 2;
            }
            
            .mobile-close-btn {
                display: block;
            }
            
            .header-nav {
                position: fixed;
                top: 0;
                right: -350px;
                width: 300px;
                height: 100vh;
                background: white;
                box-shadow: -5px 0 30px rgba(0,0,0,0.15);
                transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                z-index: 1002;
                padding: 80px 20px 30px;
                overflow-y: auto;
                display: block;
                flex: none;
                justify-content: flex-start;
            }
            
            .header-nav.active {
                right: 0;
            }
            
            .nav-list {
                flex-direction: column;
                gap: 8px;
                margin-top: 20px;
            }
            
            .nav-item {
                width: 100%;
                margin-right: 0 !important;
            }
            
            .nav-item:last-child {
                margin-right: 0;
            }
            
            .nav-link {
                padding: 15px 20px;
                background: linear-gradient(135deg, #f8f9fa, #ffffff);
                border-radius: 12px;
                justify-content: flex-start;
                border: 1px solid rgba(106, 27, 154, 0.1);
                box-shadow: 0 2px 8px rgba(0,0,0,0.02);
            }
            
            .nav-link i {
                font-size: 1.2rem;
                width: 24px;
                text-align: center;
            }
            
            .nav-link:hover {
                background: linear-gradient(135deg, #f0f0f0, #ffffff);
                border-color: rgba(106, 27, 154, 0.3);
                transform: translateX(5px);
            }
            
            .user-actions {
                margin-left: 0;
                margin-top: 25px;
                padding-top: 20px;
                border-top: 1px solid rgba(106, 27, 154, 0.1);
                width: 100%;
            }
            
            .btn-login {
                width: 100%;
                justify-content: center;
            }
            
            .btn-login span {
                display: inline;
            }
        }
        
        @media (max-width: 768px) {
            .header-container {
                padding: 0 15px;
            }
            
            .header-logo img {
                width: 120px;
                height: 40px;
            }
            
            .header-nav {
                width: 280px;
                right: -320px;
            }
            
            .btn-login {
                padding: 10px 20px;
            }
        }
        
        body {
            margin: 0;
            padding: 0;
            font-family: 'Poppins', sans-serif;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        body.menu-open {
            overflow: hidden;
        }
        
        main {
            flex: 1;
        }
        
        /* =============================================
           MENSAGENS DE ALERTA
           ============================================= */
        .artigo-alert {
            position: relative;
            padding: 16px 20px;
            margin: 20px 0;
            border-radius: 12px;
            font-family: 'Poppins', sans-serif;
            font-size: 14px;
            line-height: 1.5;
            display: flex;
            align-items: center;
            gap: 12px;
            animation: slideInDown 0.5s ease;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .artigo-alert-success {
            background: linear-gradient(135deg, #28a745, #34ce57);
            color: white;
            border-left: 5px solid #1e7e34;
        }

        .artigo-alert-danger {
            background: linear-gradient(135deg, #dc3545, #ff6b6b);
            color: white;
            border-left: 5px solid #bd2130;
        }

        .artigo-alert-info {
            background: linear-gradient(135deg, #17a2b8, #3ab7d1);
            color: white;
            border-left: 5px solid #117a8b;
        }

        .artigo-alert-warning {
            background: linear-gradient(135deg, #ffc107, #ffdb5c);
            color: #856404;
            border-left: 5px solid #d39e00;
        }

        .artigo-alert i {
            font-size: 24px;
            min-width: 30px;
            text-align: center;
        }

        .artigo-alert-content {
            flex: 1;
        }

        .artigo-alert-close {
            background: none;
            border: none;
            color: inherit;
            font-size: 20px;
            cursor: pointer;
            opacity: 0.7;
            padding: 0 5px;
            transition: opacity 0.3s;
        }

        .artigo-alert-close:hover {
            opacity: 1;
        }

        @keyframes slideInDown {
            from {
                transform: translateY(-20px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .auto-hide {
            transition: opacity 0.4s ease, transform 0.4s ease;
        }

        .auto-hide.show {
            opacity: 1;
            transform: translateY(0);
        }

        .auto-hide:not(.show) {
            opacity: 0;
            transform: translateY(-20px);
            pointer-events: none;
        }

        /* =============================================
           AJUSTES PARA ALINHAMENTO DOS CARDS
           ============================================= */
        .artigo-card {
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .artigo-card-body {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .artigo-card-text {
            flex: 1;
            margin-bottom: 1.5rem;
        }
        
        .artigo-ler-mais-btn {
            align-self: flex-start;
            margin-top: auto;
        }
        
        /* Newsletter mantida no estilo original */
        .artigo-newsletter-container {
            background: linear-gradient(135deg, var(--white) 0%, var(--white) 100%);
            border-radius: 5px;
            padding: 2rem;
            color: #000000;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }
        
        .artigo-newsletter-content {
            position: relative;
            z-index: 1;
        }
        
        .artigo-newsletter-title {
            font-size: 1.2rem;
            color: #2d3748;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            line-height: 1.4;
        }
        
        .artigo-newsletter-description {
            color: #546379;
            margin-bottom: 1.5rem;
            line-height: 1.6;
            font-size: 13px;
        }
        
        .artigo-newsletter-form {
            margin-top: 1.5rem;
        }
        
        .artigo-newsletter-btn {
            background: #6a1b9a;
            border: 2px solid #6a1b9a;
            color: var(--white);
            font-weight: 600;
            padding: 0.875rem 1.5rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            margin-top: 1rem;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            position: relative;
            overflow: hidden;
        }
        
        .artigo-newsletter-btn:hover {
            background: #691b9af1;
            border-color: #6a1b9a;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(140, 0, 255, 0.3);
            color: var(--white);
        }
        
        .artigo-newsletter-privacy {
            font-size: 0.75rem;
            opacity: 0.7;
            text-align: center;
            margin-top: 1rem;
            line-height: 1.4;
        }
        
        /* Ajuste para tablets */
        @media (max-width: 1024px) {
            .artigo-sidebar-section {
                margin-top: 50px;
            }
        }
        
        /* SEU RODAPÉ ORIGINAL - PRESERVADO */
        .footer-temp {
            background-color: #ffffff;
            color: #673AB7;
            padding: 25px 0;
            text-align: center;
            margin-top: auto;
            border-top: 4px solid #673AB7;
        }
        
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .footer-logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: #000000;
            margin-bottom: 10px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .footer-text {
            flex: 1;
            text-align: center;
            margin-bottom: 15px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .footer-info {
            font-size: 0.9rem;
            opacity: 0.9;
            line-height: 1.5;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .footer-temp a {
            color: #000000;
            text-decoration: none;
            transition: color 0.3s;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .footer-temp a:hover {
            color: #673AB7;
            text-decoration: none;
        }
        
        .footer-badge {
            background-color: #ffffff;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.8rem;
            margin-top: 10px;
            display: inline-block;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #6a1b9a;
            border: 1px solid #ffffff;
        }
        
        .logo-img {
            width: 180px;
            height: auto;
            filter: brightness(0) invert(0);
        }
        
      /* Estilos que funcionam em qualquer tela */
        #consent-banner .banner-content {
            max-width: 1100px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }
        
        #consent-banner .banner-text {
            display: flex;
            align-items: center;
            gap: 12px;
            flex: 1;
        }
        
        #consent-banner .banner-text p {
            margin: 0;
            font-size: 13px;
            line-height: 1.4;
            opacity: 0.9;
        }
        
        #consent-banner .banner-actions {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-shrink: 0;
        }
        
        @media (max-width: 768px) {
            #consent-banner .banner-content {
                flex-direction: column;
                align-items: stretch;
            }
            
            #consent-banner .banner-text {
                flex-direction: column;
                text-align: center;
            }
            
            #consent-banner .banner-text > div:first-child {
                display: none;
            }
            
            #consent-banner .banner-text p {
                font-size: 13px;
                white-space: normal;
                word-break: break-word;
            }
            
            #consent-banner .banner-actions {
                flex-direction: column;
                width: 100%;
            }
            
            #consent-banner .banner-actions a {
                width: 100%;
                text-align: center;
                justify-content: center;
            }
            
            #consent-banner .banner-actions div {
                width: 100%;
                display: flex;
                gap: 8px;
            }
            
            #consent-banner button {
                flex: 1;
            }
        }
        
        @media (max-width: 480px) {
            #consent-banner .banner-actions div {
                flex-direction: column;
            }
            
            #consent-banner button {
                width: 100%;
            }
        }