[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 500 16px/1.65 var(--font);
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
a {
  text-decoration: none;
}
p {
  margin: 0 0 1.4rem;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}
h1,
h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(3rem, 6.4vw, 5.5rem);
}
h3 {
  font-size: 1.15rem;
  line-height: 1.35;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  display: block;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}
.wrap {
  width: min(1280px, calc(100% - 96px));
  margin: auto;
}
.eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.eyebrow:before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--red);
}
.muted {
  color: var(--gray);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 25px;
  border: 1px solid transparent;
  background: var(--red);
  color: white;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #bc151d;
  transform: translateY(-2px);
}
.button.light {
  background: white;
  color: var(--ink);
}
.button.light:hover {
  background: #e5e5e5;
}
.button.outline {
  border-color: var(--red);
  background: transparent;
  color: var(--red);
}
.button.outline:hover {
  background: var(--rose);
}
.button.dark {
  background: #a61725;
  color: white;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  padding: 12px;
  background: white;
  color: var(--ink);
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: #fffffff5;
  backdrop-filter: blur(15px);
}
.header-row {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand img {
  width: 124px;
  height: 57px;
  object-fit: contain;
}
.brand-event {
  border-left: 1px solid var(--line);
  padding-left: 24px;
  display: flex;
  align-items: center;
  flex: none;
}
.brand .ciosp-logo {
  width: 144px;
  height: auto;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.85rem;
  font-weight: 600;
}
.nav a:not(.button):hover {
  color: var(--red);
}
.nav .button {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 0.8rem;
}
.menu-toggle {
  display: none;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 12px;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0;
  background: var(--paper);
}
.hero > .wrap {
  width: min(1380px, calc(100% - 48px));
}
.hero-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #e9ebef;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 80% 24%, #f8dce56b, transparent 48%),
    radial-gradient(ellipse at 72% 80%, #e8ebf366, transparent 46%),
    linear-gradient(120deg, #ffffff 32%, #fafafb 100%);
  box-shadow: 0 18px 60px #20283807;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  padding: 64px 48px;
  align-items: center;
}
.hero .eyebrow {
  width: fit-content;
  max-width: 100%;
  padding: 6px 10px;
  margin-bottom: 26px;
  border: 1px solid #efdce0;
  border-radius: 999px;
  background: #ffffffc9;
  color: #79404d;
  font-size: 0.75rem;
  letter-spacing: 0.025em;
  line-height: 1.45;
  gap: 6px;
}
.hero .eyebrow:before {
  content: none;
}
.hero .eyebrow svg {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--red);
}
.hero-grid > div:first-child {
  container-type: inline-size;
  position: relative;
  z-index: 2;
}
.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  max-width: 650px;
  font-family: var(--display);
  font-size: clamp(2rem, 13cqw, 4.75rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-align: left;
}
.hero h1 .hero-title-prefix {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--ink);
  font: inherit;
  letter-spacing: inherit;
}
.hero-title-prefix > span {
  display: block;
  white-space: nowrap;
}
.hero h1 .hero-title-event {
  display: block;
  color: var(--red);
  white-space: nowrap;
}
.hero-copy {
  max-width: 480px;
  margin: 26px 0;
  font-size: 1rem;
  color: var(--gray);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-actions .button {
  padding: 15px 24px;
  min-height: 54px;
}
.hero-caption {
  margin-top: 24px;
  color: var(--gray);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-caption svg {
  flex: none;
  width: 18px;
  stroke: var(--red);
}
.hero-stand {
  position: relative;
  isolation: isolate;
  margin: 0 0 0 -5%;
  width: 110%;
  min-width: 0;
}
.hero-stand img {
  width: 100%;
  height: auto;
}
.hero-stand .stand-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 90%;
  padding: 8px 14px;
  border-radius: 24px;
  background: #ffffffd9;
  backdrop-filter: blur(12px);
  color: var(--red);
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}
.stand-visit svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.stand-peek {
  --peek-x: 58%;
  --peek-y: 48%;
  position: relative;
  isolation: isolate;
}
.stand-peek-lens {
  position: absolute;
  inset: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 8px #ffffffc0) drop-shadow(0 0 14px #d51f2a45);
}
.stand-peek-window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  clip-path: circle(clamp(48px, 8vw, 100px) at var(--peek-x) var(--peek-y));
  transition: opacity 0.25s;
}
.hero-stand .stand-peek-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.stand-peek.is-auto .stand-peek-window {
  animation: stand-preview 12s ease-in-out infinite;
}
.stand-peek.is-offscreen .stand-peek-window {
  animation-play-state: paused;
}
@keyframes stand-preview {
  0%, 10% {
    opacity: 0;
    clip-path: circle(clamp(48px, 8vw, 100px) at 35% 45%);
  }
  18% {
    opacity: 1;
    clip-path: circle(clamp(48px, 8vw, 100px) at 35% 45%);
  }
  40% {
    opacity: 1;
    clip-path: circle(clamp(48px, 8vw, 100px) at 60% 40%);
  }
  62% {
    opacity: 1;
    clip-path: circle(clamp(48px, 8vw, 100px) at 68% 60%);
  }
  72%, 100% {
    opacity: 0;
    clip-path: circle(clamp(48px, 8vw, 100px) at 68% 60%);
  }
}
.stand-visit:hover {
  text-decoration: underline;
}
.section {
  padding: 72px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
  margin-bottom: 50px;
}
.section-heading p {
  max-width: 360px;
  color: var(--gray);
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.experiences {
  background: var(--paper);
  color: var(--ink);
}
.experiences .section-heading {
  display: block;
  margin-bottom: 32px;
}
.experiences .section-heading h2 {
  font-size: clamp(2.75rem, 5.3vw, 4.75rem);
  line-height: 1.04;
}
.experiences .section-heading h2 span {
  color: var(--red);
}
.experiences .section-heading p {
  max-width: 680px;
  margin: 16px 0 0;
  font-size: 1rem;
  color: var(--gray);
}
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.experience {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 2.5vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.experience-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 30px;
  border-radius: 14px;
  background: var(--rose);
  color: var(--red);
}
.experience-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.experience h3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  text-transform: uppercase;
  line-height: 1.08;
  margin-bottom: 20px;
}
.experience p {
  font-weight: 500;
  font-size: 1rem;
  color: var(--gray);
  margin: 0 0 28px;
}
.experience-link {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 0;
  color: var(--red);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.experience-link:hover {
  text-decoration-thickness: 2px;
}
.experience-science {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.experience-science .experience-icon {
  background: #ffffff1f;
  color: white;
}
.experience-science p,
.experience-science .experience-link {
  color: white;
}
.experience-count {
  display: block;
  font-size: clamp(3.6rem, 5.2vw, 5rem);
  line-height: 0.95;
  margin-bottom: 12px;
}
/* Bloco de lançamento com imagem integrada à borda arredondada. */
.launch {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: white;
}
.launch-grid {
  position: relative;
  padding: 0;
  background: #bf142b;
  border-radius: var(--radius-large);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 0;
  align-items: stretch;
}
.launch-grid > div {
  padding: clamp(24px, 4vw, 56px);
}
.launch .eyebrow {
  color: #ffe0e5;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.launch .eyebrow:before {
  background: #ffffff;
}
.launch-product {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}
.launch-product img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.launch h2 {
  font-size: clamp(3rem, 6.4vw, 6rem);
}
.launch h2 span {
  color: #ffd4dd;
}
.launch-hook {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
  margin: 22px 0 14px;
}
.launch-copy {
  max-width: 490px;
  color: #ffe0e5;
  margin: 0 0 28px;
}
.countdown-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}
.countdown {
  display: flex;
  gap: 13px;
  margin: 14px 0 16px;
}
.time-box {
  flex: 1;
  max-width: 105px;
  min-width: 0;
  text-align: center;
  border: 1px solid #ffffff50;
  background: #ffffff0d;
  padding: 12px 8px;
}
.time-box strong {
  font: 700 clamp(2.6rem, 4.2vw, 4rem)/1.1 var(--display);
  font-variant-numeric: tabular-nums;
  display: block;
}
.time-box small {
  font-size: 0.75rem;
  color: #ffe0e5;
}
.count-caption {
  font-size: 0.8rem;
  color: #ffe0e5;
  margin-bottom: 0;
}
.after-launch {
  padding: 20px 0;
  border-top: 1px solid #ffffff50;
  margin-top: 25px;
}
.after-launch h3 {
  color: white;
  font-size: 1.3rem;
}
.after-launch p {
  margin: 8px 0 0;
}
.agenda {
  background: var(--surface-soft);
}
.agenda-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  gap: 24px;
}
.day-tabs {
  display: flex;
  gap: 4px;
  overflow: auto;
}
.day-tabs button {
  padding: 14px 20px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--gray);
  font-weight: 700;
  white-space: nowrap;
}
.day-tabs button.active {
  color: var(--red);
  border-color: var(--red);
}
.format-filter {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 34px 10px 12px;
  max-width: 200px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%235e6774'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.agenda-empty {
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 45px;
}
.empty-symbol {
  width: 88px;
  height: 88px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: #e01f26;
}
.empty-symbol svg {
  width: 38px;
  height: 38px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.3;
}
.agenda-empty h3 {
  font-family: var(--display);
  font-size: 2.4rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.agenda-empty p {
  margin: 0;
  color: var(--gray);
  font-size: 0.9rem;
  max-width: 530px;
}
.empty-date {
  color: #697382;
  font: 700 3.5rem/0.9 var(--display);
  text-align: right;
  white-space: nowrap;
}
.empty-date span {
  display: block;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  margin-top: 7px;
}
.agenda-note {
  font-size: 0.8rem;
  color: var(--gray);
  margin: 22px 0 0;
}
.lesson-list {
  display: grid;
  gap: 12px;
}
.lesson {
  display: grid;
  grid-template-columns: 100px 1fr 180px;
  gap: 25px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  align-items: center;
}
.lesson-time {
  font: 700 2.2rem/1.1 var(--display);
}
.lesson-time small {
  font: 500 0.78rem var(--font);
  display: block;
  margin-top: 8px;
  color: var(--gray);
}
.lesson-tags {
  display: flex;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
}
.lesson h3 {
  font-size: 1.06rem;
}
.lesson p {
  color: var(--gray);
  font-size: 0.85rem;
  margin: 8px 0 0;
}
.lesson .availability {
  margin: 0 0 8px;
  font-size: 0.78rem;
  text-align: center;
}
.lesson .button {
  width: 100%;
  font-size: 0.8rem;
  min-height: 46px;
  padding: 10px;
}
.professors {
  background: var(--paper);
  color: var(--ink);
}
.professors .section-heading p {
  color: #62626a;
}
.professor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.professor-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -20px 0 24px;
}
.professor-photo {
  position: relative;
  aspect-ratio: 4/5;
  background: #dedee2;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 16px;
}
.professor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.professor-photo.monogram {
  aspect-ratio: 4/5;
  height: auto;
  border-top: 3px solid var(--red);
  background: #e5e5e7;
  color: #a8a8af;
  font: 800 5rem/1 var(--display);
}
.professor-card h3,
.professor-dialog h3 {
  font-size: 1rem;
}
.professor-card p,
.professor-dialog p {
  font-size: 0.85rem;
  color: #62626a;
  margin: 8px 0;
}
.location {
  color: var(--ink);
  background: var(--surface-soft);
  overflow: hidden;
  position: relative;
}
.location-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.location .button.outline {
  border-color: #ffffff99;
  color: white;
}
.location .button.outline:hover {
  background: #ffffff20;
}
.location .eyebrow:before {
  background: white;
}
.location h2 {
  font-size: clamp(4rem, 7vw, 6rem);
}
.location p {
  max-width: 470px;
  margin: 24px 0;
  color: #ffe3e4;
}
.location .buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.stand-illustration {
  margin: 0;
}
.stand-illustration img {
  width: 100%;
  height: auto;
}
.faq-section.section {
  padding: 48px 0;
  background: var(--paper);
  color: var(--ink);
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 36px;
  align-items: start;
}
.faq-section .faq-grid h2 {
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
}
.faq-section .eyebrow {
  margin-bottom: 12px;
}
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 10px 18px;
  margin-bottom: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-grid details[open] {
  border-color: #d51f2a50;
  box-shadow: 0 8px 28px #343b4608;
}
.faq-grid summary {
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  min-height: 32px;
  align-items: center;
  line-height: 1.4;
}
.faq-grid summary:after {
  content: "+";
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--red);
  font-size: 1.25rem;
  line-height: 1;
}
.faq-grid details[open] summary:after {
  content: "−";
}
.faq-grid details p {
  margin: 8px 32px 6px 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #62626a;
}
.faq-grid a {
  text-decoration: underline;
}
.faq-grid details:last-child {
  margin-bottom: 0;
}
.footer {
  padding: 48px 0 24px;
  background: #26282b;
  color: #f8f9fa;
  border-top: 1px solid #ffffff14;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: start;
  gap: 64px;
  padding-bottom: 36px;
}
.footer-brand img { width: 150px; height: auto; filter: brightness(0) invert(1); }
.footer p { margin: 0; color: #c4c7cc; font-size: 0.875rem; line-height: 1.7; }
.footer-brand p { margin-top: 16px; }
.footer a { width: fit-content; color: #f8f9fa; font-size: 0.875rem; line-height: 1.6; text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer .footer-site-link { display: inline-block; margin-top: 14px; font-weight: 600; }
.footer-social h2 { margin: 0 0 12px; color: #fff; font-family: var(--font); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; text-transform: none; }
.footer-social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.footer-social-links a { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 14px; min-height: 46px; border: 1px solid #ffffff30; border-radius: 12px; transition: background 0.2s, border-color 0.2s; }
.footer-social-links a:hover { background: #ffffff12; border-color: #ffffff70; text-decoration: none; }
.footer-social-links svg { flex: none; width: 19px; height: 19px; }
.footer a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; border-top: 1px solid #ffffff24; padding-top: 20px; }
.footer-bottom p, .footer-bottom a { font-size: 0.8125rem; color: #b8bcc3; }
@media (max-width: 760px) {
  .footer { padding-top: 32px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 28px; }
  .footer-brand img { width: 136px; }
  .footer-social-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-social-links a { width: 100%; padding-inline: 10px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .nav {
    gap: 15px;
    font-size: 0.75rem;
  }
  .hero-grid {
    gap: 18px;
    padding: 40px 28px;
  }
  .hero-copy {
    font-size: 0.95rem;
  }
  .section {
    padding: 56px 0;
  }
  .agenda-empty {
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding: 30px;
  }
  .empty-date {
    display: none;
  }
  .professor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .location-grid {
    gap: 40px;
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .menu-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    padding: 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    align-items: stretch;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .nav a {
    font-size: 0.95rem;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header-row {
    height: 72px;
  }
  .brand img {
    width: 100px;
    height: 48px;
  }
  .brand-event {
    padding-left: 15px;
  }
  .brand .ciosp-logo {
    width: 105px;
    height: auto;
  }
  .brand {
    gap: 15px;
  }
  .menu-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    align-items: stretch;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .nav a {
    font-size: 0.95rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 26px;
  }
  .hero h1 {
    max-width: 530px;
  }
  .hero-copy {
    max-width: 500px;
  }
  .section {
    padding: 44px 0;
  }
  .section-heading {
    display: block;
    margin-bottom: 32px;
  }
  .section-heading p {
    margin-top: 20px;
    max-width: 520px;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .experience {
    padding: 28px;
  }
  .experience-icon {
    margin-bottom: 22px;
  }
  .launch-grid {
    grid-template-columns: 1fr;
  }
  .launch h2 {
    font-size: 3.8rem;
  }
  .launch-product {
    order: 2;
    width: 100%;
    aspect-ratio: 1;
  }
  .time-box {
    min-width: 0;
    padding: 10px 5px;
  }
  .time-box strong {
    font-size: clamp(2.2rem, 10vw, 3.1rem);
  }
  .countdown {
    gap: 10px;
  }
  .agenda-top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-bottom: 16px;
  }
  .day-tabs {
    margin: 0 -5px;
  }
  .day-tabs button {
    padding: 12px 13px;
    font-size: 0.85rem;
  }
  .format-filter {
    max-width: none;
  }
  .agenda-empty {
    padding: 25px 20px;
    grid-template-columns: 1fr;
  }
  .empty-symbol {
    width: 60px;
    height: 60px;
  }
  .agenda-empty h3 {
    font-size: 2rem;
  }
  .lesson {
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 22px 18px;
  }
  .lesson-action {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .lesson .availability {
    margin: 0;
    white-space: nowrap;
  }
  .lesson .button {
    width: auto;
    min-width: 140px;
  }
  .lesson-time {
    font-size: 1.8rem;
  }
  .professor-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 16px;
  }
  .location-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .location h2 {
    font-size: 4.6rem;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .faq-grid h2 {
    font-size: 3.4rem;
  }
  .hero-actions .button {
    flex: 1;
    min-width: 145px;
  }
  .section-heading h2 {
    font-size: 3.5rem;
  }
}
@media (max-width: 380px) {
  .launch h2 {
    font-size: 3.1rem;
  }
  .section-heading h2 {
    font-size: 3rem;
  }
  .day-tabs button {
    padding: 12px 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* Os arquivos de KV são conectados em tokens.css depois da aprovação. */
.hero {
  background-image: var(--hero-artwork);
  background-size: cover;
  background-position: var(--hero-artwork-position);
}
.launch {
  background-image: var(--launch-artwork);
  background-size: cover;
  background-position: center;
}
.button:disabled {
  opacity: 1;
  cursor: default;
  transform: none;
}

/* Mesma linguagem de cards e destaques em todas as seções. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.button {
  border-radius: 12px;
  transition: background 0.25s, transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.section-heading {
  display: block;
  margin-bottom: 32px;
}
.section-heading h2,
.faq-grid h2 {
  font-size: clamp(2.75rem, 5.3vw, 4.75rem);
}
.section-heading h2 span,
.faq-grid h2 span {
  color: var(--red);
}
.section-heading p {
  max-width: 680px;
  margin: 16px 0 0;
  font-size: 1rem;
}
.time-box {
  border-radius: var(--radius);
  background: #ffffff14;
}
.agenda-top {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  gap: 16px;
}
.day-tabs button,
.format-filter {
  border-radius: 10px;
}
.day-tabs button {
  border-bottom: 0;
  font-size: 0.875rem;
  padding: 12px 14px;
}
.day-tabs button.active {
  background: var(--rose);
}
.agenda-empty,
.lesson {
  border-radius: var(--radius);
  background: var(--surface);
}
.empty-symbol {
  border: 0;
  border-radius: 14px;
  background: var(--rose);
}
.lesson-time {
  color: var(--red);
}
.professor-card,
.professor-dialog {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.professor-photo {
  border-radius: 10px;
}
.professor-photo.monogram {
  border-top: 0;
  background: var(--rose);
  color: #ba6d79;
}
.professor-card p,
.professor-dialog p {
  font-size: 0.875rem;
}
.professor-highlight {
  display: none;
}
.location-grid {
  gap: 32px;
}
.location-grid > div:first-child {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-large);
  background: var(--red);
  color: white;
}
.location h2 {
  font-size: clamp(3rem, 5vw, 4.5rem);
}
.count-value {
  display: inline-block;
  min-width: 2ch;
  font-variant-numeric: tabular-nums;
}
.motion-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-reveal.is-visible,
.motion-reveal:focus-within {
  opacity: 1;
  transform: none;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .experience,
  .lesson {
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), box-shadow 0.35s;
  }
  .experience.is-visible:hover,
  .lesson.is-visible:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px #343b460c;
  }
}

.professor-search {
  position: relative;
  flex: 1;
  max-width: 520px;
  margin-right: auto;
}
.professor-search::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 18px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d71920' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.professor-search-input {
  width: 100%;
  min-height: 54px;
  padding: 0 48px 0 52px;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 6px 18px #343b460a;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.professor-search-input::placeholder {
  color: #7b7b84;
  font-weight: 500;
}
.professor-search-input:hover {
  border-color: #c9c9cf;
  border-bottom-color: #c9c9cf;
}
.professor-search-input:focus,
.professor-search-input:focus-visible {
  outline: none;
  border-color: var(--line);
  border-bottom-color: var(--red);
  box-shadow: 0 10px 26px #343b4614;
}
.professor-search-input::-webkit-search-cancel-button {
  height: 18px;
  width: 18px;
  margin-right: -26px;
  cursor: pointer;
}
.professor-search-results {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 320px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px #343b4622;
}
.professor-search-results li {
  padding: 12px 14px;
  border-left: 3px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.professor-search-results li[aria-selected="true"],
.professor-search-results li:hover {
  border-left-color: var(--red);
  background: var(--rose);
}
.professor-search-results li.is-empty {
  color: #62626a;
  font-weight: 500;
  cursor: default;
}
.professor-search-results li.is-empty:hover {
  border-left-color: transparent;
  background: transparent;
}
@media (max-width: 640px) {
  .professor-search {
    max-width: none;
  }
}
.professor-card-timer {
  flex: none;
  height: 3px;
  margin-top: 8px;
  background: var(--line);
}
.professor-card-timer > span {
  display: block;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}
.professor-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}
.professor-dots {
  display: flex;
}
.professor-dot {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}
.professor-dot::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: var(--gray);
  transition: width 220ms var(--ease-out), background 220ms ease;
}
.professor-dot[aria-current]::before {
  width: 22px;
  background: var(--red);
}
.professor-page-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.professor-page-arrow:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.professor-page-arrow:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.professor-toolbar .button,
.professor-dialog-controls .button {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  font-size: 1.25rem;
}
.professor-grid.is-carousel {
  --professor-compact: clamp(8rem, 13vw, 9.5rem);
  --professor-feature: clamp(12rem, 57vw, 16.5rem);
  --professor-card-pad: 14px;
  --professor-portrait-height: calc((var(--professor-feature) - 2px) * 1.25);
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  overflow-x: auto;
  scrollbar-width: none;
  overflow-anchor: none;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
}
.professor-grid.is-carousel::-webkit-scrollbar {
  display: none;
}
.is-carousel .professor-card {
  position: relative;
  flex: 0 0 var(--professor-compact);
  display: flex;
  flex-direction: column;
  min-height: calc(var(--professor-portrait-height) + var(--professor-card-pad) + 2px + 6.25rem + 32px);
  padding: 0 var(--professor-card-pad) var(--professor-card-pad);
  transition: flex-basis 420ms var(--ease-out), box-shadow 350ms;
}
.is-carousel .professor-card.is-active {
  flex-basis: var(--professor-feature);
}
.is-carousel .professor-portrait {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: unsafe center;
  flex: none;
  height: var(--professor-portrait-height);
  margin: 0 calc(-1 * var(--professor-card-pad)) 10px;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  overflow: hidden;
  container-type: size;
  transition: flex-grow 420ms var(--ease-out);
}
.is-carousel .professor-card:not(.is-active) .professor-portrait {
  flex-grow: 1;
  max-height: calc(var(--professor-portrait-height) + 24px);
}
.is-carousel .professor-photo {
  /* A coluna estreita revela o centro do retrato 4:5, sem distorcer a foto. */
  width: max(100%, 80cqh);
  margin: 0;
  border-radius: 0;
}
.is-carousel .professor-photo img {
  filter: grayscale(1);
  transition: filter 420ms var(--ease-out);
}
.is-carousel .is-active .professor-photo img {
  filter: grayscale(0);
}
.is-carousel .professor-photo img[src$="/andres-baher.webp"] {
  /* O rosto está a 42,7% da largura original. Recentraliza sem esticar. */
  width: 117.00555%;
  height: 140.47051%;
}
.is-carousel .professor-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.is-carousel .professor-card.is-active h3 {
  -webkit-line-clamp: 2;
  font-size: 1.125rem;
}
.is-carousel .professor-highlight {
  display: block;
  margin: 4px 0 0;
  font-size: 0.8rem;
  line-height: 1.38;
  overflow-wrap: anywhere;
}
.is-carousel .is-active .professor-highlight {
  font-size: 0.875rem;
}
.is-carousel .professor-curriculum {
  display: none;
}
.professor-open {
  align-self: flex-start;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--red);
}
.professor-open::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.professor-open:focus-visible {
  outline: none;
}
.professor-open:focus-visible::before {
  outline: 3px solid var(--red);
  outline-offset: -4px;
}
.is-active .professor-open {
  display: flex;
  margin-top: 7px;
}
.professor-open-label {
  display: none;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.35;
}
.is-active .professor-open-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.professor-open-label::after {
  content: "\2192";
}
@media (hover: hover) {
  .is-carousel .professor-card:hover {
    box-shadow: 0 16px 32px #343b460c;
  }
  .professor-card:has(.professor-open:hover) h3 {
    color: var(--red);
  }
  .professor-open:hover .professor-open-label {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
.professor-dialog {
  width: min(780px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: clamp(14px, 3vw, 24px);
  color: var(--ink);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transition: opacity 220ms ease, transform 220ms var(--ease-out);
}
.professor-dialog[open] {
  display: flex;
  flex-direction: column;
}
.professor-dialog::backdrop {
  background: var(--ink);
  opacity: 0;
  transition: opacity 220ms ease;
}
.professor-dialog.is-visible {
  opacity: 1;
  transform: none;
}
.professor-dialog.is-visible::backdrop {
  opacity: 0.55;
}
@media (prefers-reduced-motion: reduce) {
  .professor-dialog::backdrop {
    transition: none;
  }
}
html:has(.professor-dialog[open]) {
  overflow: hidden;
  scrollbar-gutter: stable;
}
.professor-dialog-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 5px;
  margin: 0 -5px 12px;
}
.professor-dialog-controls [data-professor-close] {
  margin-left: auto;
}
.professor-dialog-profile {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: clamp(16px, 4vw, 32px);
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
.professor-dialog-profile:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -3px;
}
.professor-dialog-profile .professor-photo {
  margin: 0;
}
.professor-dialog-copy {
  align-self: center;
}
.professor-dialog-copy .professor-credential {
  display: block;
  font-weight: 700;
}
.professor-dialog-copy .professor-bio {
  display: block;
  margin-top: 12px;
}
@media (max-width: 560px) {
  .professor-dialog-profile {
    grid-template-columns: 1fr;
  }
  .professor-dialog-profile .professor-photo {
    width: min(100%, 190px);
    margin-inline: auto;
  }
}
@media (max-width: 760px) {
  .professor-grid.is-carousel {
    --professor-card-pad: 10px;
  }
  .professor-card {
    padding: 10px;
  }
  .professor-grid {
    gap: 16px;
  }
  .professor-card p {
    line-height: 1.55;
  }
  .launch h2 {
    font-size: clamp(2.6rem, 9vw, 3.8rem);
  }
  .faq-grid details {
    padding: 10px 14px;
  }
  .day-tabs button {
    padding: 12px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .motion-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Estado anterior à abertura das inscrições. */
.registration-notice {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
}
.registration-heading {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.registration-clock {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--rose);
  color: var(--red);
}
.registration-clock svg {
  width: 40px;
  height: 40px;
}
.registration-heading h2 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.08;
}
.registration-heading h2 span {
  color: var(--red);
}
.registration-heading p {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--gray);
  font-size: 1rem;
}
.registration-guidance {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 880px;
}
.registration-guidance p {
  color: var(--gray);
  font-size: 0.9375rem;
  margin: 0;
}
.registration-guidance .registration-proof {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--ink);
}
.registration-guidance strong {
  color: var(--ink);
}
.agenda-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 760px) {
  .registration-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .registration-clock {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }
  .registration-clock svg {
    width: 32px;
    height: 32px;
  }
  .registration-heading h2 {
    font-size: clamp(2rem, 7.5vw, 2.75rem);
  }
  .registration-guidance {
    margin-top: 24px;
    padding-top: 24px;
  }
}

.registration-clock-minute,
.registration-clock-hour {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: registration-clock-turn 12s linear infinite;
}
.registration-clock-hour {
  animation-duration: 144s;
}
@keyframes registration-clock-turn {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .registration-clock-minute,
  .registration-clock-hour {
    animation: none;
  }
}

/* Professor, horário e tema reunidos no mesmo cartão de aula. */
.lesson-with-photo {
  grid-template-columns: 88px 88px minmax(0, 1fr) 180px;
  gap: 24px;
}
.lesson-professor-frame {
  position: relative;
  overflow: hidden;
  display: block;
  width: 88px;
  height: 110px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
  background: var(--surface-soft);
}
.lesson-content {
  min-width: 0;
}
.lesson-professors {
  display: flex;
  align-items: center;
  width: 88px;
}
.lesson-professors-group .lesson-professor-frame {
  flex: none;
  width: 52px;
  height: 65px;
  box-shadow: 0 0 0 3px var(--surface);
}
.lesson-professors-group .lesson-professor-frame + .lesson-professor-frame {
  margin-left: -16px;
  transform: translateY(12px);
}
.lesson-professor-monogram {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--gray);
  background: var(--surface-soft);
  font: 700 1.125rem/1 var(--display);
}
@media (min-width: 761px) and (max-width: 1000px) {
  .lesson-with-photo {
    grid-template-columns: 72px 72px minmax(0, 1fr);
    gap: 20px;
  }
  .lesson-professor-frame {
    width: 72px;
    height: 90px;
  }
  .lesson-professors { width: 72px; }
  .lesson-professors-group .lesson-professor-frame { width: 44px; height: 55px; }
  .lesson-with-photo .lesson-action {
    grid-column: 3;
    justify-self: start;
  }
}
@media (max-width: 760px) {
  .lesson-with-photo {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
  }
  .lesson-with-photo .lesson-time {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 12px;
  }
  .lesson-with-photo .lesson-time small {
    margin: 0;
  }
  .lesson-professor-frame {
    width: 64px;
    height: 80px;
    border-radius: 10px;
  }
  .lesson-professors { width: 64px; }
  .lesson-professors-group .lesson-professor-frame { width: 38px; height: 47.5px; }
  .lesson-professors-group .lesson-professor-frame + .lesson-professor-frame { margin-left: -12px; }
  .lesson-with-photo .lesson-action {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* Ação de inscrição: vermelho da marca, seta animada; desativado = rosé discreto. */
.lesson [data-registration-button] {
  gap: 10px;
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 10px 22px #d51f2a33;
}
.lesson [data-registration-button]::after {
  content: "→";
  font-size: 1.1em;
  transition: transform 0.3s var(--ease-out);
}
.lesson [data-registration-button]:not(:disabled):hover {
  background: #b8161f;
  border-color: #b8161f;
  box-shadow: 0 14px 28px #d51f2a4d;
}
.lesson [data-registration-button]:not(:disabled):hover::after {
  transform: translateX(5px);
}
.lesson [data-registration-button]:disabled {
  background: var(--rose);
  color: #a61725;
  border-color: #f1c2c6;
  box-shadow: none;
}
.lesson[data-registration-status="esgotado"] [data-registration-button] {
  background: var(--surface-soft);
  color: var(--gray);
  border-color: var(--line);
}
.lesson [data-registration-button][aria-label^="Esgotado"]::after,
.lesson[data-registration-status="esgotado"] [data-registration-button]::after {
  content: none;
}
.registration-message {
  padding: 16px 20px;
  border: 1px solid #d51f2a40;
  border-radius: var(--radius);
  background: var(--rose);
  color: var(--ink);
  font-size: 0.9375rem;
}

.section-heading .registration-overview {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 12px 18px;
  border: 1px solid #262b33;
  border-radius: 999px;
  background: #262b33;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
}
.registration-status-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4d57;
  animation: reg-live 1.8s ease-out infinite;
}
@keyframes reg-live {
  0% { box-shadow: 0 0 0 0 #ff4d5799; }
  100% { box-shadow: 0 0 0 10px #ff4d5700; }
}
.section-heading .registration-overview[data-state="esgotado"] {
  color: #a61725;
  border-color: #efbcc3;
  background: var(--rose);
}
.registration-overview[data-state="esgotado"] .registration-status-dot {
  box-shadow: 0 0 0 4px #a6172512;
}
.section-heading .registration-overview[data-state="indisponivel"] {
  color: var(--gray);
  border-color: var(--line);
  background: var(--surface);
}

.lesson-professor-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Banner de abertura com fundo claro e luz difusa. */
@media (max-width: 760px) {
  .hero {
    padding: 12px 0 24px;
  }
  .hero > .wrap {
    width: calc(100% - 24px);
  }
  .hero-banner {
    border-radius: 24px;
  }
  .hero .eyebrow {
    border-radius: 14px;
    padding: 6px 9px;
    font-size: 0.75rem;
  }
  .hero-stand {
    width: 100%;
    margin: 0;
  }
  .hero-caption {
    line-height: 1.5;
  }
}

/* Ritmo vertical: aproxima os blocos sem comprimir os cartões. */
.experiences.section { padding-top: 48px; }
@media (max-width: 760px) {
  .experiences.section { padding-top: 32px; }
  .section-heading,
  .experiences .section-heading { margin-bottom: 24px; }
  .section-heading p { margin-top: 16px; }
  .faq-section.section { padding: 40px 0; }
}

.registration-section-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--rose);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Apresentação centralizada da programação antes da abertura. */
.registration-notice .registration-heading {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 20px;
  text-align: center;
}
.registration-notice .registration-heading > div:last-child {
  width: 100%;
  max-width: 680px;
}
.registration-notice .registration-heading p {
  max-width: 540px;
  margin-inline: auto;
}

/* Banner com a maquete integrada ao fundo e conteúdo sobreposto. */
.hero-banner-immersive {
  background: #8d1019;
  border-color: #8d101922;
}
.hero-banner-immersive .hero-grid {
  min-height: 640px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  padding: 56px 48px;
}
.hero-banner-immersive .hero-grid > div:first-child {
  z-index: 3;
}
.hero-banner-immersive .hero-stand {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
.hero-banner-immersive .stand-peek {
  width: 100%;
  height: 100%;
}
.hero-banner-immersive .stand-peek > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-banner-immersive .hero-stand::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #3e0617b8, #5e0b184d 38%, transparent 64%);
  pointer-events: none;
}
.hero-banner-immersive h1 .hero-title-prefix,
.hero-banner-immersive h1 .hero-title-event {
  color: #fff;
}
.hero-banner-immersive .hero-copy {
  max-width: 380px;
  color: #fff;
}
.hero-banner-immersive .eyebrow {
  color: #fff;
  background: #ffffff12;
  border-color: #ffffff40;
  backdrop-filter: blur(12px);
}
.hero-banner-immersive .eyebrow svg { color: #fff; }
.hero-banner-immersive .hero-actions .button {
  background: #fff;
  border-color: #fff;
  color: #a31323;
}
.hero-banner-immersive .hero-actions .button:hover { background: #fff0f1; }
.hero-banner-immersive .hero-actions .button.outline {
  background: #6b0d2040;
  color: #fff;
  border-color: #ffffff80;
  backdrop-filter: blur(12px);
}
.hero-banner-immersive .hero-actions .button.outline:hover { background: #ffffff20; }
.hero-banner-immersive .stand-peek-lens { left: 42%; }
.hero-banner-immersive .stand-visit {
  left: 75%;
  bottom: 7%;
  max-width: 44%;
}
@media (min-width: 761px) and (max-width: 1000px) {
  .hero-banner-immersive .hero-grid {
    min-height: 600px;
    padding: 40px 28px;
  }
}
@media (max-width: 760px) {
  .hero-banner-immersive .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 28px 24px 300px;
  }
  .hero-banner-immersive .hero-stand {
    inset: auto 0 0;
    height: 280px;
  }
  .hero-banner-immersive .stand-peek > img {
    object-position: right bottom;
  }
  .hero-banner-immersive .hero-stand::after {
    background: linear-gradient(180deg, #8d1019, #8d101900 30%);
  }
  .hero-banner-immersive .stand-peek-lens { left: 0; }
  .hero-banner-immersive .stand-visit {
    left: 50%;
    bottom: 18px;
    max-width: calc(100% - 24px);
    font-size: 0.8125rem;
  }
}

.stand-location-highlight {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #ffffff50;
  border-radius: var(--radius);
  background: #ffffff12;
}
.stand-location-highlight > span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stand-location-highlight > strong {
  display: block;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.35;
}
.location .stand-location-highlight p {
  margin: 8px 0 0;
  color: #fff;
  font-size: 0.9375rem;
}

.location .stand-location-highlight + .buttons {
  margin-top: 24px;
}

/* Painel de lotes (programacao.html): estilo "ingresso". Mostra apenas o estado de cada lote, nunca quantidades. */
.lot-panel {
  position: relative;
  isolation: isolate;
  margin: 0 0 36px;
  padding: 44px 32px 36px;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: #262b33;
  color: #fff;
  text-align: center;
  box-shadow: 0 28px 60px #262b3340;
}
/* Fundo: maquete em preto e branco, desfocada, sob um véu grafite com brilho vermelho. */
.lot-panel::after {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: -1;
  background:
    radial-gradient(60% 90% at 8% 0%, #d51f2a47, transparent 70%),
    radial-gradient(50% 70% at 100% 100%, #d51f2a2e, transparent 70%),
    linear-gradient(#262b33b8, #262b33d9),
    url("../images/lotes/fundo-lotes.jpg") center / cover no-repeat;
  filter: grayscale(1) blur(7px);
}
.lot-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--red), #ff6b4a, var(--red), transparent);
  background-size: 200% 100%;
  animation: lot-flow 4s linear infinite;
}
.lot-panel-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 36px;
}
.lot-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 16px;
  border: 1px solid #ffffff33;
  border-radius: 99px;
  background: #ffffff12;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lot-panel-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d57;
  animation: lot-dot 1.6s ease-out infinite;
}
.lot-panel-title {
  margin: 0;
  font: 800 clamp(1.9rem, 4vw, 2.9rem)/1.05 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.lot-panel-title strong {
  color: #ff4d57;
}
.lot-panel-note {
  max-width: 480px;
  margin: 0;
  color: #ffffffb8;
  font-size: 0.9375rem;
}
.lot-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lot {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  padding: 34px 18px 28px;
  overflow: hidden;
  border: 1.5px dashed #ffffff3d;
  border-radius: 20px;
  background: #ffffff0a;
  color: #ffffffb8;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, background 0.4s;
}
.lot::after {
  content: "0" attr(data-lot);
  position: absolute;
  right: 10px;
  bottom: -18px;
  font: 900 6.5rem/1 var(--display);
  color: #ffffff0d;
  pointer-events: none;
}
.lot-number {
  font: 900 clamp(2rem, 3.4vw, 2.8rem)/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}
.lot-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 99px;
  background: #ffffff1a;
  color: #ffffffcc;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lot[data-state="breve"] .lot-state::before {
  content: "";
  width: 12px;
  height: 12px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
  opacity: 0.8;
}
.lot-bar {
  width: 52%;
  height: 4px;
  margin-top: 4px;
  border-radius: 99px;
  background: #ffffff24;
}
.lot[data-state="aberto"] {
  border: 1.5px solid #ff8a90;
  background: linear-gradient(155deg, #e8323d, #b5121c);
  color: #fff;
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 26px 50px #d51f2a66;
  animation: lot-pulse 2.4s ease-in-out infinite;
}
.lot[data-state="aberto"]::after {
  color: #ffffff1f;
}
.lot[data-state="aberto"] .lot-state {
  background: #fff;
  color: #b5121c;
}
.lot[data-state="aberto"] .lot-state::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d51f2a;
  animation: lot-dot 1.6s ease-out infinite;
}
.lot[data-state="aberto"] .lot-bar {
  position: relative;
  overflow: hidden;
  background: #ffffff40;
}
.lot[data-state="aberto"] .lot-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 45%;
  border-radius: inherit;
  background: #fff;
  animation: lot-slide 1.8s ease-in-out infinite;
}
.lot[data-state="encerrado"] {
  opacity: 0.55;
}
.lot[data-state="encerrado"] .lot-number {
  text-decoration: line-through;
}
.lot-badge {
  padding: 0 8px;
  border-radius: 99px;
  background: var(--rose);
}
@keyframes lot-flow {
  to { background-position: -200% 0; }
}
@keyframes lot-pulse {
  0%, 100% { box-shadow: 0 26px 50px #d51f2a66, 0 0 0 0 #ff4d5766; }
  50% { box-shadow: 0 26px 50px #d51f2a66, 0 0 0 12px #ff4d5700; }
}
@keyframes lot-dot {
  0% { box-shadow: 0 0 0 0 #ff4d5799; }
  100% { box-shadow: 0 0 0 10px #ff4d5700; }
}
@keyframes lot-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(230%); }
}
@media (prefers-reduced-motion: reduce) {
  .lot-panel::before,
  .lot,
  .lot-panel-kicker::before,
  .lot-state::before,
  .lot-bar::after,
  .registration-status-dot {
    animation: none !important;
  }
  .lot-bar::after {
    width: 100%;
  }
}
@media (max-width: 640px) {
  .lot-panel {
    padding: 34px 16px 20px;
  }
  .lot-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .lot {
    grid-template-columns: 1fr auto;
    justify-items: start;
    align-items: center;
    padding: 18px 20px;
  }
  .lot::after { font-size: 4.5rem; bottom: -12px; }
  .lot-number { font-size: 1.8rem; }
  .lot-bar { display: none; }
  .lot[data-state="aberto"] { transform: none; }
}

/* Cronograma e inscrição: cards em estilo "ingresso", cor por formato, filtros em pílulas. */
.agenda-top {
  position: relative;
  padding: 8px 8px 8px 10px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  box-shadow: 0 10px 28px #343b460f;
}
.day-tabs {
  gap: 6px;
  scrollbar-width: none;
}
.day-tabs::-webkit-scrollbar { display: none; }
.day-tabs button {
  padding: 11px 20px;
  border-radius: 99px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.day-tabs button:not(.active):hover {
  background: var(--surface-soft);
  color: var(--ink);
}
.day-tabs button.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 18px #d51f2a40;
}
.format-filter {
  min-height: 42px;
  padding: 10px 38px 10px 18px;
  border-radius: 99px;
  border-color: var(--line);
  background-color: var(--surface-soft);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}
.format-filter:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.lesson-list {
  gap: 16px;
}
.lesson {
  --accent: var(--red);
  position: relative;
  overflow: hidden;
  padding: 24px 28px 24px 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 6px 18px #343b4608;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s;
}
.lesson[data-format="Plenária"] { --accent: var(--ink); }
.lesson[data-format="Hands-on"] { --accent: #a61725; }
.lesson::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--accent);
}
.lesson:hover {
  transform: translateY(-3px);
  border-color: #d51f2a55;
  box-shadow: 0 20px 40px #343b4617;
}
.lesson-time {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 22px;
  border-right: 2px dashed var(--line);
  font-size: 2.4rem;
  letter-spacing: 0.01em;
}
.lesson-time small:first-of-type {
  margin-top: 6px;
}
.lesson-time small:last-of-type {
  align-self: flex-start;
  margin-top: 10px;
  padding: 2px 9px;
  border-radius: 99px;
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 700;
}
.lesson-professor-frame {
  border-radius: 16px;
  box-shadow: 0 10px 22px #343b4626;
}
.lesson-professors-group .lesson-professor-frame {
  box-shadow: 0 0 0 3px var(--surface), 0 8px 18px #343b4626;
}
.lesson-tags {
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.lesson-tags span {
  padding: 4px 11px;
  border: 1px solid #d8dee5;
  border-radius: 99px;
  color: var(--gray);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lesson-tags span:first-child {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.lesson-tags .lot-badge {
  border-color: #f1c2c6;
  background: var(--rose);
  color: #a61725;
}
.lesson h3 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
}
.lesson-content p {
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}
.lesson .availability {
  margin-bottom: 10px;
  font-weight: 700;
}
.lesson .button {
  min-height: 48px;
  border-radius: 14px;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}
.lesson[data-registration-status="esgotado"] {
  --accent: #98a1ad;
  background: var(--paper);
}
.lesson[data-registration-status="esgotado"] .lesson-professor-photo {
  filter: grayscale(1);
  opacity: 0.75;
}
.lesson[data-registration-status="esgotado"] h3 {
  color: var(--gray);
}

@media (max-width: 760px) {
  .agenda-top {
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
    padding: 10px;
  }
  .day-tabs { overflow-x: auto; }
  .format-filter { max-width: none; width: 100%; }
  .lesson {
    padding: 20px 18px 20px 24px;
    border-radius: 18px;
  }
  .lesson-with-photo .lesson-time {
    padding: 0 0 12px;
    border-right: 0;
    border-bottom: 2px dashed var(--line);
  }
  .lesson-with-photo .lesson-time small:last-of-type {
    margin-top: 0;
  }
  .lesson-action {
    padding-top: 14px;
    border-top: 2px dashed var(--line);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lesson { transition: none; }
  .lesson:hover { transform: none; }
}

/* Correção do glow do dia ativo: o overflow da lista cortava a sombra. */
.day-tabs {
  overflow: visible;
}
.day-tabs button.active {
  box-shadow: 0 6px 16px #d51f2a4d;
}
@media (max-width: 760px) {
  .day-tabs {
    overflow-x: auto;
    margin: -6px -6px -14px;
    padding: 6px 6px 14px;
  }
  .day-tabs button.active {
    box-shadow: 0 4px 10px #d51f2a4d;
  }
}

/* Busca de aulas: mesmo modelo da busca de professores. */
.lesson-search {
  flex: none;
  max-width: none;
  margin: 0 0 16px;
}
.lesson-search .professor-search-results li {
  display: grid;
  gap: 2px;
}
.lesson-search .professor-search-results li strong {
  font-weight: 800;
}
.lesson-search .professor-search-results li span {
  color: var(--gray);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Grupos por dia: cabeçalho recolhível para a página não ficar infinita. */
.day-group + .day-group {
  margin-top: 16px;
}
.day-group-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 22px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(60% 140% at 0% 0%, #d51f2a59, transparent 70%),
    #262b33;
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px #262b332e;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.day-group-toggle:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px #262b333d;
}
.day-group-toggle:focus-visible {
  outline: 3px solid #ff4d57;
  outline-offset: 3px;
}
.day-group-toggle:disabled {
  cursor: default;
}
.day-group-date {
  font: 900 clamp(1.7rem, 3vw, 2.2rem)/1 var(--display);
  letter-spacing: 0.05em;
}
.day-group-weekday {
  color: #ffffffb8;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: capitalize;
}
.day-group-count {
  margin-left: auto;
  padding: 5px 13px;
  border-radius: 99px;
  background: #ffffff1f;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.day-group-chevron {
  flex: none;
  width: 10px;
  height: 10px;
  margin: 0 4px 3px 2px;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease-out);
}
.day-group-toggle[aria-expanded="true"] .day-group-chevron {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.day-group-toggle:disabled .day-group-chevron {
  display: none;
}
.day-group-body {
  display: grid;
  gap: 16px;
  padding-top: 16px;
}
.day-group-body[hidden] {
  display: none;
}

/* Aula localizada pela busca. */
.lesson.is-found {
  border-color: var(--red);
  animation: lesson-found 2.2s ease-out;
}
@keyframes lesson-found {
  0%, 100% { box-shadow: 0 6px 18px #343b4608; }
  20%, 60% { box-shadow: 0 0 0 6px #d51f2a40, 0 20px 40px #d51f2a2e; }
}
@media (max-width: 760px) {
  .day-group-toggle { padding: 15px 16px; gap: 10px; }
  .day-group-weekday { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lesson.is-found { animation: none; box-shadow: 0 0 0 4px #d51f2a40; }
  .day-group-toggle,
  .day-group-chevron { transition: none; }
}

/* Copy do painel de lotes: subtítulo de cada lote e rodapé. */
.lot-hint {
  color: #ffffff99;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lot[data-state="aberto"] .lot-hint {
  color: #ffffffd9;
}
.lot-panel-foot {
  margin: 28px 0 0;
  color: #ffffffb8;
  font-size: 0.875rem;
  font-weight: 600;
}
@media (max-width: 640px) {
  .lot-hint { grid-column: 1; }
  .lot-state { grid-column: 2; grid-row: 1 / span 2; }
  .lot-panel-foot { margin-top: 20px; }
}

/* Formulário de inscrição (página de trabalho) e página de cancelamento. */
.registration-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface);
  color: var(--ink);
  overflow-y: auto;
}
.registration-dialog::backdrop {
  background: #343b468c;
}
html:has(.registration-dialog[open]) {
  overflow: hidden;
  scrollbar-gutter: stable;
}
.registration-dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}
.registration-dialog-head h3 {
  font-size: 1.5rem;
}
.registration-dialog-head h3:focus {
  outline: none;
}
.registration-dialog-head .button {
  min-height: 44px;
  padding: 6px 16px;
  font-size: 1.25rem;
  line-height: 1;
}
.registration-result p {
  margin: 0;
}
.registration-lesson {
  display: grid;
  gap: 4px;
  margin: 16px 0;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--gray);
  font-size: 0.9375rem;
}
.registration-lesson[hidden],
.registration-form[hidden],
.registration-result[hidden] {
  display: none;
}
.registration-lesson strong {
  color: var(--ink);
}
.registration-form,
.registration-result {
  display: grid;
  gap: 16px;
}
.registration-result {
  margin-top: 16px;
}
.registration-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9375rem;
  font-weight: 700;
}
.registration-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--gray);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.registration-dialog [aria-invalid="true"] {
  border-color: #a61725;
}
.registration-field-error {
  margin: 6px 0 0;
  color: #a61725;
  font-size: 0.875rem;
  font-weight: 600;
}
.registration-check label {
  display: flex;
  align-items: start;
  gap: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.registration-check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: #15803d;
}
.registration-form .button[type="submit"],
.registration-result .button {
  background: #15803d;
}
.registration-form .button[type="submit"]:hover:enabled,
.registration-result .button:hover {
  background: #166534;
}
.registration-form .button[type="submit"]:disabled {
  background: var(--gray);
}
.registration-code {
  padding: 14px;
  border: 1px solid #bce3ca;
  border-radius: var(--radius);
  background: #eaf7ef;
  color: #166534;
  font-size: 1.375rem;
  font-weight: 800;
  text-align: center;
}
.cancel-page {
  width: min(640px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}
.cancel-page h1 {
  margin: 32px 0 16px;
  font-size: clamp(2.5rem, 8vw, 4rem);
}
.cancel-brand {
  display: inline-block;
}
.cancel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.cancel-actions [hidden] {
  display: none;
}
