/* Base compartilhada: fontes, cores, acessibilidade e botões. */
@font-face {
  font-family: "Rethink Sans";
  src: url("/wp-content/uploads/kodety/assets/assets/AMODz4SDuXOMCPfdoglY9JQuWHBGG0X45DmqkmFRCE4-d7bf48c751bf.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Rethink Sans";
  src: url("/wp-content/uploads/kodety/assets/assets/AMODz4SDuXOMCPfdoglY9JQuWHBGG0X45Dmqkr9WCE4-d2769bb00ba4.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Rethink Sans";
  src: url("/wp-content/uploads/kodety/assets/assets/AMODz4SDuXOMCPfdoglY9JQuWHBGG0X45DmqkoZWCE4-013f739c90f9.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #101015;
  --foreground: #fbfaf9;
  --muted: #b9bcc8;
  --footer: #26262b;
  --text: var(--foreground);
  --card: var(--footer);
  --timeline-card: #25252b;
  --line: #27282a;
  --blue: #61d0f0;
  --orange: #ffab20;
  --button-gradient: linear-gradient(110deg, #090911 0%, #de4f07 20%, #ffcc66 40%, #fff 60%, #a6e8f7 80%, #125991 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font: 400 18px/1.5 "Rethink Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
p, h1, h2 { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid #61d0f0; outline-offset: 6px; }
strong { font-weight: 700; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--foreground);
  color: var(--background);
  transform: translateY(calc(-100% - 20px));
}
.skip-link:focus { transform: none; }


::selection { color: var(--background); background: var(--blue); }
.contact-button, .button { display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 320px;
  max-width: 100%;
  min-height: 67px;
  padding: 8px 12px 8px 20px;
  border: 7px solid #929294;
  border-radius: 100px;
  background: var(--button-gradient) center / 120% 100% no-repeat;
  background-clip: padding-box;
  color: #fff;
  box-shadow: 0 0 0 1px #c4c4c5, -12px 10px 28px -8px #de4f0770, 12px 10px 28px -8px #a6e8f770, inset 0 1px 1px #ffffff80;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: left;
  text-shadow: 0 1px 3px #101015b3;
  transition: border-color .2s, filter .2s; }
.contact-button::after, .button::after { content: "";
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101015' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat; }
.contact-button:hover, .button:hover { border-color: var(--muted); filter: brightness(1.05); }
.incode-a-2-0-1-1-0-0.incode-a-2-0-1-1-0-0.incode-a-2-0-1-1-0-0 {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 767px) {
  .contact-button, .button { width: 100%; min-height: 65px; padding-inline: 16px 10px; gap: 12px; font-size: 16px; }
  .contact-button::after, .button::after { flex-basis: 32px; width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .contact-button, .button { transition: none; }
}

/* Home: composição e retrato responsivo. */
.page-home .hero { display: flex;
  align-items: center;
  min-height: 80vh;
  padding: 64px max(5%, calc((100% - 1440px) / 2));
  background: url("/wp-content/uploads/kodety/assets/assets/hero-sarah-7ef8af58bf33.webp") 23vw top / auto no-repeat,
              var(--background) url("/wp-content/uploads/kodety/assets/assets/Background-4579c9ac235d.webp") center / cover no-repeat; }
.page-home .notice { display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 51%;
  padding: 10px; }
.page-home .event-logo { width: 30%; margin-bottom: 24px; }
.page-home h1 { font-size: 64px; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.page-home .followup { margin-top: 7px; margin-bottom: 24px; }
.page-home .contact-prompt { margin-bottom: 24px; font-weight: 600; }
.page-home .site-footer { margin: 0 40px 16px;
  padding: 80px max(0px, calc((100% - 1220px) / 2));
  border-radius: 40px;
  background: var(--footer); }
.page-home .footer-content { display: grid;
  grid-template-columns: minmax(0, 1fr) 171px;
  align-items: start;
  gap: 64px;
  max-width: 1140px;
  margin-inline: auto; }
.page-home .company img { margin-bottom: 32px; }
.page-home .company-name { margin: 0 0 4px; font-size: 18px; font-weight: 600; line-height: 1.2; }
.page-home .company-tax-id { color: var(--muted); font-size: 16px; }
.page-home .institutional h2 { font-size: 20px; font-weight: 600; line-height: 1.2; }
.page-home .institutional h2::after { content: "";
  display: block;
  width: 20%;
  margin-top: 8px;
  border-bottom: 2px solid var(--foreground); }
.page-home .institutional ul { display: grid; gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.5; }
.page-home .institutional a { color: var(--muted); font-size: 16px; }
.page-home .institutional a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.page-home .footer-divider { grid-column: 1 / -1; width: 100%; height: 5px; margin: 0; border: 0; border-top: 1px solid #ffffff36; }
.page-home .copyright { align-self: center; font-size: 14.4px; line-height: 1.2; }
.page-home .back-to-top { display: inline-flex; justify-self: end; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; }
.page-home .back-to-top:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-home .back-to-top svg { flex: none; }
@media (max-width: 1366px) {
.page-home .hero { --sarah-width: clamp(980px, 100vw, 1962px);
    background-size: var(--sarah-width) auto, cover;
    background-position: calc(76vw - var(--sarah-width) * .484) top, center; }
.page-home .site-footer { padding-inline: 5%; }
.page-home .footer-content { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 1024px) {
.page-home .company, .page-home .institutional { grid-column: 1 / -1; }
.page-home .institutional { width: 45%; }
.page-home .footer-content { row-gap: 48px; }
}
@media (max-width: 767px) {
.page-home body { font-size: 14px; }
.page-home .hero { --sarah-width: clamp(920px, 160vw, 1200px);
    align-items: flex-start;
    
    padding-block: 32px calc(var(--sarah-width) * .4934 + 32px);
    background-position: center bottom, center; }
.page-home .notice { width: 100%; padding: 0; gap: 16px; }
.page-home .event-logo { width: 127px; }
.page-home h1 { font-size: 40px; }
.page-home .followup { margin-top: 5px; }
.page-home .site-footer { margin: 10px; padding: 80px 5%; }
.page-home .footer-content { grid-template-columns: minmax(0, 1fr); gap: 48px; text-align: center; }
.page-home .company img { margin-inline: auto; }
.page-home .institutional { width: 100%; }
.page-home .institutional h2::after { margin-inline: auto; }
.page-home .copyright, .page-home .back-to-top { grid-column: 1; justify-self: center; }
.page-home .back-to-top { margin-top: -32px; }
}

/* Links: acesso rápido com alvos amplos para toque e sem JavaScript. */
.page-links body {
  min-height: 100svh;
  display: grid;
  background: radial-gradient(ellipse at 0% 38%, #de4f0738 0%, #de4f071a 28%, transparent 65%),
              linear-gradient(180deg, #10101545 0%, #101015e6 58%, #101015 100%),
              var(--background) url("/wp-content/uploads/kodety/assets/assets/Background-4579c9ac235d.webp") center top / cover no-repeat;
}
.page-links .links-hub {
  align-self: center;
  width: min(520px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: max(48px, env(safe-area-inset-top)) max(32px, env(safe-area-inset-bottom));
}
.page-links .links-header { text-align: center; }
.page-links .links-logo { width: 240px; margin: 0 auto 28px; }
.page-links h1 { margin: 12px 0; font-size: 42px; font-weight: 600; line-height: 1.15; letter-spacing: -.04em; }
.page-links .links-intro { color: var(--muted); font-size: 16px; line-height: 1.5; }
.page-links .links-nav { margin-block: 32px 0; scroll-margin-top: 24px; }
.page-links .links-nav ul { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
.page-links .resource-link {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 18px;
  min-height: 94px;
  padding: 20px 22px;
  border: 1px solid #ffffff24;
  border-radius: 24px;
  background: #25252bf2;
  box-shadow: 0 8px 28px #00000020;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.page-links .resource-icon { color: var(--muted); }
.page-links .resource-copy { display: grid; gap: 5px; min-width: 0; }
.page-links .resource-copy strong { font-size: 18px; font-weight: 600; line-height: 1.25; }
.page-links .resource-copy small { color: var(--muted); font-size: 14px; line-height: 1.4; }
.page-links .resource-link::after {
  content: "";
  width: 32px;
  height: 32px;
  border: 1px solid #ffffff38;
  border-radius: 50%;
  background: #ffffff08 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbfaf9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.page-links .platform-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #ffffff1a;
}
.page-links .platform-section h2 { margin-bottom: 16px; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.page-links .platform-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 16px) / 1.5);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}
.page-links .platform-list::-webkit-scrollbar { display: none; width: 0; height: 0; }
.page-links .platform-list .resource-link { cursor: grab; }
.page-links .platform-list .resource-link:focus-visible { outline-offset: -4px; }
.page-links .platform-list .resource-link:hover { transform: none; }
.page-links .platform-list.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.page-links .platform-list.is-settling { scroll-snap-type: none; }
.page-links .platform-list.is-dragging .resource-link { cursor: grabbing; transform: none; transition: none; }
.page-links .platform-list > li { min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.page-links .platform-list:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 24px; }
.page-links .platform-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 16px; }
.page-links .platform-controls[hidden] { display: none; }
.page-links .platform-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff38;
  border-radius: 50%;
  background: var(--card);
  color: var(--foreground);
  cursor: pointer;
}
.page-links .platform-controls button:hover:not(:disabled) { border-color: var(--muted); }
.page-links .platform-controls button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.page-links .platform-controls button:disabled { opacity: .35; cursor: default; }
.page-links .platform-position { min-width: 40px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; text-align: center; }
.page-links .resource-link--platform {
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: end;
  aspect-ratio: 1 / 1;
  min-height: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(180deg, #10101500 60%, #101015ed 100%),
              #202027 var(--platform-image, url("/wp-content/uploads/kodety/assets/assets/serneuropsi-placeholder-beb7bcaa7000.svg")) center / cover no-repeat;
}
.page-links .platform-serneuropsi { --platform-image: url("/wp-content/uploads/kodety/assets/assets/capa-serneuropsi-58fc7b7f5c7e.png"); }
.page-links .platform-corujaneuro { --platform-image: url("/wp-content/uploads/kodety/assets/assets/capa-corujaneuro-129207fab87a.png"); }
.page-links .platform-comunidade-cognitiva { --platform-image: url("/wp-content/uploads/kodety/assets/assets/capa-comunidade-cognitiva-ded391c67deb.png"); }
.page-links .platform-serenopolen { --platform-image: url("/wp-content/uploads/kodety/assets/assets/capa-serenopolen-aec38bc449e3.svg"); }
.page-links .resource-link:hover { border-color: var(--muted); transform: translateY(-2px); }
.page-links .resource-link:active { transform: translateY(0); }
.page-links .links-footer { display: grid; justify-items: center; gap: 12px; margin-top: 40px; text-align: center; }
.page-links .links-footer img { width: 112px; margin-bottom: 4px; }
.page-links .links-footer small { color: var(--muted); font-size: 12px; }
.page-links .links-footer a { color: var(--muted); font-size: 13px; }
.page-links .links-footer a:hover { color: var(--foreground); text-decoration: underline; }
@media (max-width: 767px) {
  .page-links .links-hub { width: min(520px, calc(100% - 40px)); padding-top: max(32px, env(safe-area-inset-top)); }
  .page-links .links-logo { width: 210px; margin-bottom: 24px; }
  .page-links h1 { font-size: 36px; }
  .page-links .links-nav { margin-block: 28px 0; }
  .page-links .resource-link { padding: 18px 16px; gap: 12px; }
  .page-links .platform-section { margin-top: 32px; padding-top: 24px; }
  .page-links .resource-copy strong { font-size: 16px; }
  .page-links .resource-copy small { font-size: 13px; }
  .page-links .resource-link--platform { grid-template-columns: minmax(0, 1fr) 24px; padding: 12px; gap: 8px; }
  .page-links .resource-link--platform::after { width: 24px; height: 24px; background-size: 16px; }
  .page-links .resource-link--platform .resource-copy strong { font-size: 14px; }
  .page-links .resource-link--platform .resource-copy small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .page-links .resource-link { transition: none; }
  .page-links .resource-link:hover { transform: none; }
}

/* Termos: documento, índice, rodapé e impressão. */
html.page-terms { scroll-behavior: smooth; scroll-padding-top: 32px; }
.page-terms a:hover { color: white; }
.page-terms .container { width: 90%; max-width: 1440px; margin-inline: auto; }
.page-terms .eyebrow { margin: 0 0 16px; color: var(--muted); font-size: 16px; font-weight: 400; line-height: 1.5; text-transform: uppercase; }
.page-terms .hero { position: relative; isolation: isolate; overflow: hidden; background: var(--background) url("/wp-content/uploads/kodety/assets/assets/Background-4579c9ac235d.webp") center / cover no-repeat; }
.page-terms .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(16,16,21,.3) 0%, rgba(16,16,21,.12) 40%, transparent 65%), linear-gradient(0deg, #101015 0%, transparent 20%); }
.page-terms .hero-content { display: grid; grid-template-columns: 1fr auto; align-items: center; padding-block: 24px 32px; }
.page-terms .hero-brand { display: block; width: 127px; }
.page-terms .brand { width: 100%; }
.page-terms h1 { grid-column: 1 / -1; margin: 24px 0 8px; color: var(--text); font-size: 48px; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.page-terms .hero-description { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 16px; font-weight: 400; line-height: 1.5; }
.page-terms .hero .back-link { margin: 0; }
.page-terms .back-link { display: block; width: fit-content; margin-top: 20px; color: var(--muted); font-size: 14px; text-decoration: none; }
.page-terms .back-link span { margin-left: 8px; }
.page-terms .document-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 64px; padding-block: 48px 128px; }
.page-terms .document-sidebar { position: sticky; top: 24px; max-height: calc(100dvh - 48px); padding: 24px 18px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); overflow-y: auto; scrollbar-width: thin; }
.page-terms .table-of-contents ol { margin: 0; padding: 0; list-style: none; }
.page-terms .table-of-contents a { display: block; padding: 10px 6px; border: 0; background: transparent; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.4; text-decoration: none; }
.page-terms .table-of-contents a span { color: inherit; font-size: inherit; font-variant-numeric: tabular-nums; }
.page-terms .table-of-contents a:hover { color: var(--text); }
.page-terms .table-of-contents a.is-active { color: #fff; font-weight: 600; }
.page-terms .annex-link { margin-top: 14px; padding-top: 14px; }
.page-terms .sidebar-help { margin: 24px 0 0; padding: 20px 6px 0; border-top: 1px solid #45454c; color: var(--muted); font-size: 14px; }
.page-terms .sidebar-help a { display: block; margin-top: 8px; color: var(--text); text-decoration: none; }
.page-terms .document { min-width: 0; }
.page-terms .document:focus { outline: none; }
.page-terms .legal-section { position: relative; margin-bottom: 24px; padding: 34px 36px 36px; border: 1px solid #ffffff08; border-radius: 28px; background: var(--timeline-card); scroll-margin-top: 32px; }
.page-terms .legal-section h2 { display: flex; align-items: center; gap: 16px; margin: 0 0 24px; color: var(--text); font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.page-terms .section-number { flex-shrink: 0; color: var(--muted); font-size: 18px; font-weight: 400; line-height: 1; letter-spacing: 0; }
.page-terms .legal-section.is-reading { border-color: #ffffff1a; }
.page-terms .legal-section p { margin: 0 0 20px; color: var(--muted); font-size: 18px; line-height: 1.5; overflow-wrap: anywhere; }
.page-terms .legal-section p:last-child { margin-bottom: 0; }
.page-terms .legal-section strong { color: var(--text); font-weight: 600; }
.page-terms .legal-section a { color: var(--text); }
.page-terms .clause-number { margin-right: 4px; font-variant-numeric: tabular-nums; }
.page-terms .preamble { padding: 0 0 36px; margin-bottom: 32px; border: 0; border-radius: 0; background: transparent; }
.page-terms .preamble h2 { font-size: 32px; }
.page-terms .legal-section .acceptance { margin-top: 28px; padding-top: 24px; border-top: 1px solid #b9bcc840; }
.page-terms .annex { margin-top: 64px; overflow: hidden; background: var(--card); }
.page-terms .annex-header { margin: -34px -36px 0; padding: 34px 36px; background: var(--card) url("/wp-content/uploads/kodety/assets/assets/Section-97fcde8c7523.webp") center / cover no-repeat; }
.page-terms .annex .eyebrow { color: var(--muted); font-size: 16px; }
.page-terms .annex h2 { margin-bottom: 0; font-size: 36px; }
.page-terms .annex-heading { margin: 36px 0 24px; padding-top: 28px; border-top: 1px solid #b9bcc840; color: var(--text); font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.page-terms .day-heading { margin: 32px 0 24px; padding: 20px 24px; border: 1px solid #b9bcc86b; border-radius: 20px; color: var(--text); font-size: 16px; font-weight: 600; line-height: 1.4; }
.page-terms .document-end { margin-top: 64px; padding: 48px; border: 1px solid var(--line); border-radius: 28px; background: var(--card) url("/wp-content/uploads/kodety/assets/assets/Section-97fcde8c7523.webp") center / cover no-repeat; }
.page-terms .document-end p { margin: 0 0 12px; color: var(--muted); font-size: 16px; }
.page-terms .document-end h2 { margin: 0 0 28px; font-size: 32px; font-weight: 600; line-height: 1.2; letter-spacing: -.03em; }
.page-terms .document-end .button { font-size: 16px; }
.page-terms .site-footer { padding-block: 64px 32px; border-top: 1px solid var(--line); background: var(--background); }
.page-terms .footer-content { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 32px; }
.page-terms .footer-brand { width: 150px; }
.page-terms .footer-content p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.page-terms .footer-content strong { color: var(--text); font-size: 14px; font-weight: 600; }
.page-terms .footer-content nav { display: grid; gap: 12px; font-size: 14px; }
.page-terms .footer-content nav a { color: var(--muted); text-decoration: none; }
.page-terms .footer-content nav span { margin-left: 8px; }
.page-terms .footer-content small { grid-column: 1 / -1; padding-top: 32px; margin-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
@media (max-width: 1100px) {
.page-terms .document-layout { grid-template-columns: 215px minmax(0, 1fr); gap: 48px 32px; }
.page-terms .legal-section { padding: 28px 26px 30px; }
.page-terms .annex-header { margin: -28px -26px 0; padding: 28px 26px; }
.page-terms .preamble { padding: 0 0 28px; }
.page-terms .legal-section p { font-size: 16px; }
.page-terms .legal-section h2 { font-size: 25px; }
}
@media (max-width: 767px) {
html.page-terms { scroll-padding-top: calc(var(--mobile-menu-height, 70px) + 16px); }
.page-terms .container { width: 100%; padding-inline: 20px; }
.page-terms .hero { background-position: center top; }
.page-terms .hero::after { background: linear-gradient(90deg, #10101580, #10101540), linear-gradient(0deg, #101015 0%, transparent 50%); }
.page-terms .hero-content { column-gap: 16px; padding-block: 20px 24px; }
.page-terms .hero-brand { width: 110px; }
.page-terms .eyebrow { font-size: 14px; }
.page-terms h1 { margin: 20px 0 8px; font-size: 36px; line-height: 1.2; }
.page-terms .hero-description { font-size: 14px; line-height: 1.5; }
.page-terms .back-link { font-size: 13px; }
.page-terms .document-layout { display: block; padding-block: 32px 64px; }
.page-terms .document-sidebar { position: sticky; top: 0; z-index: 10; width: calc(100% + 40px); max-height: none; padding: calc(10px + env(safe-area-inset-top, 0px)) 0 8px; margin: 0 -20px 24px; border: 0; border-bottom: 1px solid #ffffff12; border-radius: 0; overflow: hidden; box-shadow: 0 4px 18px #00000020; }
.page-terms .table-of-contents ol { display: flex; gap: 24px; padding: 4px 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; }
.page-terms .table-of-contents ol::before, .page-terms .table-of-contents ol::after { content: ""; flex: 0 0 calc(50% - 24px); }
.page-terms .table-of-contents ol::-webkit-scrollbar { display: none; width: 0; height: 0; }
.page-terms .table-of-contents li { flex-shrink: 0; }
.page-terms .table-of-contents a { min-height: 44px; padding: 10px 0; white-space: nowrap; font-size: 13px; }
.page-terms .table-of-contents a:focus-visible { outline-offset: -2px; }
.page-terms .annex-link { margin: 0; padding: 0; border: 0; }
.page-terms .sidebar-help { display: none; }
.page-terms .preamble { padding: 0 0 16px; }
.page-terms .preamble h2 { font-size: 24px; }
.page-terms .legal-section { border-radius: 20px; padding: 21px 17px 23px; margin-bottom: 18px; scroll-margin-top: 0; }
.page-terms .legal-section h2 { gap: 12px; margin-bottom: 20px; font-size: 20px; line-height: 1.23; }
.page-terms .legal-section p { font-size: 16px; line-height: 1.6; }
.page-terms .section-number { font-size: 16px; }
.page-terms .annex { margin-top: 40px; padding: 24px 20px; }
.page-terms .annex-header { margin: -24px -20px 0; padding: 24px 20px; }
.page-terms .annex h2 { font-size: 28px; }
.page-terms .annex-heading { font-size: 18px; line-height: 1.4; }
.page-terms .day-heading { padding: 16px; font-size: 14px; }
.page-terms .document-end { margin-top: 40px; padding: 28px 24px; }
.page-terms .document-end h2 { font-size: 28px; }
.page-terms .document-end .button { gap: 14px; font-size: 14px; }
.page-terms .footer-content { grid-template-columns: 1fr; gap: 28px; }
.page-terms .footer-content small { margin-top: 0; padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
html.page-terms { scroll-behavior: auto; }
}
@media print {
:root.page-terms { color-scheme: light; --background: white; --text: #111; --muted: #333; --line: #ddd; --foreground: var(--text); }
@page { margin: 18mm; }
.page-terms body { padding-top: 0; font-family: Arial, sans-serif; }
.page-terms .container { width: 100%; }
.page-terms .hero-brand, .page-terms .hero::after, .page-terms .back-link, .page-terms .document-sidebar, .page-terms .document-end, .page-terms .site-footer, .page-terms .skip-link, .page-terms .section-number { display: none; }
.page-terms .hero { background: white; min-height: 0; }
.page-terms .hero-content { padding: 0 0 24px; }
.page-terms h1 { font-size: 36px; }
.page-terms .hero-description { font-size: 12pt; }
.page-terms .document-layout { display: block; padding: 24px 0; }
.page-terms .document { padding-left: 0; }
.page-terms .legal-section, .page-terms .preamble, .page-terms .annex { margin: 0 0 24px; padding: 0; border: 0; border-radius: 0; background: white; }
.page-terms .legal-section h2 { break-after: avoid; font-size: 16pt; }
.page-terms .legal-section p { font-size: 10pt; line-height: 1.6; orphans: 3; widows: 3; }
.page-terms .annex { break-before: page; }
.page-terms .annex-header { margin: 0; padding: 0 0 24px; background: white; }
.page-terms .annex-heading, .page-terms .day-heading { break-after: avoid; }
}

/* 5ª edição: página de vendas. Reaproveita hero e rodapé da home (.page-home). */
.page-sales .sales-eyebrow { color: var(--orange); font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: .18em; text-transform: uppercase; }
.page-sales .hero { min-height: 92vh; }
.page-sales .notice { gap: 16px; }
.page-sales .button { width: 380px; }
.page-sales .event-logo { width: 34%; margin-bottom: 20px; }
.page-sales h1 { max-width: 12ch; font-size: 64px; }
.page-sales .sales-kicker { display: block; margin-bottom: 4px; color: var(--muted); font-size: .42em; font-weight: 600; letter-spacing: -.01em; }
.page-sales .sales-lead { max-width: 30ch; color: var(--muted); font-size: 22px; line-height: 1.4; }
.page-sales .event-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(560px, 100%); margin: 16px 0 28px; }
.page-sales .event-facts > div { padding: 16px 18px; border: 1px solid #ffffff1f; border-radius: 20px; background: #25252bcc; backdrop-filter: blur(8px); }
.page-sales .event-facts dt { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.page-sales .event-facts dt svg { color: var(--blue); flex: none; }
.page-sales .event-facts dd { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; }

.page-sales .sales-about,
.page-sales .sales-pillars,
.page-sales .sales-cta { width: min(1140px, calc(100% - 80px)); margin-inline: auto; }
.page-sales .sales-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; padding-block: 120px 96px; }
.page-sales .sales-about h2,
.page-sales .sales-pillars h2,
.page-sales .sales-cta h2 { font-size: 48px; font-weight: 600; line-height: 1.15; letter-spacing: -.04em; }
.page-sales .sales-about h2 { margin-top: 16px; }
.page-sales .sales-about-copy { display: grid; gap: 20px; padding-top: 30px; color: var(--muted); }
.page-sales .sales-about-copy strong { color: var(--foreground); }
.page-sales .sales-highlight { color: var(--foreground); font-size: 26px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }

.page-sales .sales-pillars { padding-block: 0 120px; }
.page-sales .sales-pillars h2 { margin-bottom: 32px; font-size: 32px; }
.page-sales .sales-pillars ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.page-sales .sales-pillars li { display: grid; align-content: space-between; gap: 48px; min-height: 180px; padding: 28px 24px; border: 1px solid #ffffff14; border-radius: 28px; background: var(--timeline-card); }
.page-sales .sales-pillars li svg { color: var(--blue); }
.page-sales .sales-pillars li:nth-child(even) svg { color: var(--orange); }
.page-sales .sales-pillars li strong { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.page-sales .sales-tagline { margin-top: 32px; color: var(--muted); font-size: 20px; }

.page-sales .sales-cta { display: grid; justify-items: center; gap: 16px; margin-bottom: 64px; padding: 80px 32px; border: 1px solid var(--line); border-radius: 40px; background: var(--card) url("/wp-content/uploads/kodety/assets/assets/Section-97fcde8c7523.webp") center / cover no-repeat; text-align: center; }
.page-sales .sales-cta p:not(.sales-eyebrow) { max-width: 40ch; color: var(--muted); }
.page-sales .sales-cta .button { margin-top: 16px; }

@media (max-width: 1366px) {
  .page-sales .notice { width: 56%; }
}
@media (max-width: 1024px) {
  .page-sales .sales-about { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 96px 72px; }
  .page-sales .sales-about-copy { padding-top: 8px; }
  .page-sales .sales-pillars ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .page-sales .hero { min-height: 0; }
  .page-sales .notice { width: 100%; }
  .page-sales .event-logo { width: 150px; margin-bottom: 12px; }
  .page-sales h1 { font-size: 40px; }
  .page-sales .sales-eyebrow { font-size: 12px; }
  .page-sales .sales-lead { font-size: 18px; }
  .page-sales .event-facts { gap: 8px; margin: 8px 0 20px; }
  .page-sales .event-facts > div { padding: 12px 14px; border-radius: 16px; }
  .page-sales .event-facts dt { font-size: 11px; }
  .page-sales .event-facts dd { font-size: 15px; }
  .page-sales .sales-about,
  .page-sales .sales-pillars,
  .page-sales .sales-cta { width: calc(100% - 32px); }
  .page-sales .sales-about { padding-block: 64px 48px; }
  .page-sales .sales-about h2, .page-sales .sales-cta h2 { font-size: 32px; }
  .page-sales .sales-highlight { font-size: 20px; }
  .page-sales .sales-about-copy { font-size: 16px; }
  .page-sales .sales-pillars { padding-bottom: 64px; }
  .page-sales .sales-pillars h2 { margin-bottom: 20px; font-size: 24px; }
  .page-sales .sales-pillars ul { gap: 10px; }
  .page-sales .sales-pillars li { gap: 28px; min-height: 140px; padding: 20px 16px; border-radius: 20px; }
  .page-sales .sales-pillars li strong { font-size: 17px; }
  .page-sales .sales-tagline { font-size: 17px; }
  .page-sales .sales-cta { margin-bottom: 24px; padding: 56px 20px; border-radius: 28px; }
}

/* =========================================================
   5ª edição · pop-up de inscrição (#mi-inscricao) + Forms Incantato
   Markup: overlay nativo do Kodety (data-kodety-overlay="modal").
   No site publicado quem abre/fecha é o runtime do Kodety; fora
   dele (preview local) o popup.js faz o mesmo papel.
   O formulário (.bfc-kodety) é trocado pelo real pelo plugin
   Forms Incantato; o visual vem das variáveis --bfc-* abaixo.
   Sem !important: o Kodety não permite.
   ========================================================= */
.page-sales .bfc-kodety {
  --bfc-label-color: var(--foreground);
  --bfc-input-bg: #ffffff0a;
  --bfc-input-color: var(--foreground);
  --bfc-placeholder-color: #8a8d99;
  --bfc-input-border: #ffffff2e;
  --bfc-input-focus: var(--blue);
  --bfc-button-bg: var(--button-gradient);
  --bfc-button-hover-bg: var(--button-gradient);
  --bfc-button-text: #fff;
  --bfc-error-color: #ff8a65;
  --bfc-icon-color: var(--muted);
  --bfc-icon-secondary: #ffffff14;
  --bfc-radius: 16px;
  --bfc-button-radius: 100px;
  --bfc-field-gap: 18px;
  font-family: "Rethink Sans", Arial, sans-serif;
}

.mim { position: relative; display: block; }
.mim__backdrop {
  position: fixed; inset: 0; z-index: 9998;
  width: 100%; height: 100%; margin: 0; padding: 0; border: 0;
  background: #101015b8;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  cursor: default;
}
.mim__surface {
  position: fixed; z-index: 9999; inset: auto;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  margin: 0; padding: 0; box-sizing: border-box; overflow: auto; overscroll-behavior: contain;
  border: 1px solid #ffffff1f; border-radius: 32px;
  background: radial-gradient(ellipse at 0% 0%, #de4f0726 0%, transparent 55%),
              radial-gradient(ellipse at 100% 100%, #125991 -40%, transparent 55%),
              var(--timeline-card);
  color: var(--foreground);
  box-shadow: 0 32px 80px #00000080;
  font-family: "Rethink Sans", Arial, sans-serif;
  outline: none;
}
.mim__surface[data-state="open"] { animation: mim-in 380ms cubic-bezier(.22, 1, .36, 1) both; }
.mim__backdrop[data-state="open"] { animation: mim-fade 260ms ease-out both; }
@keyframes mim-in {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 18px)) scale(.97); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes mim-fade { from { opacity: 0; } to { opacity: 1; } }

.mim__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 32px; border-bottom: 1px solid #ffffff14; }
.mim__logo { width: auto; height: 40px; }
.mim__close {
  display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 1px solid #ffffff2e; background: #ffffff0a; color: var(--foreground);
  cursor: pointer; transition: background-color .2s ease, border-color .2s ease;
}
.mim__close:hover { background: #ffffff14; border-color: var(--muted); }
.mim__close:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.mim__close svg { width: 20px; height: 20px; }

.mim__body { display: grid; gap: 20px; padding: 28px 32px 32px; }
.mim__steps { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; line-height: 1.2; }
.mim__steps li { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.mim__steps li + li::before { content: ""; flex: none; width: clamp(24px, 12vw, 140px); height: 1px; margin-right: 2px; background: #ffffff2e; }
.mim__steps span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #ffffff2e; font-size: 13px; font-variant-numeric: tabular-nums; }
.mim__steps .is-current { color: var(--foreground); }
.mim__steps .is-current span { border-color: var(--orange); background: #ffab2026; color: var(--orange); }

.mim__title { margin: 4px 0 0; font-size: min(30px, 6.6vw); font-weight: 600; line-height: 1.15; letter-spacing: -.035em; }
.mim__text { color: var(--muted); font-size: 16px; line-height: 1.55; }

.mim .bfc-kodety { margin-top: 4px; }
.mim .bfc-kodety .bfc-field { gap: 8px; }
.mim .bfc-kodety .bfc-field label { font-size: 15px; font-weight: 600; }
.mim .bfc-kodety .bfc-input-shell > input,
.mim .bfc-kodety .bfc-input-shell > .iti > input { min-height: 56px; font-size: 17px; }
/* botão no mesmo acabamento do .button da página */
.mim .bfc-kodety .bfc-submit {
  justify-content: space-between; gap: 16px; min-height: 67px; margin-top: 8px;
  padding: 8px 12px 8px 22px;
  border: 7px solid #929294;
  background: var(--button-gradient) center / 120% 100% no-repeat;
  background-clip: padding-box;
  box-shadow: 0 0 0 1px #c4c4c5, -12px 10px 28px -8px #de4f0770, 12px 10px 28px -8px #a6e8f770, inset 0 1px 1px #ffffff80;
  font-size: 17px; font-weight: 600; text-align: left; text-shadow: 0 1px 3px #101015b3;
  transition: border-color .2s, filter .2s;
}
.mim .bfc-kodety .bfc-submit:hover,
.mim .bfc-kodety .bfc-submit:focus-visible { background: var(--button-gradient) center / 120% 100% no-repeat; background-clip: padding-box; border-color: var(--muted); filter: brightness(1.05); }
.mim .bfc-kodety .bfc-submit:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.mim .bfc-kodety .bfc-submit::after {
  content: ""; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid var(--muted); border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101015' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.mim .bfc-kodety .bfc-loading { color: var(--muted); }

.mim__privacy { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.mim__privacy svg { flex: none; margin-top: 1px; color: var(--blue); }

/* seletor de país do telefone (intl-tel-input): a lista abre dentro do pop-up */
.mim__surface {
  --iti-border-color: #ffffff1f;
  --iti-hover-color: #61d0f01a;
  --iti-icon-color: var(--muted);
  --iti-country-selector-bg: #18181d;
}
.mim__surface .iti__dropdown-content,
.mim__surface .iti__country-selector {
  color: var(--foreground); background: #18181d;
  border: 1px solid #ffffff1f; border-radius: 16px; overflow: hidden;
  box-shadow: 0 22px 48px #00000099;
}
.mim__surface .iti__search-input-wrapper { background: #ffffff08; }
.mim__surface .iti__search-input {
  margin: 0; min-height: 48px; width: 100%; box-sizing: border-box; border: 0; border-bottom: 1px solid #ffffff1a;
  border-radius: 0; background: transparent; color: var(--foreground); font: 400 15px/1.4 "Rethink Sans", Arial, sans-serif; box-shadow: none; outline: none;
}
.mim__surface .iti__search-input::placeholder { color: #8a8d99; }
.mim__surface .iti__search-input:focus { border-bottom-color: var(--blue); }
.mim__surface .iti__search-icon, .mim__surface .iti__search-clear { color: var(--muted); }
.mim__surface .iti__search-clear-bg { fill: #ffffff24; }
.mim__surface .iti__country-list { background: transparent; scrollbar-width: thin; scrollbar-color: #ffffff2e transparent; }
.mim__surface .iti__country { color: var(--foreground); padding: 10px 14px; font-size: 15px; }
.mim__surface .iti__country-name { color: inherit; }
.mim__surface .iti__country.iti__highlight { background: #61d0f01a; }
.mim__surface .iti__country[aria-selected="true"] { background: #61d0f024; color: var(--blue); }
.mim__surface .iti__country-check, .mim__surface .iti__country-check-svg { color: var(--blue); fill: currentColor; }
.mim__surface .iti__no-results { color: var(--muted); }
.mim__surface .iti__flag { border-radius: 3px; box-shadow: 0 0 0 1px #ffffff1f; }

/* preenchimento automático do navegador: sem o fundo azul claro */
.mim .bfc-kodety input:-webkit-autofill,
.mim .bfc-kodety input:-webkit-autofill:hover,
.mim .bfc-kodety input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--foreground); caret-color: var(--foreground);
  -webkit-box-shadow: 0 0 0 1000px #2c2c33 inset; box-shadow: 0 0 0 1000px #2c2c33 inset;
  transition: background-color 9999s ease-out 0s;
}

@media (max-width: 480px) {
  .mim__surface { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 24px; }
  .mim__head { padding: 16px 20px; }
  .mim__logo { height: 32px; }
  .mim__close { width: 42px; height: 42px; }
  .mim__body { gap: 16px; padding: 22px 20px 24px; }
  .mim__steps { font-size: 14px; gap: 8px; }
  .mim__text { font-size: 15px; }
  .mim .bfc-kodety .bfc-submit { min-height: 63px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mim__surface[data-state="open"], .mim__backdrop[data-state="open"] { animation: none; }
  .mim .bfc-kodety .bfc-submit { transition: none; }
}

/* =========================================================
   5ª edição · identidade "Neuropsicologia em expansão"
   degradê oficial: #090911 → #E33C2C → #F9AF1E → #FFFFFF → #A6E8F7 → #125991
   Só vale na página da 5ª edição (html.page-sales).
   ========================================================= */
html.page-sales {
  --blue: #a6e8f7;
  --deep-blue: #125991;
  --orange: #f9af1e;
  --gold: #f9af1e;
  --flame: #e33c2c;
  --red: #e33c2c;
  --brand-gradient: linear-gradient(90deg, #090911 0%, #e33c2c 20.7%, #f9af1e 43.3%, #fff 68.1%, #a6e8f7 82.2%, #125991 100%);
  --button-gradient: linear-gradient(110deg, #090911 0%, #e33c2c 24%, #f9af1e 50%, #a6e8f7 78%, #125991 100%);
}
.page-sales ::selection { color: var(--background); background: var(--gold); }

/* título com o logotipo oficial */
.page-sales h1 { max-width: none; }
.page-sales .sales-title { display: block; width: min(560px, 100%); height: auto; margin-top: 6px; }

/* hero: fundo escuro com brilhos da identidade + canvas do cérebro */
.page-sales .hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(ellipse 60% 70% at 100% 0%, #12599166 0%, transparent 70%),
              radial-gradient(ellipse 55% 60% at 0% 100%, #e33c2c2e 0%, transparent 70%),
              var(--background);
}
.page-sales .hero-brain { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; }
.page-sales .hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--background) 0%, #101015e6 28%, #10101500 58%),
              linear-gradient(0deg, var(--background) 0%, transparent 18%);
}
.page-sales .notice { position: relative; }
.page-sales .event-facts > div { background: #25252bcc; border-color: #a6e8f726; }

/* chamada final: cartão escuro com o degradê da identidade */
.page-sales .sales-cta {
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid #ffffff14;
  background: radial-gradient(ellipse 70% 90% at 0% 100%, #e33c2c47 0%, transparent 65%),
              radial-gradient(ellipse 60% 80% at 50% 120%, #f9af1e2e 0%, transparent 60%),
              radial-gradient(ellipse 70% 90% at 100% 0%, #12599180 0%, transparent 65%),
              var(--card);
}
.page-sales .sales-cta::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 6px; z-index: -1;
  background: var(--brand-gradient);
}
.page-sales .sales-cta .sales-eyebrow { color: var(--gold); }
.page-sales .sales-cta h2 { color: #fff; }
.page-sales .sales-cta p:not(.sales-eyebrow) { color: var(--muted); }

/* pop-up e formulário na identidade */
.page-sales .mim__surface {
  background: radial-gradient(ellipse at 100% 0%, #12599166 0%, transparent 55%),
              radial-gradient(ellipse at 0% 100%, #e33c2c24 0%, transparent 55%),
              var(--timeline-card);
}
.page-sales .bfc-kodety { --bfc-input-focus: var(--gold); }
.page-sales .mim__steps .is-current span { border-color: var(--gold); background: #f9af1e26; color: var(--gold); }

@media (max-width: 767px) {
  .page-sales .hero {
    padding-bottom: min(124vw, 600px);
    background: radial-gradient(ellipse 90% 40% at 100% 0%, #12599166 0%, transparent 70%),
                radial-gradient(ellipse 90% 30% at 50% 75%, #e33c2c2e 0%, transparent 70%),
                var(--background);
  }
  .page-sales .hero::before { background: linear-gradient(180deg, var(--background) 0%, #101015d9 45%, #10101500 70%); }
}

/* =========================================================
   5ª edição · cena final com a ilustração de Goiânia
   ========================================================= */
.page-sales .sales-final {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: min(56.25vw, 860px); margin-top: 40px; padding: 0 0 clamp(48px, 8vw, 120px);
}
.page-sales .sales-final-art {
  position: absolute; inset: auto 0 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center bottom;
}
.page-sales .sales-final::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--background) 0%, #101015d9 18%, #10101533 48%, #10101500 62%, #10101566 100%),
              linear-gradient(90deg, #101015b3 0%, #10101500 55%);
}
.page-sales .sales-final-content {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  width: min(1140px, calc(100% - 80px)); margin-inline: auto;
}
.page-sales .sales-final-copy { display: grid; justify-items: start; gap: 16px; max-width: 620px; }
.page-sales .sales-final .sales-eyebrow { color: var(--gold); text-shadow: 0 1px 8px #10101599; }
.page-sales .sales-final h2 {
  color: #fff; font-size: 52px; font-weight: 700; line-height: 1.02; letter-spacing: -.035em;
  text-shadow: 0 2px 24px #101015b3;
}
.page-sales .sales-final .button { margin-top: 12px; }
.page-sales .sales-final-date {
  display: flex; align-items: center; gap: 16px; flex: none;
  padding: 14px 14px 14px 22px; border: 1px solid #ffffff26; border-radius: 22px;
  background: #101015a6; backdrop-filter: blur(10px);
}
.page-sales .sales-final-date p { display: grid; gap: 2px; margin: 0; text-align: right; }
.page-sales .sales-final-date strong { font-size: 17px; font-weight: 600; }
.page-sales .sales-final-date p span { color: var(--muted); font-size: 14px; }
.page-sales .sales-final-cal {
  display: grid; width: 58px; overflow: hidden; border-radius: 12px; background: #fff; text-align: center;
  box-shadow: 0 8px 24px -8px #e33c2c99;
}
.page-sales .sales-final-cal span { padding: 3px 0; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.page-sales .sales-final-cal strong { padding: 4px 0 6px; color: var(--background); font-size: 24px; line-height: 1.1; }

@media (max-width: 1024px) {
  .page-sales .sales-final h2 { font-size: 40px; }
}
@media (max-width: 767px) {
  .page-sales .sales-final { min-height: 0; margin-top: 16px; padding: 64px 0 300px; align-items: flex-start; }
  .page-sales .sales-final-art { height: 380px; object-position: 50% 100%; }
  .page-sales .sales-final::before {
    inset: auto 0 0; height: 380px;
    background: linear-gradient(180deg, var(--background) 0%, #101015b3 22%, #10101500 50%, #10101500 85%, #10101580 100%);
  }
  .page-sales .sales-final-content { flex-direction: column; align-items: stretch; width: calc(100% - 32px); }
  .page-sales .sales-final h2 { font-size: 30px; }
  .page-sales .sales-final .button { width: 100%; }
  .page-sales .sales-final-date { align-self: flex-start; padding-left: 16px; }
  .page-sales .sales-final-date p { text-align: left; }
}

/* =========================================================
   5ª edição · botão: sem sombra no texto; no hover o círculo
   branco do ícone cresce até cobrir o botão e o texto ganha o degradê
   ========================================================= */
.page-sales .button {
  position: relative; isolation: isolate; overflow: hidden;
  text-shadow: none;
  transition: border-color .3s;
}
.page-sales .button::before {
  content: ""; position: absolute; z-index: -1; top: 50%; right: 12px;
  width: 36px; height: 36px; border-radius: 50%; background: #fff;
  transform: translateY(-50%) scale(1);
  transition: transform .5s cubic-bezier(.65, 0, .35, 1);
}
.page-sales .button-label {
  background: linear-gradient(90deg, #090911 0%, #e33c2c 30%, #f9af1e 62%, #125991 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: #fff;
  transition: -webkit-text-fill-color .25s .1s;
}
.page-sales .button:hover,
.page-sales .button:focus-visible { border-color: var(--muted); filter: none; }
.page-sales .button:hover::before,
.page-sales .button:focus-visible::before { transform: translateY(-50%) scale(24); }
.page-sales .button:hover .button-label,
.page-sales .button:focus-visible .button-label { -webkit-text-fill-color: transparent; }
@media (max-width: 767px) {
  .page-sales .button::before { right: 10px; width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-sales .button::before, .page-sales .button-label { transition: none; }
}

/* =========================================================
   5ª edição · cartão de vendas em formato de ingresso
   3 partes empilhadas; os recortes laterais são máscaras reais
   (deixam ver a ilustração de Goiânia por trás)
   ========================================================= */
.page-sales .sales-final-content { align-items: center; }
.page-sales .sales-final-text { max-width: 36ch; color: #fbfaf9; font-size: 18px; text-shadow: 0 1px 12px #101015cc; }
.page-sales .ticket {
  --notch: 16px;
  --ticket-bg: #202027;
  display: grid; flex: none; width: 400px; max-width: 100%;
  filter: drop-shadow(0 30px 50px #10101599);
}
.page-sales .ticket-part { background: var(--ticket-bg); padding: 32px 36px; }
.page-sales .ticket-head {
  position: relative; overflow: hidden; padding-top: 40px; border-radius: 24px 24px 0 0;
  background: var(--ticket-bg);
  -webkit-mask: radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.page-sales .ticket-head::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--brand-gradient);
}
.page-sales .ticket-body,
.page-sales .ticket-foot { position: relative; }
.page-sales .ticket-body::before,
.page-sales .ticket-foot::before {
  content: ""; position: absolute; inset: 0 calc(var(--notch) + 8px) auto; border-top: 1.5px dashed #ffffff26;
}
.page-sales .ticket-body {
  display: grid; gap: 14px;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) top left / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) top right / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) bottom left / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) bottom right / 51% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) top left / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) top right / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) bottom left / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) bottom right / 51% 51% no-repeat;
}
.page-sales .ticket-foot {
  display: grid; gap: 18px; border-radius: 0 0 24px 24px;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat;
}
.page-sales .ticket-kind { margin: 0 0 6px; color: #ffffff99; font-size: 16px; font-weight: 600; letter-spacing: 0; }
.page-sales .ticket-title {
  margin: 0; color: #fff; font-size: 58px; font-weight: 800; line-height: .95; letter-spacing: -.04em; text-transform: uppercase;
}
.page-sales .ticket-includes { margin: 6px 0 0; color: #fff; font-size: 17px; font-weight: 600; }
.page-sales .ticket-list { display: grid; gap: 12px; margin: 0 0 8px; padding: 0; list-style: none; }
.page-sales .ticket-list li {
  display: flex; align-items: center; gap: 14px; color: #d6d5d3; font-size: 16px; line-height: 1.3;
}
.page-sales .ticket-list li::before {
  content: ""; flex: none; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f9af1e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.page-sales .ticket .button { width: 100%; }
.page-sales .ticket-barcode { display: block; width: 100%; height: 64px; margin-top: 8px; fill: #ffffff80; }
.page-sales .ticket-meta {
  display: flex; justify-content: space-between; gap: 12px; margin: 0;
  color: #ffffff66; font-size: 15px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
}

@media (max-width: 1024px) {
  .page-sales .ticket { width: 360px; }
  .page-sales .ticket-title { font-size: 48px; }
}
@media (max-width: 767px) {
  .page-sales .sales-final-content { align-items: stretch; gap: 28px; }
  .page-sales .sales-final-text { font-size: 16px; }
  .page-sales .ticket { width: 100%; }
  .page-sales .ticket-part { padding: 26px 24px; }
  .page-sales .ticket-head { padding-top: 34px; }
  .page-sales .ticket-title { font-size: 44px; }
  .page-sales .ticket-list li { font-size: 15px; }
}
.page-sales .ticket-price {
  display: flex; align-items: flex-start; gap: 6px; margin: 0;
  color: #fff; font-size: 76px; font-weight: 800; line-height: .9; letter-spacing: -.05em;
}
.page-sales .ticket-currency { margin-top: 8px; font-size: 24px; letter-spacing: 0; color: #ffffffb3; }
.page-sales .ticket-cents { margin-top: 8px; font-size: 24px; letter-spacing: 0; color: #ffffffb3; }
@media (max-width: 767px) { .page-sales .ticket-price { font-size: 64px; } }

/* =========================================================
   5ª edição · ilustração de Goiânia no rodapé
   ========================================================= */
.page-sales .sales-final { min-height: 0; padding: clamp(64px, 8vw, 120px) 0; }
.page-sales .sales-final::before { content: none; }
.page-sales .site-footer {
  position: relative; isolation: isolate; overflow: hidden;
  padding-bottom: clamp(300px, 34vw, 520px);
}
.page-sales .footer-art {
  position: absolute; inset: auto 0 0; z-index: -2;
  width: 100%; height: clamp(360px, 42vw, 640px);
  object-fit: cover; object-position: center bottom;
}
.page-sales .site-footer::before {
  content: ""; position: absolute; inset: auto 0 0; z-index: -1; pointer-events: none;
  height: clamp(360px, 42vw, 640px);
  background: linear-gradient(180deg, var(--footer) 0%, #26262bcc 18%, #26262b00 48%);
}
@media (max-width: 767px) {
  .page-sales .sales-final { padding: 64px 0; }
  .page-sales .site-footer { padding-bottom: 260px; }
  .page-sales .footer-art, .page-sales .site-footer::before { height: 320px; }
}

/* =========================================================
   5ª edição · abertura do título "Neuropsicologia em expansão"
   O "O" e o "S" alongados começam com largura de letra normal e
   se esticam, empurrando as letras seguintes: a tipografia se expande.
   ========================================================= */
.page-sales .sales-title { aspect-ratio: 4300 / 536; overflow: visible; }
.page-sales .sales-title .t-stretch { transform-box: fill-box; transform-origin: 0 50%; }
.page-sales .sales-title .t-arrow { transform-box: fill-box; transform-origin: 0 50%; }
@media (prefers-reduced-motion: no-preference) {
  .page-sales .sales-kicker { animation: mi-title-in .6s cubic-bezier(.16, 1, .3, 1) both; }
  .page-sales .sales-title .t-line { animation: mi-line-in .8s cubic-bezier(.16, 1, .3, 1) both; }
  .page-sales .sales-title .t-line-1 { animation-delay: .1s; }
  .page-sales .sales-title .t-line-2 { animation-delay: .25s; }
  .page-sales .sales-title .t-o { animation: mi-stretch-o 1.4s cubic-bezier(.76, 0, .24, 1) .6s both; }
  .page-sales .sales-title .t-post-o { animation: mi-shift-o 1.4s cubic-bezier(.76, 0, .24, 1) .6s both; }
  .page-sales .sales-title .t-s { animation: mi-stretch-s 1.4s cubic-bezier(.76, 0, .24, 1) .78s both; }
  .page-sales .sales-title .t-post-s { animation: mi-shift-s 1.4s cubic-bezier(.76, 0, .24, 1) .78s both; }
  .page-sales .sales-title .t-arrow { animation: mi-arrow 1.2s cubic-bezier(.16, 1, .3, 1) 1s both; }
}
@keyframes mi-title-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes mi-line-in { from { opacity: 0; transform: translateY(160px); } to { opacity: 1; transform: none; } }
@keyframes mi-stretch-o { from { transform: scaleX(.3); } to { transform: none; } }
@keyframes mi-shift-o { from { transform: translateX(-495px); } to { transform: none; } }
@keyframes mi-stretch-s { from { transform: scaleX(.36); } to { transform: none; } }
@keyframes mi-shift-s { from { transform: translateX(-452px); } to { transform: none; } }
@keyframes mi-arrow { from { opacity: 0; transform: scaleX(.05); } to { opacity: 1; transform: none; } }
