/* REVISÃO 2026 */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 17px; /* melhor que 16 */
  line-height: 1.65;
}

/* ===== HEADER ===== */

.site-header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */

/* LOGOS */

.logos-left,
.logos-right {
  display: flex;
  align-items: center;
}

.logo {
  height: 110px;
}

.logo-right {
  height: 80px;
}

/* NAV */

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: #72409a;
  font-size: 1.15rem;
}

/* MOBILE */

@media (max-width: 768px) {

  .main-nav {
    display: none;
  }

  .logo {
    height: 85px;
    margin-bottom: 5px;
  }

  .logo-right {
    /*display: none;*/ /* some no mobile */
    height: 70px;
  }

  .menu-toggle {
    display: block;
  }
}

/* HAMBURGER */

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* FLASH BANNER */

.flash-banner {
    display: inline-block;
    vertical-align: middle;
    margin-left: 00px; /* Ajuste conforme necessário */
    margin-top:00px;
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    background-color: #ff007f;
    padding: 10px;
    animation: blink-bg 1.2s infinite alternate;
}

@keyframes blink-bg {
    0% { background-color: #ff007f; }
    100% { background-color: #ffcc00; }
}

@media (max-width: 575px) {
  .flash-banner {
    position: relative; /* Mantém alinhado com o fluxo normal da página */
    display: block; /* Ocupa toda a linha */
    width: 95%; /* 100% da largura da tela */
    height: 100px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    background-color: #ff007f;
    padding: 10px;
    animation: blink-bg 1.2s infinite alternate;
  }
}

@media (max-width: 900px) {

  .main-nav {
    position: absolute;
    top: 80px;
    right: 0;
    background: white;
    flex-direction: column;
    width: 220px;
    padding: 20px;
    display: none;
    box-shadow: -5px 5px 20px rgba(0,0,0,0.1);
    z-index: 2000;
  }

  .main-nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

}

/* ===== HERO SECTION ===== */

.hero {
  background: url("assets/images/site/corridadobatom-hero.webp") center/cover no-repeat;
  padding: 80px 20px;
}

.hero-box {
  background: rgba(114, 64, 154, 0.92);
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 50px 20px 50px;
  border-radius: 12px;
  box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
}

/* HEADER */

.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.hero-header h1 {
  font-family: Oswald, sans-serif;
  font-style: italic;
  font-size: 3rem;
  color: white;
  margin: 0;
}

.hero-header img {
  width: 200px;
  margin-top: 10px;
  margin-right: 10px;
}

/* CONTENT */

.hero-content {
  display: flex;
  margin-top: 40px;
  gap: 40px;
}

.hero-text,
.hero-info {
  flex: 1;
  color: white;
  line-height: 1.6;
}

.hero-divider {
  width: 2px;
  background: white;
}

.hero-info ul {
  padding-left: 18px;
  margin-top: 5px;
}

/* DIVIDER HORIZONTAL */

.hero-divider-horizontal {
  border: none;
  border-top: 2px solid white;
  margin: 40px 0 30px 0;
}

/* BUTTON */

.hero-button {
  display: block;
  width: 260px;
  text-align: center;
  margin: 0 auto 15px auto;
  padding: 18px;
  border: 2px solid white;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background: white;
  color: #72409a;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {

  .hero-box {
    padding: 30px 25px 30px 25px;
  }

  .hero-header {
    flex-direction: column;
  }

  .hero-header img {
    width: 180px;
    margin-top: 20px;
    align-self: flex-end;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-divider {
    display: none;
  }

  .hero-button {
    width: 80%;
  }
}

/* ===== ORGANIZERS & INFO ===== */
.organizers {
  padding: 40px 20px;
  background: #ffffff;
}

.organizers-container {
  max-width: 1000px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 40px;
}

.organizers-container img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  transition: transform 0.3s ease;
}

.organizers-container img:hover {
  transform: scale(1.05);
}


/* ====  ACORDEON - INFORMAÇÕES ==== */
/* ===== INFORMAÇÕES ===== */

.info-section {
  background: #BB83BB;
  padding: 60px 20px;
}

.info-container {
  max-width: 900px;
  margin: 0 auto;
}

.info-container h2 {
  text-align: center;
  color: white;
  font-size: 2rem;
  margin-bottom: 40px;
}

/* ACCORDION */

.accordion-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.accordion-item summary {
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  list-style: none;
  font-size: 1.1rem;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-item[open] summary::after {
  content: "−";
}

.accordion-content {
  padding: 20px;
  border-top: 1px solid #eee;
}

/* ===== PERCURSO GRID ===== */

.percurso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.percurso-item img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.percurso-item p {
  text-align: center;
  margin-top: 10px;
  font-weight: 600;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {

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

}

/* ==== RETIRADA DE KIT - INFORMAÇÕES ==== */
/* ===== KIT SECTION ===== */

.kit-section {
  background: #72409a;
  padding: 40px 20px;
}

.kit-container {
  max-width: 1100px;
  margin: 0 auto;
  border: 8px solid #72409a;
  background: white;

  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* LEFT IMAGE */

.kit-image {
  background: url("assets/images/site/corridadobatom-entregakit.webp") center/cover no-repeat;
  min-height: 600px;
}

/* RIGHT CONTENT */

.kit-content {
  padding: 40px 40px 50px 40px;
}

.kit-content h2 {
  color: #72409a;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.kit-content p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #4a4a4a;
}

/* DONATION BLOCK */

.kit-donation {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 25px 0;
  font-weight: 600;
  color: #e45a00;
}

.kit-donation img {
  width: 45px;
  /* animation: pulse 1.8s infinite; */
}

.kit-donation span {
  animation: pulse 1.8s infinite;
}

/* PULSE ANIMATION */

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

.kit-content hr {
  border: none;
  border-top: 2px solid #72409a;
  margin: 30px 0;
}

/* ===== MOBILE ===== */

@media (max-width: 900px) {

  .kit-container {
    grid-template-columns: 1fr;
  }

  .kit-image {
    min-height: 350px;
  }

  .kit-content {
    padding: 30px 25px 40px 25px;
  }

  .kit-donation {
    flex-direction: column;
    text-align: center;
  }

}

/* ===== SPONSORS SECTION ===== */

.sponsors-section {
  background: #ffffff;
  padding: 70px 20px;
}

.sponsors-container {
  max-width: 1100px;
  margin: 0 auto;
}

.sponsors-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: #72409a;
  font-weight: 600;
  letter-spacing: 1px;
}

.sponsor-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 30px 0;
}

.sponsor-group img {
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sponsor-group img:hover {
  transform: scale(1.05);
}

/* Divisor entre categorias */

.divider {
  height: 1px;
  background: #eee;
  margin: 10px 0;
}

/* ===== ORGANIZERS ===== */

.organizers-section {
  background: #f8f8f8;
  padding: 60px 20px;
}

.organizers-container {
  max-width: 1000px;
  margin: 0 auto;
}

.organizers-title {
  text-align: center;
  font-size: 1.4rem !important;
  margin-bottom: 50px;
  color: #72409a;
  font-weight: 600;
  letter-spacing: 1px;
}

.organizers-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #72409a;
  margin: 15px auto 0;
}

.organizers-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.organizers-grid img {
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.organizers-grid img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {

  .organizers-title {
    font-size: .8rem !important;
    line-height: 1.0 !important;
    margin-bottom: 35px;
  }

  .organizers-grid {
    flex-direction: column;
    gap: 40px;
  }

  .organizers-grid img {
    max-height: 120px !important;
  }
}

/* ===== EQUALITY SECTION ===== */

.equality-section {
  background: #b47fb2;
  padding: 80px 20px;
}

.equality-container {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: start;
}

/* Título lateral */

.equality-title h2 {
  color: white;
  font-size: 3rem;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0;
}

/* Cards */

.equality-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.equality-card {
  background: white;
  padding: 30px 20px;
  text-align: center;
}

.icon-circle {
  width: 80px;
  height: 80px;
  background: #b47fb2;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle img {
  width: 40px;
}

.equality-card h4 {
  margin-bottom: 15px;
  text-transform: uppercase;
}

.equality-card p {
  font-style: italic;
  line-height: 1.5;
}

/* MOBILE */
@media (max-width: 992px) {

  .equality-container {
    grid-template-columns: 1fr;
  }

  .equality-title {
    text-align: center;
    margin-bottom: 40px;
  }

  .equality-title h2 {
    font-size: 1.8rem;
  }

  .equality-cards {
    grid-template-columns: 1fr;
  }

}

/* ===== AWARDS SECTION ===== */

.awards-section {
  background: #72409a;
  padding: 80px 20px;
  color: white;
}

.awards-container {
  max-width: 1000px;
  margin: 0 auto;
}

.awards-title {
  margin-bottom: 50px;
  font-size: 2rem;
}

/* CATEGORIAS */

.awards-categories {
  display: flex;
  gap: 60px;
  margin-bottom: 50px;
}

.award-card {
  background: white;
  color: #72409a;
  border-radius: 20px;
  padding: 30px;
  flex: 1;
}

.award-circle {
  width: 120px;
  height: 120px;
  background: #b47fb2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.award-circle h3 {
  color: white;
  margin: 0;
  font-size: 1.4rem;
}

.award-card p {
  margin: 0;
}

/* FAIXAS ETÁRIAS */

.awards-ages h3 {
  margin-bottom: 20px;
}

.awards-ages ul {
  columns: 2;
  list-style: none;
  padding: 0;
}

.awards-ages li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
}

.awards-ages li::before {
  content: "›";
  position: absolute;
  left: 0;
}

/* NOTA FINAL */

.awards-note {
  text-align: center;
  margin-top: 60px;
  font-weight: 600;
}

@media (max-width: 768px) {

  .awards-categories {
    flex-direction: column;
    gap: 30px;
  }

  .awards-ages ul {
    columns: 1;
  }

  .awards-title {
    font-size: 1.6rem;
  }

}

/* ===== REGISTRATION SECTION ===== */

.registration-section {
  background: url("assets/images/site/corridadobatom-registro.webp") center/cover no-repeat;
  position: relative;
  padding: 100px 20px;
}

.registration-overlay {
  background: rgba(0,0,0,0.6);
  padding: 60px 20px;
}

.registration-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

/* TITULOS */

.registration-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.registration-subtitle {
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

/* CARDS */

.registration-cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-bottom: 50px;
}

.registration-card {
  background: white;
  color: #72409a;
  border-radius: 25px;
  padding: 40px 30px;
  width: 100%;
  max-width: 400px;
}

.registration-card h3 {
  text-transform: uppercase;
  margin-bottom: 5px;
}

.registration-card h4 {
  margin-bottom: 20px;
}

.registration-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.registration-card li {
  margin-bottom: 8px;
}

/* BOTÃO */

.registration-button {
  display: inline-block;
  background: #b47fb2;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.registration-button:hover {
  background: #72409a;
}

/* NOTA */

.registration-note {
  font-size: 0.9rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {

  .registration-cards {
    flex-direction: column;
    align-items: center;
  }

  .registration-title {
    font-size: 1.6rem;
  }

}

/* ===== FOOTER ===== */

.footer {
  background: #2f2f2f;
  padding: 60px 20px 40px;
  color: white;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-item {
  text-align: center;
  flex: 1;
}

.footer-label {
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: 1px;
}

.footer-item img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

.footer-credit {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 768px) {

  .footer-grid {
    flex-direction: column;
    gap: 35px;
  }

  .footer-item img {
    max-height: 70px;
  }

}

/* ===== MODAL DE IMAGEM ===== */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 90%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.image-modal img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  font-weight: bold;
}

.zoomable {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.zoomable:hover {
  transform: scale(1.02);
}

/* ============================= */
/* MODAL PRÉ-ABERTURA INSCRIÇÃO */
/* ============================= */

.preopen-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.preopen-modal {
  background: #ffffff;
  color: #333;
  max-width: 520px;
  width: 100%;
  padding: 35px 30px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  text-align: center;
  position: relative;
  animation: preopenFade 0.25s ease-out;
}

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

.preopen-close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #777;
  transition: 0.2s;
}

.preopen-close:hover {
  color: #000;
}

.preopen-modal h3 {
  margin-bottom: 10px;
  font-size: 22px;
  color: #7a3e9d;
}

.preopen-date {
  font-weight: 600;
  margin-bottom: 15px;
  color: #444;
}

.preopen-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 20px 0;
}

.preopen-warning {
  font-weight: 600;
  margin-bottom: 10px;
}

.preopen-instruction {
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: 600;
}

.preopen-list {
  text-align: left;
  margin: 0 auto 15px auto;
  max-width: 320px;
  padding-left: 20px;
}

.preopen-list li {
  margin-bottom: 6px;
}

.preopen-note {
  font-size: 14px;
  margin-top: 8px;
  color: #555;
}

.custom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 15px;        /* ajustado */
  overflow-y: auto;     /* adicionado */
}

.custom-modal {
  background: #ffffff;
  max-width: 650px;
  width: 100%;
  border-radius: 16px;
  padding: 30px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: fadeInScale 0.3s ease;
}

.custom-modal h2 {
  color: #7a3e9d;
  margin-bottom: 20px;
}

.custom-modal p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.custom-modal hr {
  margin: 20px 0;
}

.modal-footer-text {
  text-align: center;
  font-weight: 600;
  margin-top: 15px;
  color: #7a3e9d;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
}

.close-btn:hover {
  color: #7a3e9d;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.custom-modal {
  background: #ffffff;
  max-width: 650px;
  width: 100%;
  border-radius: 16px;
  padding: 30px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: fadeInScale 0.3s ease;
  color: #333; /* <<< ADICIONE ISSO */
}

.custom-modal {
  max-height: 90vh;
  overflow-y: auto;
}

@media (max-width: 576px) {

  .custom-modal {
    padding: 20px;
  }

  .custom-modal h2 {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .custom-modal p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

}

.consulta-highlight {
  margin-top:15px;
  padding:15px;
  background:rgba(114,64,154,0.08);
  border-radius:10px;
  text-align:center;
}

.btn-cta-consulta {
  margin-top:12px;
  padding:10px 18px;
  background:#72409a;
  color:#fff;
  border:none;
  border-radius:8px;
  font-weight:600;
  cursor:pointer;
  transition:all 0.25s ease;
}

.btn-cta-consulta:hover {
  background:#5e2f82;
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(114,64,154,0.35);
}
/* ============================= */
/* MODAL CONSULTA INSCRIÇÃO      */
/* ============================= */
#consultaModal input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: 'Open Sans', sans-serif;
}

#consultaModal label {
  font-weight: 600;
}

/* Botão específico do modal de consulta */
.btn-consulta {
  width: 100%;
  padding: 12px;
  background-color: #72409a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-consulta:hover {
  background-color: #5e2f82;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(114, 64, 154, 0.35);
}

.btn-consulta:active {
  transform: translateY(0);
  box-shadow: none;
}