/* classes exigidas pelo ghost */

.kg-width-wide {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
}

.kg-width-full {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

@font-face {
  font-family: "Esphimere";
  src: url("assets/fonts/Esphimere-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("assets/fonts/NeueMontreal-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

/* Estilo Global */
body {
  margin: 0;
  font-weight: 400;
  font-family: "Noto Sans", sans-serif;
}

h1,
h2,
h3,
h4 {
  font-family: "Noto Sans", sans-serif;
  font-weight: 900;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

/* Alta visibilidade */
body.high-contrast * {
  background: black !important;
  color: yellow !important;
  border-color: yellow !important;
  box-shadow: none !important;
}

body.high-contrast .menu-toggle .bar {
  background-color: yellow !important;
}

body.high-contrast .bg-container,
body.high-contrast .bg-container * {
  background: transparent !important;
  color: inherit !important;
}

body.high-contrast .overlay-content,
body.high-contrast .overlay-content * {
  color: yellow !important;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #0b2c5c8a;
  backdrop-filter: blur(10px);
  color: #fff;
  z-index: 9999;
  font-size: 0.9rem;
}

.header-container {
  margin: auto;
  display: grid;
  grid-template-columns: 0.5fr 2fr 2fr 0.5fr;
  align-items: center;
  width: 100%;
  max-width: 2560px;
}
.logo-mobile {
  display: none;
}

.logo-container {
  grid-column: 2;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 0;
}

.logo {
  max-height: 70px;
}

/* Acessibilidade */
.accessibility-options {
  grid-column: 3;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin: 10px 0;
}

.acessibility-portal {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin: 10px;
  color: white;
  font-weight: bold;
}

.accessibility-options button {
  font-size: 15px;
  font-weight: 700;
  padding: 8px 12px;
  background-color: transparent;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.accessibility-options p {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin: 10px;
  color: white;
}

.contrast-btn {
  background: #000;
  color: #fff;
  padding: 8px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contrast-btn svg {
  width: 20px;
  height: 20px;
}

.bg-container {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.bg-image {
  position: absolute;
  filter: brightness(0.5);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.bg-image.active {
  opacity: 1;
  z-index: 1;
}

.overlay-content {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 10%;
  gap: 24px;
}

.title-overlay {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
  max-width: 800px;
}

.overlay-logos {
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo-overlay {
  display: block;
  max-height: 72px;
  width: auto;
}

.logo-fapesq {
  max-height: 70px;
}

.logo-gov {
  max-height: 64px;
}

/* Navbar */
.navbar {
  background-color: #18365c;
  padding: 18px 0;
}

.navbar-container {
  display: grid;
  grid-template-columns: 0.5fr 2fr 2fr 0.5fr;
  align-items: center;
  max-width: 2560px;
  margin: 0 auto;
  width: 100%;
}

.navbar-links {
  grid-column: 2 / 4;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.navbar-link {
  color: white;
  font-size: 1rem;
  font-weight: 300;
  text-decoration: none;
  transition: color 0.3s;
}

.navbar-link:hover {
  color: #ffcc00;
}

/* Menu Hamburguer */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  transition: left 0.3s ease-in-out;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.sidebar.active {
  left: 0;
}

.sidebar-link {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  border-bottom: 1px solid #333;
}

.sidebar-link:hover {
  background-color: #1a98d5;
}

.website-section {
  position: relative;
  background-image: url("../images/bg0.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 150px 20px;
  display: grid;
  grid-template-columns: 0.5fr 0.5fr 0.5fr 0.5fr;
  justify-content: center;
  overflow: hidden;
}

.website-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.website-content {
  grid-column: 2 / 4;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.website-section h1 {
  line-height: 1.3;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.website-section p {
  font-size: 1rem;
  margin-bottom: 30px;
}

.website-button {
  display: inline-block;
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.website-button:hover {
  background: #0073e6;
}

.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 100vh;
}

.about-image {
  position: relative;
  overflow: hidden;
  filter: brightness(0.5);
}

.about-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.about-slide.active {
  opacity: 1;
  z-index: 1;
}

.about-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.about-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.about-dot.active {
  background: #ffffff;
}

.about-content {
  padding: 80px 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.about-title {
  margin-bottom: 2rem;
}

.about-title h2 {
  font-size: 2.3rem;
  line-height: 1.15;
  color: #18365c;
}

.about-content h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #18365c;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #18365c;
}

.icon-bullet {
  width: 22px;
  height: 22px;
}

.about-button-wrapper {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.about-button {
  display: inline-block;
  background: #0b2c5c;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
}

.schedule-section {
  background-color: #f4f4f4;
  padding: 80px 20px;
}

.schedule-title {
  text-align: center;
  color: #18365c;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.schedule-date {
  font-weight: 600;
  margin: 8px 0 12px;
  color: var(--color);
  font-size: 16px;
}

#schedule-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.schedule {
  background: white;
  border-radius: 16px;
  padding: 1.7rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-left: 8px solid var(--color);
  cursor: pointer;
  transition: transform 0.25s ease;
}

.schedule:hover {
  transform: translateY(-4px);
}

.schedule h2 {
  color: #18365c;
  font-size: 1.65rem;
  margin-bottom: 0.3rem;
}

.schedule h3 {
  color: #18365c;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.schedule .click-tip {
  font-size: 0.9rem;
  color: #6d6d6d;
  margin-top: 0.8rem;
  padding-left: 6px;
  border-left: 3px solid var(--color);
}

.schedule .accordion {
  display: none;
  margin-top: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
  overflow: hidden;
  border: 1px solid #ececec;
}

.schedule.open .accordion {
  display: block;
  animation: fadeSlide 0.35s ease;
}

.acc-item {
  padding: 1rem 1.4rem;
  border-bottom: 1px solid #efefef;
}

.acc-item:last-child {
  border-bottom: none;
}

.acc-item h4 {
  color: var(--color);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.acc-item p {
  color: #1c2e4a;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.info-item {
  background: #f7f7f7;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  color: #444;
}

.participants-block {
  margin-top: 1.4rem;
  padding: 0;
  border-left: 2px solid var(--color);
  padding-left: 14px;
}

.participants-block strong {
  font-size: 1rem;
  font-weight: 600;
  color: #18365c;
  margin-bottom: 0.6rem;
  display: block;
  letter-spacing: 0.3px;
}

.participants-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.participants-list li {
  font-size: 0.92rem;
  color: #2a3a52;
  padding-bottom: 4px;
  border-bottom: 1px solid #e6e6e6;
  padding-left: 0;
}

.participants-list li:last-child {
  border-bottom: none;
}

.mediator-block {
  margin-top: 1.2rem;
  padding-left: 14px;
  border-left: 2px solid var(--color);
}

.mediator-block strong {
  font-size: 1rem;
  font-weight: 600;
  color: #18365c;
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.mediator-block span {
  font-size: 0.92rem;
  color: #2a3a52;
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 4px;
  display: inline-block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team {
  background-color: #18365c;
  padding: 60px 0;
}

.team {
  background-color: #18365c;
  padding: 60px 0;
}

.team-container {
  max-width: 1400px;
  margin: auto;
  padding: 0 20px;
  text-align: center;
}

.team-title {
  color: #f5f5f5;
  font-size: 2rem;
  margin-bottom: 40px;
}

.team-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.team-grid {
  display: flex;
  gap: 20px;
  overflow: hidden;
  scroll-behavior: smooth;
  width: 100%;
  padding: 10px 0;
}

.team-card {
  min-width: 260px;
  max-width: 260px;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

/* Hover */
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-card img {
  width: 140px;
  height: 140px;
  border-radius: 100px;
  object-fit: cover;
  margin-bottom: 1rem;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.team-card:hover img {
  filter: grayscale(0%);
}

.team-card h3 {
  font-size: 1.1rem;
  color: #1a98d5;
}

.team-card p {
  font-size: 0.85rem;
  color: #555;
  text-align: center;
}

.arrow {
  background: none;
  border: none;
  color: #ffffffaa;
  font-size: 32px;
  cursor: pointer;
  padding: 10px;
  transition: 0.2s ease;
}

.arrow:hover {
  color: #fff;
}

.arrow-left {
  margin-right: 15px;
}

.arrow-right {
  margin-left: 15px;
}

.event-location-wrapper {
  background-color: #ffffff;
  padding: 100px 0px;
}

.event-location-container {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.left-info {
  grid-column: 2 / 10;
  padding: 60px 0;
}

.right-map {
  grid-column: 12 / 20;
  position: relative;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.left-info h2 {
  font-size: 25px;
  margin-bottom: 30px;
  color: #18365c;
}

.left-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: bold;
  color: #18365c;
}

.left-info p {
  font-size: 18px;
  line-height: 1.6;
  color: #18365c;
}

.icon-location {
  width: 50px;
  height: 50px;
  vertical-align: middle;
  margin-right: 5px;
}

.map-container {
  width: 90%;
  height: 250px;
  position: relative;
  top: -100px;
  z-index: 1;
  border: 4px solid #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-left: -100px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.location-image {
  position: absolute;
  top: 180px;
  right: 0;
  transform: translateX(20%);
  width: 90%;
  max-width: 500px;
  height: 250px;
  object-fit: cover;
  z-index: 2;
  border: 4px solid #fff;
  border-radius: 8px;
  filter: grayscale(100%);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.partners {
  background-color: #f5f5f5;
  padding: 60px 0;
  color: #18365c;
}

.partners-container {
  display: grid;
  grid-template-columns: 0.5fr 2fr 2fr 0.5fr;
  align-items: center;
  max-width: 2560px;
  margin: auto;
  gap: 20px;
}

.partners-title {
  grid-column: 2 / 4;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: bold;
  color: #18365c;
}

.partners-logos {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
  justify-items: center;
  align-items: center;
}

.partner-logo {
  width: 150px;
  height: 150px;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 25px;
  object-fit: contain;
  transition: transform 0.3s, box-shadow 0.3s;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

#contatos {
  background-color: #18365c;
  color: #fff;
  padding: 60px 0;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: 0.5fr 2fr 2fr 0.5fr;
  align-items: center;
  max-width: 2560px;
  margin: 0 auto;
  gap: 20px;
}

.footer-row {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-column img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-logo1 img {
  max-width: 160px;
}

.footer-logo2 img {
  max-width: 200px;
}

.footer-logo3 img {
  max-width: 300px;
}

.footer-contacts h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ffffff;
}

.social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-icons li a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons li a:hover {
  color: #00aced;
}

@media (max-width: 360px) {
  .about {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: 1;
    position: relative;
    padding-top: 135%;
    overflow: hidden;
  }

  .about-slider {
    position: absolute;
    inset: 0;
  }

  .about-content {
    order: 2;
    padding: 32px 18px;
  }

  .about-title h2 {
    font-size: 1.6rem;
    line-height: 1.15;
    text-align: center;
  }

  .about-content h3 {
    font-size: 1.05rem;
  }

  .about-content p {
    font-size: 0.95rem;
    text-align: center;
  }

  .about-button {
    padding: 9px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .team-card {
    min-width: 170px !important;
    max-width: 170px !important;
  }

  .team-card img {
    height: 170px;
  }

  .website-section {
    padding: 60px 20px;
  }

  .website-content {
    max-width: 100%;
  }

  .website-button {
    padding: 9px 20px;
  }
}

@media (max-width: 768px) {
  .accessibility-options p,
  .acessibility-portal,
  .navbar,
  .navbar-container,
  .navbar-link,
  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
    max-height: 50px;
  }

  .header-container {
    justify-content: center;
  }

  .menu-toggle {
    display: flex;
    margin: 10px;
  }

  .navbar-container {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .logo-container a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .navbar-link {
    padding: 10px 0;
  }

  .navbar.active .navbar-container {
    display: flex;
  }

  .language-accessibility-group {
    gap: 8px;
  }

  .language-button {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .font-size-controls button {
    font-size: 0.85rem;
  }

  .bg-container {
    height: 65vh;
  }

  .overlay-content {
    align-items: center;
    text-align: left;
    justify-content: flex-end;
    padding-bottom: 1rem;
    margin-top: -53px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .title-overlay {
    font-size: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.65);
    padding-left: 5px;
  }

  .logo-overlay {
    width: 160px;
    margin-top: 1rem;
    padding-left: 5px;
  }

  /* ------------------ */
  .website-section {
    grid-template-columns: 1fr;
    padding: 70px 24px;
    background-position: center;
    background-size: cover;
  }

  .website-content {
    grid-column: 1 / -1;
    max-width: 640px;
    padding: 0 10px;
  }

  .website-section h1 {
    font-size: 1.35rem;
    line-height: 1.35;
  }

  .website-section p {
    font-size: 0.95rem;
  }

  .website-button {
    padding: 10px 22px;
    font-size: 0.95rem;
  }
  /* ------------------ */
  .about {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: 1;
    position: relative;
    padding-top: 125%; /* 4:5 */
    overflow: hidden;
  }

  .about-slider {
    position: absolute;
    inset: 0;
  }

  .about-title h2 {
    font-size: 1.6rem;
    line-height: 1.15;
    text-align: center;
  }
  /* ------------------ */

  .team-card {
    min-width: 200px !important;
    max-width: 200px !important;
    padding: 12px;
  }

  .team-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
  }

  #team-container {
    scroll-snap-type: x mandatory;
  }

  .team-card {
    scroll-snap-align: start;
  }

  /* ------------------ */

  .event-location-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .left-info,
  .right-map {
    grid-column: auto;
    padding: 20px 0;
    text-align: center;
  }

  .map-container {
    position: relative;
    top: 0;
    margin-left: 0;
    width: 100%;
    height: 250px;
  }

  .location-image {
    position: relative;
    top: 20px;
    right: auto;
    transform: none;
    margin: 20px auto 0 auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* ------------------ */

  .footer-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-logo img {
    width: 100%;
    height: auto;
  }

  .footer-gov-logo img {
    width: 70%;
    height: auto;
  }

  .footer-contacts {
    grid-column: auto;
  }
}

@media (max-width: 1024px) {
  .partners-container {
    grid-template-columns: 1fr;
  }

  .partners-title,
  .partners-logos {
    grid-column: 1 / 2;
    text-align: center;
  }

  .partners-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .partners-logos {
    grid-template-columns: 1fr;
  }
}
