/* ============================================================
   EVENTOS — page styles
   ============================================================ */

/* ------------------------------------------------------------
   INTRO
   ------------------------------------------------------------ */
.ev-intro {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--rose);
}

.ev-intro__inner {
  max-width: 72rem;
}

.ev-intro .section__eyebrow {
  color: var(--white);
}

.ev-intro__inner h1 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin-top: 0.8rem;
  margin-bottom: 1.5rem;
}

.ev-intro__inner > p:not(.section__eyebrow) {
  font-size: var(--text-size);
  font-weight: 300;
  line-height: var(--text-line);
  color: rgba(255,255,255,0.86);
  max-width: 60ch;
  text-align: justify;
  text-justify: inter-word;
}


/* ------------------------------------------------------------
   FILTROS
   ------------------------------------------------------------ */
.ev-filters {
  padding-block: clamp(2rem, 4vw, 3rem);
  background: var(--cream-dark);
  border-bottom: 1px solid rgba(61,43,31,0.08);
}

.ev-filters__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.ev-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5em 1.4em;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(61,43,31,0.18);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-mid);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.ev-filter-btn:hover,
.ev-filter-btn.is-active {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}


/* ------------------------------------------------------------
   LISTA DE EVENTOS
   ------------------------------------------------------------ */
.ev-list {
  padding-block: clamp(4rem, 7vw, 6rem);
  background: var(--cream-dark);
}

.ev-list__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2rem);
}

/* Card */
.ev-card {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-top: 2px solid transparent;
  transition: border-color var(--transition), background var(--transition-fast);
}

.ev-card:hover {
  border-top-color: var(--rose);
  background: var(--terra-light);
}

.ev-card:hover .ev-card__meta span:first-child,
.ev-card:hover .ev-card__meta span:last-child,
.ev-card:hover .ev-card__body h3,
.ev-card:hover .ev-card__body > p,
.ev-card:hover .ev-card__footer > span:first-child {
  color: var(--white);
}

.ev-card__img-wrap {
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.ev-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.ev-card:hover .ev-card__img {
  transform: scale(1.04);
}

.ev-card__body {
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ev-card__meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.ev-card__meta span:first-child {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
}

.ev-card__meta span:last-child {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--dark-mid);
  opacity: 0.7;
}

.ev-card__sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(61,43,31,0.2);
  flex-shrink: 0;
}

.ev-card__body h3 {
  font-family: var(--font-title);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.ev-card__body > p {
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--dark-mid);
  margin-bottom: 1.2rem;
  flex: 1;
}

.ev-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(61,43,31,0.07);
}

.ev-card__footer > span:first-child {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--dark-mid);
  opacity: 0.65;
}

.ev-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(61,43,31,0.15);
  color: var(--dark-mid);
  transition: var(--transition);
  flex-shrink: 0;
}

.ev-card__arrow svg {
  width: 16px;
  height: 16px;
}

.ev-card:hover .ev-card__arrow {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--terra-light);
}

/* Destaque — primeiro card a largura total */
.ev-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ev-card--featured .ev-card__img-wrap {
  aspect-ratio: auto;
  min-height: 320px;
}

.ev-card--featured .ev-card__body h3 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}


/* ------------------------------------------------------------
   ESTADO VAZIO (quando não há eventos nessa categoria)
   ------------------------------------------------------------ */
.ev-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  color: var(--dark-mid);
  opacity: 0.5;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  font-weight: 300;
}


/* ------------------------------------------------------------
   QUOTE
   ------------------------------------------------------------ */
.ev-quote {
  padding-block: clamp(5rem, 9vw, 7rem);
  background: var(--cream);
}

.ev-quote__inner {
  max-width: 60rem;
  margin: 0 auto;
  text-align: center;
}

.ev-quote__mark {
  font-family: var(--font-title);
  font-size: 3rem;
  color: var(--rose-light);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.ev-quote__text {
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.ev-quote__author {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
}


/* ------------------------------------------------------------
   CTA
   ------------------------------------------------------------ */
.ev-cta {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: var(--rose);
}

.ev-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 56rem;
}

.ev-cta__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-light);
}

.ev-cta__title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.08;
}

.ev-cta__sub {
  font-size: var(--text-size);
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: var(--text-line);
  max-width: 48ch;
}

.ev-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.ev-cta .btn-ghost {
  color: rgba(255,255,255,0.65);
  border-color: rgba(255,255,255,0.25);
}

.ev-cta .btn-ghost:hover {
  background: var(--terra-light);
  color: var(--white);
  border-color: var(--terra-light);
}


/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .ev-list__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ev-card--featured {
    grid-template-columns: 1fr;
  }

  .ev-card--featured .ev-card__img-wrap {
    min-height: 240px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 600px) {
  .ev-list__grid {
    grid-template-columns: 1fr;
  }

  .ev-card--featured {
    grid-column: auto;
  }
}
