/* =============================
   RESET
============================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =============================
   BODY
============================= */
body {
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(140deg, #000000, #0a0013, #1b0033);
  background-attachment: fixed;
  color: #e5e5e7;
}

/* =============================
   HEADER
============================= */
header {
  text-align: center;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  font-size: 1.6rem;
  padding: 18px 10px;
}

/* =============================
   TÍTULO PRINCIPAL
============================= */
main h2 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 500;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 16px;
  letter-spacing: 0.3px;
}

/* =============================
   SLIDER CONTAINER
============================= */
.slider {
  max-width: 1200px;
  width: 90%;
  margin: 30px auto;
  padding: 22px;

  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
}

/* =============================
   SLIDE ITEM
============================= */
.slide-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
}

.splide__slide img {
  display: block;
  width: 100%;
  height: auto;
}

/* =============================
   LEGENDA
============================= */
.legenda {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px 16px;

  font-size: 1rem;
  color: #fff;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.178));
  backdrop-filter: blur(4px);
}

/* =============================
   PAGINAÇÃO
============================= */
.splide__pagination {
  position: static;
  margin-top: 14px;
}

.splide__pagination__page {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #888;
  opacity: 0.4;
  transition: 0.25s ease;
}

.splide__pagination__page.is-active {
  transform: scale(1.55);
  background: #ffffff;
  opacity: 1;
}

/* =============================
   SETAS
============================= */
.splide__arrow {
  background: rgba(255, 255, 255, 0.733);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);

  width: 42px;
  height: 42px;
  border-radius: 50%;
  opacity: 0.75;

  transition: all 0.3s ease;
}

.splide__arrow:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.25);
}



/* =========================================
   CAROUSEL AUTOMÁTICO (AUTO SCROLL)
========================================= */
.carousel {
  max-width: 700px;
  width: 90%;
  margin: 50px auto;
  padding: 10px;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 16px;
}

.carousel img {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}
