:root {
  color-scheme: light;

  --navy: #02124d;
  --navy-deep: #010a2e;
  --purple: #675ff2;
  --purple-logo: #736dff;
  --periwinkle: #9d9bff;
  --lavender: #d8d8ff;

  --bg: #ffffff;
  --bg-subtle: #f7f8fc;
  --bg-card: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.76);
  --bg-mobile-menu: rgba(255, 255, 255, 0.98);
  --accent: #635be8;
  --accent-hover: #5149d6;
  --accent-soft: #f0efff;
  --btn-primary-bg: #02124d;
  --btn-primary-hover: #635be8;

  --border: rgba(2, 18, 77, 0.085);
  --border-strong: rgba(2, 18, 77, 0.16);
  --text-primary: #02124d;
  --text-secondary: #4a5478;
  --text-tertiary: #737da1;
  --logo-ink: #02124d;
  --logo-sub: #02124d;

  --hero-glow: rgba(157, 155, 255, 0.22);
  --hero-dots: rgba(2, 18, 77, 0.07);
  --watermark-opacity: 0.24;

  --scrollbar-track: #f1f1fb;
  --scrollbar-thumb: #736dff;
  --scrollbar-thumb-start: #a09af0;
  --scrollbar-thumb-end: #3f2eff;

  --vlibras-btn-outline: 1px solid rgba(255, 255, 255, 0.42);
  --vlibras-btn-focus-visible-outline: 2px solid #ffffff;
  --vlibras-btn-focus-visible-shadow: 0 0 0 5px rgba(99, 91, 232, 0.30);
  --vlibras-btn-hover-filter: brightness(1.08);

  --shadow-xs: 0 1px 2px rgba(2, 18, 77, 0.04);
  --shadow-sm: 0 4px 16px -4px rgba(2, 18, 77, 0.06), 0 1px 3px rgba(2, 18, 77, 0.04);
  --shadow-md: 0 16px 40px -12px rgba(2, 18, 77, 0.10), 0 4px 12px -2px rgba(2, 18, 77, 0.04);
  --shadow-dark: 0 24px 56px -12px rgba(2, 18, 77, 0.28), 0 4px 16px -4px rgba(2, 18, 77, 0.16);

  --font-display: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
}

[data-theme="dark"] {
  color-scheme: dark;

  --bg: #030a24;
  --bg-subtle: #061036;
  --bg-card: #091544;
  --bg-header: rgba(3, 10, 36, 0.76);
  --bg-mobile-menu: rgba(6, 16, 54, 0.98);
  --accent: #8a84ff;
  --accent-hover: #736dff;
  --accent-soft: rgba(115, 109, 255, 0.16);
  --btn-primary-bg: #736dff;
  --btn-primary-hover: #8a84ff;

  --border: rgba(157, 155, 255, 0.13);
  --border-strong: rgba(157, 155, 255, 0.26);
  --text-primary: #f4f5ff;
  --text-secondary: #b7bfe6;
  --text-tertiary: #848fc4;
  --logo-ink: #ffffff;
  --logo-sub: #d8d8ff;

  --hero-glow: rgba(115, 109, 255, 0.18);
  --hero-dots: rgba(216, 216, 255, 0.065);
  --watermark-opacity: 0.20;

  --scrollbar-track: #050d2d;
  --scrollbar-thumb: #8a84ff;
  --scrollbar-thumb-start: #7f73ff;
  --scrollbar-thumb-end: #3f2eff;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.28);
  --shadow-sm: 0 6px 20px -4px rgba(0, 0, 0, 0.38);
  --shadow-md: 0 18px 44px -12px rgba(0, 0, 0, 0.55);
  --shadow-dark: 0 24px 56px -12px rgba(0, 0, 0, 0.65);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  box-shadow: inset 0 0 0 1px var(--border);
}

::-webkit-scrollbar-thumb {
  min-height: 52px;
  border: 3px solid var(--scrollbar-track);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--scrollbar-thumb-start), var(--scrollbar-thumb-end));
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 3px 10px rgba(63, 46, 255, 0.18);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7f73ff, #2822ff);
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #675ff2, #02124d);
  background-clip: padding-box;
}

::-webkit-scrollbar-corner {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.top-announcement {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-secondary);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.top-announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 5px 0;
  flex-wrap: wrap;
}

.inst-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text-primary);
}

.inst-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--purple-logo);
  box-shadow: 0 0 0 3px rgba(115, 109, 255, 0.20);
}

.inst-location {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-tertiary);
}

:root:not([data-theme="dark"]) .top-announcement {
  background:
    radial-gradient(circle at 8% 88%, rgba(77, 59, 220, 0.24), transparent 24%),
    radial-gradient(circle at 52% 42%, rgba(47, 42, 169, 0.11), transparent 34%),
    linear-gradient(135deg, #071249 0%, #01082f 48%, #020b3e 100%);
  border-bottom-color: rgba(157, 155, 255, 0.16);
}

:root:not([data-theme="dark"]) .inst-pill {
  color: #ffffff;
}

:root:not([data-theme="dark"]) .inst-location {
  color: #b7bfe6;
}

:root:not([data-theme="dark"]) .inst-dot {
  background-color: #9d9bff;
  box-shadow: 0 0 0 3px rgba(157, 155, 255, 0.2);
}

@media (max-width: 760px) {
  .top-announcement,
  [vw] {
    display: none !important;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 74px;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 2;
  will-change: transform;
  transition: opacity 0.2s ease, transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-link:hover {
  opacity: 0.88;
}

.logo-ink {
  fill: var(--logo-ink);
  transition: fill 0.25s ease;
}

.logo-sub {
  fill: var(--logo-sub);
  transition: fill 0.25s ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  transform-origin: right center;
  will-change: opacity, transform;
  transition: opacity 0.28s ease, transform 0.48s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.site-header.header-compact .brand-link {
  transform: translateX(var(--brand-center-shift, 0px));
}

.site-header.header-compact .header-actions {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(18px) scale(0.96);
  transition: opacity 0.24s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.34s;
}

@media (prefers-reduced-motion: reduce) {
  .brand-link,
  .header-actions {
    transition: none;
  }
}

.theme-toggle {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s var(--ease);
}

.theme-toggle:hover {
  border-color: var(--purple-logo);
  background-color: var(--accent-soft);
}

.theme-toggle svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

#themeIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  line-height: 0;
}

.language-switcher {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2px;
  height: 42px;
  padding: 4px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background-color: var(--bg-card);
  box-shadow: var(--shadow-xs);
}

.lang-option {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.lang-option::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transform: translateY(2px);
  filter: saturate(1.12) contrast(1.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
  transition: opacity 0.2s var(--ease), transform 0.28s var(--ease);
}

.lang-option[data-lang="pt"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath fill='%23009639' d='M0 0h36v36H0z'/%3E%3Cpath fill='%23FEDD00' d='m18 4 15 14-15 14L3 18z'/%3E%3Ccircle cx='18' cy='18' r='7' fill='%23002776'/%3E%3Cpath d='M12 17c4-2 8-1 13 2' fill='none' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E");
}

.lang-option[data-lang="en"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath fill='%23fff' d='M0 0h36v36H0z'/%3E%3Cpath stroke='%23B22234' stroke-width='4' d='M0 2h36M0 8h36M0 14h36M0 20h36M0 26h36M0 32h36'/%3E%3Cpath fill='%233C3B6E' d='M0 0h18v19H0z'/%3E%3Cg fill='%23fff'%3E%3Ccircle cx='4' cy='4' r='1'/%3E%3Ccircle cx='9' cy='4' r='1'/%3E%3Ccircle cx='14' cy='4' r='1'/%3E%3Ccircle cx='6.5' cy='9' r='1'/%3E%3Ccircle cx='11.5' cy='9' r='1'/%3E%3Ccircle cx='4' cy='14' r='1'/%3E%3Ccircle cx='9' cy='14' r='1'/%3E%3Ccircle cx='14' cy='14' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

.lang-option[data-lang="es"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath fill='%23AA151B' d='M0 0h36v36H0z'/%3E%3Cpath fill='%23F1BF00' d='M0 9h36v18H0z'/%3E%3Crect x='9' y='13' width='4' height='10' rx='1' fill='%23AA151B'/%3E%3Cpath fill='%23fff' d='M10 15h2v4h-2z'/%3E%3C/svg%3E");
}

.lang-option[data-lang="zh-Hant"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath fill='%23EE1C25' d='M0 0h36v36H0z'/%3E%3Cg fill='%23FFFF00'%3E%3Cpath d='m8 3 1.3 2.8 3 .3-2.2 2 .6 3L8 9.6 5.3 11l.6-3-2.2-2 3-.3L8 3z'/%3E%3Ccircle cx='15' cy='4.8' r='1.15'/%3E%3Ccircle cx='18' cy='8' r='1.15'/%3E%3Ccircle cx='17.3' cy='12.2' r='1.15'/%3E%3Ccircle cx='14' cy='15' r='1.15'/%3E%3C/g%3E%3C/svg%3E");
}

.lang-label {
  position: relative;
  z-index: 1;
  transition: color 0.2s var(--ease), text-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.lang-option:hover,
.lang-option:focus-visible {
  color: #ffffff;
  background-color: transparent;
  box-shadow: 0 5px 14px rgba(17, 23, 76, 0.22);
  transform: translateY(-1px);
}

.lang-option:hover::before,
.lang-option:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.lang-option:hover .lang-label,
.lang-option:focus-visible .lang-label {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 5, 46, 0.95), 0 0 2px rgba(0, 5, 46, 0.9);
  transform: none;
}

.lang-option.active {
  color: var(--accent);
  background-color: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(115, 109, 255, 0.12);
}

.lang-option.active:hover,
.lang-option.active:focus-visible {
  background-color: transparent;
  box-shadow: 0 5px 14px rgba(17, 23, 76, 0.22);
}

.header-cta {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  background-color: var(--btn-primary-bg);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0 16px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.header-cta:hover {
  background-color: var(--btn-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -6px rgba(115, 109, 255, 0.45);
}

.header-cta .prompt {
  flex-shrink: 0;
  font-family: var(--font-mono);
  color: var(--lavender);
  font-weight: 600;
}

.back-to-top {
  --scroll-progress: 0%;
  position: fixed;
  z-index: 60;
  isolation: isolate;
  right: 18px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 2px;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(from -90deg, #3f2eff 0 var(--scroll-progress), rgba(160, 154, 240, 0.2) var(--scroll-progress) 100%);
  box-shadow: 0 13px 34px -16px rgba(63, 46, 255, 0.7), 0 2px 9px rgba(5, 20, 72, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 180ms var(--ease), visibility 180ms var(--ease), transform 220ms var(--ease), box-shadow 180ms var(--ease);
}

.back-to-top::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8px;
  border-radius: 50%;
  background: rgba(99, 91, 232, 0.48);
  filter: blur(13px);
  opacity: 0.42;
  transition: opacity 180ms var(--ease), filter 180ms var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-surface {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(160, 154, 240, 0.28);
  border-radius: inherit;
  background: linear-gradient(145deg, color-mix(in srgb, var(--bg-card) 88%, #ffffff 12%), color-mix(in srgb, var(--bg-card) 91%, #d9d6ff 9%));
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), inset 0 -7px 16px rgba(160, 154, 240, 0.08);
  backdrop-filter: blur(18px) saturate(1.15);
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 3px 5px rgba(63, 46, 255, 0.2));
  transition: transform 180ms var(--ease), filter 180ms var(--ease);
}

.back-to-top::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-card) 94%, transparent);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 750;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  box-shadow: 0 16px 38px -14px rgba(63, 46, 255, 0.78), 0 3px 12px rgba(5, 20, 72, 0.1);
}

.back-to-top:hover::before,
.back-to-top:focus-visible::before {
  opacity: 0.64;
  filter: blur(15px);
}

.back-to-top:hover .back-to-top-surface,
.back-to-top:focus-visible .back-to-top-surface {
  color: #ffffff;
  background: linear-gradient(145deg, #7f73ff, #3f2eff);
  border-color: rgba(255, 255, 255, 0.36);
}

.back-to-top:hover svg,
.back-to-top:focus-visible svg {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 7px rgba(7, 10, 70, 0.28));
}

.back-to-top:hover::after,
.back-to-top:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

@media (max-width: 620px) {
  .back-to-top {
    right: 14px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
  }

  .back-to-top::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top,
  .back-to-top::before,
  .back-to-top-surface,
  .back-to-top svg,
  .back-to-top::after {
    transition-duration: 0.01ms;
  }
}

.section-rail {
  position: fixed;
  z-index: 45;
  top: 50%;
  left: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 66px;
  padding: 13px 10px 16px;
  border: 1px solid rgba(115, 109, 255, 0.18);
  border-radius: 34px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg-card) 94%, #a09af0 6%), color-mix(in srgb, var(--bg-card) 88%, #d9d6ff 12%));
  box-shadow: 0 24px 54px -24px rgba(63, 46, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  transform: translateY(-50%);
}

.section-rail::before {
  content: '';
  position: absolute;
  inset: 5px;
  z-index: -1;
  border: 1px solid rgba(160, 154, 240, 0.16);
  border-radius: 29px;
  pointer-events: none;
}

.rail-brand {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(115, 109, 255, 0.2);
  border-radius: 50%;
  background: var(--bg-card);
  box-shadow: 0 10px 24px -14px rgba(63, 46, 255, 0.72);
}

.rail-brand svg {
  width: 31px;
  height: 31px;
}

.rail-links {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.rail-links::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 20px;
  bottom: 20px;
  left: 50%;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #7f73ff, rgba(160, 154, 240, 0.28) 48%, #7f73ff);
  transform: translateX(-50%);
}

.rail-link {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--accent);
  outline: none;
}

.rail-node {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  box-shadow: 0 8px 20px -14px rgba(2, 18, 77, 0.42);
  transition: transform 0.24s var(--ease), color 0.24s ease, background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.rail-node svg {
  width: 18px;
  height: 18px;
}

.rail-label {
  position: absolute;
  left: 50px;
  top: 50%;
  padding: 8px 13px;
  border: 1px solid rgba(115, 109, 255, 0.17);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-card) 94%, transparent);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  clip-path: inset(0 100% 0 0 round 999px);
  pointer-events: none;
  transform: translate(0, -50%);
  transform-origin: left center;
  transition: opacity 0.18s ease, clip-path 0.3s var(--ease);
}

.rail-link:hover .rail-label,
.rail-link:focus-visible .rail-label {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 999px);
}

.rail-link:hover .rail-node,
.rail-link:focus-visible .rail-node {
  transform: scale(1.07);
  border-color: rgba(115, 109, 255, 0.4);
}

.rail-link.active .rail-node {
  border-color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(145deg, #a09af0, #3f2eff);
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(115, 109, 255, 0.12), 0 12px 26px -12px rgba(63, 46, 255, 0.8);
  transform: scale(1.08);
}

@media (max-width: 1320px) {
  .section-rail {
    display: none;
  }
}

.hero {
  position: relative;
  min-height: calc(100vh - 104px);
  min-height: calc(100svh - 104px);
  padding: 68px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 75% 55% at 72% 18%, var(--hero-glow), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 100%);
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--hero-dots) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 88%);
  pointer-events: none;
}

.hero-bg-mark {
  position: absolute;
  top: 48%;
  right: max(-65px, calc(50% - 760px));
  transform: translateY(-50%);
  width: 780px;
  max-width: 60vw;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  opacity: var(--watermark-opacity);
  mask-image: radial-gradient(ellipse 84% 84% at 58% 50%, rgba(0, 0, 0, 1) 42%, rgba(0, 0, 0, 0.48) 74%, transparent 98%);
  -webkit-mask-image: radial-gradient(ellipse 84% 84% at 58% 50%, rgba(0, 0, 0, 1) 42%, rgba(0, 0, 0, 0.48) 74%, transparent 98%);
  transition: opacity 0.25s ease;
}

.hero-bg-mark svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.hero-title .highlight {
  color: var(--accent);
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 56ch;
  margin-bottom: 34px;
}

.hero-desc strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 999px;
  box-shadow: 0 10px 26px -8px rgba(115, 109, 255, 0.52);
  transition: all 0.2s var(--ease);
}

.btn-primary:hover {
  background-color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -6px rgba(2, 18, 77, 0.35);
}

[data-theme="dark"] .btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 10px 26px -6px rgba(115, 109, 255, 0.55);
}

.btn-primary .mono-icon {
  font-family: var(--font-mono);
  color: var(--lavender);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 4px;
  border: 0;
  box-shadow: none;
  transition: color 0.2s var(--ease);
}

.btn-secondary::after {
  content: "→";
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}

.btn-secondary-label {
  position: relative;
  padding-bottom: 4px;
}

.btn-secondary-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}

.btn-secondary:hover {
  color: var(--accent);
  background: transparent;
  transform: none;
}

.btn-secondary:hover::after {
  transform: translateX(4px);
}

.btn-secondary:hover .btn-secondary-label::after {
  width: 100%;
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.meta-item {
  text-align: center;
}

.meta-item small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.meta-item strong {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-primary);
}

.section {
  padding: 96px 0;
}

.section-tinted {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent);
  background-color: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.svg-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.title-brand-logo {
  display: inline-block;
  width: 5em;
  height: 1em;
  margin-left: 0.05em;
  overflow: visible;
  color: #071858;
  vertical-align: -0.09em;
  filter: drop-shadow(0 8px 13px rgba(63, 46, 255, 0.08));
}

[data-theme="dark"] .title-brand-logo {
  color: #ffffff;
  filter: drop-shadow(0 8px 16px rgba(126, 115, 255, 0.18));
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

#proposito {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 51% 49%, rgba(157, 155, 255, 0.12), transparent 19%),
    radial-gradient(ellipse 34% 38% at 100% 100%, rgba(216, 216, 255, 0.26), transparent 72%),
    var(--bg);
}

#proposito::before,
#proposito::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 34px solid rgba(157, 155, 255, 0.16);
  border-radius: 50%;
}

#proposito::before {
  width: 230px;
  height: 230px;
  top: -150px;
  left: -145px;
}

#proposito::after {
  width: 300px;
  height: 300px;
  right: -205px;
  bottom: -210px;
}

.purpose-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.62fr) minmax(360px, 1.08fr);
  gap: 16px;
  align-items: center;
  min-height: 525px;
}

.purpose-copy,
.purpose-visual,
.purpose-pillars {
  position: relative;
  z-index: 2;
}

.purpose-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(115, 109, 255, 0.34);
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent-soft) 70%, transparent);
  box-shadow: 0 8px 22px -14px rgba(99, 91, 232, 0.72);
  color: var(--text-primary);
  font-size: 0.76rem;
  font-weight: 700;
}

.purpose-kicker svg {
  color: var(--accent);
}

.purpose-title {
  max-width: 575px;
  margin-bottom: 22px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 2.9vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.purpose-title .gradient-text {
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.purpose-lead {
  max-width: 585px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.62;
}

.purpose-dash {
  width: 68px;
  height: 4px;
  margin: 26px 0 30px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5710bf, #8c7fff);
}

.purpose-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 590px;
}

.purpose-value {
  min-width: 0;
  padding: 0 15px;
  text-align: center;
  color: var(--text-primary);
}

.purpose-value:first-child {
  padding-left: 0;
}

.purpose-value + .purpose-value {
  border-left: 1px solid var(--border);
}

.purpose-value svg {
  display: block;
  margin: 0 auto 10px;
  color: var(--accent);
}

.purpose-value span {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
}

.purpose-visual {
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.purpose-orb {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-soft) 58%, transparent);
  box-shadow: 0 24px 62px -40px rgba(99, 91, 232, 0.48);
}

.purpose-orb::before {
  content: '';
  position: absolute;
  inset: 27px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg-card) 70%, transparent);
  border: 28px solid color-mix(in srgb, var(--lavender) 46%, transparent);
  box-shadow: inset 0 0 36px rgba(115, 109, 255, 0.10);
}

.purpose-orb::after {
  content: '';
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(115, 109, 255, 0.16), transparent 68%);
  filter: blur(14px);
}

.terminal-tile {
  position: relative;
  z-index: 1;
  width: 142px;
  height: 142px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(216, 216, 255, 0.88));
  box-shadow:
    0 30px 40px -22px rgba(70, 50, 200, 0.55),
    14px 16px 0 -3px rgba(157, 155, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transform: rotate(14deg);
}

.terminal-tile svg {
  transform: rotate(-14deg);
  filter: drop-shadow(0 5px 7px rgba(99, 91, 232, 0.25));
}

.purpose-connector {
  position: absolute;
  z-index: 1;
  width: 36%;
  height: 92%;
  left: 46%;
  top: 4%;
  overflow: visible;
  pointer-events: none;
}

.purpose-pillars {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.purpose-pillar:nth-child(2) {
  width: calc(100% - 38px);
  margin-left: 58px;
}

.purpose-pillar:nth-child(3) {
  width: calc(100% - 36px);
  margin-left: 66px;
}

.purpose-pillar:nth-child(4) {
  width: calc(100% - 24px);
  margin-left: 28px;
}

.purpose-pillar {
  min-height: 96px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-subtle) 84%, transparent);
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.purpose-pillar:first-child {
  width: calc(100% - 10px);
  margin-left: 10px;
  border-radius: 999px;
  border-color: transparent;
  background: color-mix(in srgb, var(--bg-subtle) 84%, transparent);
  box-shadow: none;
}

.purpose-pillar:first-child .pillar-action {
  display: none;
}

.purpose-pillar:hover {
  transform: translateX(5px);
  border-color: rgba(115, 109, 255, 0.42);
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(115, 109, 255, 0.12);
  border-radius: 50%;
  background: var(--bg-card);
  box-shadow: 0 12px 26px -18px rgba(2, 18, 77, 0.38);
}

.purpose-pillar h3 {
  margin-bottom: 4px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
}

.purpose-pillar p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.35;
}

.pillar-action {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 9px;
  background: linear-gradient(145deg, #736dff, #5311bd);
  box-shadow: 0 9px 18px -8px rgba(83, 17, 189, 0.72);
}

#eixos {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(160, 154, 240, 0.11), transparent 25%),
    var(--bg-subtle);
}

#eixos::before,
#eixos::after {
  content: "";
  position: absolute;
  width: 260px;
  aspect-ratio: 1;
  border: 50px solid rgba(127, 115, 255, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

#eixos::before {
  top: -190px;
  right: -130px;
}

#eixos::after {
  bottom: -210px;
  left: -155px;
}

.axes-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: end;
  margin-bottom: 38px;
}

.axes-heading {
  margin-bottom: 0;
}

.axes-title {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 3.15vw, 3.35rem);
  line-height: 1.02;
}

.axes-title-accent {
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.axes-heading .section-lead {
  max-width: 62ch;
}

.axes-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.axis-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg-card) 96%, #a09af0 4%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  outline: none;
  isolation: isolate;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), background 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.axis-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -55px;
  bottom: -85px;
  width: 220px;
  height: 145px;
  border-radius: 50%;
  background: linear-gradient(145deg, transparent, rgba(160, 154, 240, 0.15));
  transform: rotate(-16deg);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.axis-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 62%;
  bottom: 0;
  height: 5px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #3f2eff, #a09af0);
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: left;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.axis-card:hover,
.axis-card:focus-visible {
  border-color: #7f73ff;
  background: linear-gradient(155deg, color-mix(in srgb, var(--bg-card) 90%, #a09af0 10%), color-mix(in srgb, var(--bg-card) 96%, #7f73ff 4%));
  box-shadow: 0 22px 45px -24px rgba(63, 46, 255, 0.5);
  transform: translateY(-5px);
}

.axis-card:hover::before,
.axis-card:focus-visible::before {
  transform: rotate(-12deg) scale(1.08);
}

.axis-card:hover::after,
.axis-card:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.axis-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.axis-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: #6557ff;
  background: var(--bg-subtle);
  box-shadow: var(--shadow-xs);
  transition: color 0.28s ease, background 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.axis-icon svg {
  width: 29px;
  height: 29px;
}

.axis-card:hover .axis-icon,
.axis-card:focus-visible .axis-icon {
  color: #3f2eff;
  border-color: rgba(127, 115, 255, 0.4);
  background: rgba(127, 115, 255, 0.1);
  transform: rotate(-3deg);
}

.axis-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: #6557ff;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

.axis-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.45vw, 1.42rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.18;
}

.axis-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.axis-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.axis-tags li {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  background-color: color-mix(in srgb, var(--bg-card) 86%, #a09af0 14%);
  border: 1px solid var(--border);
  padding: 4px 11px;
  border-radius: 999px;
}

#cocriacao {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 34% 30% at 100% 0%, rgba(157, 155, 255, 0.20), transparent 72%),
    radial-gradient(ellipse 28% 28% at 0% 100%, rgba(157, 155, 255, 0.18), transparent 74%),
    var(--bg);
}

#cocriacao::before,
#cocriacao::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

#cocriacao::before {
  width: 390px;
  height: 230px;
  right: -145px;
  top: -130px;
  background: rgba(216, 216, 255, 0.34);
  transform: rotate(-18deg);
}

#cocriacao::after {
  width: 360px;
  height: 220px;
  left: -190px;
  bottom: -145px;
  background: rgba(216, 216, 255, 0.30);
  transform: rotate(20deg);
}

#cocriacao .section-header {
  max-width: 760px;
  margin-bottom: 38px;
}

#cocriacao .section-title {
  max-width: 690px;
  font-size: clamp(2rem, 3.35vw, 3rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

#cocriacao .section-lead {
  max-width: 660px;
  font-size: 1rem;
  line-height: 1.55;
}

.cycle-container {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: clamp(46px, 6vw, 86px);
  align-items: center;
}

.diagram-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  min-width: 0;
}

.ring-svg {
  width: min(100%, 360px);
  height: auto;
  aspect-ratio: 1;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
}

.ring-segment {
  cursor: pointer;
  stroke: var(--phase-color);
  transition: transform 0.35s var(--ease), opacity 0.25s ease, filter 0.25s ease;
  transform-origin: 100px 100px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.ring-segment:focus {
  outline: none;
}

.ring-segment:focus-visible {
  outline: none;
  filter: drop-shadow(0 0 4px rgba(99, 91, 232, 0.72));
}

.ring-segment.dimmed {
  opacity: 1;
  stroke: color-mix(in srgb, var(--phase-color) 28%, var(--bg) 72%);
}

.ring-segment.active {
  opacity: 1;
  filter: drop-shadow(0 10px 16px rgba(40, 34, 255, 0.24));
}

.diagram-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.4;
}

.mouse-hint {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--accent);
  border-radius: 10px;
  background: transparent;
}

.cycle-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cycle-item {
  width: 100%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  gap: 16px;
  align-items: center;
  min-height: 58px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  background-color: color-mix(in srgb, var(--bg-card) 82%, transparent);
  border: 1px solid var(--border);
  text-align: left;
  transition: all 0.22s var(--ease);
}

.cycle-item:hover {
  background-color: var(--bg-card);
  border-color: var(--border-strong);
}

.cycle-item.active {
  grid-template-columns: 48px minmax(0, 1fr) 62px;
  background-color: var(--bg-card);
  border-color: rgba(115, 109, 255, 0.55);
  box-shadow: 0 16px 38px -24px rgba(40, 34, 255, 0.34);
  padding: 18px 20px;
  min-height: 142px;
  align-items: start;
}

.step-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.cycle-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.cycle-item p {
  display: none;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.48;
  margin-top: 7px;
}

.cycle-item.active p,
.cycle-item.active .step-progress {
  display: flex;
}

.cycle-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  color: var(--text-primary);
  transition: transform 0.22s var(--ease);
}

.cycle-item.active .cycle-arrow {
  width: 62px;
  height: 62px;
  margin-top: 3px;
  align-self: start;
  color: var(--accent);
  border-radius: 16px;
  background: var(--accent-soft);
}

.cycle-item:not(.active):hover .cycle-arrow {
  transform: translateX(3px);
}

.cycle-arrow .inspect-icon {
  display: none;
}

.cycle-item.active .cycle-arrow .chevron-icon {
  display: none;
}

.cycle-item.active .cycle-arrow .inspect-icon {
  display: block;
}

.step-progress {
  display: none;
  align-items: center;
  gap: 18px;
  margin-top: 17px;
}

.progress-dashes {
  display: grid;
  grid-template-columns: repeat(4, 30px);
  gap: 5px;
}

.progress-dashes span {
  height: 5px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.progress-dashes span.complete {
  background: var(--accent);
}

.progress-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

#projetos {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

#projetos::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 680px;
  height: 680px;
  top: 8%;
  right: -310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 154, 240, 0.16), rgba(216, 214, 255, 0.04) 58%, transparent 70%);
  pointer-events: none;
}

.projects-header {
  max-width: 980px;
  margin-bottom: 48px;
}

#projetos .section-title {
  max-width: none;
  font-size: clamp(2.1rem, 3.8vw, 3.35rem);
}

.projects-title-line {
  white-space: nowrap;
}

.projects-header .section-lead {
  max-width: 820px;
}

.projects-title-accent {
  color: var(--accent);
  background: none;
}

.projects-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.project-selector {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 24px 0;
}

.project-connector {
  position: absolute;
  z-index: 0;
  right: -132px;
  top: -4%;
  width: 250px;
  height: 108%;
  overflow: visible;
  pointer-events: none;
}

.project-connector circle {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.22s ease, fill 0.22s ease;
}

.project-connector circle.active {
  fill: #3f2eff;
  transform: scale(1.28);
}

.project-option {
  --project-card-x: 48px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: calc(100% - 48px);
  margin-left: var(--project-card-x);
  padding: 13px 15px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  color: var(--text-primary);
  text-align: left;
  transition: transform 0.22s var(--ease), background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.project-option:nth-child(2) { --project-card-x: 14px; }
.project-option:nth-child(3) { --project-card-x: 0px; }
.project-option:nth-child(4) { --project-card-x: 26px; }

.project-option:hover {
  transform: translateX(-4px);
  background: var(--bg-subtle);
}

.project-option.active {
  border-color: rgba(115, 109, 255, 0.2);
  background: linear-gradient(100deg, var(--accent-soft), color-mix(in srgb, var(--accent-soft) 35%, transparent));
  box-shadow: var(--shadow-sm);
}

.project-option-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--bg-card);
  color: var(--accent);
  box-shadow: var(--shadow-xs);
}

.project-option-icon svg {
  width: 21px;
  height: 21px;
}

.project-option strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
}

.project-option small {
  display: block;
  color: var(--text-secondary);
  font-size: 0.72rem;
  line-height: 1.4;
}

.project-stage {
  position: relative;
  min-height: 565px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.project-stage::before {
  content: '';
  position: absolute;
  width: min(72vw, 600px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 42%, rgba(255, 255, 255, 0.78), rgba(160, 154, 240, 0.22) 50%, rgba(115, 109, 255, 0.06) 68%, transparent 70%);
  filter: blur(1px);
}

.project-browser {
  --project-from: #a09af0;
  --project-to: #3f2eff;
  position: relative;
  z-index: 2;
  width: min(92%, 720px);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: var(--bg-card);
  box-shadow: 0 38px 70px -28px rgba(30, 20, 118, 0.42), 0 12px 30px -16px rgba(2, 18, 77, 0.3);
  transform: rotateZ(-2.2deg) rotateY(-8deg) rotateX(2deg);
  transform-origin: center center;
  transition: transform 0.5s var(--ease), box-shadow 0.5s ease;
}

.project-stage:hover .project-browser {
  transform: rotateZ(-1deg) rotateY(-4deg) rotateX(1deg) translateY(-5px);
  box-shadow: 0 44px 80px -30px rgba(30, 20, 118, 0.5), 0 14px 34px -16px rgba(2, 18, 77, 0.34);
}

.project-browser.is-changing {
  opacity: 0.38;
  filter: blur(2px);
  transform: rotateZ(-2.2deg) rotateY(-8deg) rotateX(2deg) scale(0.985);
}

.project-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(115, 109, 255, 0.12);
  background: color-mix(in srgb, var(--bg-card) 88%, var(--accent-soft));
}

.project-browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a09af0;
}

.project-browser-bar span:nth-child(2) { background: #7f73ff; }
.project-browser-bar span:nth-child(3) { background: #3f2eff; }

.project-browser-url {
  width: 42%;
  height: 7px;
  margin-left: 10px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.project-page {
  aspect-ratio: 1865 / 960;
  overflow: hidden;
  background: var(--bg-card);
}

.project-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.project-mock-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.project-mock-label::before {
  content: '';
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.project-mock-title {
  max-width: 11ch;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--text-primary);
}

.project-mock-copy {
  max-width: 38ch;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.6;
}

.project-mock-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 9px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--project-from), var(--project-to));
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 12px 24px -14px rgba(63, 46, 255, 0.9);
}

.project-mock-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
  border: 1px solid rgba(115, 109, 255, 0.14);
  border-radius: 28px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--project-from) 34%, transparent), color-mix(in srgb, var(--project-to) 14%, transparent));
  overflow: hidden;
}

.project-mock-visual::before {
  content: '';
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  top: -82px;
  right: -72px;
}

.project-mock-symbol {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 112px;
  height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 23px;
  background: linear-gradient(145deg, var(--project-from), var(--project-to));
  color: #ffffff;
  box-shadow: 0 22px 40px -20px rgba(63, 46, 255, 0.75);
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  transform: rotate(4deg);
}

.project-detail-card {
  position: absolute;
  z-index: 5;
  isolation: isolate;
  overflow: hidden;
  left: auto;
  right: 0;
  bottom: 10px;
  width: min(68%, 620px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  padding: 17px 20px;
  border: 1px solid rgba(115, 109, 255, 0.18);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg-card) 92%, transparent);
  box-shadow: 0 22px 48px -24px rgba(2, 18, 77, 0.32);
  backdrop-filter: blur(14px);
}

.project-detail-mark {
  position: absolute;
  z-index: 0;
  top: -98px;
  right: -22px;
  width: 210px;
  height: 210px;
  opacity: 0.14;
  filter: drop-shadow(0 8px 22px color-mix(in srgb, var(--accent) 12%, transparent));
  pointer-events: none;
}

.project-detail-card > div {
  position: relative;
  z-index: 1;
}

.project-detail-card h3 {
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.project-detail-card h3::before {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  margin-bottom: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--periwinkle));
}

.project-detail-card p {
  color: var(--text-secondary);
  font-size: 0.73rem;
  line-height: 1.5;
}

.project-detail-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 9px;
}

.project-tags {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.project-tags span {
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1.5px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 700;
}

.project-access {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 22px -13px color-mix(in srgb, var(--accent) 72%, transparent);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.project-access svg {
  width: 14px;
  height: 14px;
}

.project-access:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
  box-shadow: 0 14px 26px -13px color-mix(in srgb, var(--accent) 82%, transparent);
}

.project-access.is-internal {
  border-style: dashed;
  background: color-mix(in srgb, var(--accent-soft) 72%, transparent);
  color: var(--text-secondary);
  box-shadow: none;
  cursor: default;
}

.project-access.is-internal:hover {
  transform: none;
  background: color-mix(in srgb, var(--accent-soft) 72%, transparent);
  box-shadow: none;
}

.project-access.is-internal svg {
  display: none;
}

#equipe {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 4% 6%, rgba(160, 154, 240, 0.16), transparent 17%),
    radial-gradient(circle at 96% 94%, rgba(63, 46, 255, 0.1), transparent 22%),
    var(--bg-subtle);
}

#equipe::before,
#equipe::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 44px solid rgba(160, 154, 240, 0.13);
  border-radius: 50%;
}

#equipe::before {
  width: 250px;
  height: 250px;
  top: -174px;
  left: -154px;
}

#equipe::after {
  width: 330px;
  height: 330px;
  right: -210px;
  bottom: -250px;
}

.team-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(48px, 8vw, 108px);
  align-items: end;
  margin-bottom: 48px;
}

.team-intro .section-header {
  max-width: 650px;
  margin-bottom: 0;
}

#equipe .section-title {
  max-width: none;
  font-size: clamp(2.2rem, 4.2vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.team-title-first,
.team-title-second {
  white-space: nowrap;
}

.team-title-accent {
  color: var(--accent);
  background: none;
}

.team-intro-copy {
  padding: 4px 0 4px 28px;
  border-left: 2px solid rgba(115, 109, 255, 0.3);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.72;
}

.team-carousel {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 22px;
}

.team-carousel::-webkit-scrollbar {
  display: none;
}

.team-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px) / 4);
  gap: 20px;
}

.team-set {
  display: contents;
}

.member-card {
  position: relative;
  width: 100%;
  scroll-snap-align: start;
  overflow: hidden;
  padding: 4px;
  border: 1px solid rgba(115, 109, 255, 0.18);
  border-radius: 26px;
  background: linear-gradient(180deg, var(--bg-card), color-mix(in srgb, var(--accent-soft) 24%, var(--bg-card)));
  box-shadow: 0 12px 30px -24px rgba(63, 46, 255, 0.18);
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

.member-card:hover {
  transform: translateY(-6px);
  border-color: rgba(63, 46, 255, 0.7);
  box-shadow: 0 18px 36px -26px rgba(63, 46, 255, 0.3);
}

.member-photo {
  position: relative;
  display: grid;
  place-items: center;
  height: 258px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(145deg, #d9d6ff 0%, #a09af0 52%, #7f73ff 100%);
}

.member-card:nth-child(4n + 2) .member-photo {
  background: linear-gradient(145deg, #eeeefe 0%, #b9b4ff 46%, #675cff 100%);
}

.member-card:nth-child(4n + 3) .member-photo {
  background: linear-gradient(145deg, #cbc7ff 0%, #8178ff 52%, #3f2eff 100%);
}

.member-card:nth-child(4n + 4) .member-photo {
  background: linear-gradient(145deg, #e3e1ff 0%, #a09af0 48%, #5142f5 100%);
}

.member-photo::before,
.member-photo::after {
  content: '';
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.member-photo::before {
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(63, 46, 255, 0.08) 70%, rgba(63, 46, 255, 0.34) 100%);
}

.member-photo::after {
  width: 150px;
  height: 150px;
  right: -50px;
  bottom: -72px;
  border: 27px solid rgba(127, 115, 255, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(63, 46, 255, 0.1);
}

.member-photo-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.35s ease, transform 0.55s var(--ease);
}

.member-card[data-member="hudson-oliveira"] .member-photo-image {
  object-position: center 60%;
}

.member-photo.has-photo .member-photo-image {
  opacity: 1;
  transform: scale(1);
}

.member-initials {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.17);
  color: #ffffff;
  box-shadow: 0 20px 42px -22px rgba(2, 18, 77, 0.56);
  backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: 2.55rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-shadow: 0 2px 12px rgba(2, 18, 77, 0.18);
  transform: rotate(-4deg);
  transition: transform 0.35s var(--ease), opacity 0.25s ease, visibility 0.25s ease;
}

.member-photo.has-photo .member-initials {
  visibility: hidden;
  opacity: 0;
}

.member-card:hover .member-initials {
  transform: rotate(0deg) scale(1.035);
}

.member-role {
  position: absolute;
  z-index: 4;
  left: 18px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #3f2eff;
  box-shadow: 0 8px 20px -12px rgba(2, 18, 77, 0.52);
  backdrop-filter: blur(9px);
  font-size: 0.7rem;
  font-weight: 800;
}

.member-role svg {
  width: 14px;
  height: 14px;
}

.member-socials {
  position: absolute;
  z-index: 4;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.member-social-link {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #5142f5;
  box-shadow: 0 8px 20px -11px rgba(2, 18, 77, 0.58);
  backdrop-filter: blur(9px);
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.member-social-link svg {
  width: 15px;
  height: 15px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.member-social-link:hover,
.member-social-link:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  background: linear-gradient(145deg, #7f73ff, #3f2eff);
  box-shadow: 0 10px 24px -10px rgba(63, 46, 255, 0.72);
  transform: translateY(-2px);
}

.member-info {
  position: relative;
  min-height: 112px;
  padding: 17px 20px 22px;
}

.member-info::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--periwinkle));
}

.member-card h3 {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.member-card p {
  color: var(--text-secondary);
  font-size: 0.79rem;
  line-height: 1.45;
}

.team-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}

.team-count {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.team-count strong {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1rem;
}

.team-meta-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--accent);
  background: transparent;
  flex-shrink: 0;
}

.team-meta-icon svg {
  width: 20px;
  height: 20px;
}

.team-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 2px;
}

.team-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(115, 109, 255, 0.28);
  transition: width 0.25s ease, background-color 0.25s ease, border-radius 0.25s ease;
}

.team-dot.active {
  width: 27px;
  border-radius: 999px;
  background: #3f2eff;
}

.team-arrows {
  display: flex;
  gap: 10px;
}

.team-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.team-arrow:hover,
.team-arrow:focus-visible {
  transform: translateY(-2px);
  color: #ffffff;
  border-color: #3f2eff;
  background: linear-gradient(135deg, #7f73ff, #3f2eff);
  outline: none;
}

.team-arrow svg {
  width: 18px;
  height: 18px;
}

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

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

#publicacoes {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 44% 45%, rgba(160, 154, 240, 0.13), transparent 25%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 52%, var(--bg) 100%);
}

#publicacoes::before,
#publicacoes::after {
  content: "";
  position: absolute;
  width: 250px;
  aspect-ratio: 1;
  border: 54px solid rgba(127, 115, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

#publicacoes::before {
  top: -190px;
  left: -155px;
}

#publicacoes::after {
  right: -155px;
  bottom: -180px;
}

.publications-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(270px, 0.9fr) minmax(260px, 0.82fr) minmax(390px, 1.25fr);
  gap: clamp(28px, 3vw, 48px);
  align-items: center;
}

.publications-title {
  max-width: 10.5ch;
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 3.35vw, 3.65rem);
  line-height: 1.04;
}

.publications-title-accent {
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.publications-copy .section-lead {
  max-width: 42ch;
  font-size: 1rem;
}

.publications-rule {
  display: block;
  width: 58px;
  height: 4px;
  margin: 25px 0 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3f2eff, #a09af0);
}

.publication-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 410px;
}

.publication-stat {
  padding: 4px 14px;
  text-align: center;
  border-left: 1px solid var(--border);
}

.publication-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.publication-stat svg {
  width: 25px;
  height: 25px;
  margin-bottom: 7px;
  color: #6557ff;
}

.publication-stat strong,
.publication-stat span {
  display: block;
}

.publication-stat strong {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.publication-stat span {
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 0.76rem;
  line-height: 1.35;
}

.publication-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.publication-halo {
  position: absolute;
  width: 320px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 115, 255, 0.2), rgba(160, 154, 240, 0.07) 58%, transparent 70%);
  filter: blur(1px);
}

.paper-stack {
  position: relative;
  z-index: 2;
  width: 190px;
  height: 252px;
  transform: rotate(8deg);
}

.paper-sheet {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(225, 222, 255, 0.88));
  box-shadow: 0 24px 45px rgba(63, 46, 255, 0.18);
}

.paper-sheet.back-one {
  transform: translate(32px, 27px) rotate(5deg);
  background: linear-gradient(145deg, #dcd8ff, #a69ef5);
  opacity: 0.78;
}

.paper-sheet.back-two {
  transform: translate(17px, 14px) rotate(2deg);
  background: linear-gradient(145deg, #f0efff, #c8c3ff);
}

.paper-sheet.front {
  padding: 42px 30px;
}

.paper-line {
  display: block;
  height: 7px;
  margin: 0 0 15px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b7afff, #ddd9ff);
  box-shadow: 0 2px 4px rgba(63, 46, 255, 0.12);
}

.paper-line:nth-child(1) { width: 68%; }
.paper-line:nth-child(2) { width: 90%; }
.paper-line:nth-child(3) { width: 82%; }
.paper-line:nth-child(4) { width: 70%; }

.paper-figure {
  position: absolute;
  left: 28px;
  bottom: 30px;
  width: 82px;
  height: 56px;
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(135deg, #d8d4ff, #a49af4);
}

.paper-figure::before,
.paper-figure::after {
  content: "";
  position: absolute;
  bottom: -12px;
  width: 58px;
  height: 58px;
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.48);
}

.paper-figure::before { left: -15px; }
.paper-figure::after { right: -28px; background: rgba(63, 46, 255, 0.34); }

.publication-carousel {
  position: relative;
  min-width: 0;
  width: calc(100% + clamp(52px, 5vw, 84px));
  justify-self: start;
  padding-bottom: 54px;
  --publication-card-height: 172px;
  --publication-gap: 16px;
}

.publication-window {
  height: calc((var(--publication-card-height) * 3) + (var(--publication-gap) * 2) + 16px);
  padding-right: 32px;
  overflow: hidden;
  border-radius: 24px;
}

.publication-list {
  display: flex;
  flex-direction: column;
  gap: var(--publication-gap);
  padding: 8px 4px;
  transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.publication-card {
  --publication-x: 0px;
  position: relative;
  flex: 0 0 var(--publication-card-height);
  width: calc(100% - 12px);
  height: var(--publication-card-height);
  display: flex;
  flex-direction: column;
  padding: 20px 46px 18px 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg-card) 90%, #a09af0 10%);
  box-shadow: var(--shadow-sm);
  transform: translateX(var(--publication-x));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.publication-card.is-slot-one {
  --publication-x: 0px;
}

.publication-card.is-slot-two {
  --publication-x: 28px;
}
.publication-card.is-slot-three { --publication-x: 10px; }

.publication-card:hover,
.publication-card:focus-visible {
  transform: translateX(var(--publication-x));
  border-color: #7f73ff;
  box-shadow: var(--shadow-sm);
}

.publication-card:focus-visible {
  outline: 2px solid #7f73ff;
  outline-offset: 3px;
}

.publication-type {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #4d3cff;
  background: rgba(127, 115, 255, 0.12);
  font-size: 0.7rem;
  font-weight: 700;
}

.publication-type svg,
.publication-meta svg {
  width: 15px;
  height: 15px;
}

.publication-card h3 {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.3;
}

.publication-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 600;
}

.publication-meta-divider {
  width: 1px;
  height: 14px;
  background: var(--border-strong);
}

.publication-external {
  position: absolute;
  top: 19px;
  right: 20px;
  width: 18px;
  height: 18px;
  color: #5d4cff;
}

.publication-controls {
  position: absolute;
  right: 2px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.publication-position {
  margin-right: 4px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.publication-arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-secondary);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.publication-arrow:hover,
.publication-arrow:focus-visible {
  color: #fff;
  border-color: #3f2eff;
  background: linear-gradient(135deg, #7f73ff, #3f2eff);
  outline: none;
  transform: translateY(-2px);
}

.publication-arrow svg {
  width: 17px;
  height: 17px;
}

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

@media (prefers-reduced-motion: reduce) {
  .publication-list {
    transition: none;
  }
}

.campus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(330px, 0.68fr);
  gap: 24px;
  align-items: stretch;
}

.campus-map-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 24px;
  background:
    radial-gradient(circle at 22% 38%, rgba(160, 154, 240, 0.16), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--bg-card) 94%, var(--accent-soft)), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.campus-map-card::before {
  content: '';
  position: absolute;
  width: 230px;
  height: 230px;
  right: -92px;
  top: -110px;
  border: 34px solid rgba(127, 115, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.campus-map-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 450px;
  display: grid;
  place-items: center;
}

.northeast-map {
  display: block;
  width: 100%;
  height: auto;
  max-height: 530px;
  overflow: visible;
}

.northeast-state {
  fill: color-mix(in srgb, var(--bg-subtle) 86%, var(--accent-soft));
  stroke: color-mix(in srgb, var(--border-strong) 76%, var(--accent));
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
  transition: fill 0.25s ease, opacity 0.25s ease;
}

.northeast-state.is-piaui {
  fill: url(#piauiGradient);
  stroke: var(--accent);
  stroke-width: 2.2;
  filter: drop-shadow(0 12px 18px rgba(99, 91, 232, 0.20));
}

.map-state-label {
  fill: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  text-anchor: middle;
  letter-spacing: 0.05em;
  pointer-events: none;
}

.map-state-label.is-piaui-label {
  fill: var(--navy);
  font-size: 16px;
}

[data-theme="dark"] .map-state-label.is-piaui-label {
  fill: #ffffff;
}

.campus-map-route {
  fill: none;
  stroke: url(#routeGradient);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 7 8;
  vector-effect: non-scaling-stroke;
  animation: campusRouteFlow 5s linear infinite;
}

.campus-map-point-halo {
  fill: rgba(99, 91, 232, 0.18);
  transform-origin: 207.6px 207.1px;
  animation: campusPointPulse 2.6s ease-out infinite;
}

.campus-map-point {
  fill: #ffffff;
  stroke: var(--accent);
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 6px 12px rgba(63, 46, 255, 0.34));
}

.campus-map-location-route {
  fill: none;
  stroke: color-mix(in srgb, var(--accent) 68%, transparent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.campus-map-location-tag rect {
  fill: var(--bg-card);
  stroke: color-mix(in srgb, var(--accent) 42%, var(--border));
  stroke-width: 1;
}

.campus-map-location-tag text,
.campus-photo-placeholder text {
  font-family: var(--font-display);
  fill: var(--text-primary);
}

.campus-photo-placeholder .photo-frame {
  fill: color-mix(in srgb, var(--accent-soft) 72%, var(--bg-card));
  stroke: color-mix(in srgb, var(--accent) 48%, var(--border));
  stroke-width: 1.5;
  stroke-dasharray: 8 7;
  filter: drop-shadow(0 18px 24px rgba(2, 18, 77, 0.12));
}

.campus-photo-placeholder .photo-inner {
  fill: color-mix(in srgb, var(--bg-card) 80%, transparent);
  stroke: color-mix(in srgb, var(--accent) 28%, transparent);
}

.campus-photo-placeholder .photo-icon {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.campus-map-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: color-mix(in srgb, var(--bg-card) 90%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.campus-map-meta .copy-actions {
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  margin-top: 0;
}

.campus-map-meta .copy-feedback {
  max-width: 190px;
  text-align: right;
}

.address-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.address-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.48;
}

@keyframes campusRouteFlow {
  to { stroke-dashoffset: -30; }
}

@keyframes campusPointPulse {
  0% { opacity: 0.55; transform: scale(0.7); }
  75%, 100% { opacity: 0; transform: scale(2.1); }
}

@media (prefers-reduced-motion: reduce) {
  .campus-map-route,
  .campus-map-point-halo {
    animation: none;
  }
}

@media (max-width: 760px) {
  .campus-map-card {
    padding: 14px;
  }

  .campus-map-visual {
    min-height: 360px;
  }

  .campus-map-meta {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .campus-map-meta .copy-actions {
    align-items: flex-start;
    margin-top: 0;
  }

  .campus-map-meta .copy-feedback {
    max-width: none;
    text-align: left;
  }
}

.copy-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.btn-copy {
  background-color: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  transition: all 0.18s ease;
}

.btn-copy:hover {
  border-color: var(--accent);
  background-color: var(--accent);
  color: #ffffff;
}

.copy-feedback {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.copy-feedback.visible {
  opacity: 1;
}

.official-card {
  background: linear-gradient(155deg, var(--navy) 0%, #091859 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-dark);
  border: 1px solid rgba(157, 155, 255, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.official-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--periwinkle);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 12px;
}

.official-card h3 {
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.official-card p {
  color: rgba(216, 216, 255, 0.84);
  font-size: 0.95rem;
  line-height: 1.68;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.channel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.2s var(--ease);
}

.channel-item:hover {
  background-color: var(--purple-logo);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.channel-item strong {
  font-size: 0.92rem;
  font-weight: 600;
}

.channel-item span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--lavender);
}

#campus {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

#campus::before,
#campus::after {
  content: '';
  position: absolute;
  z-index: 0;
  aspect-ratio: 1;
  pointer-events: none;
}

#campus::before {
  width: 340px;
  top: 0;
  right: 0;
  background: radial-gradient(circle at 100% 0%,
    transparent 0 26%,
    rgba(127, 115, 255, 0.065) 26% 40%,
    transparent 40%);
}

#campus::after {
  width: 380px;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 0% 100%,
    transparent 0 28%,
    rgba(160, 154, 240, 0.07) 28% 41%,
    transparent 41%);
}

#campus > .container {
  position: relative;
  z-index: 1;
}

.campus-section-header {
  max-width: 900px;
  margin-bottom: 34px;
}

.campus-title {
  max-width: none;
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 3.35vw, 3.65rem);
  line-height: 1.04;
}

.campus-title-line {
  display: block;
}

.campus-title-accent {
  color: var(--accent);
  background: none;
}

.campus-section-rule {
  display: block;
  width: 66px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #A09AF0, #3F2EFF);
}

.campus-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(330px, 0.86fr);
  gap: 18px;
}

.campus-map-card {
  overflow: visible;
  padding: 0;
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.campus-map-card::before {
  display: none;
}

.campus-map-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(230px, 0.98fr);
  align-items: center;
  gap: 8px;
  min-height: 480px;
}

.campus-map-visual {
  position: relative;
  z-index: 2;
  min-height: 470px;
  padding: 2px 0 0 4px;
}

.northeast-map {
  display: none;
}

.brazil-map-base,
.brazil-map-overlay {
  position: absolute;
  top: -182px;
  right: 85px;
  width: 950px;
  height: auto;
  max-width: none;
  pointer-events: none;
}

.brazil-map-base {
  z-index: 1;
  opacity: 0.76;
  -webkit-mask-image: none;
  mask-image: none;
}

.brazil-map-overlay {
  z-index: 2;
  overflow: visible;
}

.brazil-map-overlay .campus-map-point-halo {
  transform-origin: 497px 202px;
}

.brazil-map-overlay .campus-map-point {
  stroke-width: 2.8;
}

.campus-info-column {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 2px;
}

.campus-info-card {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 92px;
  padding: 15px;
  color: var(--text-primary);
  background: color-mix(in srgb, var(--bg-card) 94%, var(--accent-soft));
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), border-color 0.2s ease, box-shadow 0.2s ease;
}

.campus-info-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 46%, var(--border));
  box-shadow: var(--shadow-md);
}

.campus-info-icon,
.campus-channel-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--border));
  border-radius: 12px;
}

.campus-channel-icon {
  background: transparent;
  border-color: transparent;
}

.campus-info-icon svg,
.campus-channel-icon svg {
  width: 19px;
  height: 19px;
}

.campus-info-card h3 {
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  line-height: 1.25;
}

.campus-info-card p {
  color: var(--text-tertiary);
  font-size: 0.69rem;
  line-height: 1.45;
}

.campus-info-action {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--accent);
  background: transparent;
  border: 0;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
}

.campus-info-action:hover,
.campus-info-action:focus-visible {
  color: #ffffff;
  background: var(--accent);
  outline: none;
}

.campus-info-action svg {
  width: 16px;
  height: 16px;
}

.campus-info-card .copy-feedback {
  position: absolute;
  right: 14px;
  bottom: -20px;
  z-index: 5;
  padding: 5px 8px;
  color: #ffffff;
  background: var(--accent);
  border-radius: 7px;
  font-size: 0.64rem;
  pointer-events: none;
}

.campus-lab-photo {
  position: relative;
  z-index: 3;
  overflow: hidden;
  min-width: 0;
  min-height: 306px;
  margin: 0 4px 0 0;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
  border-radius: 22px;
  background: var(--bg-card);
  box-shadow: 0 22px 48px -24px rgba(2, 18, 77, 0.28);
}

.campus-lab-photo-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 306px;
  object-fit: cover;
}

.campus-lab-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 24px 62px;
  text-align: center;
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent-soft) 72%, var(--bg-card)), color-mix(in srgb, var(--accent) 20%, var(--bg-card)));
}

.campus-lab-photo-placeholder::before,
.campus-lab-photo-placeholder::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.campus-lab-photo-placeholder::before {
  width: 230px;
  height: 230px;
  right: -115px;
  top: -120px;
  border: 30px solid rgba(99, 91, 232, 0.10);
  border-radius: 50%;
}

.campus-lab-photo-placeholder::after {
  inset: 0;
  opacity: 0.3;
  background-image: radial-gradient(rgba(99, 91, 232, 0.30) 1px, transparent 1px);
  background-size: 17px 17px;
  mask-image: linear-gradient(135deg, transparent 10%, #000 68%, transparent 100%);
}

.campus-lab-photo-mark,
.campus-lab-photo-kicker,
.campus-lab-photo-placeholder strong,
.campus-lab-photo-note {
  position: relative;
  z-index: 1;
}

.campus-lab-photo-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  color: #ffffff;
  border-radius: 18px;
  background: linear-gradient(145deg, #7F73FF, #3F2EFF);
  box-shadow: 0 14px 28px -12px rgba(63, 46, 255, 0.54);
  transform: rotate(-4deg);
}

.campus-lab-photo-mark svg {
  width: 27px;
  height: 27px;
}

.campus-lab-photo-kicker {
  margin-bottom: 7px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.campus-lab-photo-placeholder strong {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.25;
}

.campus-lab-photo-note {
  max-width: 27ch;
  margin-top: 7px;
  color: var(--text-tertiary);
  font-size: 0.72rem;
  line-height: 1.5;
}

.campus-lab-photo figcaption {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  color: var(--text-primary);
  background: color-mix(in srgb, var(--bg-card) 84%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--border));
  border-radius: 13px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.campus-lab-photo figcaption span {
  font-family: var(--font-display);
  font-size: 0.71rem;
  font-weight: 750;
}

.campus-lab-photo figcaption small {
  flex-shrink: 0;
  color: var(--text-tertiary);
  font-size: 0.61rem;
}

.campus-photo-cluster {
  position: relative;
  z-index: 3;
  min-width: 0;
  min-height: 390px;
  margin: 0;
  transform: translateX(-72px);
}

.campus-circle-photo {
  position: absolute;
  overflow: hidden;
  aspect-ratio: 1;
  border: 6px solid color-mix(in srgb, var(--bg-card) 92%, transparent);
  border-radius: 50%;
  background: var(--bg-card);
  box-shadow: 0 24px 48px -22px rgba(2, 18, 77, 0.34), 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent);
  isolation: isolate;
}

.campus-circle-photo.is-large {
  z-index: 2;
  width: clamp(230px, 20vw, 278px);
  top: -4px;
  left: -12px;
}

.campus-circle-photo.is-small {
  z-index: 4;
  width: clamp(154px, 13.5vw, 188px);
  top: 178px;
  right: clamp(-4px, 0.5vw, 8px);
  border-width: 5px;
  box-shadow: 0 20px 38px -18px rgba(63, 46, 255, 0.38), 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent);
}

.campus-circle-photo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campus-circle-photo.is-lab .campus-circle-photo-image {
  object-position: center 38%;
}

.campus-circle-photo.is-institute .campus-circle-photo-image {
  object-position: center;
}

.campus-circle-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.72), transparent 30%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent-soft) 78%, var(--bg-card)), color-mix(in srgb, var(--accent) 24%, var(--bg-card)));
}

.campus-circle-photo.is-institute .campus-circle-photo-placeholder {
  padding: 16px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.76), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, #D9D6FF 64%, var(--bg-card)), color-mix(in srgb, #A09AF0 30%, var(--bg-card)));
}

.campus-circle-photo-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 11px;
  color: #ffffff;
  border-radius: 50%;
  background: linear-gradient(145deg, #7F73FF, #3F2EFF);
  box-shadow: 0 12px 24px -12px rgba(63, 46, 255, 0.56);
}

.campus-circle-photo.is-institute .campus-circle-photo-icon {
  width: 39px;
  height: 39px;
  margin-bottom: 7px;
}

.campus-circle-photo-icon svg {
  width: 24px;
  height: 24px;
}

.campus-circle-photo.is-institute .campus-circle-photo-icon svg {
  width: 20px;
  height: 20px;
}

.campus-circle-photo strong,
.campus-circle-photo span {
  position: relative;
  z-index: 1;
  display: block;
}

.campus-circle-photo strong {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.13rem;
  line-height: 1.2;
}

.campus-circle-photo.is-institute strong {
  font-size: 0.92rem;
}

.campus-circle-photo span:not(.campus-circle-photo-icon) {
  margin-top: 4px;
  color: var(--text-tertiary);
  font-size: 0.66rem;
}

.campus-circle-photo.is-institute span:not(.campus-circle-photo-icon) {
  font-size: 0.57rem;
}

@media (max-width: 700px) {
  .campus-photo-cluster {
    width: min(100%, 360px);
    min-height: 330px;
    margin: 0 auto;
    transform: none;
  }

  .campus-circle-photo.is-large {
    width: 220px;
  }

  .campus-circle-photo.is-small {
    width: 145px;
    top: 148px;
    right: 22px;
  }
}

.campus-contact-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.campus-contact-column .official-card {
  position: relative;
  overflow: hidden;
  min-height: 205px;
  padding: 27px 28px;
  gap: 14px;
  border-radius: 18px;
}

.campus-contact-column .official-card::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  right: -74px;
  bottom: -70px;
  border: 25px solid rgba(127, 115, 255, 0.32);
  border-radius: 50%;
}

.campus-contact-column .official-card > * {
  position: relative;
  z-index: 1;
}

.campus-contact-column .official-card h3 {
  max-width: 19ch;
  font-size: 1.27rem;
}

.campus-contact-column .official-card p {
  font-size: 0.82rem;
  line-height: 1.55;
}

.campus-channel-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.campus-channel-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 11px 15px;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 15px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease), border-color 0.2s ease, box-shadow 0.2s ease;
}

.campus-channel-card:hover {
  transform: translateX(4px);
  border-color: color-mix(in srgb, var(--accent) 48%, var(--border));
  box-shadow: var(--shadow-sm);
}

.campus-channel-card h3 {
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 0.84rem;
}

.campus-channel-card p {
  color: var(--text-tertiary);
  font-size: 0.68rem;
  line-height: 1.35;
}

.campus-channel-arrow {
  width: 19px;
  height: 19px;
  color: var(--accent);
}

@media (max-width: 960px) {
  .campus-map-main {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.72fr);
  }
}

@media (max-width: 700px) {
  .campus-map-card {
    display: none;
  }

  .campus-map-main {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }

  .campus-map-location-route {
    display: none;
  }

  .campus-map-visual {
    min-height: min(116vw, 440px);
    padding: 0;
    overflow: hidden;
  }

  .brazil-map-base,
  .brazil-map-overlay {
    top: -8px;
    right: 50%;
    width: min(112vw, 440px);
    transform: translateX(50%);
  }

  .brazil-map-base {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .campus-info-column {
    padding: 0;
  }

}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 88%, rgba(77, 59, 220, 0.24), transparent 24%),
    radial-gradient(circle at 52% 42%, rgba(47, 42, 169, 0.11), transparent 34%),
    linear-gradient(135deg, #071249 0%, #01082f 48%, #020b3e 100%);
  color: #ffffff;
  border-top: 1px solid rgba(157, 155, 255, 0.16);
  padding: 82px 0 34px;
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 360px;
  aspect-ratio: 1;
  border: 48px solid rgba(126, 115, 255, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.site-footer::before {
  top: -250px;
  left: -125px;
}

.site-footer::after {
  right: -150px;
  bottom: -245px;
  border-width: 54px;
  border-color: rgba(90, 69, 235, 0.34);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.12fr) minmax(170px, 0.68fr) minmax(240px, 0.92fr) minmax(280px, 1.12fr);
  align-items: stretch;
  padding-bottom: 66px;
}

.footer-brand {
  padding: 0 50px 0 32px;
}

.footer-logo {
  display: block;
  width: min(100%, 290px);
  height: auto;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  max-width: 32ch;
  margin-top: 28px;
  line-height: 1.7;
}

.footer-brand-mark {
  display: block;
  width: 76px;
  height: 4px;
  margin-top: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a09af0, #3f2eff);
  box-shadow: 0 0 18px rgba(99, 91, 232, 0.55);
}

.footer-ifpi-brand {
  display: block;
  width: min(100%, 250px);
  margin-top: 34px;
  opacity: 1;
  transition: transform 180ms ease;
}

.footer-ifpi-brand:hover,
.footer-ifpi-brand:focus-visible {
  transform: translateY(-2px);
}

.footer-ifpi-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-cols {
  display: contents;
}

.footer-col,
.footer-contact {
  min-width: 0;
  padding: 0 40px;
  border-left: 1px solid rgba(190, 188, 255, 0.2);
}

.footer-col h5,
.footer-contact h5 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #a99fff;
  margin-bottom: 27px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.footer-col a {
  transition: color 180ms ease, transform 180ms ease;
}

.footer-col a:hover {
  display: inline-block;
  color: #ffffff;
  transform: translateX(4px);
}

.footer-address {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(216, 214, 255, 0.32);
}

.footer-address-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
  font-weight: 800;
  color: #ffffff;
}

.footer-address-title svg {
  width: 21px;
  height: 21px;
  color: #8c7dff;
  flex: 0 0 auto;
}

.footer-address p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  line-height: 1.55;
}

.footer-contact {
  padding-right: 14px;
}

.footer-contact-list {
  display: grid;
  gap: 11px;
}

.footer-contact-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 15px;
  border: 1px solid rgba(183, 180, 255, 0.24);
  border-radius: 18px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.055), rgba(104, 94, 232, 0.055));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.footer-contact-card:hover {
  transform: translateX(4px);
  border-color: rgba(171, 163, 255, 0.52);
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.09), rgba(104, 94, 232, 0.11));
}

.footer-contact-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #a89cff;
  background: rgba(116, 104, 255, 0.13);
  box-shadow: inset 0 0 18px rgba(138, 126, 255, 0.08);
}

.footer-contact-icon svg,
.footer-contact-arrow {
  width: 21px;
  height: 21px;
}

.footer-contact-copy {
  min-width: 0;
}

.footer-contact-copy strong,
.footer-contact-copy span {
  display: block;
}

.footer-contact-copy strong {
  margin-bottom: 2px;
  font-size: 0.9rem;
  color: #ffffff;
}

.footer-contact-copy span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-contact-arrow {
  color: #9688ff;
  transition: transform 180ms ease;
}

.footer-contact-card:hover .footer-contact-arrow {
  transform: translateX(3px);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
  padding: 28px 32px 0;
  border-top: 1px solid rgba(205, 202, 255, 0.38);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.68);
}

.footer-bottom > :last-child {
  text-align: right;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 22px;
  border: 1px solid rgba(173, 166, 255, 0.62);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.footer-credit svg {
  width: 21px;
  height: 21px;
  color: #a396ff;
}

.footer-credit strong {
  color: #ffffff;
}

.footer-credit-link strong {
  transition: color 180ms ease;
}

.footer-credit-link:hover strong,
.footer-credit-link:focus-visible strong {
  color: #b8b2ff;
}

.footer-credit-link:focus-visible {
  outline: 2px solid #a396ff;
  outline-offset: 3px;
  border-radius: 3px;
}

@media (max-width: 1120px) {
  .footer-top {
    grid-template-columns: 1.1fr 0.9fr 1fr;
    row-gap: 48px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-left: 22px;
  }

  .footer-brand .footer-desc {
    max-width: 48ch;
  }
}

@media (max-width: 760px) {
  .site-footer {
    padding-top: 62px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 46px;
  }

  .footer-brand {
    padding: 0 18px;
  }

  .footer-col,
  .footer-contact {
    padding: 0 22px;
  }

  .footer-contact {
    grid-column: 1 / -1;
    padding-top: 10px;
  }

  .footer-contact-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-contact-card {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .footer-contact-arrow {
    display: none;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    padding-inline: 18px;
    text-align: center;
  }

  .footer-bottom > :last-child {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-col,
  .footer-contact {
    border-left: 0;
    border-top: 1px solid rgba(190, 188, 255, 0.2);
    padding-top: 30px;
  }

  .footer-contact {
    grid-column: auto;
  }

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

@media (max-width: 960px) {
  .dual-grid,
  .axes-grid,
  .cycle-container,
  .campus-grid {
    grid-template-columns: 1fr;
  }

  .axes-intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .axes-title {
    max-width: 620px;
  }

  .axes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .axis-card {
    min-height: 430px;
  }

  .hero {
    padding: 40px 0 76px;
  }

  .hero-bg-mark {
    width: 450px;
    max-width: 88vw;
    top: 10px;
    right: -95px;
    transform: none;
    opacity: calc(var(--watermark-opacity) * 0.75);
  }

  .section {
    padding: 72px 0;
  }

  .purpose-showcase {
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    gap: 34px;
  }

  .purpose-copy {
    grid-column: 1 / -1;
  }

  .purpose-title,
  .purpose-lead,
  .purpose-values {
    max-width: 760px;
  }

  .purpose-visual {
    min-height: 330px;
  }

  .purpose-pillars {
    gap: 18px;
  }

  .purpose-pillar {
    width: 100%;
    margin-left: 0;
  }

  .purpose-connector {
    display: none;
  }

  #cocriacao .section-header {
    margin-bottom: 34px;
  }

  .cycle-container {
    gap: 34px;
  }

  .ring-svg {
    width: min(78vw, 340px);
  }

  .projects-layout {
    grid-template-columns: 1fr;
  }

  .project-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    transform: none;
  }

  .project-connector {
    display: none;
  }

  .project-option,
  .project-option:nth-child(2),
  .project-option:nth-child(3),
  .project-option:nth-child(4) {
    --project-card-x: 0px;
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .project-option:hover {
    transform: translateX(4px);
  }

  .project-stage {
    min-height: 540px;
  }

  .team-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .team-intro-copy {
    max-width: 680px;
  }

  .team-track {
    grid-auto-columns: calc((100% - 20px) / 2);
  }

  .publications-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(350px, 1.1fr);
  }

  .publication-carousel {
    width: 100%;
    justify-self: stretch;
  }

  .publications-copy {
    grid-column: 1 / -1;
  }

  .publications-title {
    max-width: 15ch;
  }

  .publications-copy .section-lead {
    max-width: 64ch;
  }

  .publication-visual {
    min-height: 390px;
  }

}

@media (max-width: 760px) {
  .hero {
    min-height: calc(100vh - 74px);
    min-height: calc(100svh - 74px);
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    gap: 10px;
  }

  .brand-link svg {
    width: 145px;
    height: auto;
  }

  .header-actions {
    gap: 6px;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
  }

  .language-switcher {
    height: 40px;
    padding: 3px;
  }

  .lang-option {
    min-width: 29px;
    height: 32px;
    padding: 0 5px;
    font-size: 0.7rem;
  }

  .axes-title {
    max-width: 11ch;
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

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

  .axis-card {
    min-height: 390px;
  }

  .hero-meta-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .purpose-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .purpose-copy {
    grid-column: auto;
  }

  .purpose-title {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .purpose-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }

  .purpose-value:nth-child(3) {
    border-left: 0;
  }

  .purpose-visual {
    min-height: 280px;
  }

  .purpose-orb {
    width: min(76vw, 270px);
  }

  .purpose-pillar {
    min-height: 90px;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 13px;
    padding: 14px 16px;
    border-radius: 20px;
  }

  .pillar-icon {
    width: 50px;
    height: 50px;
  }

  #cocriacao .section-title {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
  }

  .cycle-item,
  .cycle-item.active {
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    gap: 12px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .cycle-item.active {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    min-height: 164px;
  }

  .cycle-item.active .cycle-arrow {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .progress-dashes {
    grid-template-columns: repeat(4, minmax(16px, 25px));
  }

  .step-progress {
    gap: 12px;
  }

  .diagram-note {
    font-size: 0.78rem;
  }

  .project-selector {
    grid-template-columns: 1fr;
  }

  .project-stage {
    min-height: auto;
    padding-top: 24px;
  }

  .project-browser {
    width: 96%;
    min-height: 0;
    transform: rotateZ(-1.5deg);
  }

  .project-stage:hover .project-browser {
    transform: rotateZ(-0.5deg) translateY(-3px);
  }

  .project-page {
    min-height: 0;
    padding: 0;
  }

  .project-mock-visual {
    min-height: 150px;
  }

  .project-detail-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 92%;
    margin: -26px auto 0;
    grid-template-columns: 1fr;
  }

  .projects-title-line {
    white-space: normal;
  }

  .member-card {
    border-radius: 20px;
  }

  .team-track {
    grid-auto-columns: 100%;
  }

  .member-photo {
    height: 218px;
  }

  .member-info {
    min-height: 100px;
    padding: 15px 16px 17px;
  }

  .team-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .publications-layout {
    grid-template-columns: 1fr;
  }

  .publications-title {
    max-width: 12ch;
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .publication-stats {
    max-width: none;
  }

  .publication-stat {
    padding-inline: 8px;
  }

  .publication-visual {
    min-height: 340px;
  }

  .publication-halo {
    width: 280px;
  }

  .paper-stack {
    width: 165px;
    height: 220px;
  }

  .publication-card,
  .publication-card.is-slot-one,
  .publication-card.is-slot-two,
  .publication-card.is-slot-three {
    --publication-x: 0px;
    width: 100%;
  }

  .publication-window {
    padding-right: 0;
  }

  .publication-carousel {
    --publication-card-height: 196px;
  }

  .publication-meta {
    flex-wrap: wrap;
    gap: 6px 9px;
  }

}

@media (max-width: 480px) {
  .brand-link svg {
    width: 124px;
  }

  .lang-option {
    min-width: 27px;
    padding: 0 4px;
    font-size: 0.67rem;
  }

  .team-title-first {
    white-space: normal;
  }
}

.news-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 20%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 27%),
    radial-gradient(circle at 2% 100%, color-mix(in srgb, var(--periwinkle) 20%, transparent), transparent 24%),
    var(--bg-subtle);
}

.news-section::before,
.news-section::after {
  content: '';
  position: absolute;
  z-index: 0;
  width: clamp(150px, 14vw, 230px);
  aspect-ratio: 1;
  border: clamp(28px, 3vw, 46px) solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.news-section::before {
  bottom: clamp(-145px, -9vw, -92px);
  left: clamp(-145px, -9vw, -92px);
}

.news-section::after {
  top: clamp(-145px, -9vw, -92px);
  right: clamp(-145px, -9vw, -92px);
  opacity: 0.68;
}

.news-bg-mark {
  position: absolute;
  z-index: 0;
  width: clamp(240px, 30vw, 380px);
  top: 14%;
  left: 62%;
  transform: translateX(-50%);
  opacity: 0.2;
  filter: saturate(0.82);
  pointer-events: none;
}

.news-bg-mark svg {
  display: block;
  width: 100%;
  height: auto;
}

.news-container {
  position: relative;
  z-index: 1;
}

.news-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 44px;
  margin-bottom: 52px;
}

.news-copy {
  max-width: 960px;
}

.news-eyebrow {
  display: block;
  width: 64px;
  height: 4px;
  margin-bottom: 22px;
}

.news-eyebrow i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

.news-title {
  max-width: none;
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 4.1vw, 4.55rem);
  line-height: 0.98;
}

.news-title-line {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.news-title-brand-line {
  gap: 0.16em;
}

.news-title .title-brand-logo {
  width: 4.62em;
  margin-left: 0;
}

.news-copy .section-lead {
  max-width: 60ch;
}

.news-instagram-cta {
  display: grid;
  grid-template-columns: 24px auto 22px;
  align-items: center;
  gap: 14px;
  min-width: 278px;
  padding: 17px 22px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border));
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #675cff, #2f22c8);
  box-shadow: 0 18px 40px -22px rgba(63, 46, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.news-instagram-cta:hover,
.news-instagram-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -20px rgba(63, 46, 255, 0.82);
}

.news-instagram-cta svg {
  width: 22px;
  height: 22px;
}

.news-carousel {
  position: relative;
}

.news-viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  border-radius: 28px;
}

.news-viewport::-webkit-scrollbar {
  display: none;
}

.news-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 5);
  gap: 18px;
  padding: 4px 2px 18px;
}

.news-card {
  position: relative;
  isolation: isolate;
  min-height: 0;
  aspect-ratio: 0.76;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border));
  border-radius: 24px;
  color: #ffffff;
  background: #101653;
  box-shadow: 0 14px 26px -20px rgba(2, 18, 77, 0.56);
  scroll-snap-align: start;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s ease;
}

.news-card:hover,
.news-card:focus-visible {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--accent) 62%, #ffffff);
  box-shadow: 0 22px 38px -22px rgba(2, 18, 77, 0.68);
}

.news-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.news-card:hover img,
.news-card:focus-visible img {
  transform: scale(1.045);
}

.news-card.is-wide-photo::before {
  content: '';
  position: absolute;
  inset: -18px;
  z-index: -3;
  background: var(--news-wide-photo) center / cover no-repeat;
  filter: blur(12px) saturate(0.78);
  transform: scale(1.08);
}

.news-card.is-wide-photo img {
  object-fit: contain;
}

.news-card.is-wide-photo-right img {
  object-position: right center;
  transform: scale(1.48);
  transform-origin: right center;
}

.news-card.is-wide-photo-right:hover img,
.news-card.is-wide-photo-right:focus-visible img {
  transform: scale(1.52);
}

.news-card.is-wide-photo-center img {
  object-position: center;
  transform: scale(1.28);
}

.news-card.is-wide-photo-center:hover img,
.news-card.is-wide-photo-center:focus-visible img {
  transform: scale(1.32);
}

.news-card.is-wide-photo-full img {
  object-position: center;
  transform: scale(1.08);
}

.news-card.is-wide-photo-full:hover img,
.news-card.is-wide-photo-full:focus-visible img {
  transform: scale(1.12);
}

.news-card.is-news-photo-05 {
  --news-wide-photo: url('../images/news/instagram-05.jpg');
}

.news-card.is-news-photo-10 {
  --news-wide-photo: url('../images/news/instagram-10.jpg');
}

.news-card.is-news-photo-14 {
  --news-wide-photo: url('../images/news/instagram-14.jpg');
}

.news-card.is-news-photo-16 {
  --news-wide-photo: url('../images/news/instagram-16.jpg');
}

.news-card.is-news-photo-19 {
  --news-wide-photo: url('../images/news/instagram-19.jpg');
}

.news-card.is-news-photo-20 {
  --news-wide-photo: url('../images/news/instagram-20.jpg');
}

.news-card-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 13, 61, 0.08) 20%, rgba(8, 13, 66, 0.42) 52%, rgba(6, 12, 61, 0.97) 100%),
    linear-gradient(135deg, rgba(63, 46, 255, 0.18), transparent 48%);
}

.news-category {
  position: absolute;
  top: 17px;
  left: 17px;
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  color: #4b3df0;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 9px 24px -15px rgba(2, 18, 77, 0.7);
  backdrop-filter: blur(10px);
  font-size: 0.68rem;
  font-weight: 800;
}

.news-card-copy {
  position: absolute;
  right: 18px;
  bottom: 17px;
  left: 18px;
  display: grid;
  gap: 14px;
}

.news-card-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.15vw, 1.22rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.news-card-copy > span {
  display: block;
  padding-right: 28px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 600;
}

.news-card-instagram {
  position: absolute;
  right: 17px;
  bottom: 18px;
  width: 18px;
  height: 18px;
}

.news-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
}

.news-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.news-position {
  min-width: 90px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.news-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 20%, var(--border));
  transition: width 0.2s ease, background 0.2s ease;
}

.news-dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--accent);
}

.news-arrows {
  display: flex;
  gap: 10px;
}

.news-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent);
  background: var(--bg-card);
  box-shadow: var(--shadow-xs);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease);
}

.news-arrow:hover,
.news-arrow:focus-visible {
  color: #ffffff;
  background: var(--accent);
  transform: translateY(-2px);
}

.news-arrow svg {
  width: 19px;
  height: 19px;
}

.news-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .news-heading {
    grid-template-columns: 1fr;
  }

  .news-instagram-cta {
    width: fit-content;
  }

  .news-track {
    grid-auto-columns: calc((100% - 36px) / 3);
  }
}

@media (max-width: 760px) {
  .news-heading {
    gap: 28px;
    margin-bottom: 34px;
  }

  .news-title {
    max-width: 11ch;
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .news-title-line {
    display: block;
    white-space: normal;
  }

  .news-title-brand-line .title-brand-logo {
    margin-left: 0.12em;
  }

  .news-instagram-cta {
    min-width: 0;
    width: 100%;
  }

  .news-track {
    grid-auto-columns: min(82vw, 300px);
    gap: 14px;
  }

  .news-card {
    min-height: 0;
    aspect-ratio: 0.76;
  }

  .news-controls {
    grid-template-columns: 1fr;
  }

  .news-pagination {
    flex-direction: column;
    gap: 13px;
  }

  .news-position {
    text-align: center;
  }

  .news-arrows {
    justify-content: center;
  }
}
