@import url('./colors.css');
@import url('./typography.css');

/* ===== RESET E BASE ===== */

html {
  scroll-padding-top: 100px;
  /* Ajuste este valor se necessário */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  outline: none;
  color: #fff;
  display: inline;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-white);
  color: var(--text-primary);
  line-height: var(--line-height-relaxed);
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: var(--font-size-4xl);
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 3rem;
}

/* ===== TIPOGRAFIA ===== */
h1,
h2,
h3 {
  font-weight: 600;
}

/* ===== BOTÕES ===== */
.btn-primary {
  background: var(--primary-color);
  color: var(--text-white);
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-info-outline {
  background: transparent;
  color: var(--info-color);
  border: 2px solid var(--info-color);
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-info-outline:hover {
  background: var(--info-color);
  color: var(--text-white);
}

/* ===== HEADER ===== */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-light);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 70px;
}

.nav {
  display: block;
  /* Modificado para ser controlado por media query */
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.nav a:hover {
  color: var(--primary-color);
}

.nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.header-buttons {
  display: flex;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 4px 0;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-10px, 10px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* ===== SOCIAL SIDEBAR ===== */
.social-sidebar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 100;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.social-link:hover {
  background: var(--primary-hover);
  transform: scale(1.1);
}

/* ===== HERO SECTION ===== */
.hero {
  background: var(--bg-white);
  padding-top: 80px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -25%;
  width: 90%;
  height: 150%;
  background: var(--gradient-hero);
  border-radius: 50%;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-tight);
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-heavy);
}

/* ===== HISTÓRIA SECTION ===== */
.historia {
  padding: 100px 0;
  background: var(--bg-white);
}

.historia-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.historia-image img {
  width: 700px;
  height: 500px;
  object-fit: cover;

  border-radius: 15px;
  box-shadow: var(--shadow-medium);
}

@media (max-width: 768px) {
  .historia-image img {
    width: 350px;
    height: 250px;
    object-fit: cover;
  }

  .historia .container {

    overflow: hidden;
  }
}

.historia-text h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: 1.5rem;
}

.historia-text p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-bottom: 2rem;
}



.linha-do-tempo-container {
  display: none;
}

.timeline {
  position: relative;
  margin: 40px auto;
  padding: 20px 0;
  width: 80%;
  gap: 40px;
  display: flex;
  flex-direction: column;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 60px;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 0;
  width: 65px;
  height: 65px;
  background: var(--secondary-light);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 2;
}

.timeline-dot.selected {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 64px;
  width: 5px;
  height: 150%;
  background: var(--secondary-light);
  z-index: 1;
  transition: background 0.3s;
}

.timeline-item.selected::before {
  background: var(--primary-color);
}




.timeline-item.last::before {
  height: 0px;
}

.timeline-content h3 {
  margin: 0 0 5px 10px;
  display: inline-block;
  transition: color 0.3s;
  color: var(--text-secondary);
}

.timeline-content {
  text-align: left;
}

.timeline-content h3.selected {
  color: var(--primary-color);
}

.timeline-content .conteudo {
  margin-top: 10px;
  padding: 15px;
  border: 2px solid var(--primary-color);
  ;
  border-radius: 8px;
  display: none;
  background: var(--primary-color);
  color: var(--text-white);
}

.timeline-content .conteudo.show {
  display: block;
}

/* ===== VALORES SECTION ===== */
.valores {
  padding: 80px 0;
  background: var(--bg-light);
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.valor-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.valor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.valor-icon {
  width: 90px;
  height: 90px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: var(--text-white);
  box-shadow: var(--shadow-primary);
}

.valor-card h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
}

.valor-card p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0.5rem;
}

.valor-card p:last-child {
  margin-bottom: 0;
}

.section-wavy-bg {
  background-color: var(--primary-lighter);
  padding: 40px 0;
  /* ajuste de espaçamento padrão */
}

/* ===== AÇÕES DA REDE ===== */
.acoes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 3rem;
}

.acao-card {
  background-color: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--primary-light);
  display: flex;
  justify-content: center;
  align-items: center;
}

.acao-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--primary-color);
}

.acao-card h3 {
  color: var(--primary-dark);
  font-size: var(--font-size-xl);
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
}

/* ===== MODAIS ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: var(--overlay-dark);
}

.modal-content {
  background-color: var(--bg-white);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow-heavy);
}

.close {
  color: var(--text-light);
  float: right;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close:hover,
.close:focus {
  color: var(--primary-color);
}

.modal h2 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.forgot-password {
  text-align: center;
  margin-top: 1rem;
}

.forgot-password a {
  color: var(--primary-color);
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}

/* ===== AJUDA SECTION ===== */
.ajuda {
  text-align: center;
  background-color: var(--bg-light);
  padding: 80px 0;
}

.ajuda-icon {
  width: 100px;
  height: 100px;
  background: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 3rem;
  color: var(--primary-color);
  box-shadow: var(--shadow-heavy);
}

.ajuda h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: 1rem;
}

.ajuda p {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== COMO AJUDAR ===== */
.como-ajudar .container {
  position: relative;
  z-index: 1;
}

.ajudar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ajudar-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
}

.ajudar-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.ajudar-card .card-image {
  width: 150px;
  height: 150px;
  margin: -4rem auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 6px solid var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.ajudar-card .card-image span {
  font-size: 60px;
}

.ajudar-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 10% 50%;
}

.ajudar-card h3 {
  font-size: var(--font-size-xl);
  font-family: var(--font-primary);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.ajudar-card p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ===== APP SECTION ===== */
.app-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.app-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.app-text {
  border: 2px solid var(--primary-lighter);
  border-radius: 20px;
  padding: 3rem;
}

.app-text h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: 1.5rem;
}

.app-text p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.app-image {
  text-align: center;
}

.app-image img {
  max-width: 250px;
}

/* ===== PARCEIROS SECTION ===== */
.parceiros-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  align-items: center;
}

.card-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 100px;
  border-radius: 16px;
  background-color: #fff;
  border: 1px solid rgb(177, 177, 177);
  overflow: hidden;
}

.card-img:hover {
  transform: translateY(-15px);
  transform: scale(1.1);
}

.card-img img {
  width: 100%;
  object-fit: cover;


}

.parceiros-grid img:hover {
  filter: grayscale(0%);
}

/* ===== EVENTOS SECTION ===== */
.eventos {
  padding: 100px 0;
  text-align: center;
}

.eventos p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: -2rem auto 3rem auto;
}

.eventos-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
  justify-content: center;
}

.evento-card {
  flex: 0 0 calc(33.333% - 1rem);
}

.evento-card img {
  width: 100%;
  border-radius: 15px;
  box-shadow: var(--shadow-medium);
}

/* ===== GALERIA SECTION ===== */

.galeria-carousel {
  position: relative;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  color: var(--primary-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

.galeria {
  padding: 100px 0;
  text-align: center;
}

.galeria p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: -2rem auto 3rem auto;
}

.galeria .btn-primary {
  margin-top: 2rem;
}





.galeria-carousel {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
  /* limite de largura */
  margin: auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 15px;
  margin-left: 120px;

}

.evento-card {
  width: 250px;
  /* largura mínima de cada card */
  height: 200px;
  flex: 0 0 auto;
  /* impede encolhimento */
  border-radius: 12px;
  overflow: hidden;
}

.evento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}






/* ===== FOOTER ===== */
.footer {
  background: var(--primary-lighter);
  padding: 60px 0 20px;
  text-align: center;
}

.footer .footer-logo {
  height: 50px;
  margin-bottom: 1.5rem;
}

.footer h3 {
  font-size: var(--font-size-3xl);
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
}

.footer p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.footer .footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.footer .footer-bottom p {
  text-transform: none;
  margin-bottom: 0;
}

/* ===== ANIMAÇÕES ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {

  /* Ajustes para tablets e telas menores */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow-medium);
  }

  .nav.active {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
  }

  .header-buttons {
    display: none;
    /* Esconde os botões do header */
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero::before {
    right: -50%;
    width: 120%;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .historia-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .historia-image {
    order: -1;
    /* Imagem vai para cima no mobile */
  }

  .acoes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ajudar-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .app-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .app-image {
    order: -1;
    margin-bottom: 2rem;
  }

  .parceiros-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }



  .evento-card {
    flex: 0 0 calc(50% - 0.75rem);
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
  }
}

@media (max-width: 768px) {


  .cont_pb {

    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;

  }

  .publicacao {
    width: 340px;
  }

  /* Ajustes para celulares em paisagem e tablets pequenos */
  .container {
    padding: 0 15px;
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }

  .hero {
    padding-top: 100px;
    min-height: 70vh;
  }

  .hero-text h1 {
    font-size: var(--font-size-4xl);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-buttons .btn-primary {
    width: 100%;
    max-width: 280px;
  }



  .valores-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .parceiros-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-wavy-bg,
  .section-wavy-border-top {
    padding: 30px 0;
  }

  .section-wavy-bg::before,
  .section-wavy-bg::after,
  .section-wavy-border-top::before {
    height: 30px;
  }

  .acao-card {
    padding: 2rem 1.5rem;
  }

  .acao-card h3 {
    font-size: var(--font-size-lg);
  }

  .ajudar-card {
    padding: 2rem 1.5rem;
  }

  .ajudar-card .card-image {
    width: 120px;
    height: 120px;
    margin: -3rem auto 1rem;
  }

  .app-text {
    padding: 2rem;
  }

  .modal-content {
    margin: 15% auto;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {

  /* Ajustes para celulares em retrato */
  .hero {
    min-height: 60vh;
  }

  .hero-text h1 {
    font-size: var(--font-size-3xl);
    line-height: 1.3;
  }

  .hero-text p {
    font-size: var(--font-size-base);
  }

  .historia-text h2 {
    font-size: var(--font-size-3xl);
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .valor-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .valor-card h3 {
    font-size: var(--font-size-lg);
  }

  .acao-card {
    padding: 1.5rem 1rem;
  }

  .acao-card h3 {
    font-size: var(--font-size-base);
  }

  .evento-card {
    flex: 0 0 100%;
  }

  .footer h3 {
    font-size: var(--font-size-2xl);
  }

  .modal-content {
    margin: 20% auto;
    padding: 1rem;
  }

  .modal h2 {
    font-size: var(--font-size-2xl);
  }
}






/* section {
  height: 100vh;
  scroll-snap-align: start;
  scroll-margin-top: 100px;
}

body {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
} */

h1,
h2,
h3 {
  font-weight: 600;
}

/* ===== DROPDOWN CORRIGIDO ===== */
/* Container principal do menu */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  background-color: var(--bg-white);
  position: relative;
}

nav li {
  position: relative;
}

/* Dropdown padrão - ESCONDIDO por padrão */
nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  /* Posiciona abaixo do item pai */
  left: 0;
  background-color: var(--bg-white);
  padding: 10px 0;
  border-radius: 5px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 200px;
}

/* REMOVIDO: Submenus visíveis no hover */
/* nav ul li:hover > ul {
  display: block;
} */

/* Submenus visíveis apenas quando a classe 'open' estiver presente */
nav ul li.dropdown.open ul {
  display: block;
}

/* Estilo dos itens do submenu */
nav ul li ul li {
  white-space: nowrap;
  padding: 10px 20px;
}

/* Estilo ao passar o mouse nos itens do submenu */
nav ul li ul li:hover {
  background-color: var(--primary-lighter);
}

/* Estilo do link do dropdown toggle */
.dropdown-toggle {
  cursor: pointer;
  user-select: none;
}

/* Animação suave para o dropdown */
nav ul li ul {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

nav ul li.dropdown.open ul {
  opacity: 1;
  transform: translateY(0);
}

/* Oculta por padrão */
.app-section {
  display: none;
  padding: 2rem;
  background: #f9f9f9;
}

.app-section.ativo {
  display: block;
}

/* ===== GALERIA ===== */
.galeria {
  padding: 60px 0;
  background: var(--bg-light);
}

.galeria-carousel {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.evento-card {
  flex: 0 0 auto;
  /* impede de encolher */
  width: 300px;
  margin-right: 16px;
  border-radius: 10px;
  overflow: hidden;
}

.evento-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Setas */
.carousel-arrow {
  background: var(--primary-color);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

/* ===== Responsividade ===== */
@media (max-width: 1024px) {
  .evento-card {
    width: 250px;
  }

  .evento-card img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .galeria .section-title {
    font-size: var(--font-size-3xl);
  }

  .carousel-arrow {
    width: 35px;
    height: 35px;
  }

  .evento-card {
    width: 200px;
    margin-right: 10px;
  }

  .evento-card img {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .evento-card {
    width: 160px;
  }

  .evento-card img {
    height: 120px;
  }
}