/* ============================================================
   EVENTO INDIVIDUAL — estilos específicos de página de evento
   ============================================================ */

/* ── HERO DO EVENTO ─────────────────────────────────────────── */
.ev-hero {
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-rows: auto 1fr;
}

/* Imagem full-width no topo */
.ev-hero__image {
  width: 100%;
  aspect-ratio: 21/9;
  background: var(--cream-dark);
  overflow: hidden;
  position: relative;
}
.ev-hero__image img {
  width: 100%; height: 100%; object-fit: cover;
}
.ev-hero__image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
}
.ev-hero__image-placeholder .ph-icon {
  width: 56px; height: 56px;
  border: 2px dashed var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--border); font-size: 22px;
}
.ev-hero__image-placeholder span {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--border);
}

/* Grid info + preco box */
.ev-hero__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1px;
  background: var(--border);
}

.ev-hero__left {
  padding: clamp(36px, 5vw, 72px) var(--mg);
  background: var(--cream);
  display: flex; flex-direction: column;
}

.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: var(--muted); font-weight: 500;
}
.breadcrumb a { color: var(--gold-dark); }
.breadcrumb a:hover { text-decoration: underline; }

.ev-hero__title {
  margin-top: 16px;
  font-size: clamp(38px, 5.5vw, 80px);
  font-weight: 900; line-height: 0.95;
}

.ev-hero__instructor {
  font-size: 15px; color: var(--dark-2); margin-top: 16px;
  max-width: none;
}
.ev-hero__instructor strong { font-weight: 700; }

.ev-hero__chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px;
}
.chip {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 7px 14px;
  border: 1px solid var(--border); border-radius: 100px;
  color: var(--dark-2); background: var(--cream);
}

/* Preco box — sticky no desktop */
.ev-hero__right {
  background: var(--cream-dark);
  padding: 40px 32px;
  position: sticky;
  top: 57px; /* altura do nav */
  align-self: start;
  border-left: 1px solid var(--border);
}

.ev-preco-box { display: flex; flex-direction: column; gap: 12px; }

.ev-preco {
  font-size: 52px; font-weight: 900;
  line-height: 1; color: var(--dark);
}

.ev-preco-nota {
  font-size: 12px; color: var(--muted);
  line-height: 1.55; margin-top: 4px; max-width: none;
}

/* ── LAYOUT PRINCIPAL DO EVENTO ──────────────────────────────── */
.ev-section {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1px;
  background: var(--border);
  padding: 0;
}

.ev-content {
  padding: clamp(40px, 6vw, 80px) var(--mg);
  background: var(--cream);
  display: flex; flex-direction: column; gap: 56px;
}

.ev-aside {
  background: var(--cream-dark);
  padding: 48px 32px;
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 40px;
}

.ev-block { display: flex; flex-direction: column; }

.ev-block h3 {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 900; margin-top: 8px;
}

.ev-block p { font-size: 15px; line-height: 1.8; max-width: none; }
.ev-block p + p { margin-top: 14px; }

.ev-block .e-lista { margin-top: 16px; }

.ev-detail-block { display: flex; flex-direction: column; }

.ev-details {
  list-style: none; display: flex; flex-direction: column;
  gap: 0; margin-top: 12px;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.ev-details li {
  display: flex; gap: 16px; padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--cream); font-size: 13px;
  line-height: 1.5;
}
.ev-details li:last-child { border-bottom: none; }
.ev-detail-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); flex-shrink: 0; min-width: 72px;
  padding-top: 2px;
}

/* ── INSTRUTOR ────────────────────────────────────────────────── */
.ev-instructor {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}

.ev-instructor__photo-placeholder {
  background: var(--cream-dark);
  overflow: hidden;
  position: relative;
  min-height: 200px;
}
.ev-instructor__photo-placeholder img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.ev-instructor__info {
  background: var(--cream); padding: 36px 40px;
}
.ev-instructor__info h3 { font-size: 28px; }
.ev-instructor__info p { font-size: 14px; max-width: 520px; line-height: 1.75; }
.ev-instructor__info p + p { margin-top: 12px; }

/* ── FORMULÁRIO ────────────────────────────────────────────────── */
.ev-form {
  display: flex; flex-direction: column; gap: 22px;
  max-width: 640px;
}

.ev-form__group { display: flex; flex-direction: column; gap: 7px; }

.ev-form__group label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark-2);
}

.ev-form__group input,
.ev-form__group textarea {
  font-family: var(--font); font-size: 15px;
  padding: 14px 16px; border: 1px solid var(--border);
  background: var(--cream); color: var(--dark);
  border-radius: var(--radius); outline: none;
  transition: border-color 0.18s;
  width: 100%;
}
.ev-form__group input:focus,
.ev-form__group textarea:focus { border-color: var(--gold-dark); }
.ev-form__group textarea { resize: vertical; min-height: 96px; }

.ev-form__footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.ev-preco-inline {
  font-size: 36px; font-weight: 900; line-height: 1;
}

.ev-form-nota {
  font-size: 13px; color: var(--muted); margin-top: 16px;
  line-height: 1.6; max-width: 560px;
}

/* ── CONFIRMAÇÃO ───────────────────────────────────────────────── */
.confirmacao {
  min-height: 70vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 80px var(--mg); gap: 24px;
}
.confirmacao__icon {
  width: 72px; height: 72px;
  border: 2px solid var(--gold);
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-size: 28px;
}
.confirmacao h2 { max-width: 500px; }
.confirmacao p { text-align: center; }
.confirmacao .btn { margin-top: 8px; }

/* ── RESPONSIVO ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ev-hero__inner { grid-template-columns: 1fr; }
  .ev-hero__right {
    position: static;
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .ev-hero__image { aspect-ratio: auto; max-height: 60vw; }
  .ev-hero__image img { width: 100%; height: 100%; object-fit: cover; }
  .ev-section { grid-template-columns: 1fr; }
  .ev-aside {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 40px var(--mg);
  }
  .ev-instructor { grid-template-columns: 140px 1fr; }
}

@media (max-width: 600px) {
  .ev-instructor { grid-template-columns: 1fr; }
  .ev-form__footer { flex-direction: column; align-items: flex-start; }
  .ev-form__footer .btn { width: 100%; }
  .ev-hero__image { max-height: 80vw; }
}
