:root {
    --primary: #AFB48D;
    --secondary: #EAF0E1;
    --text: #4A4A4A;
    --white: #FFFFFF;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius: 15px;
    --container: 1200px;
  }
  
  /* Base Styles */

  .note {
    color: #979797;
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 2rem;
  }

.note::before {
    content: '*';
    color: var(--primary);
    font-weight: bold;
    margin-right: 4px;
  }
  
.logo-container {
  text-decoration: none;
  color: var(--white);
}

.logo-container:hover {
  opacity: 0.9;
}

  body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  
  section {
    padding: 4rem;
  }

  .btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.3s;
  }
      
  .btn:hover {
    transform: translateY(-2px);
  }
  
  /* Header */
  header {
    background: var(--primary);
    padding: 1.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    color: var(--white);
    box-sizing: border-box;
  }

  header img {
    width: 35px;
    border-radius: 50%;
    border: 2px solid var(--white);
  }

  header .logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 500;
    white-space: nowrap;
    flex: 1;
  }


  header .btn {
    background-color: var(--secondary);
    color: var(--text);
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 3vw, 2rem);
    white-space: nowrap;
  }

  header .btn:hover {
    background-color: #D8DED0;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-inline: auto;
    max-width: var(--container);
    gap: 2rem;
  }
  
  /* Hero Section */
  .hero {
    min-height: 90vh;
    background: var(--secondary);
    display: flex;
    align-items: center;
    padding: 2rem;
    padding-top: 80px;
    font-size: 1.2rem;
    color: #666;
  }

  .hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: var(--container);
    margin: 0 auto;
  }

  .hero-text {
    flex: 1;
    text-align: left;
  }
  
  .hero-text h1 {
    color: var(--text);
    font-weight: 300;
    font-size: 2.8rem;
    line-height: 1.2;
  }
  
  .hero-text h2 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 300;
  }
  
  .hero-image {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 500px;
  }
  
  /* Profile Section */
  .profile {
    display: flex;
    gap: 5rem;
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
  }
  
  .profile img {
    width: min(300px, 70vw);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow);
  }
  
 
  /* Services Section */
  .services {
    max-width: var(--container);
    margin: 0 auto;
    padding: 4rem 2rem;
    
  }
  .services h2 {
    font-size: 1.5rem;
    color: var(--text);
    text-align: center;
  }

  .services > p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
  }

  .service-list {
    background: var(--secondary);
    padding: 3rem;
    border-radius: var(--radius);
    margin: 3rem 0;
    box-shadow: var(--shadow);
  }

  .service-list h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 500;
  }

  .service-list ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
  }

  .service-list li {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
  }

  .service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    flex: 1;
  }

  .service-description {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-left: 0;
    padding-right: 0;
    margin-top: 0;
    padding-top: 0;
  }

  .service-item.expanded .service-description {
    max-height: 300px;
    opacity: 1;
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .service-list li i,
  .service-list li svg {
    font-size: 1.5rem;
    color: var(--primary);
    padding: 0.8rem;
    background: var(--secondary);
    border-radius: 8px;
    min-width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .service-list li:hover {
    transform: translateY(-3px);
  }

  .service-list li:hover i,
  .service-list li:hover svg {
    background: var(--primary);
    color: var(--white);
    transform: rotate(5deg);
  }

  .service-list .service-title {
    font-weight: 600;
  }

  .service-list .service-text {
    flex: 1;
  }

  .service-list .service-text h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 500;
  }

  .service-list .service-text p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
  }

  .service-details {
    max-width: calc(var(--container) - 200px);
    margin: 5rem auto 0;
    padding: 0 2rem;  /* Add padding instead of using margins */
  }

  .service-details h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 500;
  }

  .service-details h4 {
    color: var(--text);
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    font-weight: 500;
  }

  .service-details p {
    color: #666;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary);
  }

  #btn-duvidas {
    margin-top: 5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  }
  /* Chat Service Section */
  .chat-service {
    background: var(--secondary);
    text-align: center;
  }

  .chat-container {
    max-width: 800px;
    margin: 0 auto;
  }

  .chat-service i.fa-comments {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
  }

  .chat-service h2 {
    color: var(--text);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .chat-service p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .chat-service .highlight {
    color: var(--primary);
    font-weight: 500;
    margin: 1.5rem 0;
  }

  .chat-btn {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .chat-btn i {
    font-size: 1.2rem;
  }



   /* Articles Section */
   .articles {
    max-width: var(--container);
    margin: 0 auto;
    padding: 4rem 2rem;
  }

  .articles h2 {
    font-size: 1.8rem;
    color: var(--text);
    text-align: center;
    margin-bottom: 2rem;
  }

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

  .article-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: var(--text);
  }

  .article-card:hover {
    transform: translateY(-5px);
  }

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

  .article-content {
    padding: 1.5rem;
  }

  .article-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .article-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--primary);
  }

  .article-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .articles .btn {
    display: block;
    margin: 0 auto;
    width: fit-content;
  }
   /* Contact Section */
   .contact {
    text-align: center;
    padding-top: 0;
  }
  
  .contact-list {
    background: var(--secondary);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: var(--text);
    transition: color 0.3s;
    word-break: break-all;
    overflow-wrap: break-word;
  }
  
  .contact-item:hover {
    color: var(--primary);
  }
  
  .contact-item span {
    flex: 1;
    min-width: 0;
  }
  
  /* Footer */
  footer {
    background: var(--primary);
    color: var(--white);
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
  }
  
  /* Base visibility classes */
  .desktop {
    display: block;
  }

  .mobile {
    display: none;
  }

  /* Media Queries */
  @media (max-width: 768px) {
    section {
      padding: 2rem 1rem;
    }

    .desktop {
      display: none;
    }
    
    .mobile {
      display: block;
    }

    .hero-container {
      flex-direction: column;
      gap: 2rem;
      text-align: center;
    }

    .hero-image {
      display: none;  /* Hide congress image on mobile */
    }

    .profile {
      flex-direction: column;
      text-align: center;
      gap: 2rem;
    }

    .services {
      padding: 2rem 1rem;
    }
    
    .service-list {
      padding: 2rem 1rem;
    }
    
    .service-list ul {
      grid-template-columns: 1fr;
    }

    header .logo-container {
      gap: 0.5rem;
    }

    .chat-service {
      padding: 2rem 1rem;
    }
    
    .chat-service h2 {
      font-size: 1.5rem;
    }

    nav {
        gap: 1rem;
    }

    .contact-list {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    .articles {
      padding: 2rem 1rem;
    }
    
    .articles-grid {
      grid-template-columns: 1fr;
    }
  }
  

  
  

  