/* EventsChurch — página de evento (estilo e-inscrição) */
:root {
  --ink: #0e1c18;
  --ink-soft: #1a2f28;
  --forest: #1f4a3c;
  --moss: #2d6a55;
  --leaf: #3d8b6e;
  --gold: #c4a35a;
  --gold-bright: #dbb96a;
  --sand: #e8ebe6;
  --paper: #f3f5f2;
  --white: #ffffff;
  --text: #1c2b26;
  --muted: #5a6b64;
  --line: rgba(14, 28, 24, 0.12);
  --danger: #b33a3a;
  --ok: #1f7a4d;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(14, 28, 24, 0.14);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --max: 1120px;
  --topbar-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--moss);
}

/* ——— Topbar ——— */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--topbar-h);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.topbar.is-solid {
  background: rgba(14, 28, 24, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.topbar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--gold-bright), var(--gold) 45%, var(--leaf));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  position: relative;
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px solid rgba(14, 28, 24, 0.55);
  border-radius: 50%;
  border-top-color: transparent;
  transform: rotate(-25deg);
}

.brand__name {
  font-size: 1rem;
}

.topbar__nav {
  display: none;
  gap: 1.35rem;
  margin-left: auto;
}

.topbar__nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}

.topbar__nav a:hover {
  color: var(--white);
}

.topbar .btn--sm {
  margin-left: auto;
}

@media (min-width: 880px) {
  .topbar__nav {
    display: flex;
  }

  .topbar .btn--sm {
    margin-left: 0;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(196, 163, 90, 0.35);
}

.btn--primary:hover {
  color: var(--ink);
  filter: brightness(1.05);
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  filter: none;
}

.btn--secondary {
  background: var(--sand);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

/* Banner limpo: só a imagem; aviso sobreposto após encerrar inscrições */
.hero--banner {
  position: relative;
  min-height: 0;
  display: block;
  background: #0e1c18;
  overflow: hidden;
}

.hero--banner .hero__banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  vertical-align: middle;
}

.hero__encerrado {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.5rem;
  text-align: center;
  background: rgba(14, 28, 24, 0.62);
  color: var(--white);
  backdrop-filter: blur(2px);
}

.hero__encerrado[hidden] {
  display: none !important;
}

.hero__encerrado-badge {
  margin: 0;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: rgba(179, 58, 58, 0.92);
  color: #fff;
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.hero__encerrado-text {
  margin: 0;
  max-width: 28ch;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

.hero--banner.is-inscricoes-encerradas .hero__banner,
.hero--banner.is-inscricoes-encerradas .hero__media {
  filter: saturate(0.85) brightness(0.78);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    url("https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&w=2000&q=80")
    center / cover no-repeat;
  transform: scale(1.06);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero--banner .hero__media {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  transform: none;
  animation: none;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 28, 24, 0.35) 0%, rgba(14, 28, 24, 0.55) 42%, rgba(14, 28, 24, 0.92) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(61, 139, 110, 0.25), transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--topbar-h) + 2rem) 1.25rem 5.5rem;
}

.hero__org {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 34ch;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.86);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
}

.hero__scroll span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 6px auto 0;
  border-radius: 4px;
  background: var(--gold-bright);
  animation: scroll-dot 1.6s ease-in-out infinite;
}

@keyframes hero-drift {
  from { transform: scale(1.06) translateY(0); }
  to { transform: scale(1.12) translateY(-2%); }
}

@keyframes scroll-dot {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(10px); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal:nth-child(1) { animation-delay: 0.1s; }
.reveal:nth-child(2) { animation-delay: 0.25s; }
.reveal:nth-child(3) { animation-delay: 0.4s; }
.reveal:nth-child(4) { animation-delay: 0.55s; }

@keyframes reveal-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ——— Meta strip ——— */
/* ——— Countdown (abaixo do banner) ——— */
.countdown {
  background:
    linear-gradient(135deg, #16352c 0%, #1f4a3c 48%, #2a5f4d 100%);
  color: var(--white);
  padding: 1.5rem 1.25rem 1.65rem;
  border-bottom: 1px solid rgba(196, 163, 90, 0.28);
}

.countdown__inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.countdown__label {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 420px;
  margin: 0 auto;
}

.countdown__unit {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.7rem 0.35rem 0.65rem;
}

.countdown__unit strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5vw, 2.1rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.countdown__unit span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.countdown__until {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

.countdown.is-ended .countdown__label {
  color: #ffb4b4;
}

.meta {
  background: var(--ink);
  color: var(--white);
  padding: 1.75rem 1.25rem;
}

.meta__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 800px) {
  .meta__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.meta__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.meta__item strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.meta__item span:last-child {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.meta__endereco {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem !important;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72) !important;
}

.evento-mapa {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.evento-mapa__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a2a24;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

.evento-mapa__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px;
}

.evento-mapa__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

@media (max-width: 640px) {
  .evento-mapa__frame {
    aspect-ratio: 4 / 3;
  }

  .evento-mapa__actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* ——— Sections ——— */
.section {
  padding: 4.5rem 1.25rem;
}

.section--muted {
  background: var(--sand);
}

.section__header {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}

.section__header h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 18ch;
  color: var(--ink);
}

.section__lead {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.section__header--center {
  text-align: center;
}

.section__header--center h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 36ch;
}

.section__header--center .section__lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 48ch;
}

.section__header--center .section__cta {
  margin: 1.25rem 0 0;
  display: flex;
  justify-content: center;
}

#inscricao.is-visible {
  animation: inscricaoReveal 0.45s ease both;
}

@keyframes inscricaoReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fluxo inscrição: tipo → dados → pagamento */
.insc-passo {
  display: grid;
  gap: 1rem;
}

.insc-tipo {
  display: grid;
  gap: 0.85rem;
}

.insc-tipo__card {
  display: grid;
  gap: 0.35rem;
  text-align: left;
  width: 100%;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line, #e4e0d8);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

button.insc-tipo__card:hover {
  border-color: var(--gold, #c4a35a);
  box-shadow: 0 8px 24px rgba(14, 28, 24, 0.08);
  transform: translateY(-1px);
}

.insc-tipo__card strong {
  font-size: 1.05rem;
  color: var(--ink, #0e1c18);
}

.insc-tipo__card > span {
  font-size: 0.92rem;
  color: var(--muted, #66706c);
}

.insc-tipo__card--grupo {
  cursor: default;
}

.insc-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0.85rem 0 1rem;
}

.insc-stepper__btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--line, #e4e0d8);
  background: #fff;
  color: var(--ink, #0e1c18);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}

.insc-stepper__btn:hover:not(:disabled) {
  border-color: var(--gold, #c4a35a);
  background: #fffaf0;
}

.insc-stepper__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.insc-stepper__value {
  min-width: 5.5rem;
  text-align: center;
  display: grid;
  gap: 0.1rem;
}

.insc-stepper__value strong {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--ink, #0e1c18);
}

.insc-stepper__value span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted, #66706c);
}

.checkout--inscricao {
  grid-template-columns: 1fr !important;
  max-width: 640px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

.checkout--inscricao .form {
  width: 100%;
}

#passo-dados {
  width: 100%;
  justify-items: center;
}

.insc-progresso {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #66706c);
  text-align: center;
  width: 100%;
}

.insc-caixas {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  justify-items: stretch;
}

.insc-caixa {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line, #e4e0d8);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(14, 28, 24, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.insc-caixa.is-erro {
  border-color: #c45c5c;
  box-shadow: 0 0 0 2px rgba(196, 92, 92, 0.2);
}

.insc-caixa.is-descartada {
  opacity: 0.45;
}

.insc-caixa__head {
  padding: 0.85rem 1.1rem;
  background: rgba(14, 28, 24, 0.04);
  border-bottom: 1px solid var(--line, #e4e0d8);
  text-align: center;
}

.insc-caixa__head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink, #0e1c18);
}

#passo-dados .btn {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.insc-caixa__body {
  padding: 1rem 1.1rem 1.15rem;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .insc-caixa__body {
    grid-template-columns: 1fr 1fr;
  }

  .insc-caixa__body .field--full,
  .insc-caixa__body .check {
    grid-column: 1 / -1;
  }
}

.insc-tipo__qtd {
  margin: 0.65rem 0 0.35rem;
}

.insc-resumo {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line, #e4e0d8);
  margin-bottom: 0.5rem;
}

.insc-resumo__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.insc-resumo__item span {
  font-size: 0.9rem;
  color: var(--muted, #66706c);
}

.insc-resumo__item strong {
  font-size: 1.05rem;
  color: var(--ink, #0e1c18);
}

.insc-resumo__item--total {
  padding-top: 0.65rem;
  border-top: 1px solid var(--line, #e4e0d8);
}

.insc-resumo__item--total strong {
  font-size: 1.35rem;
}

.insc-lista {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.insc-lista li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: rgba(14, 28, 24, 0.03);
  font-size: 0.92rem;
}

.insc-lista li span {
  color: var(--muted, #66706c);
  font-size: 0.82rem;
  word-break: break-all;
}

/* ——— About ——— */
.about__body {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .about__body {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.about__text p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.checklist {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  font-weight: 500;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px var(--leaf);
}

.video-frame {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(14, 28, 24, 0.45), rgba(14, 28, 24, 0.75)),
    url("https://images.unsplash.com/photo-1505373877841-8d25f7d46678?auto=format&fit=crop&w=1200&q=80")
    center / cover;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.video-frame__play {
  appearance: none;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transition: background 0.2s, transform 0.2s;
}

.video-frame__play:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.03);
}

.video-caption {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ——— Speakers ——— */
.speakers {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .speakers {
    grid-template-columns: repeat(3, 1fr);
  }
}

.speaker {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.speaker__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--ink-soft) var(--photo) center / cover no-repeat;
  filter: saturate(0.92);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.speaker:hover .speaker__photo {
  transform: translateY(-4px);
  filter: saturate(1.05);
}

.speaker h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.speaker p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Schedule ——— */
.schedule {
  max-width: var(--max);
  margin: 0 auto;
}

.schedule__tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
}

.schedule__tab {
  appearance: none;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.schedule__tab.is-active {
  background: var(--ink);
  color: var(--white);
}

.schedule__panel {
  display: none;
  animation: fade-panel 0.35s ease;
}

.schedule__panel.is-active {
  display: grid;
  gap: 0;
}

@keyframes fade-panel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.slot {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.slot time {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--moss);
  font-size: 0.95rem;
}

.slot strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.slot span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ——— Venue ——— */
.venue {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 860px) {
  .venue {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }
}

.venue__map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  background: var(--ink-soft);
  box-shadow: var(--shadow);
}

.venue__map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
  filter: grayscale(0.25) contrast(1.05);
}

.venue__info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
}

.venue__info p {
  margin: 0;
  color: var(--muted);
}

.venue__info strong {
  color: var(--ink);
  display: inline-block;
  margin-bottom: 0.25rem;
}

/* ——— Checkout / inscrição ——— */
.checkout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .checkout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}

.lots {
  display: grid;
  gap: 0.85rem;
}

.lot {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "badge price"
    "name price"
    "note price";
  gap: 0.15rem 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
}

.lot:hover {
  box-shadow: inset 0 0 0 1px rgba(45, 106, 85, 0.35);
}

.lot.is-selected {
  background: linear-gradient(180deg, #ffffff, #f0f6f3);
  box-shadow: inset 0 0 0 2px var(--moss);
}

.lot input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lot__badge {
  grid-area: badge;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
}

.lot__badge--soon {
  color: var(--muted);
}

.lot__name {
  grid-area: name;
  font-weight: 600;
  font-size: 1.05rem;
}

.lot__price {
  grid-area: price;
  align-self: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}

.lot__note {
  grid-area: note;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Form */
.form {
  background: var(--white);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

@media (min-width: 600px) {
  .form {
    padding: 2rem;
  }
}

.form fieldset {
  border: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.form legend {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0;
  color: var(--ink);
}

.form__row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.field--full {
  margin-bottom: 1rem;
}

.field input,
.field select,
.field textarea {
  appearance: none;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--leaf);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(61, 139, 110, 0.18);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: var(--danger);
}

.field__hint {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ok);
}

.field__hint.is-error {
  color: var(--danger);
}

.coupon {
  display: flex;
  gap: 0.5rem;
}

.coupon input {
  flex: 1;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.75rem 0;
  cursor: pointer;
}

.check input {
  margin-top: 0.2rem;
  accent-color: var(--moss);
}

.pay-options {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.pay {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  font-size: 0.92rem;
  transition: box-shadow 0.2s;
}

.pay input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay.is-selected {
  box-shadow: inset 0 0 0 2px var(--moss);
  background: #eef6f2;
}

.pay__icon {
  display: inline-grid;
  place-items: center;
  min-width: 2.4rem;
  height: 1.8rem;
  padding: 0 0.4rem;
  border-radius: 6px;
  background: var(--ink);
  color: var(--gold-bright);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form__summary {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 0 0.5rem;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
}

.form__summary > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.form__summary span {
  color: var(--muted);
  font-size: 0.95rem;
}

.form__summary strong {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--ink);
}

.form__secure {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.form__feedback {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #fceaea;
  color: var(--danger);
  font-size: 0.9rem;
}

.form__feedback.is-ok {
  background: #e8f5ee;
  color: var(--ok);
}

/* ——— FAQ ——— */
.faq {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0.65rem;
}

.faq__item {
  background: var(--white);
  border-radius: 12px;
  padding: 0 1.15rem;
  box-shadow: inset 0 0 0 1px var(--line);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 0;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--moss);
  transition: transform 0.2s;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  padding-right: 1.5rem;
}

/* ——— Footer ——— */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 1.25rem 5.5rem;
}

.footer--mapa {
  padding-top: 0;
}

.footer-mapa {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-mapa__head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.footer-mapa__head .eyebrow {
  color: var(--gold);
}

.footer-mapa__head h2 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
}

.footer-mapa__addr {
  margin: 0 auto;
  max-width: 48ch;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer__inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }

  .footer {
    padding-bottom: 3rem;
  }
}

.footer__brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer__brand strong {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.footer__brand p {
  margin: 0;
  max-width: 32ch;
  font-size: 0.9rem;
}

.footer__meta {
  font-size: 0.88rem;
}

.footer__meta p {
  margin: 0 0 0.4rem;
}

.footer__meta strong {
  color: var(--white);
}

.footer__url {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  color: var(--gold);
  word-break: break-all;
}

/* ——— Mobile CTA ——— */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem calc(0.85rem + env(safe-area-inset-bottom));
  background: rgba(14, 28, 24, 0.96);
  backdrop-filter: blur(10px);
  color: var(--white);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
}

.mobile-cta[hidden] {
  display: none !important;
}

.mobile-cta span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
}

.mobile-cta strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

@media (min-width: 880px) {
  .mobile-cta {
    display: none !important;
  }
}

/* ——— Modal ——— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal[hidden] {
  display: none !important;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 28, 24, 0.72);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  background: var(--white);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow);
  text-align: center;
  animation: reveal-up 0.4s ease;
}

.modal__dialog h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--ink);
}

.modal__dialog p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.modal__code {
  background: var(--paper);
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 0.9rem;
}

.modal__emails {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  text-align: left;
  background: var(--paper, #f3f5f2);
  border-radius: 10px;
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--ink, #0e1c18);
}

.modal__emails li em {
  color: var(--muted, #66706c);
  font-style: normal;
  font-size: 0.82rem;
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media,
  .hero__scroll span,
  .reveal {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
