/* ==========================================================================
   EVENTOS SECTION — B.E.M. ARCHITECTURE
   Inspired by luxury gastronomic editorial staging with arched typography & fan cards
   ========================================================================== */

.eventos-section {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background-color: #ffffff;
  color: var(--color-charcoal, #313131);
  padding: 7.5rem 1.5rem 8.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Background Atmosphere with Luminous Gastronomic Ambience */
.eventos-section__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.eventos-section__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(28px) brightness(1.2);
  opacity: 0.05;
  transform: scale(1.08);
}

.eventos-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.94) 50%, #ffffff 100%);
  pointer-events: none;
}

/* Central Stage Container */
.eventos-section__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Arched Title (Curved SVG path animation)
   -------------------------------------------------------------------------- */
.eventos-section__arc-wrap {
  width: 100%;
  max-width: 880px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}

.eventos-section__arc-svg {
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 220;
  overflow: visible;
  display: block;
}

.eventos-arc-text {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  fill: var(--color-charcoal, #313131);
  dominant-baseline: middle;
}

/* --------------------------------------------------------------------------
   Center Emblem Logo (assets/img/logo-cor-BF721E.png)
   -------------------------------------------------------------------------- */
.eventos-section__logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.85rem 0 2.75rem;
  transition: transform var(--transition-smooth);
}

.eventos-section__logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(191, 114, 30, 0.22));
  transition: transform var(--transition-fast);
}

.eventos-section__logo:hover {
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   Three White Rounded Cards Stage (Fan opening animation)
   -------------------------------------------------------------------------- */
.eventos-section__cards-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 640px;
  height: 350px;
  margin-bottom: 3rem;
  perspective: 1000px;
}

/* Base Card Shell with White Rounded Border */
.eventos-card {
  border: 4px solid #ffffff;
  border-radius: 18px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  will-change: transform, opacity;
  transition: box-shadow var(--transition-smooth);
}

.eventos-card:hover {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.14), 0 6px 16px rgba(0, 0, 0, 0.06);
}

.eventos-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-luxury);
}

.eventos-card:hover .eventos-card__img {
  transform: scale(1.06);
}

/* Left Card */
.eventos-card--left {
  position: absolute;
  width: 195px;
  height: 285px;
  z-index: 1;
  transform: rotate(-7deg) translateX(-115px);
}

/* Center Card (Prominent & Foreground) */
.eventos-card--center {
  position: relative;
  width: 220px;
  height: 320px;
  z-index: 2;
  transform: rotate(0deg) translateZ(10px);
}

/* Right Card */
.eventos-card--right {
  position: absolute;
  width: 195px;
  height: 285px;
  z-index: 1;
  transform: rotate(7deg) translateX(115px);
}

/* --------------------------------------------------------------------------
   Description Text & Design System CTA Button (No rounded corners)
   -------------------------------------------------------------------------- */
.eventos-section__description {
  font-family: var(--font-text);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.8;
  color: #555252;
  max-width: 800px;
  margin-bottom: 2.25rem;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
}

.eventos-section__btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.eventos-section__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 3.5rem;
  background-color: #BF721E;
  color: #ffffff;
  border: 1px solid #BF721E;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(191, 114, 30, 0.25);
  transition: all 400ms var(--ease-luxury);
}

.eventos-section__btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: none;
}

.eventos-section__btn:hover::after {
  left: 100%;
  transition: left 0.75s ease-in-out;
}

.eventos-section__btn:hover {
  transform: translateY(-2px);
  background-color: #a85f14;
  border-color: #a85f14;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(191, 114, 30, 0.45);
}

.eventos-section__btn:active {
  transform: translateY(1px);
}

/* ==========================================================================
   RESPONSIVENESS (TABLET & MOBILE)
   ========================================================================== */

/* Tablet (Portrait & Landscape: 768px - 1024px) */
@media (max-width: 1024px) {
  .eventos-section {
    padding: 6.5rem 1.5rem 7.5rem;
  }

  .eventos-section__arc-wrap {
    max-width: 740px;
  }

  .eventos-section__arc-svg {
    height: auto;
    aspect-ratio: 900 / 220;
  }

  .eventos-arc-text {
    font-size: 38px;
    letter-spacing: 0.02em;
  }

  .eventos-section__cards-stage {
    height: 310px;
    margin-bottom: 2.75rem;
  }

  .eventos-card--center {
    width: 195px;
    height: 285px;
  }

  .eventos-card--left {
    width: 175px;
    height: 255px;
    transform: rotate(-7deg) translateX(-95px);
  }

  .eventos-card--right {
    width: 175px;
    height: 255px;
    transform: rotate(7deg) translateX(95px);
  }

  .eventos-section__description {
    font-size: 1.1rem;
    max-width: 500px;
  }
}

/* Mobile Devices (<= 767px) */
@media (max-width: 767px) {
  .eventos-section {
    padding: 5rem 1.25rem 6rem;
  }

  .eventos-section__arc-wrap {
    width: calc(100% + 1rem);
    max-width: calc(100% + 1rem);
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    margin-bottom: 0.5rem;
  }

  .eventos-section__arc-svg {
    height: auto;
    aspect-ratio: 900 / 220;
  }

  .eventos-arc-text {
    font-size: 45px;
    letter-spacing: 0.02em;
  }

  .eventos-section__logo-wrap {
    margin: 0.6rem 0 2rem;
  }

  .eventos-section__logo {
    height: 30px;
  }

  .eventos-section__cards-stage {
    height: 260px;
    margin-bottom: 2.25rem;
  }

  .eventos-card {
    border-width: 3px;
    border-radius: 14px;
  }

  .eventos-card--center {
    width: 160px;
    height: 235px;
  }

  .eventos-card--left {
    width: 140px;
    height: 205px;
    transform: rotate(-7deg) translateX(-70px);
  }

  .eventos-card--right {
    width: 140px;
    height: 205px;
    transform: rotate(7deg) translateX(70px);
  }

  .eventos-section__description {
    font-size: 1.3rem;
    line-height: 1.65;
    max-width: 94%;
    margin-bottom: 2rem;
  }

  .eventos-section__btn {
    padding: 0.95rem 2.6rem;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    border-radius: 0;
  }
}