

:root {
  --primary-color: #006815;
  --primary-dark: #004f10;
  --primary-light: #e8f5e9;
  --accent-color: #03bd28;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --bg-white: #ffffff;
  --bg-light: #f8faf8;
  --shadow-sm: 0 2px 8px rgba(0, 104, 21, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 104, 21, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 104, 21, 0.15);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-section {
  background-image: url('../imagens/sinodal.png'); 
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 800px;
  margin:0px;
}


.editorial-info {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-top: -20px;
  padding: 30px;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.editorial-image {
  flex: 0 0 220px;
  text-align: center;
}

.editorial-image img {
  width: 250px;
  height: 250px;
  margin-top:50px;
  object-fit: cover;
  align-items: center;
  box-shadow: var(--shadow-sm);
  justify-content: center;
  transition: transform 0.3s ease;
  display: flex;
}

.editorial-image img:hover {
  transform: scale(1.05);
}

.editorial-image p {
  margin-top: 10px;
  margin-right: 20px;     
  font-weight: 500;
  color: var(--primary-color);
  font-size: 1rem;
  line-height: 1.3;

}

.editorial-text {
  flex: 1;
}

.editorial-text .intro-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  text-align: justify;
}

.div-expediente{
  margin:0px;
  padding:0px;
  border:0px;
}
.expediente-image{
  max-width: 180px;
  height: auto;
  display: relative;
  justify-content: left;
  align-items: left;
}
.director-info {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-top:-20px;     
  padding: 30px;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.director-image {
  flex: 0 0 220px; 
  text-align: center;
}

.director-image img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--primary-light);
  transition: transform 0.3s ease;
}

.director-image img:hover {
  transform: scale(1.05);
}

.director-image p {
  margin-top: 10px;
  font-weight: 500;
  color: var(--primary-color);
  font-size: 1rem;
  line-height: 1.3;
}

.director-text {
  flex: 1;
}

.director-text .intro-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  text-align: justify;
}

.section-words {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--primary-color);
   margin: 0px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  margin-top:40px;
}

.section-words::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-light);
  margin: 6px auto 0;
  border-radius: 2px;
}

.coordination-info {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-top: -20px;
  padding: 30px;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.coordination-image {
  flex: 0 0 220px;
  text-align: center;
}

.coordination-image img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--primary-light);
  transition: transform 0.3s ease;
}

.coordination-image img:hover {
  transform: scale(1.05);
}

.coordination-image p {
  margin-top: 10px;
  font-weight: 500;
  color: var(--primary-color);
  font-size: 1rem;
  line-height: 1.3;
}

.coordination-text {
  flex: 1;
}

.coordination-text .intro-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  text-align: justify;
}

.section-words2 {                           
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--primary-color);
   margin-top:60px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  text-align: right;
  ;
}


.indicator {
  width: 10px;
  height: 10px;
  background-color: var(--primary-light);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

.year-button {
width: 100%;
text-align: left;
padding: 12px 16px;
font-size: 18px;
font-weight: bold;
background: var(--accent-color) ; 
color: #fff;
border: none;
cursor: pointer;
margin-top: 10px;
border-radius: 8px;
transition: background 0.3s;
}

.year-button:hover {
background: var(--primary-color);
}

.year-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.5s ease, padding 0.3s ease;
background: #f9f9f9;
border-radius: 8px;
margin-bottom: 10px;
padding: 0 15px;
}

.year-content.active {
max-height: none; 
padding: 15px;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
flex-direction: column;
font-family: 'Inter', sans-serif;
line-height: 1.6;
background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
color: var(--text-dark);
min-height: 100vh;

}


header {
  position:absolute;
  top: 0;
  left: 0;
  right: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  height: 80px;
  background: var(--bg-white);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 104, 21, 0.1);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-image-container img {
  width: 1200px;
  height: 500px;

}



.home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  transition: var(--transition);
  cursor: pointer;
}

.home:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.home svg {
  fill: var(--primary-color);
  transition: var(--transition);
}

.home:hover svg {
  fill: white;
}

.logo-1 img {
  max-width: 140px;
  height: auto;
  transition: var(--transition);
}

.logo-1:hover img {
  transform: scale(1.05);
}


main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px 350px;
  flex: 1;
}

.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 1px;
  position: relative;
  padding-top: 150px; 
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.files-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.file-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

.file-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent-color);
}

.file-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.file-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.file-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-color);
}

.file-content {
  flex: 1;
}

.file-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.file-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 1px;
}

.file-download {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    margin-right: 7px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    margin-top: auto;
    width: fit-content;
   }

.file-action {
  display: inline-flex;
  align-items: center;
  background: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  margin-right: 7px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  margin-top: auto;
  width: fit-content;
}

.file-action:hover {
  background: var(--primary-dark);
  transform: translateX(4px);
}

.file-action svg {
  margin-left: 8px;
  width: 16px;
  height: 16px;
  fill: white;
  transition: var(--transition);
}

.file-action:hover svg {
  transform: translateX(3px);
}




#pdfModal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  overflow: auto;
  padding: 40px 20px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  position: relative;
  margin: 0 auto;
  width: 90%;
  max-width: 800px;
  height: 80vh;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  padding: 20px;
  background: var(--primary-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-weight: 600;
  color: var(--primary-color);
}

.close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--primary-color);
  cursor: pointer;
  width: 36px;      
  height: 36px;    
  border-radius: 50%; 
  display: flex;   
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0;    
}


.close-btn:hover {
  background: var(--primary-color);
  color: white;
}

.modal-body {
  height: calc(100% - 60px);
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}


footer {
  background: var(--primary-color);
  color: white;
  padding: 40px 20px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;  
  gap: 40px;
}


.footer-column {
  flex: 1;
  min-width: 220px;
}


.footer-expediente {
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-expediente h4 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 600;
}

.footer-logo-center {
  text-align: center;
}

.prado-logo img {
  max-width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.prado-logo:hover img {
  transform: scale(1.05);
}

.footer-info {
  text-align: right;
}

.footer-info p {
  margin-bottom: 8px;
  font-size: 0.9rem;
  opacity: 0.95;
}

.footer-info a,
.footer-expediente a,
.footer-info .ln-fran {
  color: white;
  text-decoration: none;
}

.footer-info a:hover,
.footer-expediente a:hover,
.footer-info .ln-fran:hover {
  text-decoration: underline;
  opacity: 1;
}




@media (max-width: 768px) {
  header {
      padding: 15px 20px;
  }

  .logo-1 img {
      max-width: 120px;
  }

  main {
      padding: 0 15px;
  }

  .section-title {
      font-size: 2.2rem;
  }

  .files-grid {
      grid-template-columns: 1fr;
      gap: 20px;
  }

  .file-card {
      padding: 20px;
  }

  .footer-content {
      flex-direction: column;
      text-align: center;
      gap: 20px;
  }

  .footer-info {
      text-align: center;
  }

  .modal-content {
      width: 95%;
      height: 70vh;
  }

  .director-info {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 20px;
  }

  .director-image {
      flex: none;
      margin-bottom: 20px;
  }

  .director-image img {
      width: 150px;
      height: 150px;
  }

  .director-text .intro-text {
      text-align: left;
      font-size: 0.95rem;
  }
  
  .coordination-info {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 20px;
  }

  .coordination-image {
      flex: none;
      margin-bottom: 20px;
  }

  .coordination-image img {
      width: 150px;
      height: 150px;
  }

  .coordination-text .intro-text {
      text-align: left;
      font-size: 0.95rem;
  }
  .header-image-container img{ 
      max-width: 100%; 
      height: auto;    
      display: block; 
  }
}



.fade-in {
  animation: fadeIn 0.6s ease;
}

.slide-up {
  animation: slideUp 0.6s ease;
}


button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}


.search-bar {
  max-width: 600px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-white);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  padding: 8px 18px;
}

.search-bar input[type="search"] {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  background: transparent;
  color: var(--text-dark);
}

.search-bar input[type="search"]::placeholder {
  color: var(--text-light);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.highlight {
  background-color: #a5f5b5; 
  transition: background-color 0.6s ease;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  display: flex;
  justify-content: space-between; 
  align-items: center;

  padding: 10px 40px;
  height: 80px;
  background: var(--bg-white);
  border-bottom: 1px solid rgba(0, 104, 21, 0.1);
  box-shadow: var(--shadow-sm);
}

header .right-group {
  display: flex;
  align-items: center;
  gap: 35px;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 40px;
  height: 80px;
  background: var(--bg-white);
  border-bottom: 1px solid rgba(0, 104, 21, 0.1);
  box-shadow: var(--shadow-sm);
}

.right-group {
  display: flex;
  align-items: center;
  gap: 25px; 
}

.nav-menu {
  position: relative;
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

.nav-menu li a {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-menu li a:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}


.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.logo-1 img {
  max-width: 140px;
  height: auto;
  transition: var(--transition);
}






/* ===========================
   📌 MENU HAMBÚRGUER (MOBILE)
   =========================== */

/* Checkbox controlador (não aparece) */
.menu-toggle-checkbox {
  display: none;
}

/* Botão hambúrguer – escondido no desktop */
.menu-toggle {
  display: none;
  width: 40px;
  height: 32px;
  position: relative;
  cursor: pointer;
  padding: 0;
  border: none;
  background: transparent;
  margin-top: 4px; /* um pouquinho mais baixo */
}

.menu-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-color);
  border-radius: 999px;
  transition: 0.25s ease;
}

/* linhas do hambúrguer */
.menu-toggle span:nth-child(1) { top: 6px; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 6px; }

/* animação vira X */
.menu-toggle-checkbox:checked + .menu-toggle span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.menu-toggle-checkbox:checked + .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.menu-toggle-checkbox:checked + .menu-toggle span:nth-child(3) {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) rotate(-45deg);
}

/* ===========================
   📌 MOBILE STYLE
   =========================== */

@media (max-width: 768px) {

  .header-section {
    height:auto;
    padding: 80px 0 20px;
}

  header {
    position: relative;
    height: auto;
    padding: 10px 20px;
    align-items: center;
  }

  .right-group {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo-1 {
    order: 0;
    margin: 0 auto;
  }

  .logo-1 img {
    max-width: 130px;
  }

  .menu-toggle {
    display: block;
    order: 1;
    margin-left: auto;
  }

  /* 🔽 aqui a mágica: o menu vai para DEPOIS da logo + X */
  .nav-menu {
    order: 2;                 /* fica embaixo da logo e do X */
    width: 100%;
    margin-top: 0px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 16px 22px;
    gap: 12px;
    display: none;            /* fechado por padrão */
  }

  .nav-menu li {
    list-style: none;
    width: 100%;
  }

  .nav-menu li a {
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  .menu-toggle-checkbox:checked ~ .nav-menu {
    display: block;
  }
}


  /* menu vira bloco abaixo do header, dentro do fluxo (clicável) */
  .nav-menu {
    width: 100%;
    margin-top: -60px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 10px 22px;
    gap: 12px;

    /* fechado por padrão */
    display: none;
  }

  .nav-menu li {
    list-style: none;
    width: 100%;
  }

  .nav-menu li a {
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  /* quando marcar o checkbox, o menu aparece */
  .menu-toggle-checkbox:checked ~ .nav-menu {
    display: flex;
  }







.fade-in {
  animation: fadeIn 0.6s ease;
}

.slide-up {
  animation: slideUp 0.6s ease;
}


button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

@media (max-width: 768px) {

   
  html, body {
    overflow-x: hidden;
  }

  .editorial-info,
  .director-info,
  .coordination-info {
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 20px;
    gap: 18px;
  }

  .editorial-image,
  .director-image,
  .coordination-image {
    flex: none;
    margin-bottom: 8px;
  }

  .editorial-image img,
  .director-image img,
  .coordination-image img {
    width: 140px;
    height: 140px;
    margin-top: 0;
  }

  .editorial-text .intro-text,
  .director-text .intro-text,
  .coordination-text .intro-text {
    font-size: 0.95rem;      
    line-height: 1.6;
  }

  
  .files-grid {
    grid-template-columns: 1fr;      
  }

  .file-card {
    padding: 18px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-expediente,
  .footer-info {
    text-align: center;
  }

  .footer-column {
    min-width: auto;
  }

  main {
    margin: 24px auto;
    padding: 0 16px 32px;
  }
}