   :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: 20px;
      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 {
      outline: none;
      border-color: var(--secondary-color);
      background: rgba(255,255,255,0.15);
    }
    
    .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.3rem;
      color: var(--primary-dark);
      margin-bottom: 1.5rem;
      text-align: center;
      line-height: 1.4;
    }
    
    .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;
    }
    
    .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;
    }