:root {
  --event-ink: #172033;
  --event-muted: #5b667a;
  --event-panel: #0f3d35;
  --event-paper: #ffffff;
  --event-line: #dceee8;
  --event-accent: #1ac996;
  --event-accent-soft: #e9fbf5;
  --event-green: #1ac996;
  --event-green-dark: #10ad7d;
  --event-focus: rgba(26, 201, 150, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f6faf8;
}

.evento-page :is(h1, h2) { text-wrap: balance; }
.evento-page :is(p, strong, label) { overflow-wrap: anywhere; }
.evento-page :is(.evento-form-panel, .evento-hero, .evento-grid > div) { min-width: 0; }
.evento-select { min-width: 0; max-width: 100%; }
#registro { scroll-margin-top: 20px; }
.evento-skip-link { position: absolute; top: -100px; left: 16px; z-index: 5; padding: 12px 18px; color: #ffffff; background: #0f3d35; }
.evento-skip-link:focus { top: 12px; }
.evento-form-link { display: inline-flex; align-items: center; min-height: 48px; margin-top: 20px; padding: 10px 20px; border: 1px solid #82edca; border-radius: 12px; color: #ffffff; font-weight: 750; text-decoration: none; }
.evento-form-link:focus-visible { outline: 3px solid #82edca; outline-offset: 4px; }

body.evento-page {
  min-height: 100vh;
  margin: 0;
  color: var(--event-ink);
  background:
    linear-gradient(90deg, rgba(26, 201, 150, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #f6faf8 0%, #edf9f4 52%, #ffffff 100%);
  background-size: 42px 42px, auto;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.45;
}

.evento-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  align-items: center;
}

.evento-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  min-height: min(780px, calc(100vh - 96px));
  overflow: hidden;
  background: var(--event-paper);
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(23, 32, 51, 0.13);
}

.evento-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 28px;
  padding: clamp(28px, 5vw, 54px);
  color: #ffffff;
  background: var(--event-panel);
  overflow: hidden;
}

.evento-hero::after {
  content: "";
  position: absolute;
  inset: 0 -34% 0 auto;
  width: 58%;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  transform: skewX(-14deg);
}

.evento-brand,
.evento-copy,
.evento-details {
  position: relative;
  z-index: 1;
}

.evento-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.evento-brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #ffffff;
  background: var(--event-accent);
  font-weight: 900;
  letter-spacing: 0;
}

.evento-brand img {
  width: 164px;
  max-width: 62vw;
  height: auto;
  filter: brightness(0) invert(1);
}

.evento-kicker {
  margin: 0 0 14px;
  color: #7ef0c9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.evento-copy h1 {
  max-width: 16ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.25rem, 3.8vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.evento-copy p {
  max-width: 27rem;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.evento-copy .evento-kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
}

.evento-details {
  display: grid;
  gap: 12px;
}

.evento-detail {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.evento-detail span {
  display: block;
  margin-bottom: 4px;
  color: #82edca;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evento-detail strong {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 750;
}

.evento-bases {
  margin-bottom: 12px;
  padding: 18px;
  border: 1px solid #82edca;
  border-radius: 16px;
  background: rgba(130, 237, 202, 0.12);
}

.evento-bases__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  width: 100%;
  padding: 12px 24px;
  border: 1px solid #82edca;
  border-radius: 12px;
  color: #093b31;
  background: #82edca;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.evento-bases__button:hover {
  background: #a2f5dc;
}

.evento-bases__button:focus-visible {
  outline: 3px solid #82edca;
  outline-offset: 4px;
}

.evento-bases p {
  max-width: 32rem;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  line-height: 1.5;
}

.evento-form-panel {
  padding: clamp(28px, 5vw, 56px);
  background: #f7fbf9;
}

.evento-form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.evento-form-header h2 {
  margin: 0;
  color: var(--event-ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.evento-form-header p {
  margin: 10px 0 0;
  color: var(--event-muted);
  font-size: 1rem;
}

.evento-badge {
  flex: 0 0 auto;
  margin-top: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  color: #087a59;
  background: var(--event-accent-soft);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.evento-success {
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 134, 91, 0.18);
  border-radius: 16px;
  color: #075f46;
  background: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

.evento-form {
  display: grid;
  gap: 22px;
}

.evento-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.evento-legend,
.evento-label {
  display: block;
  margin-bottom: 9px;
  color: var(--event-ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.evento-required {
  color: #075e45;
}

.evento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.evento-grid--single {
  grid-template-columns: 1fr;
}

.evento-input,
.evento-select,
.evento-textarea {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 14px;
  color: var(--event-ink);
  background: rgba(255, 255, 255, 0.94);
  font: inherit;
  font-size: 1rem;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.evento-input,
.evento-select {
  padding: 0 18px;
}

.evento-textarea {
  min-height: 92px;
  resize: vertical;
  padding: 16px 18px;
}

.evento-input:focus,
.evento-select:focus,
.evento-textarea:focus {
  border-color: var(--event-green);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--event-focus);
}

.evento-options {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.evento-business-extra {
  margin-top: 24px;
}

.evento-options--participation {
  grid-template-columns: 1fr;
}

.evento-options--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.evento-options input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(50%);
}

.evento-options label {
  min-height: 56px;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 14px;
  color: #5c5768;
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.evento-options input[type="radio"]:checked + label {
  color: #083b30;
  border-color: var(--event-green);
  background: var(--event-green);
  box-shadow: 0 10px 22px rgba(26, 201, 150, 0.22);
}

.evento-options input[type="radio"]:focus-visible + label {
  box-shadow: 0 0 0 4px var(--event-focus);
}

.evento-help {
  margin: 8px 0 0;
  color: rgba(23, 32, 51, 0.58);
  font-size: 0.82rem;
}

.evento-error {
  margin: 7px 0 0;
  color: #b42318;
  font-size: 0.86rem;
  font-weight: 700;
}

.evento-non-field-errors {
  padding: 14px 16px;
  border-radius: 14px;
  color: #b42318;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.evento-non-field-errors a { color: #8a1c13; }
.evento-non-field-errors:focus { outline: 3px solid #b42318; outline-offset: 3px; }

.evento-submit {
  width: 100%;
  min-height: 60px;
  margin-top: 2px;
  border: 0;
  border-radius: 15px;
  color: #083b30;
  background: var(--event-green);
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(0, 134, 91, 0.2);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.evento-submit:hover {
  background: var(--event-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(0, 134, 91, 0.28);
}

.evento-submit:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--event-focus), 0 18px 38px rgba(0, 134, 91, 0.28);
}

.evento-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(23, 32, 51, 0.14);
  border-radius: 12px;
  background: #ffffff;
  font-size: 0.9rem;
  line-height: 1.5;
}

.evento-consent__checkbox {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--event-accent);
}

.evento-consent label { cursor: pointer; }
.evento-consent a { color: #0e4339; text-decoration: underline; font-weight: 750; }
.evento-consent a:focus-visible,
.evento-consent__checkbox:focus-visible { outline: 3px solid var(--event-accent); outline-offset: 3px; }

.evento-privacy {
  margin: 0;
  color: rgba(23, 32, 51, 0.6);
  font-size: 0.82rem;
  text-align: center;
}

.evento-privacy a {
  color: #075e45;
  font-weight: 800;
  text-decoration: none;
}

.evento-privacy a:hover {
  text-decoration: underline;
}

.evento-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .evento-shell {
    width: min(720px, calc(100% - 24px));
    padding: 18px 0;
    align-items: start;
  }

  .evento-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 22px;
  }

  .evento-hero {
    min-height: auto;
    gap: 28px;
  }

  .evento-copy h1 {
    max-width: 20ch;
  }

  .evento-details {
    grid-template-columns: 1fr;
  }

  .evento-bases { grid-column: 1 / -1; }

  .evento-form-header {
    display: block;
  }

  .evento-badge {
    display: inline-flex;
    margin-top: 18px;
  }
}

@media (min-width: 981px) {
  .evento-form-header { flex-wrap: wrap; gap: 12px; }
  .evento-hero { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .evento-page *, .evento-page *::before, .evento-page *::after { transition: none !important; }
}

@media (max-width: 680px) {
  body.evento-page {
    background-size: 34px 34px, auto;
  }

  .evento-shell {
    width: 100%;
    padding: 0;
  }

  .evento-layout {
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  .evento-hero,
  .evento-form-panel {
    padding: 28px 18px;
  }

  .evento-brand img {
    width: 142px;
  }

  .evento-copy h1 {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .evento-details,
  .evento-grid,
  .evento-options,
  .evento-options--three {
    grid-template-columns: 1fr;
  }

  .evento-detail {
    padding: 12px 14px;
  }

  .evento-form-header {
    margin-bottom: 24px;
  }

  .evento-form-header h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .evento-form {
    gap: 19px;
  }

  .evento-options label {
    min-height: 52px;
    justify-content: start;
    place-items: center start;
    text-align: left;
  }
}
