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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('assets/Background.png') no-repeat;
  background-size: 115% auto;
  background-position: center 80%;
  background-color: #fff;
}

.page {
  width: 100%;
  max-width: 1400px;
  padding: 24px;
  padding-bottom: 100px;
  text-align: center;
}

.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 120px;
  margin-left: 60px;
  margin-right: 60px;
}

.logo {
  height: 100px;
  width: auto;
}

.logo-ciosp-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-ciosp-wrapper .logo {
  height: 80px;
}

.logo-ciosp-text {
  display: flex;
  flex-direction: column;
  border-left: 2px solid #9ca3af;
  padding-left: 15px;
  line-height: 1.2;
}

.logo-ciosp-text span {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

h1 {
  margin-bottom: 24px;
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: contain;
  display: block;
}

.nav {
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.nav:hover {
  background: rgba(0,0,0,0.8);
}

.dots {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #475569;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.dot.active {
  background: #38bdf8;
  transform: scale(1.2);
}

.buttons-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
  flex-wrap: wrap;
}

.btn-link {
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}

.btn-link:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.btn-img {
  height: 50px;
  width: auto;
}

.description {
  margin-top: 40px;
  margin-left: 200px;
  margin-right: 200px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  color: #333;
  text-align: center;
  letter-spacing: 0.3px;
}

.arena-section {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
  margin-left: 200px;
  margin-right: 200px;
}

.arena-logo {
  width: 300px;
  height: auto;
  flex-shrink: 0;
}

.arena-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #333;
  text-align: left;
  letter-spacing: 0.3px;
}

.cards-container {
  display: flex;
  gap: 30px;
  margin-top: 60px;
  margin-left: 200px;
  margin-right: 200px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-left {
  flex: 1;
  background: #4a4a4a;
}

.card-left .card-title,
.card-left .card-text {
  color: #fff;
}

.card-right {
  flex: 2;
  background: #e0e0e0;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

svg.location-icon {
  width: 20px;
  height: 20px;
  color: #333;
  vertical-align: middle;
  margin-right: 5px;
}

.card-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #555;
}

.card-date {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-align: center;
}

.calendar-icon {
  width: 32px;
  height: 32px;
  color: #fff;
  vertical-align: middle;
  margin-right: 8px;
}

.cta-text {
  margin-top: 50px;
  margin-left: 200px;
  margin-right: 200px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  color: #333;
  text-align: center;
  letter-spacing: 0.3px;
}

.programacao-section {
  margin-top: 80px;
  text-align: center;
}

.programacao-title {
  font-size: 36px;
  font-weight: 700;
  color: #8B1538;
  margin-bottom: 15px;
}

.programacao-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #555;
}

.outline-card {
  margin-top: 40px;
  margin-left: 200px;
  margin-right: 200px;
  border: 2px solid #333;
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.outline-card-img {
  max-width: 100%;
  height: auto;
}

.programacao-carousel {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 30px;
}

.prog-viewport {
  flex: 1;
  overflow: hidden;
  max-width: 100%;
}

.prog-track {
  display: flex;
  transition: transform 0.5s ease;
}

.prog-slide {
  min-width: 100%;
  padding: 10px 20px;
  text-align: left;
}

.prog-date-badge {
  display: inline-block;
  background: #E86C1F;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 25px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.prog-dia {
  font-size: 22px;
  font-weight: 700;
  color: #8B1538;
  text-align: center;
  margin-bottom: 25px;
}

.prog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 40px;
}

.prog-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  padding: 10px;
  text-align: left;
  background: #f9f9f9;
  border-radius: 10px;
}

.prog-horario {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #666;
  padding: 8px 18px;
  border-radius: 50px;
  min-width: 60px;
  flex-shrink: 0;
}

.prog-palestra {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  flex: 1;
}

.prog-nav {
  background: #8B1538;
  border: none;
  color: #fff;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.prog-nav:hover {
  background: #6d1029;
}

.prog-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.prog-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.prog-dot.active {
  background: #8B1538;
  transform: scale(1.2);
}

.ver-mais-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 30px auto;
  padding: 12px 30px;
  background: transparent;
  border: 2px solid #8B1538;
  color: #8B1538;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
}

.ver-mais-btn:hover {
  background: #8B1538;
  color: #fff;
}

.ver-mais-seta {
  transition: transform 0.3s;
}

.ver-mais-btn.active .ver-mais-seta {
  transform: rotate(180deg);
}

.noticias-extras {
  display: none !important;
  margin-top: 40px;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.noticias-extras.show {
  display: grid !important;
}

.inscricao-wrapper {
  margin-top: 50px;
  text-align: center;
}

.inscricao-btn {
  display: inline-block;
  padding: 14px 35px;
  background: #8B1538;
  color: #fff;
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.inscricao-btn:hover {
  background: #6d1029;
  transform: translateY(-1px);
}

.inscricao-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  border: 2px solid #ddd;
  border-radius: 10px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8B1538;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: #8B1538;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.form-submit-btn:hover {
  background: #6d1029;
}

.footer-logos {
  margin-top: 60px;
  margin-bottom: 40px;
  text-align: center;
}

.footer-logos-img {
  max-width: 50%;
  height: auto;
  background: transparent;
  mix-blend-mode: multiply;
}

.footer-info {
  margin-top: 40px;
  margin-bottom: 60px;
  padding: 30px 60px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  margin-left: 200px;
  margin-right: 200px;
}

.footer-copyright {
  font-size: 16px;
  font-weight: 600;
  color: #8B1538;
  margin-bottom: 15px;
}

.footer-address {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-hours {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #8B1538;
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #6d1029;
  transform: scale(1.1);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

.noticias-section {
  margin-top: 80px;
  margin-left: 200px;
  margin-right: 200px;
}

.noticias-title {
  font-size: 36px;
  font-weight: 700;
  color: #8B1538;
  text-align: center;
  margin-bottom: 40px;
}

.noticias-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.noticia-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.noticia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

img.noticia-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.noticia-titulo {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  padding: 20px 20px 12px;
  text-align: left;
}

.noticia-texto {
  font-size: 16px;
  font-weight: 400;
  color: #666;
  padding: 0 20px 20px;
  text-align: left;
  line-height: 1.6;
}

.saiba-mais-btn {
  display: block;
  margin: 0 20px 25px;
  padding: 12px 24px;
  background: #8B1538;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

.saiba-mais-btn:hover {
  background: #6d1029;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 30px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  color: #333;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #8B1538;
}

.modal-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  display: block;
}

.modal-titulo {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.modal-texto {
  font-size: 16px;
  font-weight: 400;
  color: #555;
  line-height: 1.8;
}

.modal-link-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #8B1538;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s;
}

.modal-link-btn:hover {
  background: #6d1029;
}

@media (max-width: 900px) {
  .cards-container {
    flex-direction: column;
    gap: 20px;
    margin-left: 40px;
    margin-right: 40px;
  }

  .card {
    height: auto;
    min-height: 150px;
    padding: 25px;
  }

  .card-left,
  .card-right {
    flex: 1;
    width: 100%;
  }

  .card-date {
    font-size: 24px;
  }

  .calendar-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 600px) {
  body {
    background-size: 200% auto;
    background-position: 50% 80%;
    background-attachment: scroll;
  }

  .page {
    padding: 16px;
    overflow-x: hidden;
  }

  .logo-container {
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 30px;
    margin-top: 20px;
    gap: 20px;
  }

  .logo {
    height: auto;
    max-height: 50px;
    width: auto;
    max-width: 45%;
    object-fit: contain;
  }

  .logo-ciosp-wrapper {
    gap: 5px;
    max-width: 50%;
  }

  .logo-ciosp-wrapper .logo {
    height: 35px;
    max-height: 35px;
  }

  .logo-ciosp-text {
    padding-left: 5px;
  }

  .logo-ciosp-text span {
    font-size: 7px;
  }

  .logo-ciosp-text span {
    font-size: 9px;
  }

  .carousel .nav {
    display: none;
  }

  .carousel {
    gap: 0;
  }

  .slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .viewport {
    overflow: hidden;
    border-radius: 12px;
  }

  .carousel {
    gap: 0;
    margin: 0 15px;
  }

  .slide {
    min-width: 100%;
  }

  .page {
    padding-left: 0;
    padding-right: 0;
  }

  .viewport {
    border-radius: 12px;
  }

  .buttons-container {
    gap: 8px;
    margin-top: 25px;
    padding: 0 10px;
  }

  .btn-img {
    height: 35px;
  }

  .description {
    margin-left: 15px;
    margin-right: 15px;
    font-size: 15px;
  }

  .arena-section {
    flex-direction: column;
    gap: 20px;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 40px;
  }

  .arena-logo {
    width: 150px;
  }

  .arena-text {
    text-align: center;
    font-size: 14px;
  }

  .cards-container {
    flex-direction: column;
    gap: 20px;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 40px;
  }

  .card {
    height: auto;
    min-height: 120px;
    padding: 25px;
  }

  .card-left,
  .card-right {
    flex: 1;
    width: 100%;
  }

  .card-date {
    font-size: 22px;
  }

  .calendar-icon {
    width: 24px;
    height: 24px;
  }

  .cta-text {
    margin-left: 15px;
    margin-right: 15px;
    font-size: 16px;
    margin-top: 40px;
  }

  .programacao-section {
    margin-top: 60px;
  }

  .programacao-title {
    font-size: 28px;
  }

  .programacao-subtitle {
    font-size: 16px;
  }

  .outline-card {
    margin-left: 10px;
    margin-right: 10px;
    padding: 8px;
    overflow-x: auto;
  }

  .programacao-carousel {
    padding: 10px 5px;
    gap: 5px;
    width: 100%;
  }

  .prog-nav {
    width: 30px;
    height: 30px;
    font-size: 16px;
    flex-shrink: 0;
  }

  .prog-dia {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .prog-slide {
    padding: 5px 5px;
    min-width: 100%;
    box-sizing: border-box;
  }

  .prog-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .prog-horario {
    font-size: 11px;
    padding: 4px 10px;
    min-width: auto;
  }

  .prog-palestra {
    font-size: 10px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
  }

  .prog-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .prog-date-badge {
    font-size: 14px;
    padding: 6px 18px;
  }

  .programacao-carousel {
    padding: 15px 5px;
    gap: 5px;
  }

  .noticias-section {
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 60px;
  }

  .noticias-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

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

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

  .inscricao-wrapper {
    margin-top: 40px;
  }

  .inscricao-btn {
    padding: 12px 28px;
    font-size: 13px;
  }

  .modal-content {
    width: 95%;
    max-width: 95%;
    max-height: 85vh;
    padding: 20px;
    margin: 10px;
    border-radius: 12px;
  }

  .modal-close {
    top: 10px;
    right: 15px;
    font-size: 28px;
  }

  .modal-img {
    height: 180px;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
  }

  .modal-titulo {
    font-size: 20px;
    margin-bottom: 12px;
    padding-right: 30px;
  }

  .modal-texto {
    font-size: 14px;
    line-height: 1.7;
  }

  .footer-info {
    margin-left: 15px;
    margin-right: 15px;
    padding: 20px 15px;
  }

  .footer-copyright {
    font-size: 14px;
  }

  .footer-address,
  .footer-hours {
    font-size: 12px;
  }

  .social-icons {
    gap: 15px;
    margin-top: 20px;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }
}
