:root {
  --container: 1680px;
  --header-h: 78px;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow: 0 24px 60px rgba(7, 12, 38, 0.18);
  --transition: 220ms ease;

  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

/* =========================
   Temas
   ========================= */

html[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --surface: #ffffff;
  --surface-strong: #eef4fb;
  --text: #1e2745;
  --muted: #4f5d78;
  --heading: #0b1238;
  --primary: #00dbfc;
  --primary-strong: #07b3cd;
  --secondary: #d68f2c;
  --accent: #d68f2c;
  --line: #d9e1ee;
  --chip: #eff7fb;
  --header: #10163a;
  --header-border: rgba(255, 255, 255, 0.13);
  --dark-section: linear-gradient(135deg, #10163a 0%, #172b60 100%);
  --hero-grad:
    radial-gradient(
      circle at 76% 30%,
      rgba(8, 127, 145, 0.22),
      transparent 28%
    ),
    radial-gradient(
      circle at 15% 80%,
      rgba(79, 70, 201, 0.16),
      transparent 26%
    ),
    linear-gradient(135deg, #10163a 0%, #172b60 100%);
}

html[data-theme="dark"] {
  --bg: #050817;
  --bg-alt: #090f27;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: rgba(255, 255, 255, 0.105);
  --text: #eef3ff;
  --muted: #b9c5df;
  --heading: #ffffff;
  --primary: #2ed8b6;
  --primary-strong: #21b99a;
  --secondary: #d68f2c;
  --accent: #d49a35;
  --line: rgba(255, 255, 255, 0.14);
  --chip: rgba(255, 255, 255, 0.09);
  --header: rgba(5, 8, 23, 0.97);
  --header-border: rgba(255, 255, 255, 0.11);
  --dark-section: linear-gradient(135deg, #050817 0%, #0b173b 100%);
  --hero-grad:
    radial-gradient(
      circle at 75% 30%,
      rgba(35, 143, 207, 0.22),
      transparent 30%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(46, 216, 182, 0.15),
      transparent 28%
    ),
    linear-gradient(135deg, #050817 0%, #101f4b 100%);
}

html[data-theme="aurora"] {
  --bg: #16091f;
  --bg-alt: #241032;
  --surface: rgba(255, 255, 255, 0.085);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #fff1fb;
  --muted: #f3cce8;
  --heading: #ffffff;
  --primary: #ff79c6;
  --primary-strong: #e85bb3;
  --secondary: #d68f2c;
  --accent: #ffd166;
  --line: rgba(255, 255, 255, 0.18);
  --chip: rgba(255, 255, 255, 0.11);
  --header: rgba(22, 9, 31, 0.96);
  --header-border: rgba(255, 255, 255, 0.14);
  --dark-section: linear-gradient(
    135deg,
    #16091f 0%,
    #351348 48%,
    #6f1e68 100%
  );
  --hero-grad:
    radial-gradient(
      circle at 78% 24%,
      rgba(255, 121, 198, 0.44),
      transparent 30%
    ),
    radial-gradient(
      circle at 18% 82%,
      rgba(155, 92, 255, 0.34),
      transparent 34%
    ),
    radial-gradient(
      circle at 64% 72%,
      rgba(65, 230, 217, 0.18),
      transparent 28%
    ),
    linear-gradient(135deg, #16091f 0%, #2c1042 52%, #651b5f 100%);
}

body.high-contrast {
  --bg: #000000;
  --bg-alt: #000000;
  --surface: #050505;
  --surface-strong: #111111;
  --text: #ffffff;
  --muted: #ffffff;
  --heading: #ffffff;
  --primary: #00ffff;
  --primary-strong: #00d5d5;
  --secondary: #ffff00;
  --accent: #ffff00;
  --line: #ffffff;
  --chip: #000000;
  --header: #000000;
  --header-border: #ffffff;
  --dark-section: #000000;
  --hero-grad: #000000;
}

/* =========================
   Base
   ========================= */

* {
  box-sizing: border-box;
}

html {
  --page-font-boost: 1;
  --heading-font-boost: 1;
  font-size: 17px;
  scroll-behavior: smooth;
}

html.font-lg {
  --page-font-boost: 1.13;
  --heading-font-boost: 1.08;
  font-size: 18.5px;
}

html.font-xl {
  --page-font-boost: 1.26;
  --heading-font-boost: 1.14;
  font-size: 20px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - clamp(32px, 6vw, 96px)));
  margin-inline: auto;
}

.narrow {
  width: min(980px, calc(100% - clamp(32px, 6vw, 96px)));
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--primary);
  color: #04111f;
  font-weight: 800;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* =========================
   Header
   ========================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-h);
  background: var(--header);
  border-bottom: 1px solid var(--header-border);
  transition:
    box-shadow var(--transition),
    background var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.5vw, 26px);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 27px 0 25px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 16px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.desktop-nav a:hover {
  color: #ffffff;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-button,
.menu-button {
  min-width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
}

.theme-button {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.15rem;
}

.theme-button:hover {
  background: var(--primary);
  color: #061021;
}

.menu-button {
  display: none;
  padding-inline: 4px;
  font-size: 1.35rem;
}

.registration-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #071121;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition);
}

.registration-button:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: #071121;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 24px 24px;
  background: var(--header);
  border-top: 1px solid var(--header-border);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a:not(.registration-button) {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 800;
}

.registration-button.mobile {
  width: max-content;
  margin-top: 16px;
}

/* =========================
   Tipografia e seções
   ========================= */

.section {
  position: relative;
  padding: 120px 0;
  background: var(--bg);
  color: var(--text);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1420px, calc(100% - 64px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.section.alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--dark-section);
  color: #ffffff;
}

.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-dark .section-heading p,
.section-dark .text-block p {
  color: rgba(255, 255, 255, 0.86);
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.section-heading::after {
  content: "";
  display: block;
  width: 96px;
  height: 3px;
  margin: 26px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.section-heading.left::after {
  margin-inline: 0;
}

.section-label,
.kicker,
.deadline-current span,
.identity-card-head span,
.sponsor-level {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.section-label {
  margin: 0 0 12px;
  color: #028ba2;
  font-size: 0.78rem;
}

.section-dark .section-label,
.hero .kicker {
  color: var(--primary);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-display);
  line-height: 1.12;
}

h1 {
  font-size: clamp(3.1rem, 8vw, 7.8rem);
  letter-spacing: -0.065em;
}

h2 {
  font-size: clamp(2.05rem, 4vw, 4.1rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.45rem;
}

p,
li {
  font-size: 1.06rem;
}

p {
  margin: 0 0 18px;
  color: var(--text);
}

.section-heading p {
  max-width: 780px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.section-heading.left p {
  margin-inline: 0;
}

/* =========================
   Botões
   ========================= */

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #061021;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
}

.btn-primary:hover {
  background: var(--accent);
  color: #061021;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--heading);
}

.section-dark .btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

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

.hero-actions,
.button-row,
.call-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* =========================
   Hero
   ========================= */

.hero {
  min-height: 100svh;
  padding: calc(var(--header-h) + 118px) 0 96px;
  position: relative;
  overflow: hidden;
  background: var(--hero-grad);
}

.hero::before {
  display: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  opacity: 0.65;
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -160px;
  height: 290px;
  border-radius: 50% 50% 0 0;
  border-top: 2px solid rgba(51, 214, 207, 0.38);
  opacity: 0.75;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 70px;
}

.hero-copy {
  min-width: 0;
  max-width: 760px;
}

.hero h1,
.hero h2 {
  color: #ffffff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.hero h1 {
  font-size: clamp(3.1rem, 7.4vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.hero h2 {
  margin-top: 8px;
  font-size: clamp(2.2rem, 4.2vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.kicker {
  margin-bottom: 28px;
  font-size: 0.82rem;
}

.hero-subtitle {
  margin-top: 18px;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 800;
}

.theme-line {
  max-width: 720px;
  margin: 24px 0 10px;
  color: var(--accent);
  font-size: clamp(1.15rem, 1.65vw, 1.45rem);
  font-weight: 800;
}

.hero-text {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo img {
  width: min(640px, 100%);
  filter: none;
  transition:
    transform 350ms ease,
    filter 350ms ease;
}

.hero-logo img:hover {
  transform: scale(1.04) rotate(-1deg);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 36px;
  margin: 30px 0 34px;
}

.event-meta-item {
  position: relative;
  min-width: max-content;
  padding-left: 16px;
}

.event-meta-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.event-meta-item span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.event-meta-item strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.35;
}

/* =========================
   Sobre
   ========================= */

.about-section {
  background: #ffffff;
  color: #4e5568;
  padding: 90px 0 108px;
  overflow: hidden;
}

.about-section::before {
  display: none;
}

.about-section .container {
  width: min(1760px, calc(100% - clamp(32px, 4.5vw, 72px)));
  max-width: none;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(620px, 1.08fr) minmax(500px, 0.92fr);
  align-items: center;
  gap: 64px;
}

.about-media {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 660px;
}

.about-content {
  width: 100%;
  max-width: 760px;
}

.about-content h2 {
  margin-bottom: 28px;
  color: #10163a;
  font-size: clamp(2.45rem, 3.4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.about-content p {
  max-width: 760px;
  margin-bottom: 22px;
  color: #59627b;
  font-size: 1.06rem;
  line-height: 1.72;
  font-weight: 500;
}

.amazonas-photo-mosaic {
  --gap: 8px;
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 1.35 / 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: var(--gap);
  padding: var(--gap);
  background: #ffffff;
  overflow: hidden;
  -webkit-mask-image: url("../assets/img/evento/img_amazonas.svg");
  mask-image: url("../assets/img/evento/img_amazonas.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  filter: drop-shadow(0 34px 54px rgba(20, 25, 55, 0.16));
}

.amazonas-photo-mosaic .tile {
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  background: #dfe5ee;
}

.amazonas-photo-mosaic .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.03);
  transition:
    transform 420ms ease,
    filter 420ms ease;
}

.amazonas-photo-mosaic .tile:hover img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.06);
}

/* =========================
   Programação
   ========================= */

.activity-grid,
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.activity-card,
.track-card {
  position: relative;
  min-height: 240px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.activity-card:hover,
.track-card:hover,
.track-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.activity-card i,
.activity-card-body i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--primary) 16%, transparent);
  color: var(--primary);
}

.activity-card i {
  width: 48px;
  height: 48px;
  font-size: 1.45rem;
}

.activity-card-body i {
  width: 52px;
  height: 52px;
  font-size: 1.55rem;
}

.activity-card h3,
.track-card h3 {
  margin-bottom: 12px;
}

.activity-card p,
.track-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.activity-card-media {
  min-height: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
}

.activity-card-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: #0b1238;
}

.activity-card-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.activity-card-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 520ms ease,
    transform 900ms ease;
}

.activity-card-slides img.active {
  opacity: 1;
  transform: scale(1);
}

.activity-card-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(5, 8, 23, 0.02),
    rgba(5, 8, 23, 0.18)
  );
}

.activity-card-body {
  position: relative;
  flex: 1;
  padding: 28px 32px 32px;
}

.activity-card-controls {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.activity-card-media:hover .activity-card-controls,
.activity-card-media:focus-within .activity-card-controls {
  opacity: 1;
  pointer-events: auto;
}

.activity-card-controls button {
  position: relative;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(5, 8, 23, 0.58);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  transition:
    transform 220ms ease,
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

.activity-card-controls button i {
  display: none;
}

.activity-card-controls button::before {
  display: block;
  color: currentColor;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-1px);
}

.activity-card-controls button[data-card-prev]::before {
  content: "‹";
}

.activity-card-controls button[data-card-next]::before {
  content: "›";
}

.activity-card-controls button:hover {
  background: var(--primary);
  color: #071121;
  border-color: var(--primary);
  transform: scale(1.08);
}

/* =========================
   Call for Papers
   ========================= */

.call-section {
  background: #f4f7fc;
  color: #10163a;
  padding: 110px 0;
}

.call-section::before {
  display: none;
}

.call-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(56px, 6vw, 110px);
  align-items: start;
}

.call-main h2,
.topics-header h3 {
  max-width: 760px;
  color: #10163a;
  font-size: clamp(2.05rem, 4vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.call-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #4f5d78;
  font-size: 1.08rem;
  line-height: 1.72;
}

.deadline-panel {
  margin: 36px 0 34px;
}

.deadline-current {
  position: relative;
  display: grid;
  gap: 7px;
  padding-left: 20px;
}

.deadline-current::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  border-radius: 999px;
  background: var(--accent);
}

.deadline-current span {
  color: #61708b;
  font-size: 0.74rem;
  line-height: 1.2;
}

.deadline-current strong {
  color: #10163a;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.045em;
}

.deadline-current small {
  color: #5c6980;
  font-size: 1rem;
  line-height: 1.45;
}

.deadline-steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.deadline-steps li {
  min-height: 94px;
  padding: 16px 18px;
  border: 1px solid #d8e3f1;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(7, 12, 38, 0.045);
}

.deadline-steps li span {
  display: block;
  margin-bottom: 9px;
  color: #5f6f8c;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.25;
}

.deadline-steps li del {
  color: #9b6a15;
  font-size: 1rem;
  font-weight: 900;
  text-decoration-line: line-through;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1.5px;
  text-decoration-skip-ink: none;
}

.deadline-steps li.active {
  border-color: rgba(0, 219, 252, 0.52);
  background: linear-gradient(135deg, #ffffff 0%, #eafaff 100%);
}

.deadline-steps li.active span {
  color: #028ba2;
}

.deadline-steps li.active strong {
  color: #10163a;
  font-size: 1rem;
  font-weight: 950;
}

.rules-list,
.call-rules {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 12px;
}

.rules-list li,
.call-rules li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #24314f;
  font-size: 1.02rem;
  line-height: 1.58;
  font-weight: 760;
}

.rules-list i,
.call-rules i {
  margin-top: 2px;
  color: #028ba2;
}

.call-actions .btn-secondary {
  background: #ffffff;
  color: #10163a;
  border-color: #cfd9e8;
}

.call-actions .btn-secondary:hover {
  background: #10163a;
  color: #ffffff;
  border-color: #10163a;
}

/* =========================
   Tópicos
   ========================= */

.topics-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.topics-header {
  max-width: 780px;
  margin-bottom: 30px;
}

.topics-header h3 {
  margin-bottom: 16px;
}

.topics-header p {
  max-width: 740px;
  margin: 0;
  color: #53617c;
  font-size: 1.04rem;
  line-height: 1.68;
}

.topics-formal-list {
  counter-reset: topic;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px 48px;
}

.topics-formal-list li {
  counter-increment: topic;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  color: #202b49;
  font-size: 1rem;
  font-weight: 820;
  line-height: 1.45;
}

.topics-formal-list li::before {
  content: counter(topic, decimal-leading-zero);
  color: #028ba2;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.95;
}

/* =========================
   Trilhas
   ========================= */

.track-card {
  min-height: 360px;
  padding: 42px 34px;
  border: 1px solid #d8e5f2;
  border-radius: 22px;
  background: #ffffff;
  color: #10163a;
  cursor: pointer;
  isolation: isolate;
  box-shadow: 0 16px 34px rgba(7, 12, 38, 0.05);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease,
    color 260ms ease;
}

.track-card:hover,
.track-card:focus-visible {
  transform: translateY(-10px);
  border-color: transparent;
  color: #ffffff;
}

html[data-theme="light"] .track-card:hover,
html[data-theme="light"] .track-card:focus-visible {
  background: linear-gradient(135deg, #0f6f86 0%, #172b60 100%);
  box-shadow: 0 28px 70px rgba(23, 43, 96, 0.18);
}

html[data-theme="dark"] .track-card:hover,
html[data-theme="dark"] .track-card:focus-visible {
  background: linear-gradient(135deg, #071421 0%, #0d3f4a 100%);
  box-shadow: 0 28px 70px rgba(46, 216, 182, 0.16);
}

html[data-theme="aurora"] .track-card:hover,
html[data-theme="aurora"] .track-card:focus-visible {
  background: linear-gradient(135deg, #2c1042 0%, #6f1e68 100%);
  box-shadow: 0 28px 70px rgba(111, 30, 104, 0.24);
}

.track-card h3 {
  color: #10163a;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
}

.track-card p {
  color: #56627a;
  font-size: 1.08rem;
  line-height: 1.7;
}

.track-card:hover h3,
.track-card:hover p,
.track-card:hover .track-number,
.track-card:hover button,
.track-card:focus-visible h3,
.track-card:focus-visible p,
.track-card:focus-visible .track-number,
.track-card:focus-visible button {
  color: #ffffff;
}

.track-icon {
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--primary) 18%, transparent);
  color: var(--primary);
  font-size: 2rem;
  box-shadow: none;
  transition:
    transform 260ms ease,
    background 260ms ease,
    color 260ms ease;
}

.track-icon i {
  display: block;
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: 1;
}

html[data-theme="light"] .track-icon {
  background: color-mix(in srgb, var(--primary) 18%, white);
  color: #028ba2;
}

.track-card:hover .track-icon,
.track-card:focus-visible .track-icon {
  transform: translateY(-6px) scale(1.08);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.track-number {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.85rem;
  line-height: 1;
  font-weight: 800;
}

.track-card button {
  position: relative;
  margin-top: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
}

.track-card button i {
  transition: transform 220ms ease;
}

.track-card:hover button i {
  transform: translateX(7px);
}

/* =========================
   Organização e patrocinadores
   ========================= */

.organization-section {
  background: #ffffff;
  color: #4e5568;
  padding: 110px 0 120px;
  overflow: hidden;
}

.organization-section::before {
  display: none;
}

.organization-static .section-heading {
  max-width: 980px;
  margin-bottom: 58px;
}

.organization-static .section-heading h2,
.organization-static h2,
.identity-card h3,
.sponsors-heading h3,
.sponsor-tier h4 {
  color: #10163a;
}

.organization-static .section-heading p:not(.section-label),
.organization-static p,
.sponsors-heading p:not(.section-label) {
  color: #565d6d;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 76px;
}

.identity-card {
  border: 1px solid #d9e4f2;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(0, 219, 252, 0.08),
      transparent 32%
    ),
    #ffffff;
  padding: 34px;
  box-shadow: 0 18px 42px rgba(7, 12, 38, 0.055);
}

.identity-card-head {
  margin-bottom: 30px;
}

.identity-card-head span {
  display: block;
  margin-bottom: 8px;
  color: #028ba2;
  font-size: 0.72rem;
}

.identity-card-head h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
}

.identity-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 36px;
}

.identity-logo {
  min-width: 132px;
  min-height: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.identity-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(7, 12, 38, 0.08);
}

.identity-logo img {
  max-width: 150px;
  max-height: 90px;
  object-fit: contain;
}

.support-logos .identity-logo img {
  max-width: 170px;
  max-height: 95px;
}

.sponsors-area {
  margin-top: 18px;
}

.sponsors-heading {
  max-width: 860px;
  margin: 0 auto 38px;
  text-align: center;
}

.sponsors-heading h3 {
  font-size: clamp(2.05rem, 4vw, 4.1rem);
  letter-spacing: -0.04em;
}

.sponsor-board {
  display: grid;
  gap: 22px;
}

.sponsor-tier {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(420px, 0.64fr);
  align-items: center;
  gap: 40px;
  min-height: 172px;
  padding: 28px 42px;
  border: 1px solid #d9e4f2;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(7, 12, 38, 0.055);
}

.sponsor-tier-head {
  min-width: 0;
  text-align: left;
}

.sponsor-level {
  display: inline-flex;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 950;
}

.sponsor-tier h4 {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.12;
}

.sponsor-logos {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding-right: clamp(36px, 8vw, 150px);
}

.sponsor-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sponsor-logo img {
  width: auto;
  height: auto;
  object-fit: contain;
}

.sponsor-tier-gold {
  min-height: 176px;
  border-color: rgba(214, 143, 44, 0.5);
  background:
    radial-gradient(
      circle at 78% 22%,
      rgba(214, 143, 44, 0.16),
      transparent 34%
    ),
    linear-gradient(135deg, #fffdf7 0%, #ffffff 58%, #fff4d8 100%);
}

.sponsor-tier-gold .sponsor-level {
  color: #9b6412;
}

.sponsor-tier-gold .sponsor-logo img,
.sponsor-logo-gold img {
  max-width: 330px;
  max-height: 135px;
}

.sponsor-tier-silver,
.sponsor-tier-empty {
  grid-template-columns: 1fr;
  min-height: 118px;
  padding: 24px 42px;
  border-color: #cbd5e1;
  background: #f8fafc;
}

.sponsor-tier-silver .sponsor-logos,
.sponsor-tier-empty .sponsor-logos,
.sponsor-logo-placeholder {
  display: none;
}

.sponsor-tier-silver .sponsor-level {
  color: #64748b;
}

.sponsor-tier-bronze {
  min-height: 176px;
  border-color: rgba(160, 93, 43, 0.38);
  background:
    radial-gradient(circle at 78% 22%, rgba(160, 93, 43, 0.1), transparent 34%),
    #ffffff;
}

.sponsor-tier-bronze .sponsor-level {
  color: #8a4d20;
}

.sponsor-tier-bronze .sponsor-logo img,
.sponsor-logo-bronze img {
  max-width: 310px;
  max-height: 125px;
}

.organization-carousel,
.org-controls,
.org-dots {
  display: none;
}

/* =========================
   Comitê
   ========================= */

.committee-section {
  background: #ffffff;
  color: #4e5568;
  padding: 110px 0;
  overflow: hidden;
}

.committee-section::before {
  display: none;
}

.committee-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(620px, 1.18fr);
  gap: 70px;
  align-items: start;
}

.committee-intro {
  padding-right: 42px;
  border-right: 2px solid #1676dc;
}

.committee-intro h2 {
  margin-bottom: 28px;
  color: #10163a;
  font-size: clamp(2.6rem, 4vw, 4rem);
}

.committee-intro p {
  max-width: 560px;
  color: #565d6d;
  font-size: 1.13rem;
  line-height: 1.75;
}

.committee-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.committee-list li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #10163a;
  font-size: 1.16rem;
  line-height: 1.55;
}

/* =========================
   FAQ
   ========================= */

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: transparent;
  color: var(--heading);
  font-size: 1.08rem;
  font-weight: 900;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
}

.faq-question i {
  color: var(--primary-strong);
  transition: transform var(--transition);
}

.faq-item.open .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-answer p {
  color: var(--muted);
  margin-bottom: 20px;
}

/* =========================
   Anais
   ========================= */

.anais-hero {
  min-height: auto;
  padding: calc(var(--header-h) + 92px) 0 96px;
}

.anais-hero-content {
  position: relative;
  z-index: 1;
  max-width: none;
  text-align: left;
}

.anais-hero h1 {
  max-width: 980px;
  font-size: clamp(3rem, 6vw, 6rem);
}

.anais-hero-content h1,
.anais-hero-content .kicker,
.anais-hero-content .theme-line {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.anais-hero-content .theme-line {
  max-width: 760px;
}

.anais-content .section-heading,
.anais-content .section-heading.left {
  max-width: 860px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.anais-content .section-heading::after,
.anais-content .section-heading.left::after {
  margin-left: 0;
  margin-right: auto;
}

.anais-content .track-card {
  overflow: visible;
  cursor: default;
}

.anais-content .track-card .button-row {
  margin-top: 24px;
}

.anais-content .track-card .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #061021;
  border-color: transparent;
}

.anais-content .track-card .btn-secondary {
  background: #ffffff;
  color: #10163a;
  border: 1px solid #000000;
  box-shadow: 0 10px 24px rgba(7, 12, 38, 0.08);
}

.anais-content .track-card .btn-primary:hover {
  background: var(--accent);
  color: #061021;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.anais-content .track-card .btn-secondary:hover {
  background: var(--primary);
  color: #071121;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* =========================
   Footer
   ========================= */

.footer {
  color: rgba(255, 255, 255, 0.82);
  padding: 76px 0 32px;
}

html[data-theme="light"] .footer {
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(0, 219, 252, 0.12),
      transparent 28%
    ),
    linear-gradient(135deg, #10163a 0%, #172b60 100%);
}

html[data-theme="dark"] .footer {
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(46, 216, 182, 0.1),
      transparent 28%
    ),
    linear-gradient(135deg, #050817 0%, #090f27 65%, #0b173b 100%);
}

html[data-theme="aurora"] .footer {
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(255, 121, 198, 0.12),
      transparent 28%
    ),
    linear-gradient(135deg, #16091f 0%, #241032 55%, #351348 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.25fr 0.8fr;
  gap: 54px;
  align-items: start;
}

.footer img {
  height: 210px;
  width: auto;
  margin-bottom: 20px;
}

.footer h3 {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.footer p,
.footer a,
.footer address {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
}

.footer address {
  font-style: normal;
}

.footer strong {
  display: block;
  color: #ffffff;
  font-weight: 800;
}

.footer span {
  color: rgba(255, 255, 255, 0.68);
}

.footer a {
  display: block;
}

.footer a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

/* =========================
   Modal de trilhas
   ========================= */

.track-modal {
  width: min(760px, calc(100% - 32px));
  border: 0;
  border-radius: 26px;
  padding: 38px;
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow);
}

.track-modal::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(3px);
}

.track-modal h2 {
  padding-right: 48px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #d8e5f2;
  border-radius: 999px;
  background: #ffffff;
  color: #10163a;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(7, 12, 38, 0.1);
  transition:
    transform 220ms ease,
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.modal-close:hover {
  transform: rotate(90deg) scale(1.06);
  background: var(--primary);
  color: #071121;
  border-color: var(--primary);
  box-shadow: 0 18px 34px rgba(7, 12, 38, 0.18);
}

.modal-info {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.modal-info ul {
  padding-left: 20px;
}

.modal-info li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.modal-actions {
  margin-top: 26px;
}

/* =========================
   Acessibilidade e voltar ao topo
   ========================= */

.accessibility-button,
.back-top {
  position: fixed;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.back-top {
  right: 28px;
  bottom: 28px;
  z-index: 80;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--primary);
  color: #071121;
  font-size: 1.3rem;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: var(--transition);
}

.back-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.accessibility-button {
  right: 22px;
  top: 50%;
  z-index: 95;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--primary);
  color: #071121;
  font-size: 1.55rem;
  transform: translateY(-50%);
  transition:
    transform var(--transition),
    background var(--transition);
}

.accessibility-button:hover {
  transform: translateY(-50%) scale(1.06);
}

.accessibility-panel {
  position: fixed;
  right: 92px;
  top: 50%;
  z-index: 90;
  width: min(360px, calc(100vw - 128px));
  display: none;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid #9dccf0;
  background: #e6f5ff;
  color: #102044;
  box-shadow: 0 24px 65px rgba(14, 32, 68, 0.22);
  transform: translateY(-50%);
}

.accessibility-panel.open {
  display: block;
}

.accessibility-panel,
.accessibility-panel * {
  font-size: 16px;
  line-height: 1.45;
}

.accessibility-panel h3 {
  margin: 0 0 16px;
  color: #102044;
  font-size: 1.22rem;
}

.accessibility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: #102044;
}

.accessibility-row span {
  color: #102044;
}

.accessibility-row button {
  border: 1px solid #9dccf0;
  background: #ffffff;
  color: #102044;
  border-radius: 10px;
  padding: 7px 12px;
  font-weight: 800;
  cursor: pointer;
}

.accessibility-row button:not(.switch):hover {
  background: #1676dc;
  color: #ffffff;
}

.accessibility-hint {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(22, 118, 220, 0.08);
  color: #23405f;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 600;
}

.switch {
  width: 42px;
  height: 26px;
  border-radius: 999px;
  position: relative;
  padding: 0;
}

.switch::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 3px;
  left: 4px;
  border-radius: 50%;
  background: #5d6a82;
  transition: var(--transition);
}

.switch.active {
  background: #1676dc;
}

.switch.active::after {
  left: 18px;
  background: #ffffff;
}

/* =========================
   Animações
   ========================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal-group.visible > * {
  opacity: 1;
  transform: none;
}

.reveal-group.visible > *:nth-child(2) {
  transition-delay: 80ms;
}

.reveal-group.visible > *:nth-child(3) {
  transition-delay: 160ms;
}

.reveal-group.visible > *:nth-child(4) {
  transition-delay: 240ms;
}

.reveal-group.visible > *:nth-child(5) {
  transition-delay: 320ms;
}

.reveal-group.visible > *:nth-child(6) {
  transition-delay: 400ms;
}

/* =========================
   Aumento de fonte
   ========================= */

html.font-lg main,
html.font-lg .site-header,
html.font-lg .footer,
html.font-xl main,
html.font-xl .site-header,
html.font-xl .footer {
  font-size: calc(1rem * var(--page-font-boost));
}

html.font-lg main p,
html.font-lg main li,
html.font-lg main a,
html.font-lg main span,
html.font-xl main p,
html.font-xl main li,
html.font-xl main a,
html.font-xl main span {
  font-size: calc(1em * var(--page-font-boost));
}

html.font-lg main h1,
html.font-xl main h1 {
  font-size: calc(clamp(3.1rem, 8vw, 7.8rem) * var(--heading-font-boost));
}

html.font-lg main h2,
html.font-xl main h2 {
  font-size: calc(clamp(2.05rem, 4vw, 4.1rem) * var(--heading-font-boost));
}

html.font-lg main h3,
html.font-xl main h3 {
  font-size: calc(1.45rem * var(--heading-font-boost));
}

/* =========================
   Responsivo
   ========================= */

@media (max-width: 1360px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-inner {
    gap: 18px;
  }

  .brand img {
    height: 52px;
  }
}

@media (max-width: 1180px) {
  html {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 72px);
  }

  .hero-grid,
  .call-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-logo {
    order: -1;
  }

  .hero-logo img {
    max-width: 440px;
  }

  .event-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .activity-grid,
  .tracks-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .about-media {
    min-height: auto;
  }

  .amazonas-photo-mosaic {
    width: min(860px, 100%);
  }

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

  .committee-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .committee-intro {
    border-right: 0;
    border-bottom: 2px solid #1676dc;
    padding-right: 0;
    padding-bottom: 34px;
  }

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

@media (max-width: 860px) {
  .registration-button:not(.mobile) {
    display: none;
  }

  .brand img {
    height: 42px;
  }
}

@media (max-width: 720px) {
  html {
    font-size: 14px;
  }

  .container,
  .narrow {
    width: min(100% - 32px, var(--container));
  }

  .section,
  .call-section,
  .about-section,
  .organization-section,
  .committee-section {
    padding: 56px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading p {
    font-size: 0.9rem;
    line-height: 1.52;
  }

  h1 {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
    line-height: 1.03;
  }

  h2,
  .call-main h2,
  .topics-header h3,
  .about-content h2,
  .committee-intro h2,
  .sponsors-heading h3 {
    font-size: clamp(1.55rem, 7.2vw, 2.15rem);
    line-height: 1.08;
  }

  h3 {
    font-size: 1rem;
  }

  p,
  li,
  a,
  span,
  button,
  .about-content p,
  .call-lead,
  .topics-header p,
  .committee-intro p,
  .committee-list li,
  .faq-question {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .section-label,
  .kicker,
  .deadline-current span {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .hero {
    padding: 102px 0 54px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-logo img {
    max-width: 245px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.35rem);
  }

  .hero h2 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 4.6vw, 1.22rem);
  }

  .theme-line {
    margin-top: 16px;
    font-size: 0.94rem;
    line-height: 1.38;
  }

  .hero-text {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .event-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 20px 0 22px;
  }

  .event-meta-item {
    min-width: 0;
    padding-left: 8px;
  }

  .event-meta-item::before {
    top: 4px;
    bottom: 4px;
  }

  .event-meta-item span {
    margin-bottom: 3px;
    font-size: 0.48rem;
    letter-spacing: 0.12em;
  }

  .event-meta-item strong {
    font-size: 0.65rem;
    line-height: 1.25;
  }

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

  .btn,
  .hero-actions .btn,
  .call-actions .btn {
    width: 100%;
    min-height: 42px;
    padding-inline: 10px;
    font-size: 0.72rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-content {
    order: -1;
    max-width: 100%;
  }

  .about-media {
    order: 0;
    min-height: auto;
  }

  .amazonas-photo-mosaic {
    width: 100%;
    max-width: 440px;
    min-height: 230px;
    margin-inline: auto;
  }

  .deadline-panel {
    margin: 26px 0;
  }

  .deadline-current {
    padding-left: 15px;
  }

  .deadline-current strong {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .deadline-current small {
    font-size: 0.78rem;
  }

  .deadline-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .deadline-steps li {
    min-height: auto;
    padding: 10px 8px;
    border-radius: 13px;
  }

  .deadline-steps li span {
    margin-bottom: 6px;
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .deadline-steps li del,
  .deadline-steps li.active strong {
    font-size: 0.68rem;
  }

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

  .call-rules li {
    gap: 6px;
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .call-rules i {
    font-size: 0.72rem;
  }

  .topics-formal-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 12px;
  }

  .topics-formal-list li {
    grid-template-columns: 22px 1fr;
    gap: 6px;
    font-size: 0.68rem;
    line-height: 1.28;
  }

  .topics-formal-list li::before {
    font-size: 0.54rem;
    line-height: 1.65;
  }

  .activity-grid,
  .tracks-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .activity-card,
  .track-card {
    min-height: auto;
    padding: 10px;
    border-radius: 16px;
  }

  .activity-card-media {
    padding: 0;
  }

  .activity-card-gallery {
    border-radius: 16px 16px 0 0;
  }

  .activity-card-body {
    padding: 10px;
  }

  .activity-card h3,
  .activity-card-body h3,
  .track-card h3 {
    margin-bottom: 6px;
    font-size: 0.76rem;
    line-height: 1.18;
  }

  .activity-card p,
  .activity-card-body p,
  .track-card p {
    font-size: 0.66rem;
    line-height: 1.35;
  }

  .track-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .track-card button {
    margin-top: 8px;
    font-size: 0.68rem;
  }

  .track-icon,
  .activity-card-body i,
  .activity-card i {
    width: 32px;
    height: 32px;
    margin-bottom: 9px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .track-number {
    margin-bottom: 7px;
    font-size: 1rem;
  }

  .activity-card-controls {
    opacity: 1;
    pointer-events: auto;
    padding-inline: 7px;
  }

  .activity-card-controls button {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
  }

  .activity-card-controls button::before {
    font-size: 1.28rem;
  }
  .identity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 42px;
  }

  .identity-card {
    padding: 14px;
    border-radius: 18px;
  }

  .identity-card-head {
    margin-bottom: 16px;
  }

  .identity-card-head span {
    font-size: 0.52rem;
    letter-spacing: 0.13em;
  }

  .identity-card-head h3 {
    font-size: 0.98rem;
    line-height: 1.15;
  }

  .identity-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    justify-items: center;
  }

  .identity-logo {
    width: 100%;
    min-width: 0;
    min-height: 66px;
    padding: 8px;
    border-radius: 14px;
  }

  .identity-logo img {
    max-width: 78px;
    max-height: 50px;
  }

  .support-logos .identity-logo img {
    max-width: 86px;
    max-height: 52px;
  }

  .support-logos .identity-logo:last-child {
    grid-column: 1 / -1;
    width: 70%;
  }

  .sponsors-area {
    margin-top: 38px;
  }

  .sponsors-heading {
    margin-bottom: 24px;
  }

  .sponsor-board {
    width: min(100%, 430px);
    margin-inline: auto;
    gap: 16px;
  }

  .sponsor-tier,
  .sponsor-tier-gold,
  .sponsor-tier-silver,
  .sponsor-tier-bronze,
  .sponsor-tier-empty {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 18px;
    gap: 14px;
    border-radius: 22px;
    text-align: center;
  }

  .sponsor-tier-head {
    text-align: center;
  }

  .sponsor-level {
    margin-inline: auto;
    margin-bottom: 7px;
    font-size: 0.54rem;
  }

  .sponsor-tier h4 {
    font-size: 1rem;
    line-height: 1.15;
  }

  .sponsor-logos {
    justify-content: center;
    padding-right: 0;
    gap: 12px;
  }

  .sponsor-tier-gold .sponsor-logo img,
  .sponsor-logo-gold img {
    max-width: 178px;
    max-height: 76px;
  }

  .sponsor-tier-bronze .sponsor-logo img,
  .sponsor-logo-bronze img {
    max-width: 174px;
    max-height: 72px;
  }

  .sponsor-tier-silver,
  .sponsor-tier-empty {
    min-height: 82px;
    padding: 17px 18px;
  }

  .committee-layout {
    gap: 30px;
  }

  .committee-list ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }

  .committee-list li {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .faq-item {
    border: 1px solid #d9e1ee;
    border-radius: 14px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.42);
  }

  .faq-question {
    min-height: 66px;
    padding: 12px 0;
    gap: 10px;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .faq-answer p {
    font-size: 0.7rem;
    line-height: 1.4;
  }

  .anais-hero {
    padding: calc(var(--header-h) + 72px) 0 58px;
  }

  .anais-hero h1 {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
    line-height: 1.05;
  }

  .anais-hero-content .theme-line {
    max-width: 100%;
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .anais-content {
    padding: 58px 0;
  }

  .anais-content .tracks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .anais-content .track-card {
    padding: 14px;
    border-radius: 16px;
    min-height: auto;
  }

  .anais-content .track-number {
    margin-bottom: 8px;
    font-size: 0.95rem;
  }

  .anais-content .track-card h3 {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .anais-content .track-card p {
    font-size: 0.64rem;
    line-height: 1.35;
  }

  .anais-content .track-card .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .anais-content .track-card .button-row .btn {
    min-height: 36px;
    padding-inline: 8px;
    font-size: 0.58rem;
    line-height: 1.15;
  }

  .anais-content .track-card .button-row .btn:only-child {
    grid-column: 1 / -1;
  }

  .footer {
    padding: 48px 0 26px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 22px;
    text-align: left;
    align-items: start;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer img {
    height: 104px;
    margin-inline: 0;
    margin-bottom: 14px;
  }

  .footer h3 {
    margin-bottom: 12px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .footer p,
  .footer a,
  .footer address {
    font-size: 0.76rem;
    line-height: 1.5;
  }

  .footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
    font-size: 0.76rem;
  }

  .accessibility-button {
    right: 14px;
    top: auto;
    bottom: 84px;
    z-index: 170;
    width: 42px;
    height: 42px;
    font-size: 1.08rem;
    transform: none;
  }

  .accessibility-button:hover {
    transform: scale(1.04);
  }

  .accessibility-panel {
    left: auto;
    right: 64px;
    top: auto;
    bottom: 76px;
    z-index: 165;
    width: min(340px, calc(100vw - 92px));
    max-height: min(46vh, 320px);
    overflow-y: auto;
    padding: 15px 16px;
    border-radius: 17px;
    transform: none;
  }

  .accessibility-panel,
  .accessibility-panel * {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .accessibility-panel h3 {
    margin: 0 0 12px;
    font-size: 0.96rem;
    line-height: 1.2;
  }

  .accessibility-row {
    gap: 10px;
    margin-top: 10px;
  }

  .accessibility-row button {
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.78rem;
  }

  .accessibility-hint {
    margin-top: 10px;
    padding: 9px 10px;
    font-size: 0.66rem;
    line-height: 1.32;
  }

  .switch {
    width: 38px;
    min-width: 38px;
    height: 23px;
  }

  .switch::after {
    width: 16px;
    height: 16px;
    top: 3px;
    left: 4px;
  }

  .switch.active::after {
    left: 17px;
  }

  .back-top {
    right: 14px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    font-size: 1.08rem;
  }
}

@media (max-width: 390px) {
  .container,
  .narrow {
    width: min(100% - 26px, var(--container));
  }

  .event-meta {
    gap: 6px;
  }

  .event-meta-item strong {
    font-size: 0.6rem;
  }

  .hero-actions .btn,
  .call-actions .btn {
    font-size: 0.66rem;
  }

  .topics-formal-list li,
  .call-rules li,
  .committee-list li,
  .faq-question {
    font-size: 0.64rem;
  }

  .activity-grid,
  .tracks-grid {
    gap: 8px;
  }

  .activity-card,
  .track-card,
  .activity-card-body {
    padding: 9px;
  }

  .activity-card h3,
  .activity-card-body h3,
  .track-card h3 {
    font-size: 0.7rem;
  }

  .activity-card p,
  .activity-card-body p,
  .track-card p {
    font-size: 0.62rem;
  }

  .identity-grid {
    gap: 10px;
  }

  .identity-card {
    padding: 12px;
  }

  .identity-logo {
    min-height: 60px;
  }

  .identity-logo img {
    max-width: 70px;
    max-height: 45px;
  }

  .support-logos .identity-logo img {
    max-width: 78px;
  }

  .accessibility-button {
    right: 12px;
    bottom: 82px;
    width: 40px;
    height: 40px;
  }

  .accessibility-panel {
    right: 58px;
    bottom: 74px;
    width: min(300px, calc(100vw - 82px));
    padding: 14px;
  }

  .footer-grid {
    gap: 24px 16px;
  }

  .footer p,
  .footer a,
  .footer address {
    font-size: 0.72rem;
  }
}

/* =========================
   Alto contraste
   ========================= */

body.high-contrast *,
body.reduce-motion * {
  transition: none;
  animation: none;
}

body.high-contrast .section,
body.high-contrast .section.alt,
body.high-contrast .about-section,
body.high-contrast .organization-section,
body.high-contrast .committee-section,
body.high-contrast .call-section,
body.high-contrast .footer {
  background: #000000;
  color: #ffffff;
}

body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast p,
body.high-contrast li,
body.high-contrast span,
body.high-contrast strong,
body.high-contrast small,
body.high-contrast .topics-formal-list li,
body.high-contrast .call-rules li,
body.high-contrast .committee-list li,
body.high-contrast .organization-static .section-heading h2,
body.high-contrast .organization-static .section-heading p:not(.section-label),
body.high-contrast .organization-static h2,
body.high-contrast .organization-static h3,
body.high-contrast .organization-static h4,
body.high-contrast .identity-card h3,
body.high-contrast .sponsors-heading h3,
body.high-contrast .sponsor-tier h4 {
  color: #ffffff;
}

body.high-contrast .section-label,
body.high-contrast .kicker,
body.high-contrast .identity-card-head span,
body.high-contrast .sponsor-level,
body.high-contrast .topics-formal-list li::before,
body.high-contrast .call-rules i {
  color: #00ffff;
}

body.high-contrast .deadline-steps li,
body.high-contrast .deadline-steps li.active,
body.high-contrast .activity-card,
body.high-contrast .track-card,
body.high-contrast .identity-card,
body.high-contrast .sponsor-tier,
body.high-contrast .sponsor-tier-gold,
body.high-contrast .sponsor-tier-silver,
body.high-contrast .sponsor-tier-bronze,
body.high-contrast .sponsor-tier-empty {
  background: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: none;
}

body.high-contrast .faq-item {
  border: 0;
  border-bottom: 1px solid #ffffff;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.high-contrast .topics-panel,
body.high-contrast .topics-formal-list,
body.high-contrast .topics-formal-list li {
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

body.high-contrast .deadline-steps li del {
  color: #ffff00;
  text-decoration-color: #ffff00;
}

body.high-contrast .btn-primary,
body.high-contrast .call-actions .btn-primary {
  background: #00ffff;
  color: #000000;
  border-color: #00ffff;
}

body.high-contrast .btn-secondary,
body.high-contrast .call-actions .btn-secondary {
  background: #000000;
  color: #ffffff;
  border-color: #ffffff;
}

body.high-contrast .btn-secondary:hover,
body.high-contrast .call-actions .btn-secondary:hover {
  background: #ffffff;
  color: #000000;
}

body.high-contrast .accessibility-panel {
  background: #000000;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: none;
}

body.high-contrast .accessibility-panel,
body.high-contrast .accessibility-panel * {
  color: #ffffff;
}

body.high-contrast .accessibility-row button {
  background: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
}

body.high-contrast .accessibility-row button:hover {
  background: #ffffff;
  color: #000000;
}

body.high-contrast .accessibility-hint {
  background: #111111;
  color: #ffffff;
  border: 1px solid #ffffff;
}

body.high-contrast .switch.active {
  background: #00ffff;
}

body.high-contrast .switch::after {
  background: #ffffff;
}

body.high-contrast .switch.active::after {
  background: #000000;
}

body.high-contrast .identity-logo,
body.high-contrast .sponsor-logo {
  background: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: none;
}

body.high-contrast .identity-logo {
  width: 150px;
  min-width: 150px;
  height: 104px;
  min-height: 104px;
  padding: 14px 18px;
  border-radius: 16px;
}

body.high-contrast .identity-logo img {
  max-width: 118px;
  max-height: 68px;
  opacity: 1;
  filter: none;
  object-fit: contain;
}

body.high-contrast .support-logos .identity-logo {
  width: 166px;
  min-width: 166px;
}

body.high-contrast .support-logos img[alt*="LOGAR"],
body.high-contrast .support-logos img[src*="logar"],
body.high-contrast .devsociety-logo {
  max-width: 138px;
  max-height: 62px;
}

body.high-contrast .sponsor-logo {
  width: 248px;
  min-width: 248px;
  height: 128px;
  min-height: 128px;
  padding: 14px 18px;
  border-radius: 16px;
}

body.high-contrast .sponsor-logo img {
  max-width: 172px;
  max-height: 70px;
  opacity: 1;
  filter: none;
  object-fit: contain;
}

@media (max-width: 720px) {
  body.high-contrast .identity-card {
    overflow: hidden;
  }

  body.high-contrast .identity-logo {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 58px;
    min-height: 58px;
    padding: 6px;
    border-radius: 12px;
  }

  body.high-contrast .identity-logo img {
    max-width: 76px;
    max-height: 42px;
  }

  body.high-contrast .support-logos .identity-logo {
    width: 100%;
    min-width: 0;
  }

  body.high-contrast .support-logos .identity-logo:last-child {
    width: min(72%, 155px);
    margin-inline: auto;
  }

  body.high-contrast .support-logos img[alt*="LOGAR"],
  body.high-contrast .support-logos img[src*="logar"],
  body.high-contrast .devsociety-logo {
    max-width: 96px;
    max-height: 40px;
  }

  body.high-contrast .sponsor-logo {
    width: min(210px, 100%);
    min-width: 0;
    height: 92px;
    min-height: 92px;
    padding: 10px 14px;
    border-radius: 14px;
  }

  body.high-contrast .sponsor-logo img {
    max-width: 150px;
    max-height: 58px;
  }
}

/* =========================
   Redução de movimento
   ========================= */

body.reduce-motion .reveal,
body.reduce-motion .reveal-group > * {
  opacity: 1;
  transform: none;
  transition: none;
}

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

  .reveal,
  .reveal-group > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
