@font-face {
  font-family: "TOTVS";
  src: url("assets/fonts/TOTVS-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TOTVS";
  src: url("assets/fonts/TOTVS-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TOTVS";
  src: url("assets/fonts/TOTVS-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #16082c;
  --ink-deep: #090116;
  --panel: #1f0d39;
  --panel-strong: #29134a;
  --cyan: #00dbff;
  --cyan-dark: #002f38;
  --magenta: #fe36ff;
  --violet: #a44dff;
  --white: #f8f7fb;
  --muted: #c8bfd7;
  --muted-strong: #e2dced;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --danger: #ff9aaa;
  --danger-surface: rgba(255, 89, 116, 0.13);
  --success: #8df1c8;
  --shadow: 0 24px 80px rgba(3, 0, 12, 0.38);
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 76% 8%, rgba(164, 77, 255, 0.14), transparent 32rem),
    var(--ink-deep);
  color: var(--white);
  font-family: "TOTVS", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.agenda-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--cyan);
  color: #06121a;
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 1, 22, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 148px;
  height: auto;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
  white-space: nowrap;
}

.site-header nav > a {
  color: var(--muted-strong);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
}

.site-header nav > a:hover {
  color: var(--cyan);
}

.header-agenda-button,
.mobile-agenda-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.header-agenda-button span,
.mobile-agenda-button span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--cyan);
  color: #06121a;
  font-size: 0.84rem;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 390px;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 1, 22, 0.98) 0%, rgba(22, 8, 44, 0.92) 47%, rgba(22, 8, 44, 0.08) 100%);
}

.hero-visual {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 38%;
  background-image: url("assets/hero-oficial-desktop.jpg");
  background-position: center 42%;
  background-size: cover;
}

.hero-content {
  display: flex;
  max-width: 720px;
  flex-direction: column;
  justify-content: center;
  padding: 54px 32px 42px clamp(24px, 7vw, 112px);
}

.hero-label {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3rem, 5.7vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.hero-content > p:not(.hero-label) {
  max-width: 540px;
  margin: 20px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.45;
}

.hero-actions,
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:active,
.profile-button:active,
.interest-chip:active,
.day-tabs button:active,
.add-button:active {
  transform: translateY(1px) scale(0.99);
}

.button-primary {
  background: var(--cyan);
  color: #06121a;
}

.button-primary:hover {
  background: #66eaff;
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.button-secondary:hover {
  border-color: rgba(0, 219, 255, 0.55);
  background: rgba(0, 219, 255, 0.1);
}

.hero-facts {
  grid-column: 1 / -1;
  display: grid;
  width: min(860px, calc(100% - 48px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 auto 22px clamp(24px, 7vw, 112px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-facts > div {
  display: flex;
  min-height: 70px;
  flex-direction: column;
  justify-content: center;
  padding: 12px 20px;
  background: rgba(18, 5, 38, 0.9);
}

.hero-facts strong {
  font-size: 1.1rem;
}

.hero-facts span {
  color: var(--muted);
  font-size: 0.84rem;
}

.group-schedule {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 72px clamp(18px, 4vw, 64px) 20px;
}

.group-schedule-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.group-schedule h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.group-schedule-heading > div:first-child > p:last-child {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.group-schedule-note {
  max-width: 360px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 219, 255, 0.25);
  border-radius: 14px;
  background: rgba(0, 219, 255, 0.07);
}

.group-schedule-note strong,
.group-schedule-note span {
  display: block;
}

.group-schedule-note strong {
  color: var(--white);
}

.group-schedule-note span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.group-schedule-days {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.group-day {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(41, 19, 74, 0.92), rgba(18, 5, 38, 0.95));
  box-shadow: var(--shadow);
}

.group-day > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.group-day > header span {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.group-day > header h3 {
  margin: 0;
  font-size: 1.35rem;
}

.group-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.group-timeline li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 22px;
}

.group-timeline li + li {
  border-top: 1px solid var(--line);
}

.group-timeline time {
  color: var(--cyan);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.group-timeline h4 {
  margin: 7px 0 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.group-timeline p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.schedule-badge {
  display: inline-flex;
  padding: 4px 9px;
  border: 1px solid rgba(0, 219, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 219, 255, 0.09);
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.schedule-badge-free {
  border-color: rgba(255, 211, 122, 0.3);
  background: rgba(255, 190, 70, 0.1);
  color: #ffe1a6;
}

.schedule-badge-included {
  border-color: rgba(141, 241, 200, 0.3);
  background: rgba(141, 241, 200, 0.1);
  color: var(--success);
}

.schedule-badge-social {
  border-color: rgba(254, 54, 255, 0.3);
  background: rgba(254, 54, 255, 0.1);
  color: #ffb4ff;
}

.planner {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 64px clamp(18px, 4vw, 64px) 100px;
}

.planner-heading,
.filter-heading,
.results-summary,
.agenda-panel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.planner-heading h2,
.registration h2,
.my-agenda h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.planner-heading p {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.source-link,
footer a {
  color: var(--cyan);
  font-weight: 600;
  text-underline-offset: 4px;
}

.profile-panel,
.filters {
  margin-top: 38px;
}

.profile-panel h3,
.filters h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.profile-list,
.interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-button,
.interest-chip,
.day-tabs button,
.text-button,
.panel-close,
.add-button {
  border: 0;
  color: var(--white);
  cursor: pointer;
}

.profile-button,
.interest-chip {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.profile-button {
  font-weight: 600;
}

.profile-button[aria-pressed="true"],
.interest-chip[aria-pressed="true"] {
  border-color: var(--cyan);
  background: var(--cyan-dark);
  color: #bff6ff;
}

.profile-button:hover,
.interest-chip:hover {
  border-color: rgba(0, 219, 255, 0.55);
}

.interest-chip .chip-count {
  margin-left: 7px;
  color: var(--muted);
  font-size: 0.82rem;
}

.interest-chip[aria-pressed="true"] .chip-count {
  color: #8beeff;
}

.filter-heading {
  align-items: center;
}

.text-button {
  padding: 6px 0;
  background: transparent;
  color: var(--cyan);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.planner-toolbar {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.day-tabs {
  display: flex;
  min-height: 50px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
}

.day-tabs button {
  min-width: 122px;
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
}

.day-tabs button[aria-pressed="true"] {
  background: var(--white);
  color: var(--ink);
}

.search-field {
  display: grid;
  gap: 7px;
}

.search-field span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.search-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.search-field input::placeholder {
  color: #aba0bd;
}

.check-field {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted-strong);
  cursor: pointer;
}

.check-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--cyan);
}

.planner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
  gap: 28px;
  margin-top: 24px;
  align-items: start;
}

.results-summary {
  min-height: 46px;
  align-items: center;
  padding: 0 4px 12px;
}

.results-summary p {
  margin: 0;
  color: var(--muted-strong);
  font-weight: 600;
}

.session-list {
  display: grid;
  gap: 12px;
}

.session-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.session-card:hover {
  border-color: rgba(0, 219, 255, 0.38);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-1px);
}

.session-time {
  color: var(--cyan);
  font-size: 1rem;
  font-weight: 700;
}

.session-time span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
}

.session-main h3 {
  margin: 0;
  font-size: clamp(1.06rem, 1.6vw, 1.26rem);
  line-height: 1.3;
}

.session-main h3 button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.session-main h3 button:hover {
  color: var(--cyan);
}

.session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.session-meta span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin-left: 14px;
  background: var(--line-strong);
  vertical-align: -1px;
}

.session-speakers {
  margin: 10px 0 0;
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.session-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.session-tag {
  padding: 4px 9px;
  border: 1px solid rgba(0, 219, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 219, 255, 0.08);
  color: #a7f3ff;
  font-size: 0.76rem;
}

.session-action {
  display: flex;
  align-items: start;
}

.add-button {
  min-width: 104px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  background: transparent;
  color: var(--cyan);
  font-weight: 700;
  white-space: nowrap;
}

.add-button.is-added {
  border-color: var(--success);
  background: rgba(141, 241, 200, 0.12);
  color: var(--success);
}

.skeleton {
  height: 156px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.04) 8%, rgba(255, 255, 255, 0.1) 18%, rgba(255, 255, 255, 0.04) 33%);
  background-size: 220% 100%;
  animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
  to { background-position-x: -220%; }
}

.load-more {
  width: 100%;
  margin-top: 16px;
}

.my-agenda {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  max-height: calc(100dvh - var(--header-height) - 36px);
  padding: 22px;
  border: 1px solid rgba(0, 219, 255, 0.25);
  border-radius: 16px;
  background: rgba(27, 10, 51, 0.96);
  box-shadow: var(--shadow);
  overflow: auto;
}

.agenda-panel-header {
  align-items: center;
}

.agenda-panel-header p {
  margin: 0 0 2px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.my-agenda h2 {
  font-size: 2rem;
}

.panel-close {
  display: none;
  padding: 8px;
  background: transparent;
  color: var(--cyan);
  font-weight: 700;
}

.agenda-note {
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.conflict-alert {
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 154, 170, 0.35);
  border-radius: 12px;
  background: var(--danger-surface);
  color: #ffd3da;
  font-size: 0.86rem;
}

.agenda-items {
  display: grid;
  gap: 14px;
}

.agenda-empty {
  padding: 28px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  text-align: center;
}

.agenda-empty strong {
  display: block;
  font-size: 1.05rem;
}

.agenda-empty span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.agenda-day h3 {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.86rem;
}

.agenda-entry {
  position: relative;
  padding: 12px 38px 12px 12px;
  border-left: 2px solid var(--cyan);
  background: rgba(255, 255, 255, 0.04);
}

.agenda-entry.has-conflict {
  border-left-color: var(--danger);
  background: var(--danger-surface);
}

.agenda-entry time {
  color: var(--muted);
  font-size: 0.78rem;
}

.agenda-entry strong {
  display: block;
  margin-top: 3px;
  font-size: 0.9rem;
  line-height: 1.3;
}

.agenda-entry span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
}

.agenda-entry button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.agenda-entry button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.agenda-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.agenda-actions .button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.registration {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(44px, 7vw, 110px);
  padding: 100px clamp(24px, 8vw, 120px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.registration::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 8, 44, 0.94), rgba(22, 8, 44, 0.82)),
    url("assets/parallax-contenido.png") center / cover;
  opacity: 0.78;
}

.registration-copy > img {
  width: 200px;
  height: auto;
  margin-bottom: 28px;
}

.registration-copy p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted-strong);
  font-size: 1.08rem;
}

.registration-steps {
  display: grid;
  gap: 22px;
}

.registration-steps ol {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
  overflow: hidden;
}

.registration-steps li {
  display: grid;
  grid-template-columns: minmax(165px, 0.7fr) minmax(0, 1.3fr);
  gap: 20px;
  padding: 17px 18px;
  background: rgba(18, 5, 38, 0.94);
}

.registration-steps li span {
  color: var(--muted);
}

.contact-card {
  padding: 18px;
  border: 1px solid rgba(0, 219, 255, 0.24);
  border-radius: 16px;
  background: rgba(0, 219, 255, 0.07);
}

.contact-card-heading span,
.whatsapp-group-card span {
  display: block;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-card-heading strong,
.whatsapp-group-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  line-height: 1.25;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.contact-list article {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 1, 17, 0.42);
}

.contact-list h3 {
  margin: 0 0 2px;
  font-size: 1rem;
}

.contact-list a {
  color: var(--muted-strong);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(0, 219, 255, 0.46);
  text-underline-offset: 3px;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--white);
}

.whatsapp-group-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(88, 226, 139, 0.3);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(0, 219, 255, 0.05));
}

.whatsapp-group-card img {
  display: block;
  width: 132px;
  height: auto;
  border-radius: 12px;
}

.whatsapp-group-card p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.button-whatsapp {
  min-height: 42px;
  padding: 10px 16px;
  border-color: rgba(88, 226, 139, 0.5);
  background: #25d366;
  color: #06160c;
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
  background: #58e28b;
  color: #06160c;
}

footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 34px clamp(24px, 6vw, 92px) 100px;
  border-top: 1px solid var(--line);
  background: #070111;
}

footer img {
  width: 122px;
  height: auto;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.mobile-agenda-button,
.panel-backdrop {
  display: none;
}

.session-dialog {
  width: min(760px, calc(100% - 30px));
  max-height: min(820px, calc(100dvh - 30px));
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--panel);
  color: var(--white);
  box-shadow: var(--shadow);
  overflow: auto;
}

.session-dialog::backdrop {
  background: rgba(3, 0, 12, 0.78);
  backdrop-filter: blur(4px);
}

.dialog-inner {
  padding: clamp(22px, 4vw, 38px);
}

.dialog-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.dialog-kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  font-weight: 700;
}

.dialog-inner h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.dialog-close {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

.dialog-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.dialog-details div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.dialog-details span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}

.dialog-details strong {
  display: block;
  margin-top: 4px;
  font-size: 0.92rem;
}

.dialog-section {
  margin-top: 26px;
}

.dialog-section h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.dialog-section p {
  margin: 0;
  color: var(--muted-strong);
}

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

.speaker-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.speaker-item img,
.speaker-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--panel-strong);
}

.speaker-placeholder {
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-weight: 700;
}

.speaker-item strong,
.speaker-item span {
  display: block;
}

.speaker-item span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.dialog-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.toast {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  max-width: min(380px, calc(100% - 32px));
  padding: 14px 18px;
  border: 1px solid rgba(0, 219, 255, 0.36);
  border-radius: 12px;
  background: #162c38;
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.empty-results {
  padding: 60px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  text-align: center;
}

.empty-results h3 {
  margin: 0;
  font-size: 1.4rem;
}

.empty-results p {
  max-width: 460px;
  margin: 10px auto 0;
  color: var(--muted);
}

.error-state {
  padding: 32px;
  border: 1px solid rgba(255, 154, 170, 0.34);
  border-radius: 16px;
  background: var(--danger-surface);
}

.error-state h3,
.error-state p {
  margin: 0;
}

.error-state p {
  margin-top: 8px;
  color: #ffd3da;
}

.error-state .button {
  margin-top: 18px;
}

@media (max-width: 1080px) {
  .group-schedule-heading {
    align-items: start;
  }

  .group-schedule-days {
    grid-template-columns: 1fr;
  }

  .planner-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .search-field {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .planner-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .registration {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    padding: 7px 18px;
  }

  .brand img {
    width: 124px;
  }

  .site-header nav > a,
  .header-agenda-button {
    display: none;
  }

  .hero {
    min-height: 560px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(9, 1, 22, 0.2) 0%, rgba(9, 1, 22, 0.76) 40%, rgba(9, 1, 22, 0.98) 78%);
  }

  .hero-visual {
    inset: 0;
    background-image: url("assets/hero-oficial-mobile.jpg");
    background-position: center 35%;
  }

  .hero-content {
    align-self: end;
    justify-content: flex-end;
    padding: 210px 24px 22px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 10.5vw, 4.4rem);
  }

  .hero-content > p:not(.hero-label) {
    max-width: 460px;
    margin-top: 15px;
    font-size: 1.04rem;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-facts {
    width: calc(100% - 32px);
    margin: 0 16px 16px;
  }

  .hero-facts > div {
    padding: 10px 12px;
  }

  .hero-facts strong {
    font-size: 0.96rem;
  }

  .hero-facts span {
    font-size: 0.72rem;
  }

  .planner {
    padding: 48px 16px 90px;
  }

  .group-schedule {
    padding: 54px 16px 8px;
  }

  .group-schedule-heading {
    display: grid;
  }

  .group-schedule-note {
    max-width: none;
  }

  .planner-heading {
    align-items: start;
  }

  .source-link {
    font-size: 0.86rem;
  }

  .profile-list,
  .interest-list {
    flex-wrap: nowrap;
    margin-right: -16px;
    padding-right: 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .profile-list::-webkit-scrollbar,
  .interest-list::-webkit-scrollbar {
    display: none;
  }

  .profile-button,
  .interest-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .planner-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .search-field {
    grid-column: auto;
    grid-row: auto;
  }

  .day-tabs button {
    min-width: 0;
    flex: 1;
  }

  .planner-grid {
    display: block;
  }

  .session-card {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .session-action {
    grid-column: 2;
  }

  .my-agenda {
    position: fixed;
    z-index: 60;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: min(86dvh, 760px);
    border-radius: 16px 16px 0 0;
    transform: translateY(105%);
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  body.agenda-open .my-agenda {
    transform: translateY(0);
  }

  .panel-close {
    display: inline-flex;
  }

  .panel-backdrop {
    position: fixed;
    z-index: 50;
    inset: 0;
    display: block;
    background: rgba(3, 0, 12, 0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  body.agenda-open .panel-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-agenda-button {
    position: fixed;
    z-index: 40;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    display: inline-flex;
    border-color: rgba(0, 219, 255, 0.5);
    background: #102d38;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.agenda-fab-visible .mobile-agenda-button {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .registration {
    padding: 72px 20px 82px;
  }

  .registration-steps li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 34px 20px 110px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 250px;
  }

  .group-day > header {
    display: block;
  }

  .group-day > header h3 {
    margin-top: 3px;
  }

  .group-timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .whatsapp-group-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .whatsapp-group-card img {
    width: 104px;
  }

  .hero-actions,
  .store-actions,
  .dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr;
  }

  .hero-facts > div:last-child {
    grid-column: 1 / -1;
  }

  .planner-heading {
    display: block;
  }

  .source-link {
    display: inline-block;
    margin-top: 14px;
  }

  .session-card {
    grid-template-columns: 1fr;
  }

  .session-time,
  .session-action {
    grid-column: 1;
  }

  .session-time span {
    display: inline;
    margin-left: 6px;
  }

  .add-button {
    width: 100%;
  }

  .results-summary {
    align-items: start;
  }

  .results-summary .text-button {
    max-width: 116px;
    text-align: right;
  }

  .dialog-details,
  .speaker-grid {
    grid-template-columns: 1fr;
  }

  .session-dialog {
    max-height: calc(100dvh - 16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .my-agenda {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--ink-deep);
  }
}

@media print {
  body {
    background: #fff;
    color: #111;
  }

  .site-header,
  .hero,
  .planner-heading,
  .profile-panel,
  .filters,
  .planner-toolbar,
  .results-region,
  .registration,
  footer,
  .mobile-agenda-button,
  .panel-backdrop,
  .agenda-actions,
  .panel-close,
  .agenda-note {
    display: none !important;
  }

  .planner {
    width: 100%;
    padding: 0;
  }

  .group-schedule {
    width: 100%;
    padding: 0 0 28px;
    color: #111;
  }

  .group-schedule-heading {
    display: block;
  }

  .group-schedule-note {
    margin-top: 14px;
    border-color: #bbb;
    background: #fff;
  }

  .group-schedule-heading > div:first-child > p:last-child,
  .group-schedule-note span,
  .group-timeline p {
    color: #444;
  }

  .group-schedule-days {
    grid-template-columns: 1fr 1fr;
  }

  .group-day {
    break-inside: avoid;
    border-color: #bbb;
    background: #fff;
    box-shadow: none;
  }

  .group-day > header,
  .group-timeline li + li {
    border-color: #ccc;
  }

  .planner-grid {
    display: block;
    margin: 0;
  }

  .my-agenda {
    position: static;
    display: block;
    max-height: none;
    border: 0;
    background: #fff;
    color: #111;
    box-shadow: none;
  }

  .my-agenda::before {
    content: "Mi agenda Universo TOTVS 2026";
    display: block;
    margin-bottom: 24px;
    font-size: 26pt;
    font-weight: 700;
  }

  .agenda-panel-header,
  .conflict-alert {
    color: #111;
  }

  .agenda-entry {
    break-inside: avoid;
    border-color: #555;
    background: #f5f5f5;
    color: #111;
  }

  .agenda-entry time,
  .agenda-entry span {
    color: #444;
  }

  .agenda-entry button {
    display: none;
  }
}
