﻿:root {
  --bg: #f6f8ff;
  --surface: #ffffff;
  --text: #0d1b38;
  --muted: #51607f;
  --primary: #3d52ff;
  --primary-2: #6a46ff;
  --accent: #ff8f3d;
  --line: #d8e2f3;
  --shadow: 0 24px 64px rgba(18, 33, 77, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 12% -8%, rgba(106, 70, 255, 0.15) 0%, transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(77, 141, 255, 0.26) 0%, transparent 30%),
    linear-gradient(180deg, #fbfcff 0%, #f4f7ff 100%);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 5.75rem 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(230, 241, 255, 0.88), rgba(248, 251, 255, 0.96)),
    #f4f8fe;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(215, 225, 239, 0.95);
  box-shadow: 0 12px 30px rgba(18, 38, 63, 0.05);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 82px;
  gap: 1.25rem;
}

.logo {
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.logo img {
  display: block;
  height: 74px;
  width: auto;
  object-fit: cover;
}

.logo-home {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 74px;
}

.logo-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
}

.home-header .logo-home {
  margin-left: -10px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 78%;
}

.menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.68rem 0.9rem;
  border-radius: 999px;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.menu a:hover,
.menu a:focus-visible {
  background: #eef4ff;
  color: #0b4fd8;
  transform: translateY(-1px);
}

.menu-dropdown {
  position: relative;
}

.menu-dropdown-toggle {
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  padding: 0.68rem 0.9rem;
  border-radius: 999px;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.menu-dropdown-toggle:hover,
.menu-dropdown-toggle:focus-visible {
  background: #eef4ff;
  color: #0b4fd8;
  transform: translateY(-1px);
}

.menu-dropdown-list {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(18, 38, 63, 0.12);
  padding: 0.35rem 0;
  display: grid;
  gap: 0;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 80;
}

.menu-dropdown-list a {
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.menu-dropdown:hover .menu-dropdown-list,
.menu-dropdown:focus-within .menu-dropdown-list,
.menu-dropdown.is-open .menu-dropdown-list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: transform 0.2s ease;
}

.hero {
  position: relative;
  min-height: 62vh;
  height: clamp(420px, 70vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 92, 255, 0.16), rgba(255, 255, 255, 0.06));
  z-index: -1;
}

.hero-content {
  width: min(1180px, 92vw);
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 3.2rem);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(8, 26, 51, 0.68), rgba(8, 26, 51, 0.28));
  box-shadow: 0 28px 64px rgba(7, 22, 41, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 31, 59, 0.78) 0%, rgba(11, 31, 59, 0.48) 42%, rgba(11, 31, 59, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 21, 39, 0.16), rgba(10, 21, 39, 0.44));
}

.hero-content {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-align: left;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  margin-left: clamp(1rem, 4vw, 3rem);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 0.98;
  margin: 0;
  margin-top: 0.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero .kicker {
  font-size: clamp(0.78rem, 1.3vw, 0.98rem);
  letter-spacing: 0.18em;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  opacity: 0.94;
}

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

.hero-text {
  color: #f0f6ff;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 48ch;
}

.hero-text + .hero-text {
  margin-top: 0.15rem;
}

.hero-text-soft {
  color: rgba(240, 246, 255, 0.9);
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  font-weight: 700;
}

.home-intro-section {
  padding-top: 1.4rem;
  padding-bottom: 4.2rem;
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.9fr);
  gap: 1.2rem;
  align-items: start;
  padding: 1.4rem;
  border-radius: 28px;
  border: 1px solid rgba(215, 225, 239, 0.9);
  background:
    linear-gradient(135deg, rgba(238, 244, 255, 0.95), rgba(255, 255, 255, 0.98)),
    #fff;
  box-shadow: 0 18px 40px rgba(18, 38, 63, 0.06);
}

.home-intro-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
}

.home-intro-copy p {
  color: #2f4666;
  line-height: 1.72;
  max-width: 70ch;
}

.home-intro-copy p + p {
  margin-top: 0.65rem;
}

.home-intro-actions {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  padding: 0.9rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fbff, #eef4ff);
  border: 1px solid #d9e6fb;
}

.home-intro-actions .btn,
.home-intro-actions .btn-ghost {
  width: 100%;
}

.home-intro-actions .btn-ghost {
  background: #fff;
  color: var(--primary);
  border-color: rgba(11, 92, 255, 0.16);
  box-shadow: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 32px rgba(61, 82, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(61, 82, 255, 0.28);
  filter: saturate(1.05);
}

.btn-ghost {
  color: var(--primary);
  background: transparent;
  border-color: rgba(61, 82, 255, 0.38);
}

.btn-cta {
  background: linear-gradient(135deg, #ff8f3d, #ff6b3e);
  box-shadow: 0 14px 30px rgba(255, 126, 64, 0.3);
}

.btn-cta:hover {
  box-shadow: 0 18px 36px rgba(255, 126, 64, 0.38);
}

.btn-sm {
  padding: 0.55rem 1rem;
}

.grid {
  display: grid;
  gap: 1.1rem;
}

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

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

.grid.cards-3 .card,
.grid.cards-2 .card {
  min-height: 228px;
  display: flex;
  flex-direction: column;
}

.grid.cards-3 .card .inline-link,
.grid.cards-2 .card .inline-link {
  margin-top: auto;
}

.card-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.card-actions .btn {
  width: 100%;
  justify-content: center;
}

.page-concursos .concursos-section {
  margin-top: 1.6rem;
}

.page-concursos .concursos-section-head {
  margin-bottom: 1rem;
}

.page-concursos .concursos-section-head h2 {
  margin-bottom: 0.35rem;
}

.page-concursos .concurso-card .card-actions {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.page-concursos .concurso-link {
  align-items: center;
  display: grid;
  gap: 0.2rem;
  line-height: 1.15;
  min-height: 3.2rem;
  white-space: normal;
}

.page-concursos .concurso-link small {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  opacity: 0.82;
}

.page-concursos .concursos-empty {
  grid-column: 1 / -1;
  margin: 0;
}

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

.portal-cards {
  gap: 1.3rem;
}

.portal-card {
  --portal-accent: #0b5cff;
  --portal-soft: #eef4ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 255, 0.98)),
    #fff;
}

.portal-card::before {
  background: linear-gradient(90deg, color-mix(in srgb, var(--portal-accent) 35%, white), var(--portal-accent) 58%, color-mix(in srgb, var(--portal-accent) 70%, white));
}

.portal-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.portal-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: var(--portal-soft);
  border: 1px solid color-mix(in srgb, var(--portal-accent) 24%, white);
  color: color-mix(in srgb, var(--portal-accent) 78%, #17345f);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--portal-soft), #ffffff);
  border: 1px solid color-mix(in srgb, var(--portal-accent) 24%, white);
  color: var(--portal-accent);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: inset 0 -4px 10px rgba(255, 255, 255, 0.65);
}

.portal-card h3 {
  max-width: 14ch;
}

.portal-card p {
  max-width: 26ch;
}

.portal-card-institucional {
  --portal-accent: #356dff;
  --portal-soft: #edf3ff;
}

.portal-card-encontro {
  --portal-accent: #2d7cdd;
  --portal-soft: #edf6ff;
}

.portal-card-evento {
  --portal-accent: #1d8fb0;
  --portal-soft: #ecf9fd;
}

.portal-card-formacao {
  --portal-accent: #1c8c79;
  --portal-soft: #ecfaf6;
}

.portal-card-documento {
  --portal-accent: #4f6de6;
  --portal-soft: #f1f3ff;
}

.portal-card-material {
  --portal-accent: #26805f;
  --portal-soft: #eefaf4;
}

.portal-card-jogo {
  --portal-accent: #2564d8;
  --portal-soft: #eef4ff;
  background:
    radial-gradient(circle at top right, rgba(37, 100, 216, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 255, 0.98)),
    #fff;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(215, 225, 239, 0.9);
  border-radius: var(--radius);
  padding: 1.55rem;
  box-shadow: 0 18px 40px rgba(18, 38, 63, 0.06);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #8db8ff, #0b5cff 55%, #5ca9ff);
  opacity: 0.9;
}

.card-list {
  display: grid;
  gap: 0.8rem;
}

.card-list .card {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--muted);
  max-width: 28ch;
}

.inline-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.inline-link + .inline-link {
  margin-left: 1rem;
}

.topic-links {
  margin-top: 0.75rem;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.topic-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #d4e2ff;
  color: #13439e;
  font-size: 0.8rem;
  font-weight: 700;
}

.section-link {
  margin-top: 1rem;
}

.section-link a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.source-link {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.source-link a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.section-head {
  margin-bottom: 1.8rem;
  max-width: 720px;
}

.section-head h2,
.split h2,
.cta h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.content-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

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

.content-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem;
  box-shadow: 0 18px 40px rgba(18, 38, 63, 0.06);
}

.content-block p {
  font-size: 1rem;
  line-height: 1.75;
  color: #2a3b50;
  letter-spacing: 0.005em;
}

.content-block > p {
  max-width: 78ch;
}

.page-encontro1 .content-block p,
.page-encontro2 .content-block p {
  font-family: "Lora", "Times New Roman", serif;
  font-size: 1.03rem;
  line-height: 1.8;
}

.page-encontro1 .event-expand summary,
.page-encontro1 .guide-heading,
.page-encontro1 .guide-title,
.page-encontro1 .guide-subtitle,
.page-encontro2 .event-expand summary,
.page-encontro2 .guide-heading,
.page-encontro2 .guide-title,
.page-encontro2 .guide-subtitle {
  font-family: "Space Grotesk", sans-serif;
}

.page-encontro1 .intro-title,
.page-encontro2 .intro-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.content-block p + p {
  margin-top: 0.8rem;
}

.page-cursos .courses-highlight {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  background: linear-gradient(135deg, #eef4ff, #f8fbff);
  color: #153a6f;
  font-weight: 700;
}

.page-cursos .courses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.page-cursos .courses-card {
  border: 1px solid #dbe5f2;
  border-radius: 14px;
  padding: 0.95rem;
  background: #fff;
}

.page-cursos .courses-card-wide {
  grid-column: 1 / -1;
}

.page-cursos .courses-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.page-cursos .courses-card-head h2 {
  font-size: 1.06rem;
  color: var(--text);
}

.page-cursos .courses-card-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #cfe0ff;
  color: #17448b;
  font-weight: 800;
  font-size: 0.86rem;
}

.page-cursos .courses-list {
  margin: 0;
  padding-left: 1.15rem;
  columns: 2;
  column-gap: 1.4rem;
}

.page-cursos .courses-list li {
  break-inside: avoid;
  margin-bottom: 0.28rem;
  color: #2a3b50;
}

.page-cursos .course-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(23, 68, 139, 0.45);
  text-underline-offset: 2px;
  font-weight: 600;
}

.page-cursos .course-link:hover,
.page-cursos .course-link:focus-visible {
  color: #17448b;
  text-decoration-color: #17448b;
}

.page-mestrado .mestrado-head {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef4ff, #f8fbff);
  border: 1px solid #d7e4f8;
}

.page-mestrado .mestrado-kicker {
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.page-mestrado .mestrado-title {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: var(--text);
  margin: 0;
}

.page-mestrado .mestrado-updated {
  margin-top: 0.5rem;
  color: #3b5575;
  font-weight: 600;
}

.page-mestrado .mestrado-disclaimer {
  margin-top: 0.85rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid #d9e6fb;
  background: linear-gradient(135deg, #f7fbff, #eef4ff);
  color: #355274;
  font-size: 0.95rem;
  line-height: 1.65;
}

.page-mestrado .mestrado-sections-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.2rem;
  align-items: start;
}

.page-mestrado .mestrado-banner-left {
  position: sticky;
  top: 92px;
}

.page-mestrado .mestrado-banner-left img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.page-mestrado .mestrado-section {
  margin-top: 0.95rem;
  padding-top: 1rem;
  border-top: 1px solid #dbe5f2;
}

.page-mestrado .mestrado-sections-content .mestrado-section:first-child {
  margin-top: 0;
}

.page-mestrado .mestrado-section h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: var(--text);
}

.page-mestrado .mestrado-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.page-mestrado .mestrado-tags {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.page-mestrado .mestrado-tags li {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #d4e2ff;
  color: #13439e;
  font-size: 0.82rem;
  font-weight: 700;
}

.page-mestrado .mestrado-map-note {
  margin-top: 0.75rem;
  font-weight: 600;
  color: #2f4768;
}

.page-mestrado .mestrado-foot {
  margin-top: 1.1rem;
  font-size: 0.94rem;
  color: #4d5f76;
}

.page-sobre .about-head {
  margin-bottom: 1rem;
}

.page-sobre .about-head h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.page-sobre .about-subtitle {
  margin-top: 0.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
}

.page-sobre .about-section + .about-section {
  margin-top: 1.2rem;
  padding-top: 1.05rem;
  border-top: 1px solid #dbe5f2;
}

.page-sobre .about-section h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--text);
}

.page-sobre .about-profile {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  align-items: start;
}

.page-sobre .about-photo-slot {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid #a9c6f8;
  border-radius: 12px;
  display: block;
}

.page-sobre .about-profile-content .participant-name {
  margin-top: 0;
}

.page-sobre .about-link-row {
  margin-top: 0.5rem;
}

.page-sobre .about-link-row .inline-link {
  margin-top: 0;
}

.page-sobre .content-block p {
  text-align: justify;
}

.page-sobre .about-footer {
  margin-top: 1.35rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.page-contato .contact-head {
  margin-bottom: 1rem;
}

.page-contato .content-layout {
  grid-template-columns: 1fr;
}

.page-contato .contact-head h1 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.page-contato .contact-subtitle {
  margin-top: 0.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
}

.page-contato .contact-intro {
  margin-top: 0.55rem;
  color: #2f4666;
  line-height: 1.72;
}

.page-contato .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.page-contato .contact-card {
  border: 1px solid #dbe5f2;
  border-radius: 14px;
  background: #fff;
  padding: 0.95rem;
}

.page-contato .contact-card h2 {
  font-size: 1.05rem;
  margin: 0 0 0.55rem;
  color: var(--text);
}

.page-contato .contact-card p {
  color: #355274;
}

.page-contato .contact-card .inline-link {
  margin-top: 0.6rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  background: #f4f8ff;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  flex-wrap: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-contato .contact-social {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid #dbe5f2;
}

.page-contato .contact-social h2 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.page-contato .contact-note {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: #4d5f76;
}

.page-privacidade .privacy-head {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.page-privacidade .privacy-subtitle {
  color: var(--muted);
}

.page-privacidade .privacy-section + .privacy-section {
  margin-top: 1.5rem;
}

.page-privacidade .privacy-section h3 {
  margin-bottom: 0.65rem;
}

.page-privacidade .privacy-list {
  margin: 0.8rem 0 0;
  padding-left: 1.25rem;
  color: #2a3b50;
}

.page-privacidade .privacy-list li + li {
  margin-top: 0.45rem;
}

.page-eventos .content-block {
  background:
    radial-gradient(circle at top right, rgba(11, 92, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
}

.eventos-intro {
  margin-bottom: 1.4rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid #d9e6fb;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef4ff, #f8fbff 65%, #ffffff);
  box-shadow: 0 12px 28px rgba(18, 38, 63, 0.06);
}

.eventos-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.page-eventos .eventos-intro h1 {
  margin-top: 0.45rem;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.1;
}

.page-eventos .eventos-intro p:last-child {
  margin-top: 0.75rem;
  max-width: 70ch;
  color: #36557f;
}

.eventos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.evento-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 255, 0.98));
  box-shadow: 0 10px 24px rgba(18, 38, 63, 0.07);
}

.evento-media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d9e6fb;
  background: #f6f9ff;
  aspect-ratio: 16 / 9;
}

.evento-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.evento-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}

.evento-card h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
  color: #112a4b;
}

.evento-card p {
  margin: 0;
  color: #39567d;
  line-height: 1.7;
}

.evento-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #d4e2ff;
  background: #eef4ff;
  color: #184996;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: normal;
  max-width: 100%;
  text-align: center;
}

.evento-links {
  margin-top: auto;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.evento-links .doc-link {
  margin-top: 0;
}

@media (max-width: 900px) {
  .eventos-grid {
    grid-template-columns: 1fr;
  }

  .evento-card-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.qa-intro {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--text);
  font-size: 1.05rem;
}

.participant-name {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #dbe5f2;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  color: #13439e;
  letter-spacing: 0.01em;
}

.participant-name.participant-inline {
  margin-top: 0.75rem;
  padding-top: 0.55rem;
  border-top-style: dashed;
}

.participant-name.participant-featured {
  margin-top: 0.6rem;
  border-top: 0;
  background: linear-gradient(90deg, #eef4ff, #f6faff);
  border-left: 4px solid #0b5cff;
  border-radius: 10px;
}

/* Currículos page document cards */
.doc-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1rem;
}

.doc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 12px 26px rgba(18, 38, 63, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flag {
  align-self: flex-start;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 50px;
  height: 30px;
  object-fit: cover;
}

.doc-preview {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #d7e3f8;
  background:
    linear-gradient(180deg, rgba(11, 92, 255, 0.08), rgba(11, 92, 255, 0.02)),
    #f8fbff;
  aspect-ratio: 3 / 4;
  text-decoration: none;
}

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

.doc-preview-frame {
  background: #eef4ff;
}

.doc-preview-embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  pointer-events: none;
}

.doc-preview-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.doc-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.3;
  min-height: calc(1.3em * 3);
  color: var(--text);
}

.doc-intro {
  margin-bottom: 1.4rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid #d9e6fb;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef4ff, #f8fbff 60%, #ffffff);
  box-shadow: 0 12px 28px rgba(18, 38, 63, 0.06);
}

.doc-intro-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.doc-intro-title {
  margin: 0.4rem 0 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.15;
  color: var(--text);
}

.content-block .doc-intro-text {
  margin-top: 0.75rem;
  max-width: 68ch;
  color: #36557f;
  font-size: 1rem;
  line-height: 1.7;
}

.page-curriculos .content-layout-single {
  max-width: 1180px;
  margin-inline: auto;
}

.page-curriculos .content-block {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.98));
  border: 1px solid #d9e6fb;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(18, 38, 63, 0.08);
  padding: clamp(1rem, 2vw, 1.4rem);
}

.curriculos-quick-nav {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.curriculos-quick-nav .btn.btn-sm {
  border-radius: 999px;
  font-weight: 700;
}

.page-curriculos .doc-section {
  margin-top: 1.4rem;
}

.page-curriculos .doc-grid {
  margin-top: 0;
  padding: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 0.9rem;
}

.page-curriculos .doc-card {
  height: 100%;
  padding: 0.95rem;
}

.page-curriculos .doc-card strong {
  min-height: 0;
}

.doc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.2rem;
  border-radius: 14px;
  border: 2px solid #e1e8f0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #0b5cff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(11, 31, 59, 0.08), 0 1px 3px rgba(11, 31, 59, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.doc-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(11, 92, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.doc-link:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 92, 255, 0.3);
  box-shadow: 0 8px 25px rgba(11, 31, 59, 0.15), 0 4px 12px rgba(11, 31, 59, 0.08);
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
}

.doc-link:hover::before {
  left: 100%;
}

.doc-link:focus-visible {
  outline: 2px solid #0b5cff;
  outline-offset: 2px;
}

.doc-link:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(11, 31, 59, 0.12);
}

.doc-link > svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.doc-section {
  margin-top: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.doc-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  background: linear-gradient(90deg, rgba(235, 245, 255, 0.8), rgba(245, 250, 255, 0.8));
  border-bottom: 1px solid var(--line);
}

.doc-section-header h2 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text);
}

.answer-text.participant-featured-bio {
  margin-top: 0.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  border: 1px solid #dce8ff;
  background: #f9fcff;
}

.question-text {
  font-weight: 700;
  color: #172c49;
  background: #f5f9ff;
  border-left: 3px solid #8cb5ff;
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  margin-top: 0.45rem;
}

.answer-text {
  margin-top: 0.55rem;
}

.event-cover {
  margin: 0 0 1.1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(18, 38, 63, 0.09);
  background: #fff;
}

.event-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.drive-library {
  margin-bottom: 1.2rem;
}

.drive-library .intro-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.drive-filter-groups {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.drive-filter-group {
  border: 1px solid #d7e3f8;
  border-radius: 12px;
  background: #f8fbff;
  padding: 0.75rem;
}

.drive-filter-label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #36557f;
}

.drive-filter-divider {
  height: 1px;
  background: #d7e3f8;
}

.drive-filters,
.drive-year-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0;
}

.drive-filters .btn.btn-sm,
.drive-year-filters .btn.btn-sm {
  padding: 0.5rem 0.9rem;
  border: 1px solid #c8d8f6;
  background: #eef4ff;
  color: #1a3d7f;
  cursor: pointer;
}

.drive-filters .btn.btn-sm.is-active,
.drive-year-filters .btn.btn-sm.is-active {
  border-color: transparent;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  color: #fff;
}

.drive-collection {
  margin-top: 0.95rem;
}

.drive-featured {
  padding: 1rem;
  border: 1px solid #cfe6dc;
  border-radius: 14px;
  background: linear-gradient(145deg, #f3fcf8, #ffffff);
}

.drive-featured-text {
  margin-top: 0.4rem;
  color: #355b4a;
}

.drive-collection-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--text);
  font-size: 1.05rem;
}

.drive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.7rem;
}

.drive-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 38, 63, 0.06);
  padding: 0.9rem;
}

.drive-card-head {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

.drive-card-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--text);
}

.drive-card .btn.btn-sm {
  padding: 0.42rem 0.78rem;
  font-size: 0.78rem;
  line-height: 1.1;
  border-radius: 999px;
  font-weight: 700;
}

.drive-book-cover {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid #d7e3f8;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  background: #f9fbff;
}

.drive-embed {
  width: 100%;
  height: 210px;
  border: 1px solid #d7e3f8;
  border-radius: 10px;
  background: #f9fbff;
}

img[src*="livro_OResgateDosMascotesRoboticos"] {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(18, 38, 63, 0.08);
}

@media (min-width: 901px) {
  img[src*="livro_OResgateDosMascotesRoboticos"] {
    width: 100%;
  }
}

.event-expand {
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9fbff;
  overflow: hidden;
}

.content-block .event-expand + p {
  margin-top: 0.8rem;
}

.content-block .event-expand + .event-expand {
  margin-top: 0.8rem;
}

.event-expand summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}

.event-expand summary::-webkit-details-marker {
  display: none;
}

.event-expand summary::after {
  content: "+";
  margin-left: auto;
  color: var(--primary);
  font-size: 1.2rem;
  line-height: 1;
}

.event-expand[open] summary::after {
  content: "-";
}

.event-expand p {
  padding: 0 1rem 0.95rem;
  margin: 0;
  color: var(--muted);
}

.event-program-list {
  padding: 0 1rem 1rem;
  display: grid;
  gap: 0.7rem;
}

.program-item {
  border: 1px solid #d7e3f8;
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  background: #fff;
  padding: 0.8rem 0.9rem;
}

.program-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--text);
}

.program-item h3 span {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.program-item p {
  padding: 0;
  margin: 0.45rem 0 0;
}

.guide-content {
  padding: 0 1rem 1rem;
}

.guide-title {
  padding: 0;
  margin: 0.2rem 0 0;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text);
}

.guide-subtitle {
  padding: 0;
  margin: 0.35rem 0 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.guide-heading {
  padding: 0;
  margin: 1rem 0 0.45rem;
  font-weight: 800;
  color: var(--text);
  border-left: 4px solid var(--primary);
  padding-left: 0.55rem;
}

.guide-item {
  padding: 0;
  margin: 0.45rem 0 0;
}

.guide-item strong {
  color: var(--primary);
  font-weight: 800;
}

.guide-list {
  margin: 0.45rem 0 0.2rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.guide-list li + li {
  margin-top: 0.28rem;
}

.committee-content .guide-heading {
  margin: 0 0 0.75rem;
  font-size: 0.96rem;
}

.committee-content .guide-heading:first-child {
  margin-top: 0;
}

.committee-content {
  display: grid;
  gap: 1rem;
}

.committee-group {
  background: #ffffff;
  border: 1px solid rgba(31, 65, 114, 0.12);
  border-radius: 14px;
  padding: 1rem 1rem 0.9rem;
  box-shadow: 0 8px 24px rgba(18, 38, 63, 0.05);
}

.committee-content .guide-list {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.committee-content .guide-list li {
  line-height: 1.6;
  padding: 0.42rem 0;
  border-top: 1px solid rgba(31, 65, 114, 0.08);
}

.committee-content .guide-list li + li {
  margin-top: 0;
}

.committee-content .guide-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.event-expand a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.event-expand a:hover {
  text-decoration: underline;
}

.content-links {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 10px 30px rgba(18, 38, 63, 0.05);
  position: sticky;
  top: 90px;
}

.content-links h3 {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}

.content-links ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.55rem;
}

.content-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font-weight: 600;
}

.cta {
  background: linear-gradient(110deg, #0f172a, #143b72);
  color: #eef5ff;
}

.cta-wrap {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}

.cta p {
  color: #c8d6ea;
}

.btn-light {
  background: #fff;
  color: #0f172a;
}

.social-hub {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid #d7e3f8;
  background: #f8fbff;
  color: #143b72;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: #a9c6f8;
  box-shadow: 0 10px 24px rgba(20, 59, 114, 0.12);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 20px;
}

.site-footer {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-wrap {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  align-items: center;
}

.footer-meta {
  display: grid;
  gap: 0.3rem;
}

.footer-version {
  font-size: 0.88rem;
}

.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.35rem;
  min-width: auto;
  margin-left: 0;
  align-items: center;
  text-align: left;
}

.footer-contact-title {
  color: var(--text);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}

.footer-contact-separator {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, rgba(196, 212, 238, 0.35), rgba(169, 198, 248, 0.95), rgba(196, 212, 238, 0.35));
}

.footer-wrap p,
.footer-wrap a {
  color: var(--muted);
  text-decoration: none;
}

.footer-contact-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  padding: 0.18rem 0.22rem;
  border-radius: 999px;
  border: 1px solid #dbe7fa;
  background: linear-gradient(180deg, #f7fbff, #eef5ff);
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #bdd3f5;
  background: #ffffff;
  color: #1f4d8a;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.footer-contact-icon:hover,
.footer-contact-icon:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: #a9c6f8;
  box-shadow: 0 8px 18px rgba(20, 59, 114, 0.12);
}

.footer-contact-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.footer-social {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  margin-left: auto;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #d7e3f8;
  background: #f8fbff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.footer-social a:hover {
  transform: translateY(-1px);
  border-color: #a9c6f8;
  box-shadow: 0 8px 18px rgba(20, 59, 114, 0.12);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mt {
  margin-top: 0.9rem;
}

.mt-lg {
  margin-top: 1.1rem;
}

@media (max-width: 1000px) {
  .menu a {
    font-size: 0.9rem;
  }

  .menu-dropdown-toggle {
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .logo-text {
    font-size: 0.9rem;
  }

  .cards-3,
  .cards-2,
  .split,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .home-intro {
    grid-template-columns: 1fr;
  }

  .home-intro-actions {
    padding: 0;
    background: transparent;
    border: 0;
  }

  .menu-toggle {
    display: inline-block;
  }

  .menu {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0;
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .menu a {
    padding: 0.95rem 4vw;
    border-top: 1px solid #f0f5fb;
  }

  .menu-dropdown {
    display: grid;
  }

  .menu-dropdown-toggle {
    width: 100%;
    text-align: left;
    padding: 0.95rem 4vw;
    border-top: 1px solid #f0f5fb;
  }

  .menu-dropdown-list {
    position: static;
    border: 0;
    border-top: 1px solid #f0f5fb;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    transform: none;
    pointer-events: none;
    transition: max-height 0.22s ease;
  }

  .menu-dropdown-list a {
    padding: 0.85rem 8vw;
    border-top: 1px solid #f4f7fc;
  }

  .menu-dropdown.is-open .menu-dropdown-list {
    max-height: 220px;
    pointer-events: auto;
  }

  .menu.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .inline-link {
    display: block;
  }

  .inline-link + .inline-link {
    margin-left: 0;
    margin-top: 0.4rem;
  }

  .cta-wrap,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact {
    margin-left: 0;
    align-items: start;
    text-align: left;
    min-width: min(100%, 180px);
  }

  .footer-social {
    margin-left: 0;
    justify-content: flex-start;
    gap: 0.6rem;
  }

  .footer-social a,
  .footer-contact-icon {
    width: 44px;
    height: 44px;
  }

  .footer-contact-actions {
    gap: 0.6rem;
    padding: 0.24rem 0.3rem;
  }

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

  .content-links {
    position: static;
  }

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

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

  .drive-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .drive-embed {
    height: 260px;
  }

  .carousel {
    padding: 0.8rem;
  }

  .carousel-container,
  .carousel-card {
    min-height: 300px;
  }

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

  .carousel-image {
    height: 210px;
    min-height: 210px;
  }

  .page-sobre .about-profile {
    grid-template-columns: 1fr;
  }

  .page-sobre .about-photo-slot {
    max-width: 220px;
    width: 100%;
  }

  .page-cursos .courses-grid {
    grid-template-columns: 1fr;
  }

  .page-cursos .courses-list {
    columns: 1;
  }

  .page-mestrado .mestrado-sections-layout {
    grid-template-columns: 1fr;
  }

  .page-mestrado .mestrado-banner-left {
    position: static;
    max-width: 280px;
  }

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

}

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

  .social-link {
    min-height: 50px;
    padding: 0.85rem 0.95rem;
    font-size: 0.92rem;
  }

  .page-contato .contact-card .inline-link {
    width: 100%;
    font-size: 0.9rem;
  }

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

  .carousel {
    padding: 0.7rem;
  }

  .carousel-item {
    padding: 0.25rem;
  }

  .carousel-card {
    padding: 0.8rem;
    gap: 0.9rem;
  }

  .carousel-title {
    font-size: 1.15rem;
  }

  .carousel-caption {
    max-width: none;
  }

  .page-curriculos .content-block {
    border-radius: 18px;
    padding: 0.8rem;
  }

  .page-curriculos .doc-grid {
    padding: 0.7rem;
    grid-template-columns: 1fr;
  }

  .curriculos-quick-nav {
    gap: 0.45rem;
  }

  .curriculos-quick-nav .btn.btn-sm {
    width: 100%;
    text-align: center;
  }

}

@media (max-width: 540px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding: 5rem 0 4rem;
  }
}

/* Carousel Styles */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(215, 225, 239, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98)),
    #fff;
  box-shadow: 0 18px 40px rgba(18, 38, 63, 0.06);
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
  min-height: 340px;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0.5rem;
}

.carousel-card {
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(0, 0.95fr);
  gap: 1.15rem;
  align-items: stretch;
  padding: 1.1rem;
  border-radius: 22px;
  border: 1px solid #e3ebf6;
  box-shadow: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98)),
    #fff;
}

.carousel-media-wrap {
  position: relative;
  min-height: 100%;
}

.carousel-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  border-radius: 20px;
  background: #eef4ff;
}

.carousel-chip {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(8, 26, 51, 0.8);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.carousel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.carousel-title {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #0f2747;
}

.carousel-caption {
  margin-top: 0.8rem;
  flex-grow: 1;
  color: #355274;
  line-height: 1.72;
  max-width: 34ch;
}

.carousel-link {
  margin-top: 1rem;
  align-self: flex-start;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border: 1px solid rgba(11, 92, 255, 0.14);
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 12px 26px rgba(18, 38, 63, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.carousel-btn.prev {
  left: 18px;
}

.carousel-btn.next {
  right: 18px;
}

.carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 16px 30px rgba(18, 38, 63, 0.16);
}

@media (max-width: 900px) {
  .carousel {
    padding: 0.8rem 0.8rem 4.4rem;
  }

  .carousel-container {
    min-height: 100%;
  }

  .carousel-card {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0.95rem;
    padding: 0.9rem;
  }

  .carousel-media-wrap {
    min-height: 0;
  }

  .carousel-image {
    height: 230px;
    min-height: 230px;
  }

  .carousel-copy {
    justify-content: flex-start;
  }

  .carousel-caption {
    max-width: none;
  }

  .carousel-btn {
    top: auto;
    bottom: 0.8rem;
    transform: none;
    width: 44px;
    height: 44px;
  }

  .carousel-btn.prev {
    left: calc(50% - 52px);
  }

  .carousel-btn.next {
    right: calc(50% - 52px);
  }

  .carousel-btn:hover {
    transform: scale(1.04);
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .carousel {
    padding: 0.7rem 0.7rem 1rem;
  }

  .carousel-card {
    grid-template-columns: minmax(220px, 1fr) minmax(0, 1fr);
    align-items: start;
    min-height: 0;
  }

  .carousel-image {
    height: 180px;
    min-height: 180px;
  }

  .carousel-title {
    font-size: 1.05rem;
    line-height: 1.12;
  }

  .carousel-caption {
    margin-top: 0.55rem;
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .carousel-link {
    margin-top: 0.7rem;
    width: auto;
  }

  .carousel-btn {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
  }

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 10px;
  }

  .carousel-btn:hover {
    transform: translateY(-50%) scale(1.04);
  }
}

@media (max-width: 560px) {
  .carousel {
    padding: 0.65rem 0.65rem 4.2rem;
    border-radius: 22px;
  }

  .carousel-item {
    padding: 0.2rem;
  }

  .carousel-card {
    padding: 0.75rem;
    gap: 0.8rem;
    border-radius: 18px;
  }

  .carousel-image {
    height: 200px;
    min-height: 200px;
    border-radius: 16px;
  }

  .carousel-chip {
    left: 0.7rem;
    top: 0.7rem;
    font-size: 0.68rem;
    padding: 0.32rem 0.58rem;
  }

  .carousel-title {
    font-size: 1.08rem;
    line-height: 1.12;
  }

  .carousel-caption {
    margin-top: 0.65rem;
    font-size: 0.94rem;
    line-height: 1.6;
    max-width: none;
  }

  .carousel-link {
    width: 100%;
    justify-content: center;
  }

  .carousel-btn {
    bottom: 0.65rem;
    width: 42px;
    height: 42px;
  }

  .carousel-btn.prev {
    left: calc(50% - 50px);
  }

  .carousel-btn.next {
    right: calc(50% - 50px);
  }
}

/* Home Landing */
.page-home .site-header {
  background: rgba(245, 248, 253, 0.78);
}

.page-home .btn.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.page-home .btn.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.home-hero {
  position: relative;
  padding: 7.5rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(47, 127, 232, 0.18), transparent 26%),
    radial-gradient(circle at bottom left, rgba(88, 99, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #eef4ff 0%, #edf2ff 45%, #f6f2ff 100%);
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.home-hero::before {
  width: 340px;
  height: 340px;
  right: -80px;
  top: 40px;
  background: radial-gradient(circle, rgba(11, 92, 255, 0.24), transparent 70%);
}

.home-hero::after {
  width: 260px;
  height: 260px;
  left: -60px;
  bottom: 20px;
  background: radial-gradient(circle, rgba(47, 127, 232, 0.18), transparent 72%);
}

.home-hero-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.8rem;
  align-items: center;
}

.home-hero-copy {
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.home-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #356dff;
}

.home-hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: #0f2747;
  max-width: 11ch;
}

.home-hero-text {
  margin-top: 1.1rem;
  max-width: 56ch;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  line-height: 1.78;
  color: #48627f;
  margin-left: 0;
  margin-right: 0;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
  justify-content: flex-start;
}

.home-hero-actions .btn.btn-ghost {
  background: rgba(255, 255, 255, 0.78);
  color: #2455b8;
  border-color: rgba(47, 127, 232, 0.18);
  box-shadow: 0 12px 26px rgba(18, 38, 63, 0.06);
}

.home-hero-visual {
  display: flex;
  justify-content: center;
}

.home-hero-visual-card {
  position: relative;
  width: min(100%, 520px);
  padding: 1rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(215, 225, 239, 0.88);
  box-shadow: 0 28px 56px rgba(18, 38, 63, 0.1);
  backdrop-filter: blur(10px);
  animation: heroFloat 5s ease-in-out infinite;
}

.home-hero-visual-badge {
  position: absolute;
  left: 1.15rem;
  top: 1.15rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: rgba(15, 39, 71, 0.82);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-hero-illustration {
  display: block;
  width: 100%;
  height: auto;
  min-height: 360px;
  object-fit: cover;
  border-radius: 22px;
  background: linear-gradient(135deg, #e9f1ff, #f4f6ff);
  box-shadow: 0 14px 28px rgba(18, 38, 63, 0.08);
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.home-section-head {
  max-width: 720px;
  margin-bottom: 1.6rem;
}

.home-section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: #0f2747;
}

.home-section-head p:last-child {
  margin-top: 0.9rem;
  color: #49627f;
  line-height: 1.75;
}

.home-benefit-grid,
.home-content-grid {
  display: grid;
  gap: 1.2rem;
}

.home-benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-news {
  padding-top: 0;
}

.home-benefit-card,
.home-content-card,
.home-stat-card,
.home-cta-card {
  border-radius: 20px;
  border: 1px solid rgba(215, 225, 239, 0.92);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 38px rgba(18, 38, 63, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-benefit-card:hover,
.home-content-card:hover,
.home-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(18, 38, 63, 0.1);
  border-color: rgba(11, 92, 255, 0.18);
}

.home-benefit-card {
  padding: 1.25rem;
}

.home-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b5cff, #2f7fe8);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(11, 92, 255, 0.18);
}

.home-benefit-card h3,
.home-content-card h3 {
  font-size: 1.15rem;
  color: #102949;
}

.home-benefit-card p,
.home-content-card p,
.home-about-copy p,
.home-stat-card span,
.home-cta-card p {
  color: #48627f;
  line-height: 1.72;
}

.home-benefit-card p,
.home-content-card p {
  margin-top: 0.65rem;
}

.home-content-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 1.35rem;
}

.home-content-card .inline-link {
  margin-top: auto;
}

.home-about-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.home-about-copy h2,
.home-cta-card h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #0f2747;
}

.home-about-copy p {
  max-width: 64ch;
}

.home-about-copy p + p {
  margin-top: 0.8rem;
}

.home-about-stats {
  display: grid;
  gap: 1rem;
}

.home-stat-card {
  padding: 1.15rem;
}

.home-stat-card strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #12315b;
  font-size: 1rem;
}

.home-final-cta {
  padding-top: 0;
}

.home-cta-card {
  padding: 2rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(11, 92, 255, 0.08), rgba(47, 127, 232, 0.04)),
    #fff;
}

.home-cta-card p {
  max-width: 60ch;
  margin: 0.9rem auto 0;
}

.home-cta-card .btn {
  margin-top: 1.35rem;
}

.reveal-fade {
  animation: homeFadeUp 0.7s ease both;
}

@keyframes homeFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-benefit-grid .reveal-fade:nth-child(2),
.home-content-grid .reveal-fade:nth-child(2) {
  animation-delay: 0.08s;
}

.home-benefit-grid .reveal-fade:nth-child(3),
.home-content-grid .reveal-fade:nth-child(3) {
  animation-delay: 0.16s;
}

.home-benefit-grid .reveal-fade:nth-child(4),
.home-content-grid .reveal-fade:nth-child(4) {
  animation-delay: 0.24s;
}

.home-content-grid .reveal-fade:nth-child(5) {
  animation-delay: 0.32s;
}

.home-content-grid .reveal-fade:nth-child(6) {
  animation-delay: 0.4s;
}

@media (max-width: 1000px) {
  .home-hero-wrap,
  .home-about-wrap {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    max-width: 760px;
    margin: 0 auto;
  }

  .home-hero-visual {
    order: 2;
  }

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

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

@media (max-width: 700px) {
  .home-hero {
    padding: 7rem 0 4rem;
  }

  .home-hero-copy {
    padding: 1.35rem;
    border-radius: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(215, 225, 239, 0.82);
    box-shadow: 0 18px 38px rgba(18, 38, 63, 0.08);
  }

  .home-hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero-actions {
    justify-content: center;
  }

  .home-hero-actions {
    flex-direction: column;
  }

  .home-hero-actions .btn {
    width: 100%;
  }

  .home-hero h1 {
    max-width: none;
  }

  .home-hero-visual-card {
    width: min(100%, 420px);
    padding: 0.8rem;
    border-radius: 24px;
  }

  .home-hero-illustration {
    min-height: 260px;
    border-radius: 18px;
  }

  .home-benefit-grid,
  .home-content-grid {
    grid-template-columns: 1fr;
  }

  .home-cta-card {
    padding: 1.4rem;
  }
}

/* Jogos Educativos Styles */
.jogos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.7rem;
}

.jogo-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 38, 63, 0.06);
  padding: 0.9rem;
  text-align: center;
}

.jogo-cover {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid #d7e3f8;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  background: #f9fbff;
}

.jogo-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.jogo-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

@media (max-width: 1000px) {
  .jogos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* IA Landing (site-wide conversion layer on home) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ia-hero {
  padding: 7.2rem 0 4.8rem;
}

.ia-hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.4rem;
  align-items: start;
}

.ia-card {
  border-radius: 24px;
  border: 1px solid rgba(216, 226, 243, 0.95);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.96));
  box-shadow: 0 24px 52px rgba(18, 38, 63, 0.1);
}

.ia-hero-copy {
  padding: clamp(1.3rem, 2.2vw, 2rem);
}

.ia-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3856ff;
  font-weight: 800;
}

.ia-hero h1 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.ia-hero-text {
  margin-top: 1rem;
  max-width: 48ch;
  color: #415f86;
  line-height: 1.76;
}

.ia-hero-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.ia-microcopy {
  margin-top: 0.6rem;
  color: #4d688f;
  font-size: 0.9rem;
  font-weight: 600;
}

.ia-proof-inline {
  margin-top: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid #dbe6fb;
  background: #f4f8ff;
  color: #204173;
  font-weight: 700;
}

.ia-demo {
  padding: 1rem;
}

.ia-demo-head {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.7rem;
}

.ia-demo-head strong {
  font-size: 1rem;
  color: #14325c;
}

.ia-demo-status {
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  background: #ecf6ee;
  color: #1c8a53;
}

.ia-chat-box {
  height: 330px;
  overflow-y: auto;
  border: 1px solid #dbe5f8;
  border-radius: 16px;
  padding: 0.75rem;
  display: grid;
  align-content: start;
  gap: 0.65rem;
  background: #fff;
}

.ia-msg {
  max-width: 85%;
  padding: 0.62rem 0.75rem;
  border-radius: 14px;
  line-height: 1.5;
  font-size: 0.94rem;
}

.ia-msg-user {
  justify-self: end;
  background: linear-gradient(135deg, #4c69ff, #6a46ff);
  color: #fff;
}

.ia-msg-bot {
  justify-self: start;
  border: 1px solid #d8e2f3;
  background: #f8fbff;
  color: #1d365a;
}

.ia-form {
  margin-top: 0.72rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.ia-input {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid #d4dff2;
  padding: 0.7rem 0.82rem;
  font: inherit;
}

.ia-input:focus-visible {
  outline: 2px solid rgba(61, 82, 255, 0.25);
  border-color: #6a46ff;
}

.ia-section {
  padding: 4.8rem 0;
}

.ia-section-head {
  max-width: 760px;
  margin-bottom: 1.2rem;
}

.ia-section-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.ia-section-head p {
  margin-top: 0.8rem;
  color: #496585;
}

.ia-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ia-benefit-card,
.ia-testimonial {
  border-radius: 18px;
  border: 1px solid #dae4f6;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 38, 63, 0.07);
}

.ia-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #4c69ff, #6a46ff);
  margin-bottom: 0.75rem;
}

.ia-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: currentColor;
}

.ia-benefit-card h3,
.ia-testimonial h3 {
  font-size: 1.1rem;
}

.ia-benefit-card p,
.ia-testimonial p {
  margin-top: 0.52rem;
  color: #4c6686;
}

.ia-social-proof {
  margin-top: 0.8rem;
  border: 1px solid #dce7fb;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #f2f6ff, #ffffff);
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.ia-social-proof strong {
  color: #173867;
}

.ia-final-cta {
  text-align: center;
  border: 1px solid #dce6fb;
  border-radius: 22px;
  padding: 1.6rem;
  background: linear-gradient(135deg, rgba(61, 82, 255, 0.1), rgba(255, 143, 61, 0.12));
}

.ia-final-cta p {
  color: #3f5f86;
  max-width: 58ch;
  margin: 0.8rem auto 0;
}

@media (max-width: 980px) {
  .ia-hero-wrap,
  .ia-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ia-hero {
    padding: 6.6rem 0 4.2rem;
  }

  .ia-hero-actions {
    flex-direction: column;
  }

  .ia-hero-actions .btn,
  .ia-form .btn {
    width: 100%;
  }

  .ia-form {
    grid-template-columns: 1fr;
  }

  .ia-chat-box {
    height: 280px;
  }
}

.highlight {
  background: linear-gradient(135deg, rgba(61, 82, 255, 0.1), rgba(106, 70, 255, 0.1));
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.adsense-section {
  padding-top: 0;
}

.adsense-block {
  margin: 0 auto;
  max-width: 980px;
  min-height: 90px;
}


