/* ==========================================================================
   VARIÁVEIS E RESET
   ========================================================================== */
:root {
  --primary: #296f91;
  --primary-dark: #7cc8c6;
  --bg-soft: #f4f7f8;
  --text-main: #334155;
  --text-bold: #1e293b;
  --white: #ffffff;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-soft);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-soft);
  color: var(--text-main);
  line-height: 1.6;
}

/* ================= HEADER & NAV ================= */
header {
  background: var(--white);
  padding: 1rem 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none; 
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.85; 
}

.logo-img {
  height: 60px; 
  width: auto;
  display: block;
}


.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.logo-highlight {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark); 
  letter-spacing: -0.5px;
}


.logo-text p {
  font-size: 0.75rem;
  color: #1e3a5f;
  margin: 0;

}


.logo-text p span {
  color: var(--text-bold);
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.btn-contact {
  background: var(--primary);
  color: white !important;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
}

.btn-contact:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}



main {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30Px;
}
.artigo_layout {
    width: 100%;
    padding: 25px;
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.artigo_layout:hover {
    transform: translateY(-4px);
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(41, 111, 145, 0.08);
}

.artigo_layout a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.titulo_artigo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-bold);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.artigo_layout:hover .titulo_artigo {
    color: var(--primary);
}

.esp_artigo p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}


.scroll-box {
    height: 600px;
    overflow-y: auto;
    background: #f8fafc;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.02);
}


.separador {
    display: none; 
}


main h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin: 20px 0;
    padding-left: 10px;
    border-left: 5px solid var(--primary);
}

.scroll-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.esp_artigo span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap; 
}

.esp_artigo i {
    color: var(--primary);
}


.artigo_layout a {
    text-decoration: none;
    display: block;
}



footer {
  background: var(--text-bold);
  color: #94a3b8;
  padding: 4rem 5% 2rem;
  text-align: center;
}

.menu-mobile-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 480px) {
  
      .menu-mobile-btn { display: block; }
  .logo-img {
    height: 50px;
  }
  
  .logo-text p {
    font-size: 0.65rem; 
  }
  
  .logo-highlight {
    font-size: 1.1rem;
  }
}


/* ==========================================================================
   RESPONSIVA 
   ========================================================================== */

@media (max-width: 992px) {
     @media (max-width: 992px) {
    .menu-mobile-btn {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        display: flex; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 0; 
        gap: 0;
        max-height: 0; 
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

 
    .nav-links.active {
        max-height: 500px; 
        opacity: 1;
        padding: 1.5rem 0;
        gap: 1rem;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        width: 100%;
    }
  }
    main {
        padding: 10px;
        margin-top: 15px;
        width: 100%;
    }

    .scroll-box {
        height: auto; 
        max-height: 550px;
        padding: 10px;
        width: 100%;
        overflow-x: hidden; 
    }

    .artigo_layout {
        padding: 15px;
        width: 100%; 
    }

    .titulo_artigo {
        font-size: 1.1rem;
    }

  .esp_artigo p {
    display: flex;         
    flex-wrap: wrap;      
    gap: 5px 12px;        
    font-size: 0.75rem;    
    width: 100%;          
    overflow-wrap: break-word; 
    word-break: break-word;
}

.esp_artigo span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: normal;  
    max-width: 100%;     
}
}

@media (max-width: 480px) {
    .logo-highlight {
        font-size: 1.1rem;
    }
}