   :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);
    }
    
    a {
      color: inherit;
      text-decoration: none;
    }
    
    /* Container (substitui o .container do Bootstrap) */
    .container {
      width: 100%;
      padding-right: 15px;
      padding-left: 15px;
      margin-right: auto;
      margin-left: auto;
    }
    
    @media (min-width: 576px) {
      .container {
        max-width: 540px;
      }
    }
    
    @media (min-width: 768px) {
      .container {
        max-width: 720px;
      }
    }
    
    @media (min-width: 992px) {
      .container {
        max-width: 960px;
      }
    }
    
    @media (min-width: 1200px) {
      .container {
        max-width: 1140px;
      }
    }
    
    /* Row (substitui o .row do Bootstrap) */
    .row {
      display: flex;
      flex-wrap: wrap;
      margin-right: -15px;
      margin-left: -15px;
    }
    
    /* Colunas (substitui o .col-* do Bootstrap) */
    .col-lg-10 {
      position: relative;
      width: 100%;
      padding-right: 15px;
      padding-left: 15px;
    }
    
    @media (min-width: 992px) {
      .col-lg-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
      }
    }
    
    /* Utilitários de alinhamento (substituem classes do Bootstrap) */
    .justify-content-center {
      justify-content: center !important;
    }
    
    .text-center {
      text-align: center !important;
    }
    
    /* Estrutura principal com sidebar */
    .main-container {
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 2rem;
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 1rem;
    }
    
    .content-wrapper {
      max-width: 100%;
    }
    
    .article-sidebar {
      position: sticky;
      top: 75px;
      height: fit-content;
      padding: 1rem 0;
    }
    
    /* Widgets da sidebar */
    .sidebar-widget {
      background: var(--white);
      border-radius: 5px;
      padding: 1.5rem;
      margin-bottom: 2rem;
      box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    }
    
    .sidebar-title {
      font-size: 1.2rem;
      color: #2d3748;
      margin-bottom: 1.5rem;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid rgba(106, 27, 154, 0.1);
      line-height: 1.4;
    }
    
    .article-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .article-list li {
      margin-bottom: 1rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid rgba(0,0,0,0.05);
      line-height: 1.6;
    }
    
    .article-list li:last-child {
      margin-bottom: 0;
      padding-bottom: 0;
      border-bottom: none;
    }
    
    .article-list a {
      color: var(--dark-text);
      text-decoration: none;
      transition: color 0.3s ease;
      display: block;
      line-height: 1.8;
    }
    
    .article-list a:hover {
      color: var(--primary-color);
    }
    
    .article-meta-sidebar {
      font-size: 0.8rem;
      color: var(--light-text);
      margin-top: 0.3rem;
      line-height: 1.4;
    }
    
    /* Newsletter Widget - ESTILOS ATUALIZADOS */
    .newsletter-widget {
      background: #fff;
      color: #fff;
    }
    
    .newsletter-widget .sidebar-title {
      color: #2d3748;
      border-bottom-color: rgba(255,255,255,0.2);
    }
    
    .newsletter-widget p {
    color: #546379;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 13px;
    }
    
    .newsletter-form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    
    .newsletter-form input {
      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: 254px;
    }
    
    .newsletter-form input::placeholder {
      color: rgba(0, 0, 0, 0.7);
    }
    
    .newsletter-form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.1);
  outline: none;
    }
    
    .newsletter-form button {
      background: #6a1b9a;
      color: var(--white);
      border: none;
      padding: 0.8rem;
      border-radius: 5px;
      font-family: 'Poppins', sans-serif;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
      line-height: 1.5;
    }
    
    .newsletter-form button:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px #691b9a6c;
    }
    
    /* Mensagens de alerta */
    .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;
    }
    
    .alert.show {
      transform: translateY(0);
      opacity: 1;
      max-height: 200px;
    }
    
    .alert.auto-hide {
      animation: slideOut 0.4s ease-in-out 5s forwards;
    }
    
    @keyframes 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;
      }
    }
    
    .alert-success {
      color: #0f5132;
      background-color: #d1e7dd;
      border-color: #badbcc;
    }
    
    .alert-danger {
      color: #721c24;
      background-color: #f8d7da;
      border-color: #f5c6cb;
    }
    
    .alert-info {
      color: #055160;
      background-color: #cff4fc;
      border-color: #b6effb;
    }
    
    .geo-info {
      font-size: 0.7rem;
      opacity: 0.6;
      text-align: center;
      margin-top: 0.5rem;
      font-style: italic;
      color: rgba(0, 0, 0, 0.7);
    }
    
    /* Barra de progresso */
    .progress-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 5px;
      background: transparent;
      z-index: 1000;
    }
    
    .progress-bar {
      height: 100%;
      background: var(--gradient);
      width: 0%;
      transition: width 0.1s ease-out;
    }
    
    /* Cabeçalho do artigo */
    .article-header {
      background: var(--white);
      padding: 1.5rem 0;
      margin-bottom: 3rem;
      box-shadow: 0 5px 30px rgba(0,0,0,0.05);
      border-bottom: 1px solid rgba(0,0,0,0.05);
      grid-column: 1 / -1;
    }
    
    .article-title {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 1rem;
      line-height: 1.3;
    }
    
    .article-meta {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 1.5rem;
      margin-bottom: 1.5rem;
      line-height: 1.6;
    }
    
    .meta-item {
      display: flex;
      align-items: center;
      font-size: 0.95rem;
      color: var(--light-text);
      line-height: 1.4;
    }
    
    .meta-item i {
      margin-right: 8px;
      color: var(--primary-color);
    }
    
    .article-image {
      width: 100%;
      height: 500px;
      object-fit: cover;
      border-radius: 5px;
      margin: 2rem 0;
      box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }
    
    /* Conteúdo do artigo */
    .article-content {
      max-width: 800px;
      margin: 0 auto;
      padding: 0 1rem;
      line-height: 1.8;
    }
    
    .article-content p {
      margin-bottom: 1.5rem;
      font-size: 1.1rem;
      color: var(--dark-text);
    }
    
    .article-content h2, 
    .article-content h3, 
    .article-content h4 {
      color: var(--primary-dark);
      margin: 2.5rem 0 1.5rem;
      font-weight: 600;
      line-height: 1.3;
    }
    
    .article-content h2 {
      font-size: 1.8rem;
      border-bottom: 2px solid rgba(106, 27, 154, 0.1);
      padding-bottom: 0.5rem;
    }
    
    .article-content h3 {
      font-size: 1.5rem;
    }
    
    .article-content h4 {
      font-size: 1.3rem;
    }
    
    .article-content blockquote {
      border-left: 4px solid var(--primary-color);
      padding: 1rem 1.5rem;
      margin: 2rem 0;
      background: rgba(106, 27, 154, 0.05);
      font-style: italic;
      color: var(--primary-dark);
      line-height: 1.6;
    }
    
    .article-content ul, 
    .article-content ol {
      margin-bottom: 1.5rem;
      padding-left: 1.5rem;
    }
    
    .article-content li {
      margin-bottom: 0.5rem;
    }
    
    .article-content img {
      max-width: 100%;
      height: auto;
      border-radius: 5px;
      margin: 2rem auto;
      display: block;
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    /* Seção de compartilhamento */
    .share-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 3rem 0;
    /* padding: 2rem; */
    /* background: var(--white); */
    border-radius: 5px;
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); */
    }
 
    .share-title {
      margin: 0;
      font-size: 1.1rem;
      color: var(--dark-text);
      line-height: 1.4;
    }
    
    .share-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      color: var(--white);
      font-size: 1rem;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      line-height: 1;
    }
    
    .share-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
    .share-btn.facebook {
      background: #3b5998;
    }
    
    .share-btn.twitter {
      background: #000000;
    }
    
    .share-btn.linkedin {
      background: #0077b5;
    }
    
    .share-btn.whatsapp {
      background: #25d366;
    }
    
    .share-btn.instagram {
      background: #E1306C;
    }
    
    /* Seção de planilhas recomendadas */
    .planilhas-section {
      background: var(--white);
      padding: 2rem;
      margin: 3rem auto;
      border-radius: 5px;
      box-shadow: 0 5px 20px rgba(0,0,0,0.05);
      max-width: 800px;
    }
    
   .planilhas-title {
    font-size: 1.5rem;      /* mesmo tamanho do h3 */
    font-weight: 600;       /* mesmo peso */
    color: #333;           /* mesma cor */
    margin-bottom: 1.0rem;   /* mesmo espaçamento */
    display: block;        /* comportamento de bloco */
}
    
    .planilhas-grid {
      display: grid;
      /*grid-template-columns: repeat(3, 1fr);*/
      gap: 1rem;
    }
    
    .planilha-link {
      display: block;
      padding: 1rem;
      background: var(--light-bg);
      border-radius: 5px;
      text-align: center;
      color: var(--primary-dark);
      text-decoration: none;
      transition: all 0.3s ease;
      line-height: 1.4;
      margin-top: 5px;
    }
    
    .planilha-link:hover {
      background: var(--primary-color);
      color: var(--white);
      transform: translateY(-3px);
    }
    
    /* Rodapé do artigo */
    .article-footer {
      background: var(--white);
      padding: 3rem 0;
      margin-top: 3rem;
      border-top: 1px solid rgba(0,0,0,0.05);
      grid-column: 1 / -1;
    }
    
    .back-to-articles {
      display: inline-flex;
      align-items: center;
      color: var(--primary-color);
      font-weight: 500;
      text-decoration: none;
      transition: transform 0.3s ease;
      line-height: 1.4;
    }
    
    .back-to-articles i {
      margin-right: 8px;
      transition: transform 0.3s ease;
    }
    
    .back-to-articles:hover {
      color: var(--primary-dark);
      transform: translateX(-5px);
    }
    
    .back-to-articles:hover i {
      transform: translateX(-3px);
    }
    
    /* Responsividade */
    @media (max-width: 1200px) {
      .main-container {
        grid-template-columns: 1fr;
      }
      
      .article-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        position: static;
      }
      
      .sidebar-widget {
        margin-bottom: 0;
      }
    }
    
    @media (max-width: 992px) {
      .article-title {
        font-size: 2.2rem;
      }
      
      .article-image {
        height: 400px;
      }
    }
    
    @media (max-width: 768px) {
      .article-header {
        padding: 2rem 0;
      }
      
      .article-title {
        font-size: 1.8rem;
      }
      
      .article-image {
        height: 300px;
      }
      
      .article-content {
        line-height: 1.7;
      }
      
      .article-content p {
        font-size: 1rem;
      }
      
      .article-content h2 {
        font-size: 1.5rem;
      }
      
      .article-content h3 {
        font-size: 1.3rem;
      }
      
      .planilhas-grid {
        grid-template-columns: 1fr;
      }
      
      .article-sidebar {
        grid-template-columns: 1fr;
      }
    }
    
    @media (max-width: 576px) {
      .article-title {
        font-size: 1.5rem;
      }
      
      .article-image {
        height: 250px;
      }
      
      .meta-item {
        font-size: 0.85rem;
      }
      
      .article-meta {
        gap: 1rem;
      }
      
      .article-content {
        line-height: 1.6;
      }
    }
    
    /* Efeitos especiais */
    .highlight-box {
      background: linear-gradient(135deg, rgba(106, 27, 154, 0.05) 0%, rgba(255, 255, 255, 0.8) 100%);
      border-left: 4px solid var(--primary-color);
      padding: 1.5rem;
      margin: 2rem 0;
      border-radius: 0 5px 5px 0;
      line-height: 1.6;
    }
    
    .tooltip-icon {
      display: inline-block;
      width: 20px;
      height: 20px;
      background-color: var(--primary-color);
      color: var(--white);
      border-radius: 50%;
      text-align: center;
      line-height: 20px;
      font-size: 0.7rem;
      margin-left: 5px;
      cursor: pointer;
      position: relative;
    }
    
    .tooltip-icon:hover::after {
      content: attr(data-tooltip);
      position: absolute;
      bottom: 100%;
      left: 50%;
      transform: translateX(-50%);
      background: var(--dark-text);
      color: var(--white);
      padding: 5px 10px;
      border-radius: 5px;
      font-size: 0.8rem;
      white-space: nowrap;
      margin-bottom: 5px;
    }
    
    /* Utilitários para substituir classes do Bootstrap */
    .me-2 {
      margin-right: 0.5rem !important;
    }
    
    .d-flex {
      display: flex !important;
    }
    
    .align-items-center {
      align-items: center !important;
    }
    
    .flex-wrap {
      flex-wrap: wrap !important;
    }

    /* Scroll suave para o formulário */
    html {
      scroll-behavior: smooth;
    }
    
    /* Newsletter Widget - ESTILOS ATUALIZADOS */
.newsletter-widget {
  background: #fff;
  color: #fff;
}

.newsletter-widget .sidebar-title {
  color: #2d3748;
  border-bottom-color: rgba(255,255,255,0.2);
}

.newsletter-widget p {
  color: #546379;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 13px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form input {
  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: 100%; /* MUDADO DE 254px PARA 100% */
  box-sizing: border-box; /* GARANTE QUE O PADDING NÃO AUMENTE A LARGURA */
}

.newsletter-form input::placeholder {
  color: rgba(0, 0, 0, 0.7);
}

.newsletter-form input:focus {
 border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.1);
  outline: none;
}

.newsletter-form button {
  background: #6a1b9a;
  color: var(--white);
  border: none;
  padding: 0.8rem;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1.5;
  width: 100%; /* GARANTE QUE O BOTÃO TAMBÉM TENHA 100% */
  box-sizing: border-box;
}

.newsletter-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px #691b9a6c;
}

/* AJUSTE ESPECÍFICO PARA MOBILE - GARANTE QUE OS INPUTS FIQUEM DO MESMO TAMANHO DO BOTÃO */
@media (max-width: 768px) {
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* GARANTE QUE O CONTAINER DO FORMULÁRIO NÃO RESTRINJA A LARGURA */
  .newsletter-form {
    width: 100%;
  }
  
  /* GARANTE QUE O WIDGET NÃO RESTRINJA A LARGURA */
  .newsletter-widget {
    width: 100%;
    padding: 1.5rem;
    box-sizing: border-box;
  }
}

/* AJUSTE PARA TELAS MUITO PEQUENAS */
@media (max-width: 480px) {
  .newsletter-form input,
  .newsletter-form button {
    font-size: 14px;
    padding: 0.7rem;
  }
}  /* =============================================
           CABEÇALHO COM CORES DO RODAPÉ
           ============================================= */
        
        .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;
            gap: 10px;
        }
        
        .header-logo img {
            width: 140px;
            height: 50px;
            object-fit: contain;
        }
        
        .header-logo-text {
            font-size: 1.5rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: 1px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .header-logo-text span {
            color: #673AB7;
        }
        
        /* 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;
        }
        
        /* Espaçamento entre Contato e o botão */
        .nav-item:last-child {
            margin-right: 20px;
        }
        
        /* Ações do usuário - botão à direita */
        .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 i {
            color: #673AB7;
        }
        
        .btn-login:hover i {
            color: #ffffff;
        }
        
        .btn-cadastro {
            background-color: #673AB7;
            color: #ffffff;
            text-decoration: none;
            padding: 8px 20px;
            border-radius: 50px;
            font-weight: 500;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s;
            border: 2px solid #673AB7;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .btn-cadastro:hover {
            background-color: #512da8;
            border-color: #512da8;
            transform: translateY(-2px);
            text-decoration: none;
            color: #ffffff;
        }
        
        .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 (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: 10px;
            }
            
            .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.menu-open {
            overflow: hidden;
        }
        
        main {
            flex: 1;
        }
        
        /* Ajuste para mobile */
        @media (max-width: 768px) {
            .main-container {
                grid-template-columns: 1fr;
            }
        }
        
        /* 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);
        }
        
              .article-image-container {
            margin: 40px 0;
            text-align: center;
            clear: both;
        }
        
        .article-content-image {
            max-width: 100%;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .article-content-image:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 35px rgba(0,0,0,0.2);
        }
        
        .image-caption {
            margin-top: 15px;
            font-size: 0.95rem;
            color: #666;
            font-style: italic;
            text-align: center;
            line-height: 1.5;
        }
        
        /* Garantir que o conteúdo flua bem */
        .article-content {
            line-height: 1.8;
        }
        
        .article-content p {
            margin-bottom: 25px;
        }
        
        .article-content h1, 
        .article-content h2, 
        .article-content h3, 
        .article-content h4, 
        .article-content h5, 
        .article-content h6 {
            margin: 30px 0 20px;
            font-weight: 600;
            clear: both;
        }
        
        .article-content h3 {
            font-size: 1.5rem;
            color: #333;
            border-left: 4px solid #ff6d00;
            padding-left: 15px;
        }
        
        /* Estilos para a seção de vídeo */
        .video-section {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 20px;
            padding: 40px 30px;
            margin: 50px 0 30px;
            color: white;
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
            position: relative;
            overflow: hidden;
        }
        
        .video-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: rotate 20s linear infinite;
        }
        
        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        .video-header {
            text-align: center;
            margin-bottom: 30px;
            position: relative;
            z-index: 1;
        }
        
        .video-header h3 {
            color: white;
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 10px;
            border: none;
            padding: 0;
        }
        
        .video-header p {
            color: rgba(255,255,255,0.9);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .video-wrapper {
            position: relative;
            z-index: 1;
            max-width: 800px;
            margin: 0 auto;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 30px 60px rgba(0,0,0,0.3);
            border: 4px solid rgba(255,255,255,0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .video-wrapper:hover {
            transform: translateY(-5px);
            box-shadow: 0 40px 80px rgba(0,0,0,0.4);
            border-color: rgba(255,255,255,0.3);
        }
        
        .video-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 */
            height: 0;
            overflow: hidden;
            background: #000;
        }
        
        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }
        
        .video-badge {
            display: inline-block;
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(5px);
            padding: 8px 20px;
            border-radius: 50px;
            margin-bottom: 0px;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            border: 1px solid rgba(255,255,255,0.3);
        }
        
        .video-footer {
            text-align: center;
            margin-top: 25px;
            position: relative;
            z-index: 1;
        }
        
        .video-footer a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            padding: 10px 25px;
            background: rgba(255,255,255,0.15);
            border-radius: 50px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            border: 1px solid rgba(255,255,255,0.3);
        }
        
        .video-footer a:hover {
            background: rgba(255,255,255,0.25);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .video-footer i {
            font-size: 1.2rem;
        }
        
        @media (max-width: 768px) {
            .video-section {
                padding: 30px 20px;
                margin: 30px 0 20px;
            }
            
            .video-header h3 {
                font-size: 1.5rem;
            }
            
            .video-header p {
                font-size: 1rem;
            }
            
            .video-wrapper {
                border-width: 2px;
            }
        }
        
        /* Estilos para o campo de busca */
        .search-container {
            position: relative;
            width: 100%;
        }
        
        .search-form {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            border: 1px solid #673ab7;
            transition: all 0.3s ease;
        }
        
        .search-form:hover,
        .search-form:focus-within {
            background: rgba(255,255,255,0.15);
            border-color: 1px solid #673ab7;
            box-shadow: 0 0 15px rgba(0,0,0,0.1);
        }
        
        .search-input {
            background: transparent;
            border: none;
            padding: 10px 15px;
            color: #673ab7;
            font-size: 0.84rem;
            width: 320px;
            transition: width 0.3s ease;
        }
        
        .search-input:focus {
            outline: none;
            width: 350px;
        }
        
        .search-input::placeholder {
            color: #673ab7;
        }
        
        .search-button {
            background: transparent;
            border: none;
            padding: 7px 15px;
            color: #673ab7;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        
        .search-button:hover {
            transform: scale(1.1);
        }
        
        .search-button i {
            font-size: 1.1rem;
        }
        
        /* Resultados da busca */
        .search-results {
            position: absolute;
            top: 100%;
            right: 0;
            width: 400px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.15);
            margin-top: 1px;
            overflow: hidden;
            z-index: 1000;
            display: none;
            border: 1px solid rgba(0,0,0,0.1);
        }
        
        .search-results.active {
            display: block;
            animation: slideDown 0.3s ease;
        }
        
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .search-results-header {
            padding: 15px 20px;
            background: #673AB7;
            border-bottom: 1px solid #eee;
            font-weight: 600;
            color: #ffffff;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .search-results-header small {
            font-weight: normal;
            color: #fff;
            font-size: 0.85rem;
        }
        
        .search-results-list {
            max-height: 400px;
            overflow-y: auto;
        }
        
        .search-result-item {
            display: block;
            padding: 15px 20px;
            border-bottom: 1px solid #eee;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .search-result-item:hover {
            background: #f8f9fa;
            transform: translateX(5px);
        }
        
        .search-result-title {
            font-weight: 600;
            color: #333;
            margin-bottom: 5px;
            font-size: 1rem;
        }
        
        .search-result-title mark {
            background: #fff3cd;
            color: #856404;
            padding: 0 2px;
            border-radius: 3px;
        }
        
        .search-result-meta {
            font-size: 0.85rem;
            color: #666;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .search-result-meta i {
            color: #ff6d00;
            font-size: 0.8rem;
        }
        
        .search-no-results {
            padding: 30px 20px;
            text-align: center;
            color: #666;
        }
        
        .search-no-results i {
            font-size: 2rem;
            color: #ccc;
            margin-bottom: 10px;
        }
        
        .search-loading {
            padding: 30px 20px;
            text-align: center;
            color: #666;
        }
        
        .search-loading i {
            font-size: 2rem;
            color: #ff6d00;
            margin-bottom: 10px;
        }
        
        /* Ajustes para mobile - versão melhorada */
        @media (max-width: 992px) {
            .search-container {
                margin: 10px 0 10px;
                width: 100%;
                position: relative;
            }
            
            .search-form {
                width: 100%;
                background: white;
            }
            
            .search-input {
                width: 100%;
                color: #333;
            }
            
            .search-input:focus {
                width: 100%;
            }
            
            .search-input::placeholder {
                color: #999;
            }
            
            .search-button {

                border-radius: 0 10px 10px 0;
                padding: 10px 20px;
            }
            
            .search-results {
                position: relative;
                top: 0;
                left: 0;
                right: 0;
                width: 100%;
                max-height: 0;
                opacity: 0;
                overflow: hidden;
                transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.2s ease;
                box-shadow: 0 5px 20px rgba(0,0,0,0.1);
                border: 1px solid #e0e0e0;
                margin-top: 0;
                border-radius: 10px;
            }
            
            .search-results.active {
                max-height: 70vh;
                opacity: 1;
                margin-top: 8px;
                animation: none;
                display: block;
            }
            
            .search-results-header {
                padding: 12px 15px;
                background: #673AB7;
            }
            
            .search-results-list {
                max-height: calc(70vh - 110px);
            }
            
            .search-result-item {
                padding: 12px 15px;
            }
            
            .search-result-item:active {
                background: #f0f0f0;
            }
            
            /* Ajuste para empurrar os itens do menu */
            .nav-list {
                transition: transform 0.3s ease;
                will-change: transform;
            }
            
            .search-results.active ~ .nav-item,
            .search-results.active ~ * {
                transform: translateY(var(--results-height, 0));
            }
        }
        
        /* Ajuste fino para tablets */
        @media (min-width: 769px) and (max-width: 992px) {
            .search-results.active {
                max-height: 60vh;
            }
            
            .search-results-list {
                max-height: calc(60vh - 110px);
            }
        }
        
       /* 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%;
            }
        }