/* ============================================================
   Guia de Erasmus (/guia-erasmus/)
   Todas as regras estão dentro de .ge-page: não mexem na navbar, no footer nem no resto do site.
   ============================================================ */

.ge-page {
  --ge-net: #0b3367;
  --ge-net-dark: #072549;
  --ge-net-light: #1976d2;
  --ge-net-soft: #e1ebf7;
  --ge-net-sand: #f3f6fa;
  --ge-fg: #19222e;
  --ge-muted: #5a687c;
  --ge-border: #dfe5ec;
  --ge-white: #ffffff;
  --ge-green-50: #ecfdf5;
  --ge-green-200: #a7f3d0;
  --ge-green-700: #047857;
  --ge-amber-50: #fffbeb;
  --ge-amber-200: #fde68a;
  --ge-amber-300: #fcd34d;
  --ge-amber-700: #b45309;
  --ge-amber-800: #92400e;
  --ge-amber-900: #78350f;
  --ge-font-heading: 'Oswald', 'Arial Narrow', system-ui, sans-serif;
  --ge-font-body: 'Garet', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ge-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ge-fs: 1.5rem;
  /* Escala de texto do guia: corpo e secundário */
  --ge-text-size: 15px;
  --ge-text-lh: 1.65;
  --ge-small-size: 13px;
  --ge-small-lh: 1.55;

  display: block;
  background: var(--ge-white);
  color: var(--ge-fg);
  font-family: var(--ge-font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Reset local (o Bootstrap dá margens, sublinhados e cores que o guia não usa) ---------- */
.ge-page :where(*, *::before, *::after) {
  box-sizing: border-box;
}

.ge-page :where(h1, h2, h3, h4, p, ul, ol, figure) {
  margin: 0;
}

.ge-page :where(ul, ol) {
  padding: 0;
  list-style: none;
}

.ge-page :where(a) {
  color: inherit;
  text-decoration: none;
}

.ge-page :where(button) {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

.ge-page :where(strong) {
  font-weight: 600;
}

/* O style.css do site força tamanhos de h1-h3 com !important em ecrãs pequenos; aqui cada título define o seu */
.ge-page :is(h1, h2, h3) {
  font-family: var(--ge-font-heading);
  font-size: var(--ge-fs) !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ge-net);
  line-height: 1.25;
}

.ge-page ::selection {
  background: var(--ge-net-light);
  color: #fff;
}

.ge-page .bi {
  line-height: 1;
}

/* ---------- Estrutura ---------- */
.ge-container {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.ge-eyebrow {
  font-family: var(--ge-font-heading);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--ge-net-light);
}

.ge-eyebrow--icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ge-eyebrow--icon .bi {
  font-size: 14px;
}

.ge-page .ge-h2 {
  --ge-fs: 1.5rem;
  margin-top: 0.5rem;
}

.ge-page .ge-h3 {
  --ge-fs: 14px;
  letter-spacing: 0.1em;
}

.ge-h3--spaced {
  margin-bottom: 0;
}

/* Espaço igual por baixo de todos os subtítulos (h3) do guia */
.ge-page .ge-section__body .ge-h3 + * {
  margin-top: 0.875rem;
}

.ge-page .ge-section__body .ge-h3 + .ge-uni-sub {
  margin-top: 0.25rem;
}

.ge-rule {
  display: block;
  width: 3.5rem;
  height: 3px;
  margin-top: 1rem;
  border-radius: 999px;
  background: var(--ge-net);
}

.ge-text {
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.8);
}

.ge-text-net {
  color: var(--ge-net);
}

.ge-muted {
  font-size: var(--ge-small-size);
  color: var(--ge-muted);
  line-height: var(--ge-small-lh);
}

.ge-small-note {
  margin-top: 0.5rem;
  font-size: var(--ge-small-size);
  color: var(--ge-muted);
  line-height: var(--ge-small-lh);
}

.ge-source {
  font-family: var(--ge-font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ge-muted);
}

/* Pontos com título (ex.: notas do calendário) */
.ge-tip-list {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.ge-tip-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.ge-tip-list__dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 0.6em;
  border-radius: 999px;
  background: var(--ge-net-light);
}

.ge-tip-list__body {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.ge-tip-list__title {
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: var(--ge-net);
}

.ge-tip-list__text {
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.75);
}

.ge-link {
  font-weight: 500;
  color: var(--ge-net);
  text-decoration: underline;
  text-decoration-color: rgba(11, 51, 103, 0.25);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.15s ease;
}

.ge-link:hover {
  color: var(--ge-net);
  text-decoration-color: var(--ge-net-light);
}

.ge-link--small {
  font-size: var(--ge-small-size);
  word-break: break-word;
  line-height: var(--ge-small-lh);
}

.ge-grid {
  display: grid;
  gap: 1rem;
}

.ge-gap-sm {
  margin-top: 1rem;
}

.ge-gap-md {
  margin-top: 2rem;
}

/* ---------- Secções ---------- */
.ge-page .ge-section {
  padding: 3rem 0;
  border-top: 1px solid var(--ge-border);
  scroll-margin-top: calc(var(--site-header-height, 80px) + 24px);
}

.ge-page .ge-section:first-child {
  border-top: 0;
}

.ge-section__head {
  margin-bottom: 1.75rem;
}

.ge-section__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ge-subhead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ge-pending {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.ge-pending p {
  font-size: var(--ge-small-size);
  color: var(--ge-muted);
  line-height: var(--ge-small-lh);
}

/* ---------- Etiquetas ---------- */
.ge-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-family: var(--ge-font-heading);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.4;
  white-space: nowrap;
}

.ge-badge .bi {
  font-size: 12px;
}

.ge-badge--chip {
  gap: 0.375rem;
  font-size: 9px;
}

.ge-badge--soft {
  background: var(--ge-net-soft);
  color: var(--ge-net);
}

.ge-badge--green {
  background: var(--ge-green-50);
  color: var(--ge-green-700);
  box-shadow: inset 0 0 0 1px var(--ge-green-200);
}

.ge-badge--amber {
  background: var(--ge-amber-50);
  color: var(--ge-amber-800);
  box-shadow: inset 0 0 0 1px var(--ge-amber-200);
}

/* ---------- Botões ---------- */
.ge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 999px;
  font-family: var(--ge-font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.4;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ge-btn .bi {
  font-size: 14px;
}

.ge-btn--solid {
  background: var(--ge-net);
  color: #fff;
}

.ge-btn--solid:hover {
  background: var(--ge-net-dark);
  color: #fff;
}

.ge-btn--solid:disabled {
  background: rgba(11, 51, 103, 0.2);
  color: #fff;
  cursor: not-allowed;
}

.ge-btn--ghost {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
}

.ge-btn--ghost:hover {
  border-color: #fff;
  background: #fff;
  color: var(--ge-net);
}

.ge-btn--small {
  padding: 0.5rem 1rem;
}

/* ---------- Avisos ---------- */
.ge-callout {
  padding: 1rem 1.25rem;
  border: 1px solid;
  border-radius: 0.75rem;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
}

.ge-callout__title {
  margin-bottom: 0.25rem;
  font-family: var(--ge-font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.ge-callout__body {
  opacity: 0.9;
}

.ge-callout__body strong {
  color: var(--ge-net);
}

.ge-callout--info {
  border-color: rgba(11, 51, 103, 0.15);
  background: rgba(225, 235, 247, 0.6);
  color: var(--ge-net);
}

.ge-callout--warn {
  border-color: rgba(252, 211, 77, 0.7);
  background: var(--ge-amber-50);
  color: var(--ge-amber-900);
}

.ge-callout__list {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ge-callout__list--tight {
  gap: 0.375rem;
}

.ge-hint {
  display: block;
  padding: 1rem 1.25rem;
  border: 1px dashed rgba(11, 51, 103, 0.25);
  border-radius: 0.75rem;
  background: rgba(243, 246, 250, 0.7);
  font-size: var(--ge-text-size);
  color: rgba(11, 51, 103, 0.8);
  line-height: var(--ge-text-lh);
}

.ge-hint--link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.ge-hint--link .bi {
  flex-shrink: 0;
  font-size: 1rem;
}

.ge-hint--link:hover {
  border-color: rgba(11, 51, 103, 0.5);
  color: var(--ge-net);
}

/* ---------- Caixas ---------- */
.ge-box {
  padding: 1.25rem;
  border: 1px solid var(--ge-border);
  border-radius: 0.75rem;
  background: #fff;
}

.ge-page .ge-box__title {
  --ge-fs: 13px;
  letter-spacing: 0.1em;
}

.ge-page .ge-box__title--icon {
  margin-top: 0.75rem;
  letter-spacing: 0.08em;
}

.ge-box__icon {
  display: block;
  font-size: 1.25rem;
  color: var(--ge-net-light);
}

.ge-box__text {
  margin-top: 0.5rem;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.75);
}

/* ---------- Listas ---------- */
.ge-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ge-bullets li {
  display: flex;
  gap: 0.75rem;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.8);
}

.ge-bullets__dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: calc(var(--ge-text-size) * var(--ge-text-lh) / 2 - 3px);
  border-radius: 999px;
  background: var(--ge-net-light);
}

.ge-bullets--compact li {
  gap: 0.625rem;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
}

.ge-bullets--in-box {
  margin-top: 0.75rem;
}

/* ---------- Tabelas ---------- */
.ge-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ge-border);
  border-radius: 0.75rem;
}

.ge-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.ge-table thead {
  background: var(--ge-net);
  color: #fff;
}

.ge-table th {
  padding: 0.75rem 1rem;
  font-family: var(--ge-font-heading);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  vertical-align: middle;
}

.ge-table tbody tr {
  border-top: 1px solid var(--ge-border);
  vertical-align: top;
  transition: background-color 0.15s ease;
}

.ge-table tbody:not([data-ge-zebra]) tr:nth-child(even),
.ge-table tbody[data-ge-zebra] tr.is-alt {
  background: rgba(243, 246, 250, 0.7);
}

.ge-page .ge-table tbody tr:hover {
  background: rgba(225, 235, 247, 0.4);
}

.ge-table td {
  padding: 0.75rem 1rem;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.8);
}

.ge-table td.is-strong {
  font-weight: 500;
  color: var(--ge-net);
}

.ge-table .is-right {
  text-align: right;
}

.ge-cell-stack {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ge-cell-note {
  font-size: 11px;
  font-weight: 400;
  color: var(--ge-muted);
}

.ge-cell-badge {
  width: fit-content;
  margin-top: 0.25rem;
}

/* ---------- Universidades: filtros, cartões e detalhes (passo 3) ---------- */
.ge-unitable-wrap {
  overflow: hidden;
  border: 1px solid var(--ge-border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 24px 50px -40px rgba(11, 51, 103, 0.45);
}

.ge-unitable {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  text-align: left;
}

.ge-unitable thead {
  background: var(--ge-net-sand);
}

.ge-unitable th {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--ge-border);
  font-family: var(--ge-font-heading);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
  color: var(--ge-muted);
}

.ge-unitable td {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--ge-border);
  vertical-align: middle;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.8);
}

.ge-unitable tbody tr:first-child td {
  border-top: 0;
}

.ge-unitable .is-right {
  text-align: right;
}

.ge-unitable__row {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.ge-unitable__row[hidden] {
  display: none;
}

.ge-unitable__row:hover,
.ge-unitable__row:focus-visible {
  background: rgba(225, 235, 247, 0.45);
  outline: none;
}

.ge-unitable__row:focus-visible td:first-child {
  box-shadow: inset 3px 0 0 var(--ge-net);
}

.ge-unitable__uni {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ge-unitable__photo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 3.75rem;
  overflow: hidden;
  border-radius: 0.625rem;
  background: var(--ge-net-soft);
}

.ge-page .ge-unitable__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ge-ease);
}

.ge-unitable__row:hover .ge-unitable__photo img {
  transform: scale(1.06);
}

.ge-unitable__photo--empty {
  background: linear-gradient(135deg, var(--ge-net) 0%, var(--ge-net-light) 100%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.25rem;
}

.ge-unitable__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
  min-width: 0;
}

.ge-unitable__country {
  font-family: var(--ge-font-heading);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ge-net-light);
}

.ge-unitable__name {
  font-size: 15px;
  line-height: 1.35;
  color: var(--ge-net);
}

/* Bandeira do país (retangular, 4:3) ao lado do nome do país */
.ge-page .ge-flag {
  display: inline-block;
  flex-shrink: 0;
  width: 1.25rem;
  height: 0.9375rem;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(11, 51, 103, 0.12);
  vertical-align: middle;
}

.ge-unitable__country {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ge-page .ge-uni-hero .ge-uni-hero__flag {
  position: static;
  width: 1.25rem;
  height: 0.9375rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
}

/* Universidade que está no plano do estudante: visto na foto e linha levemente azulada */
.ge-unitable__row.is-in-plan {
  background: rgba(225, 235, 247, 0.45);
}

.ge-unitable__photo {
  position: relative;
}

.ge-unitable__row.is-in-plan .ge-unitable__photo {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ge-net);
}

.ge-unitable__check {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--ge-net);
  box-shadow: 0 2px 8px rgba(7, 37, 73, 0.35);
  font-size: 13px;
  color: #fff;
}

.ge-unitable__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.375rem;
}

.ge-page .ge-unitable__tags > * {
  margin-top: 0.25rem;
}

.ge-unitable__inplan {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--ge-net);
  font-family: var(--ge-font-heading);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}

.ge-unitable__tag {
  margin-top: 0.25rem;
}

.ge-unitable__area {
  max-width: 16rem;
}

.ge-unitable__grant {
  font-family: var(--ge-font-heading);
  font-size: 1.125rem;
  white-space: nowrap;
  color: var(--ge-net);
}

.ge-unitable__go {
  width: 2.5rem;
  padding-left: 0 !important;
  color: rgba(11, 51, 103, 0.35);
  transition: color 0.15s ease, transform 0.15s ease;
}

.ge-unitable__row:hover .ge-unitable__go {
  color: var(--ge-net);
}

.ge-unitable--quiet tbody tr {
  background: var(--ge-net-sand);
}

@media (max-width: 767.98px) {
  .ge-unitable__hide-sm,
  .ge-unitable__go { display: none; }
  .ge-unitable__tag { white-space: normal; }
  .ge-unitable th,
  .ge-unitable td { padding-left: 1rem; padding-right: 1rem; }
  .ge-unitable__photo { width: 4rem; height: 2.75rem; }
  .ge-unitable__uni { gap: 0.75rem; }
}

/* Tabela da bolsa (passo 5) */
.ge-table--grant th,
.ge-table--roomy th {
  padding: 0.875rem 1.25rem;
}

.ge-table--grant td,
.ge-table--roomy td {
  padding: 1.125rem 1.25rem;
  vertical-align: middle;
}

.ge-table--roomy td:first-child {
  min-width: 15rem;
}

.ge-table--grant th:first-child,
.ge-table--grant td:first-child {
  width: 1%;
}

.ge-table--grant__countries {
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
}

.ge-grant-pill {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--ge-net-soft);
  font-family: var(--ge-font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ge-net);
}

.ge-grant-amount {
  font-family: var(--ge-font-heading);
  font-size: 1.25rem;
  color: var(--ge-net);
}

.ge-grant-per {
  margin-left: 0.125rem;
  font-size: 12px;
  color: var(--ge-muted);
}

/* Tabelas de prazos (passos 6 e 7): mesma formatação, com o "quando" em etiqueta */
.ge-table--when th:first-child,
.ge-table--when td:first-child {
  width: 15rem;
}

.ge-when-pill {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 0.625rem;
  background: var(--ge-net-soft);
  font-family: var(--ge-font-heading);
  font-size: 12px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ge-net);
}

/* Células que não devem partir linha (ex.: "Grupo 1", "450 €") */
.ge-table .ge-nowrap {
  white-space: nowrap;
}

.ge-uni-protocols {
  margin-top: 2.5rem;
}

.ge-uni-sub {
  margin-top: 0.25rem;
  margin-bottom: 0.875rem;
  font-size: var(--ge-text-size);
  color: var(--ge-muted);
  line-height: var(--ge-text-lh);
}

/* Janela de detalhes da universidade */
.ge-uni-dialog {
  width: min(42rem, calc(100vw - 2rem));
  max-height: calc(100vh - 3rem);
  padding: 0;
  overflow-y: auto;
  border: 0;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(7, 37, 73, 0.6);
  color: var(--ge-fg);
  overscroll-behavior: contain;
  scrollbar-width: none; /* continua a fazer scroll, mas sem a barra */
}

.ge-uni-dialog::-webkit-scrollbar {
  display: none;
}

.ge-uni-dialog::backdrop {
  background: rgba(7, 37, 73, 0.55);
  backdrop-filter: blur(3px);
}

.ge-uni-dialog[open] {
  animation: ge-dialog-in 0.25s var(--ge-ease);
}

@keyframes ge-dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.ge-uni-dialog__inner {
  position: relative;
}

.ge-uni-dialog__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.375rem;
  height: 2.375rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(7, 37, 73, 0.25);
  color: var(--ge-net);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.ge-uni-dialog__close:hover {
  background: #fff;
  transform: scale(1.06);
}

/* Topo: foto com o nome por cima */
.ge-uni-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 15rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ge-net) 0%, var(--ge-net-light) 100%);
  color: #fff;
}

.ge-page .ge-uni-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ge-uni-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 37, 73, 0) 30%, rgba(7, 37, 73, 0.88) 100%);
}

.ge-uni-hero--empty {
  min-height: 11rem;
}

.ge-uni-hero--empty::after {
  background: none;
}

.ge-uni-hero__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
  width: 100%;
  padding: 1.5rem 2rem 1.375rem;
}

.ge-uni-hero__place {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--ge-font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.85);
}

.ge-page .ge-uni-hero__title {
  --ge-fs: 1.625rem;
  padding-right: 2.5rem;
  font-family: var(--ge-font-heading);
  line-height: 1.12;
  text-transform: uppercase;
  color: #fff;
}

.ge-uni-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  font-family: var(--ge-font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
}

.ge-uni-dialog__content {
  padding: 1.5rem 2rem 1.75rem;
}

/* Faixa de números */
.ge-uni-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ge-border);
  border-radius: 0.875rem;
  background: var(--ge-net-sand);
}

.ge-uni-stat {
  padding: 0.875rem 1rem;
}

.ge-uni-stat + .ge-uni-stat {
  border-left: 1px solid var(--ge-border);
}

.ge-uni-stat dt {
  font-family: var(--ge-font-heading);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ge-muted);
}

.ge-uni-stat dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.375rem;
  margin: 0.375rem 0 0;
  font-family: var(--ge-font-heading);
  font-size: 1.375rem;
  line-height: 1.1;
  color: var(--ge-net);
}

.ge-uni-stat__sub {
  width: 100%;
  font-family: var(--ge-font-body);
  font-size: var(--ge-small-size);
  color: var(--ge-muted);
  line-height: var(--ge-small-lh);
}

.ge-uni-dialog__area {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.875rem;
  font-size: var(--ge-text-size);
  color: rgba(25, 34, 46, 0.8);
  line-height: var(--ge-text-lh);
}

.ge-uni-dialog__area .bi {
  margin-top: 0.15rem;
  color: var(--ge-net-light);
}

/* Testemunhos */
.ge-uni-dialog__section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ge-border);
}

.ge-uni-dialog__kicker {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0;
  font-family: var(--ge-font-heading);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ge-net);
}

.ge-uni-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.875rem;
}

.ge-uni-tab {
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--ge-border);
  border-radius: 999px;
  background: #fff;
  font-family: var(--ge-font-body);
  font-size: var(--ge-small-size);
  color: var(--ge-fg);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  line-height: var(--ge-small-lh);
}

.ge-uni-tab:hover {
  border-color: rgba(11, 51, 103, 0.4);
}

.ge-uni-tab.is-active {
  border-color: var(--ge-net);
  background: var(--ge-net);
  color: #fff;
}

.ge-uni-dialog__who {
  margin-top: 0.75rem;
  font-size: var(--ge-small-size);
  color: var(--ge-muted);
  line-height: var(--ge-small-lh);
}

.ge-uni-topics {
  display: grid;
  gap: 0.625rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .ge-uni-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ge-uni-topic {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem;
  border-radius: 0.75rem;
  background: var(--ge-net-sand);
}

.ge-uni-topic__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(11, 51, 103, 0.12);
  font-size: 14px;
  color: var(--ge-net);
}

.ge-uni-topic__label {
  display: block;
  font-family: var(--ge-font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ge-net);
}

.ge-uni-topic__text {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.82);
}

.ge-uni-dialog__more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 14px;
  color: var(--ge-net);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ge-uni-dialog__more .bi {
  transition: transform 0.15s ease;
}

.ge-uni-dialog__more:hover .bi {
  transform: translateX(3px);
}

.ge-uni-dialog__text {
  margin-top: 0.625rem;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.8);
}

.ge-uni-dialog__note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--ge-amber-50);
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: var(--ge-amber-800);
}

.ge-uni-dialog__note .bi {
  margin-top: 0.15rem;
}

.ge-uni-dialog__credit {
  margin-top: 1.25rem;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ge-muted);
}

.ge-uni-dialog__credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Rodapé fixo com o botão do plano */
.ge-uni-dialog__foot {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding: 0.875rem 2rem;
  border-top: 1px solid var(--ge-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
}

.ge-uni-dialog__foot {
  align-items: center;
  gap: 1rem;
}

.ge-uni-dialog__inplan {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-right: auto;
  font-size: var(--ge-small-size);
  color: var(--ge-net);
}

.ge-page .ge-uni-dialog__remove {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(11, 51, 103, 0.3);
}

.ge-page .ge-uni-dialog__remove:hover {
  background: var(--ge-net-sand);
}

.ge-uni-dialog__plan[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (max-width: 639.98px) {
  .ge-uni-hero { min-height: 12rem; }
  .ge-uni-hero__text { padding: 1.25rem 1.25rem 1.125rem; }
  .ge-uni-dialog__content { padding: 1.25rem 1.25rem 1.5rem; }
  .ge-uni-stats { grid-template-columns: 1fr 1fr; }
  .ge-uni-stat:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--ge-border); }
  .ge-uni-dialog__foot { padding: 0.75rem 1.25rem; }
  .ge-uni-dialog__plan { width: 100%; justify-content: center; }
}

/* Passo 1: o melhor momento para este perfil */
.ge-semcard {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--ge-border);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 24px 50px -40px rgba(11, 51, 103, 0.5);
}

@media (min-width: 768px) {
  .ge-semcard { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); }
}

.ge-semcard__hero {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: linear-gradient(150deg, var(--ge-net) 0%, #134a8c 100%);
  color: #fff;
}

.ge-semcard__kicker {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--ge-font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
}

.ge-semcard__label {
  margin-top: 1.5rem;
  font-size: var(--ge-small-size);
  color: rgba(255, 255, 255, 0.75);
}

.ge-semcard__best {
  margin-top: 0.25rem;
  font-family: var(--ge-font-heading);
  font-size: 2rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
}

.ge-semcard__best--small {
  font-family: var(--ge-font-body);
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  text-transform: none;
}

.ge-semcard__profile {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 1.75rem;
}

.ge-semcard__profile span {
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-family: var(--ge-font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}

.ge-semcard__list {
  padding: 1.5rem 1.75rem;
}

.ge-semcard__listtitle {
  font-family: var(--ge-font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ge-muted);
}

/* Linha dos semestres */
.ge-semline {
  position: relative;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.ge-semline::before {
  content: "";
  position: absolute;
  top: 0.9rem;
  bottom: 0.9rem;
  left: 6px;
  width: 2px;
  background: var(--ge-border);
}

.ge-semline__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.625rem 0;
}

.ge-semline__dot {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: calc(var(--ge-text-size) * var(--ge-text-lh) / 2 - 7px);
  border: 2px solid var(--ge-border);
  border-radius: 999px;
  background: #fff;
}

.ge-semline__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.ge-semline__label {
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: var(--ge-fg);
}

.ge-semline__note {
  margin-top: 0.125rem;
  font-size: var(--ge-small-size);
  line-height: var(--ge-small-lh);
  color: var(--ge-muted);
}

.ge-semline__tag {
  flex-shrink: 0;
  margin-top: 0.125rem;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-family: var(--ge-font-heading);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.ge-semline__item--best .ge-semline__dot { border-color: var(--ge-net); background: var(--ge-net); box-shadow: 0 0 0 4px var(--ge-net-soft); }
.ge-semline__item--best .ge-semline__label { color: var(--ge-net); }
.ge-semline__item--best .ge-semline__tag { background: var(--ge-net); color: #fff; }

.ge-semline__item--green .ge-semline__dot { border-color: var(--ge-green-700); }
.ge-semline__item--green .ge-semline__tag { background: var(--ge-green-50); box-shadow: inset 0 0 0 1px var(--ge-green-200); color: var(--ge-green-700); }

.ge-semline__item--amber .ge-semline__dot { border-color: var(--ge-amber-700); }
.ge-semline__item--amber .ge-semline__tag { background: var(--ge-amber-50); box-shadow: inset 0 0 0 1px var(--ge-amber-200); color: var(--ge-amber-800); }

.ge-semline__item--past .ge-semline__label { color: rgba(25, 34, 46, 0.4); text-decoration: line-through; }
.ge-semline__item--past .ge-semline__tag { background: var(--ge-net-sand); color: var(--ge-muted); }

@media (max-width: 639.98px) {
  .ge-semcard__hero, .ge-semcard__list { padding: 1.375rem; }
  .ge-semline__item { flex-wrap: wrap; row-gap: 0.375rem; }
  .ge-semline__body { flex: 1 1 calc(100% - 14px - 1rem); }
  .ge-semline__tag { margin-top: 0; margin-left: calc(14px + 1rem); }
}

/* ---------- Testemunhos ---------- */
a.ge-uni-tag {
  text-decoration: none;
  transition: background 0.15s ease;
}

a.ge-uni-tag:hover {
  background: #cfdff2;
  color: var(--ge-net);
}

.ge-quotes {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ge-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ge-quote {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.5rem 1.5rem 1.25rem;
  border: 1px solid var(--ge-border);
  border-radius: 1rem;
  background: var(--ge-net-sand);
}

.ge-quote__mark {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--ge-net-light);
}

.ge-quote__text {
  flex: 1;
  margin: 0.5rem 0 0;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: var(--ge-fg);
}

.ge-quote__who {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ge-border);
  font-size: var(--ge-small-size);
  color: var(--ge-muted);
  line-height: var(--ge-small-lh);
}

.ge-testimonies {
  display: grid;
  gap: 0.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .ge-testimonies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ge-testimony[open] { grid-column: 1 / -1; }
}

.ge-testimony {
  border: 1px solid var(--ge-border);
  border-radius: 1rem;
  background: #fff;
  scroll-margin-top: 7rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ge-testimony:hover,
.ge-testimony[open] {
  border-color: rgba(11, 51, 103, 0.3);
}

.ge-testimony[open] {
  box-shadow: 0 24px 50px -40px rgba(11, 51, 103, 0.5);
}

.ge-testimony__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  cursor: pointer;
  list-style: none;
}

.ge-testimony__head::-webkit-details-marker {
  display: none;
}

.ge-testimony__headtext {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.ge-testimony__chevron {
  flex-shrink: 0;
  font-size: 14px;
  color: rgba(11, 51, 103, 0.45);
  transition: transform 0.2s ease;
}

.ge-testimony[open] > .ge-testimony__head .ge-testimony__chevron {
  transform: rotate(180deg);
}

.ge-testimony__body {
  padding: 0 1.375rem 1.375rem;
}

.ge-testimony__place {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--ge-font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ge-net-light);
}

.ge-testimony__title {
  font-family: var(--ge-font-heading);
  font-size: 1.125rem;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--ge-net);
}

.ge-testimony__who {
  font-size: var(--ge-small-size);
  color: var(--ge-muted);
  line-height: var(--ge-small-lh);
}

.ge-testimony__source {
  margin-top: 0.5rem;
  font-size: var(--ge-small-size);
  font-style: italic;
  color: var(--ge-muted);
  line-height: var(--ge-small-lh);
}

.ge-testimony__summary {
  display: grid;
  gap: 0;
  margin: 0;
}

.ge-testimony__row {
  display: grid;
  gap: 0.125rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--ge-border);
}

@media (min-width: 640px) {
  .ge-testimony__row {
    grid-template-columns: 9rem minmax(0, 1fr);
    gap: 1rem;
  }
}

.ge-testimony__row dt {
  font-size: var(--ge-text-size);
  font-weight: inherit;
  color: var(--ge-net);
  line-height: var(--ge-text-lh);
}

.ge-testimony__row dd {
  margin: 0;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.8);
}

.ge-testimony__full {
  border-top: 1px solid var(--ge-border);
}

.ge-testimony__full summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding-top: 1rem;
  font-size: 14px;
  color: var(--ge-net);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  list-style: none;
}

.ge-testimony__full summary::-webkit-details-marker {
  display: none;
}

.ge-testimony__full summary .bi {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.ge-testimony__full[open] summary .bi {
  transform: rotate(180deg);
}

.ge-testimony__close,
.ge-testimony__full[open] .ge-testimony__open {
  display: none;
}

.ge-testimony__full[open] .ge-testimony__close {
  display: inline;
}

.ge-testimony__qa {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.ge-testimony__q {
  font-size: var(--ge-text-size);
  color: var(--ge-net);
  line-height: var(--ge-text-lh);
}

.ge-testimony__a {
  margin-top: 0.375rem;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.8);
}

/* ---------- Hero (página do percurso) ---------- */
.ge-page .ge-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  background: var(--ge-net);
}

.ge-hero__photo,
.ge-hero__shade,
.ge-hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.ge-hero__photo {
  background-image: url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.ge-hero__shade {
  background: linear-gradient(to bottom, rgba(11, 51, 103, 0.95), rgba(11, 51, 103, 0.9), var(--ge-net));
}

.ge-hero__glow {
  pointer-events: none;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 20% 20%, #ffffff 0, transparent 45%),
    radial-gradient(circle at 85% 70%, #1976d2 0, transparent 40%);
}

/* Avião do NET a atravessar o hero, por trás do texto (z-index -1, acima das camadas de fundo) */
.ge-page .ge-hero__plane {
  position: absolute;
  z-index: -1;
  top: 12%;
  left: 0;
  width: 18rem;
  max-width: none;
  height: auto;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  /* o avião é azul-escuro como o fundo: mais brilho e sombra para se destacar */
  filter: brightness(1.6) saturate(1.1) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
  will-change: transform, opacity;
  animation: ge-plane-fly 18s linear infinite;
}

.ge-hero__inner {
  padding-top: 3.5rem;
  padding-bottom: 10rem;
}

.ge-hero__kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ge-font-heading);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.6);
}

.ge-hero__kicker .bi {
  font-size: 12px;
}

.ge-page .ge-hero__title {
  --ge-fs: 2.25rem;
  max-width: 48rem;
  margin-top: 1.25rem;
  line-height: 1.05;
  color: #fff;
}

.ge-hero__lead {
  max-width: 42rem;
  margin-top: 1.5rem;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(255, 255, 255, 0.75);
}

.ge-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
  font-family: var(--ge-font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Formulário do perfil ---------- */
.ge-profile-slot {
  position: relative;
  z-index: 20;
  margin-top: -7.5rem;
  scroll-margin-top: calc(var(--site-header-height, 80px) + 16px);
}

.ge-wizard {
  overflow: hidden;
  border: 1px solid var(--ge-border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 30px 70px -40px rgba(11, 51, 103, 0.6);
}

.ge-wizard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--ge-border);
  background: var(--ge-net);
}

.ge-wizard__kicker {
  font-family: var(--ge-font-heading);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.55);
}

.ge-page .ge-wizard__title {
  --ge-fs: 1.125rem;
  margin-top: 0.375rem;
  color: #fff;
}

.ge-wizard__dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ge-wizard__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ge-wizard__dot.is-done {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.ge-wizard__dot.is-current {
  border-color: #fff;
  background: #fff;
  color: var(--ge-net);
}

.ge-wizard__body {
  padding: 1.5rem;
}

.ge-wizard__step.is-entering {
  animation: ge-step-in 0.22s var(--ge-ease) both;
}

.ge-wizard__step.is-leaving {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.18s var(--ge-ease), transform 0.18s var(--ge-ease);
}

.ge-wizard__question {
  margin-bottom: 1rem;
  font-size: var(--ge-text-size);
  color: rgba(25, 34, 46, 0.7);
  line-height: var(--ge-text-lh);
}

.ge-wizard__options {
  display: grid;
  gap: 0.75rem;
}
.ge-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--ge-border);
  border-radius: 0.75rem;
  background: #fff;
  text-align: left;
  transition: all 0.15s ease;
}

.ge-option:hover {
  border-color: rgba(11, 51, 103, 0.4);
  background: rgba(243, 246, 250, 0.6);
}

.ge-option.is-selected {
  border-color: var(--ge-net);
  background: var(--ge-net);
  color: #fff;
  box-shadow: 0 14px 30px -20px rgba(11, 51, 103, 0.9);
}

.ge-option__title {
  display: block;
  font-family: var(--ge-font-heading);
  font-size: var(--ge-text-size);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: var(--ge-text-lh);
}

.ge-option__note {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--ge-small-size);
  color: var(--ge-muted);
  line-height: var(--ge-small-lh);
}

.ge-option.is-selected .ge-option__note {
  color: rgba(255, 255, 255, 0.7);
}

.ge-option__side {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ge-option__tag {
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: var(--ge-net-soft);
  color: var(--ge-net);
  font-family: var(--ge-font-heading);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ge-option.is-selected .ge-option__tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.ge-option__check {
  flex-shrink: 0;
  font-size: 1rem;
}


.ge-wizard__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ge-border);
}

.ge-wizard__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ge-font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ge-net);
  transition: color 0.15s ease;
}

.ge-wizard__back:hover {
  color: var(--ge-net-light);
}

.ge-wizard__back:disabled {
  color: rgba(25, 34, 46, 0.25);
  cursor: not-allowed;
}

.ge-wizard__next {
  font-size: 12px;
}

/* ---------- Resumo do perfil ---------- */
.ge-banner {
  overflow: hidden;
  border: 1px solid rgba(11, 51, 103, 0.15);
  border-radius: 1rem;
  background: var(--ge-net-sand);
}

.ge-banner__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--ge-net);
  color: #fff;
}

.ge-banner__path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-family: var(--ge-font-heading);
  font-size: var(--ge-small-size);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: var(--ge-small-lh);
}

.ge-banner__sep {
  color: rgba(255, 255, 255, 0.3);
}

.ge-banner__body {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
}





























.ge-banner__coordinator {
  padding: 1.25rem;
  border: 1px solid var(--ge-border);
  border-radius: 0.75rem;
  background: #fff;
}

.ge-banner__coordinator-name {
  margin-top: 0.5rem;
  font-family: var(--ge-font-heading);
  font-size: 1.125rem;
  color: var(--ge-net);
}

.ge-banner__coordinator-course {
  margin-top: 0.25rem;
  font-size: var(--ge-small-size);
  color: var(--ge-muted);
  line-height: var(--ge-small-lh);
}

.ge-banner__coordinator-text {
  margin-top: 0.75rem;
  font-size: var(--ge-small-size);
  line-height: var(--ge-small-lh);
  color: rgba(25, 34, 46, 0.7);
}

.ge-banner__coordinator .ge-btn {
  margin-top: 1rem;
}

/* Ecrãs largos: o botão fica ao lado do texto (cartões mais baixos, cabem no ecrã sem cortar) */
@media (min-width: 1100px) {
  .ge-banner__coordinator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
  }

  .ge-banner__coordinator-info {
    min-width: 0;
  }

  .ge-banner__coordinator .ge-btn {
    flex-shrink: 0;
    margin-top: 0;
  }
}

/* ---------- Mapa do percurso ---------- */
.ge-index-journey {
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.ge-page .ge-journey {
  padding: 0;
}

.ge-journey__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.ge-journey__lead {
  max-width: 46rem;
  margin-top: 0.75rem;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.7);
}

.ge-journey__groups {
  display: flex;
  flex-direction: column;
  gap: 3.25rem;
  margin-top: 4.25rem;
}

.ge-journey__group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--ge-border);
}

.ge-page .ge-journey__group-head h3 {
  --ge-fs: 12px;
  letter-spacing: 0.18em;
}

.ge-journey__group-head span {
  font-size: 12px;
  color: var(--ge-muted);
}

.ge-journey__cards {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}


.ge-phase-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--ge-border);
  border-radius: 1rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ge-phase-card:hover {
  border-color: rgba(11, 51, 103, 0.4);
  box-shadow: 0 18px 40px -30px rgba(11, 51, 103, 0.6);
}

.ge-phase-card__number {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--ge-net);
  font-family: var(--ge-font-heading);
  font-size: 13px;
  color: #fff;
}

.ge-phase-card__body {
  flex: 1;
  min-width: 0;
}

.ge-phase-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.ge-phase-card__title {
  font-family: var(--ge-font-heading);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ge-net);
}

.ge-phase-card__arrow {
  flex-shrink: 0;
  margin-top: 0.125rem;
  font-size: 1rem;
  color: rgba(11, 51, 103, 0.25);
  transition: transform 0.2s ease, color 0.2s ease;
}

.ge-phase-card:hover .ge-phase-card__arrow {
  transform: translateX(0.125rem);
  color: var(--ge-net);
}

.ge-phase-card__short {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.25rem;
  font-size: var(--ge-small-size);
  line-height: var(--ge-small-lh);
  color: rgba(25, 34, 46, 0.6);
}

.ge-phase-card__short .bi {
  flex-shrink: 0;
  font-size: 14px;
  color: rgba(25, 118, 210, 0.7);
}

.ge-phase-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* ---------- Cabeçalho dos passos e dos contactos ---------- */
.ge-page .ge-phase-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ge-net);
  color: #fff;
}

.ge-phase-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(7, 37, 73, 0.4), rgba(11, 51, 103, 0.6), var(--ge-net));
}

.ge-phase-header__inner {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.ge-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--ge-font-heading);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.15s ease;
}

.ge-back-link .bi {
  font-size: 12px;
}

.ge-back-link:hover {
  color: #fff;
}

.ge-phase-header__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 1.25rem;
}

.ge-phase-header__step {
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-family: var(--ge-font-heading);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.85);
}

.ge-phase-header__group {
  font-family: var(--ge-font-heading);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.4);
}

.ge-page .ge-phase-header__title {
  --ge-fs: 1.875rem;
  max-width: 48rem;
  margin-top: 1rem;
  color: #fff;
}

.ge-phase-header__goal {
  max-width: 42rem;
  margin-top: 1rem;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(255, 255, 255, 0.7);
}

.ge-contacts-header {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.ge-page .ge-contacts-header__title {
  --ge-fs: 1.875rem;
  margin-top: 1rem;
  color: #fff;
}

.ge-contacts-header__lead {
  max-width: 42rem;
  margin-top: 0.75rem;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Linha do tempo dos passos (topo das páginas dos passos e dos contactos) ---------- */
.ge-timeline {
  border-bottom: 1px solid var(--ge-border);
  background: rgba(243, 246, 250, 0.7);
}

.ge-timeline__list {
  display: flex;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.ge-timeline__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

/* Traço entre este passo e o seguinte */
.ge-timeline__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1rem;
  left: calc(50% + 1.25rem);
  right: calc(-50% + 1.25rem);
  height: 2px;
  border-radius: 999px;
  background: var(--ge-border);
}

.ge-timeline__item.is-past::after {
  background: var(--ge-net);
}

.ge-timeline__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.25rem;
  text-align: center;
}

.ge-timeline__dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--ge-border);
  border-radius: 999px;
  background: #fff;
  font-family: var(--ge-font-heading);
  font-size: 13px;
  color: var(--ge-muted);
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ge-timeline__check {
  display: none;
  font-size: 15px;
}

.ge-timeline__item.is-done .ge-timeline__number { display: none; }
.ge-timeline__item.is-done .ge-timeline__check { display: block; }

.ge-timeline__label {
  font-family: var(--ge-font-heading);
  font-size: 10.5px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ge-muted);
  transition: color 0.15s ease;
}

.ge-timeline__link:hover .ge-timeline__dot {
  border-color: rgba(11, 51, 103, 0.5);
  color: var(--ge-net);
}

.ge-timeline__link:hover .ge-timeline__label {
  color: var(--ge-net);
}

.ge-timeline__item.is-past .ge-timeline__dot,
.ge-timeline__item.is-done .ge-timeline__dot {
  border-color: var(--ge-net);
  background: var(--ge-net-soft);
  color: var(--ge-net);
}

.ge-timeline__item.is-past .ge-timeline__label {
  color: rgba(11, 51, 103, 0.75);
}

.ge-timeline__item.is-current .ge-timeline__dot {
  border-color: var(--ge-net);
  background: var(--ge-net);
  color: #fff;
  box-shadow: 0 0 0 4px var(--ge-net-soft);
}

.ge-timeline__item.is-current .ge-timeline__label {
  font-weight: 600;
  color: var(--ge-net);
}

/* ---------- Conteúdo dos passos ---------- */
.ge-layout {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* O conteúdo ocupa a coluna toda (a mesma largura da linha do tempo, com margens iguais dos dois lados) */
.ge-layout__main {
  min-width: 0;
}

/* ---------- O teu caso (nota por perfil) ---------- */
.ge-note {
  padding: 1.25rem;
  border: 1px solid;
  border-radius: 1rem;
}

.ge-note--green {
  border-color: var(--ge-green-200);
  background: rgba(236, 253, 245, 0.7);
}

.ge-note--amber {
  border-color: var(--ge-amber-200);
  background: rgba(255, 251, 235, 0.8);
}

.ge-note--info {
  border-color: rgba(11, 51, 103, 0.15);
  background: var(--ge-net-sand);
}

.ge-note__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ge-font-heading);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(25, 34, 46, 0.5);
}

.ge-note__icon {
  font-size: 14px;
}

.ge-note--green .ge-note__icon { color: var(--ge-green-700); }
.ge-note--amber .ge-note__icon { color: var(--ge-amber-700); }
.ge-note--info .ge-note__icon { color: var(--ge-net-light); }

.ge-note__list {
  margin-top: 0.75rem;
  gap: 0.5rem;
}

/* ---------- Melhor semestre (bloco do perfil) ---------- */
.ge-profile-box {
  padding: 1.5rem;
  border: 1px solid rgba(11, 51, 103, 0.15);
  border-radius: 1rem;
  background: var(--ge-net-sand);
}

.ge-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.ge-pill {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ge-border);
  font-family: var(--ge-font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ge-net);
}

.ge-pill--solid {
  background: var(--ge-net);
  box-shadow: none;
  color: #fff;
}

.ge-profile-box__text {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.8);
}

.ge-profile-box__text .bi {
  flex-shrink: 0;
  margin-top: 0.25rem;
  font-size: 1rem;
  color: var(--ge-net-light);
}

.ge-page .ge-profile-box__choices {
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.ge-profile-box__card {
  padding: 1rem;
  border-radius: 0.75rem;
  background: #fff;
}

.ge-profile-box__label {
  font-family: var(--ge-font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.ge-profile-box__label--green { color: var(--ge-green-700); }
.ge-profile-box__label--amber { color: var(--ge-amber-700); }

.ge-profile-box__list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-top: 0.5rem;
  font-size: var(--ge-text-size);
  color: rgba(25, 34, 46, 0.75);
  line-height: var(--ge-text-lh);
}

.ge-profile-box__list .is-mine {
  font-weight: 500;
  color: var(--ge-net);
}

/* ---------- Candidatura e seriação ---------- */
.ge-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ge-steps-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--ge-border);
  border-radius: 0.75rem;
  background: #fff;
}

.ge-steps-list__number {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--ge-net);
  font-family: var(--ge-font-heading);
  font-size: 12px;
  color: #fff;
}

.ge-steps-list__text {
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.8);
}

/* Destaque: as equivalências preparam-se pelo estudante (passo 4) */
.ge-equiv {
  padding: 1.5rem;
  border: 1px solid var(--ge-amber-200);
  border-left: 4px solid var(--ge-amber-300);
  border-radius: 1rem;
  background: var(--ge-amber-50);
}

.ge-equiv__kicker {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--ge-font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ge-amber-800);
}

.ge-equiv__title {
  margin-top: 0.375rem;
  font-family: var(--ge-font-heading);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--ge-net);
}

.ge-equiv__lead {
  margin: 0.5rem 0 1rem;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.8);
}

.ge-criteria {
  display: grid;
  gap: 0.5rem;
}

.ge-criteria li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: rgba(243, 246, 250, 0.8);
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.8);
}

.ge-criteria__number {
  font-family: var(--ge-font-heading);
  font-size: 12px;
  color: var(--ge-net-light);
}

.ge-formula {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--ge-net);
  color: #fff;
}

.ge-formula__kicker {
  font-family: var(--ge-font-heading);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.5);
}

.ge-formula__expr {
  margin-top: 0.75rem;
  font-family: var(--ge-font-heading);
  font-size: 1.875rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.ge-formula__grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ge-formula__item {
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
}

.ge-formula__symbol {
  font-family: var(--ge-font-heading);
  font-size: 15px;
}

.ge-formula__name {
  font-family: var(--ge-font-heading);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
}

.ge-formula__detail {
  margin-top: 0.5rem;
  font-size: 12.5px;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Universidades ---------- */
.ge-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.ge-level {
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: var(--ge-net-sand);
  box-shadow: inset 0 0 0 1px var(--ge-border);
  font-family: var(--ge-font-heading);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(11, 51, 103, 0.5);
}

.ge-level.is-active {
  background: var(--ge-net);
  box-shadow: none;
  color: #fff;
}

.ge-grant {
  font-family: var(--ge-font-heading);
  font-size: 13px;
  color: var(--ge-net);
  white-space: nowrap;
}

.ge-grant__group {
  margin-left: 0.25rem;
  font-size: 10px;
  font-weight: 400;
  color: var(--ge-muted);
}

/* ---------- Depois de colocado ---------- */
.ge-documents {
  display: grid;
  gap: 0.5rem;
}

.ge-documents__item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--ge-border);
  border-radius: 0.75rem;
  background: #fff;
}

.ge-documents__check {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  border-radius: 999px;
  background: var(--ge-net-soft);
  color: var(--ge-net);
  font-size: 12px;
}

.ge-documents__title {
  display: block;
  font-family: var(--ge-font-heading);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ge-net);
}

.ge-documents__detail {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--ge-small-size);
  line-height: var(--ge-small-lh);
  color: rgba(25, 34, 46, 0.7);
}

/* ---------- Contactos ---------- */
.ge-page .ge-coordinators-lead {
  margin-top: 0.375rem;
  margin-bottom: 1rem;
}

/* Contactos: mais ar entre blocos */
.ge-page .ge-contacts {
  gap: 2.5rem;
}

.ge-contacts .ge-grid--2 {
  gap: 1.25rem;
}

.ge-contacts .ge-box,
.ge-contacts .ge-talk {
  padding: 1.75rem;
  border-radius: 1rem;
}

.ge-contacts .ge-links {
  gap: 0.75rem;
  margin-top: 1rem;
}

.ge-contacts .ge-talk__text {
  margin-top: 0.75rem;
}

.ge-contacts .ge-talk__links {
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.ge-coordinator-note {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: rgba(225, 235, 247, 0.7);
  font-size: var(--ge-small-size);
  color: var(--ge-net);
  line-height: var(--ge-small-lh);
}

.ge-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.ge-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--ge-text-size);
  color: rgba(25, 34, 46, 0.8);
  transition: color 0.15s ease;
  line-height: var(--ge-text-lh);
}

.ge-links a .bi {
  font-size: 14px;
  opacity: 0.4;
  transition: opacity 0.15s ease;
}

.ge-links a:hover {
  color: var(--ge-net);
}

.ge-links a:hover .bi {
  opacity: 1;
}

.ge-talk {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: var(--ge-net);
  color: #fff;
}

.ge-page .ge-talk__title {
  color: #fff;
  letter-spacing: 0.08em;
}

.ge-talk__text {
  margin-top: 0.5rem;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(255, 255, 255, 0.7);
}

.ge-talk__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.ge-talk__links a,
.ge-talk__links p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--ge-text-size);
}

.ge-talk__links a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s ease;
}

.ge-talk__links a:hover {
  color: #fff;
}

.ge-talk__links p {
  color: rgba(255, 255, 255, 0.6);
}

.ge-talk__links .bi {
  font-size: 1rem;
}

/* ---------- Checklist ---------- */
.ge-checklist {
  padding: 1.5rem;
  border: 1px solid var(--ge-border);
  border-radius: 1rem;
  background: #fff;
}

.ge-checklist__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ge-page .ge-checklist__head h2 {
  --ge-fs: 15px;
  letter-spacing: 0.08em;
}

.ge-checklist__count {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--ge-net-sand);
  font-family: var(--ge-font-heading);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(11, 51, 103, 0.6);
}

.ge-checklist__count.is-complete {
  background: var(--ge-green-50);
  box-shadow: inset 0 0 0 1px var(--ge-green-200);
  color: var(--ge-green-700);
}

.ge-checklist__list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-top: 1rem;
}

.ge-checklist__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem 0.25rem;
  border-radius: 0.5rem;
  text-align: left;
  transition: background-color 0.15s ease;
}

.ge-checklist__item:hover {
  background: rgba(243, 246, 250, 0.7);
}

.ge-checklist__box {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--ge-border);
  border-radius: 6px;
  background: #fff;
  color: transparent;
  font-size: 12px;
  transition: all 0.15s ease;
}

.ge-checklist__item.is-checked .ge-checklist__box {
  border-color: var(--ge-net);
  background: var(--ge-net);
  color: #fff;
}

.ge-checklist__label {
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.8);
  transition: color 0.15s ease;
}

.ge-checklist__item.is-checked .ge-checklist__label {
  color: rgba(25, 34, 46, 0.45);
  text-decoration: line-through;
}

.ge-checklist__note {
  margin-top: 0.75rem;
  font-size: var(--ge-small-size);
  color: var(--ge-muted);
  line-height: var(--ge-small-lh);
}

/* ---------- Ajuda ---------- */
.ge-help {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--ge-net);
  color: #fff;
}

.ge-help__kicker {
  font-family: var(--ge-font-heading);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.5);
}

.ge-help__grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}

.ge-help__name {
  font-family: var(--ge-font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ge-help__text {
  margin-top: 0.25rem;
  font-size: var(--ge-small-size);
  line-height: var(--ge-small-lh);
  color: rgba(255, 255, 255, 0.6);
}

.ge-help__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  word-break: break-all;
  transition: all 0.15s ease;
}

.ge-help__button:hover {
  border-color: #fff;
  background: #fff;
  color: var(--ge-net);
}

.ge-help__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.15s ease;
}

.ge-help__link:hover {
  color: #fff;
}

/* ---------- Passo anterior / seguinte ---------- */
.ge-pager {
  display: grid;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ge-border);
}

.ge-pager__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--ge-border);
  border-radius: 0.75rem;
  background: #fff;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ge-pager__link:hover {
  border-color: rgba(11, 51, 103, 0.4);
}

.ge-pager__link--next {
  justify-content: flex-end;
  border-color: var(--ge-net);
  background: var(--ge-net);
  color: #fff;
  text-align: right;
}

.ge-pager__link--next:hover {
  border-color: var(--ge-net-dark);
  background: var(--ge-net-dark);
  color: #fff;
}

.ge-pager__kicker {
  display: block;
  font-family: var(--ge-font-heading);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ge-muted);
}

.ge-pager__link--next .ge-pager__kicker {
  color: rgba(255, 255, 255, 0.5);
}

.ge-pager__title {
  display: block;
  font-family: var(--ge-font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ge-net);
}

.ge-pager__kicker + .ge-pager__title {
  margin-top: 0.25rem;
}

.ge-pager__link--next .ge-pager__title {
  color: #fff;
}

.ge-pager__arrow-left,
.ge-pager__arrow-right {
  flex-shrink: 0;
  font-size: 1rem;
  transition: transform 0.15s ease;
}

.ge-pager__arrow-left {
  color: rgba(11, 51, 103, 0.4);
}

.ge-pager__link:hover .ge-pager__arrow-left {
  transform: translateX(-0.125rem);
}

.ge-pager__link:hover .ge-pager__arrow-right {
  transform: translateX(0.125rem);
}

/* ---------- Passo não encontrado ---------- */
.ge-not-found {
  padding-top: 6rem;
  padding-bottom: 6rem;
  text-align: center;
}

.ge-page .ge-not-found__title {
  --ge-fs: 1.5rem;
  margin-top: 0.75rem;
}

.ge-not-found__text {
  margin-top: 0.75rem;
  font-size: var(--ge-text-size);
  color: rgba(25, 34, 46, 0.7);
  line-height: var(--ge-text-lh);
}

.ge-not-found__button {
  margin-top: 1.5rem;
}

/* ---------- O meu plano: botões no resumo do perfil ---------- */
.ge-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ge-btn--light {
  background: #fff;
  color: var(--ge-net);
}

.ge-btn--light:hover {
  background: var(--ge-net-soft);
  color: var(--ge-net);
}

/* ---------- O meu plano: "Para o teu plano" em cada passo ---------- */
.ge-plan-block {
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(11, 51, 103, 0.15);
  border-radius: 1rem;
  background: var(--ge-net-sand);
}

.ge-plan-block__kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ge-font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ge-net-light);
}

.ge-plan-block__question {
  margin-top: 0.5rem;
  font-family: var(--ge-font-heading);
  font-size: 1.125rem;
  color: var(--ge-net);
}

.ge-plan-block__hint {
  margin-top: 0.25rem;
  font-size: var(--ge-small-size);
  color: var(--ge-muted);
  line-height: var(--ge-small-lh);
}

.ge-plan-block__options {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.ge-plan-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ge-border);
  border-radius: 0.75rem;
  background: #fff;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ge-plan-option:hover:not(:disabled) {
  border-color: rgba(11, 51, 103, 0.4);
}

.ge-plan-option.is-selected {
  border-color: var(--ge-net);
  box-shadow: inset 0 0 0 1px var(--ge-net);
}

.ge-plan-option:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.ge-plan-option__box {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--ge-border);
  border-radius: 6px;
  background: #fff;
  color: transparent;
  font-size: 12px;
  transition: all 0.15s ease;
}

.ge-plan-option.is-selected .ge-plan-option__box {
  border-color: var(--ge-net);
  background: var(--ge-net);
  color: #fff;
}

.ge-plan-option .bi-circle-fill {
  font-size: 7px;
}

.ge-plan-option__body {
  flex: 1;
  min-width: 0;
}

.ge-plan-option__title {
  display: block;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: var(--ge-fg);
}

.ge-plan-option.is-selected .ge-plan-option__title {
  color: var(--ge-net);
}

.ge-plan-option__note {
  display: block;
  margin-top: 0.125rem;
  font-size: var(--ge-small-size);
  color: var(--ge-muted);
  line-height: var(--ge-small-lh);
}

.ge-plan-block__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.875rem;
  font-size: var(--ge-small-size);
  color: var(--ge-muted);
  line-height: var(--ge-small-lh);
}

.ge-plan-block__foot .bi {
  color: var(--ge-green-700);
}

.ge-plan-block__foot a {
  font-weight: 500;
  color: var(--ge-net);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- O meu plano: fecho do passo 7 ---------- */
.ge-plan-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(11, 51, 103, 0.15);
  border-radius: 1rem;
  background: var(--ge-net-soft);
}

.ge-plan-cta > div {
  flex: 1 1 26rem;
}

.ge-plan-cta__kicker {
  font-family: var(--ge-font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ge-net-light);
}

.ge-plan-cta__title {
  margin-top: 0.375rem;
  font-family: var(--ge-font-heading);
  font-size: 1.375rem;
  text-transform: uppercase;
  color: var(--ge-net);
}

.ge-plan-cta__text {
  margin-top: 0.5rem;
  font-size: var(--ge-text-size);
  line-height: var(--ge-text-lh);
  color: rgba(25, 34, 46, 0.75);
}

/* ---------- O meu plano: a página / documento ---------- */
.ge-plan-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.ge-plan-actions__link {
  font-size: 14px;
  color: var(--ge-net);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* O documento do plano (no ecrã e no PDF). Uma só escala:
   texto 13.5px/1.6 · rótulos 10.5px Oswald · notas 12px · títulos de secção 15px Oswald */
.ge-plan {
  --doc-text: 13.5px;
  --doc-lh: 1.6;
  --doc-small: 12px;
  --doc-gap: 0.875rem;

  display: block;
  overflow: hidden;
  border: 1px solid var(--ge-border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 30px 70px -50px rgba(11, 51, 103, 0.5);
  font-size: var(--doc-text);
  line-height: var(--doc-lh);
  color: var(--ge-fg);
}

/* Capa */
.ge-plan__cover {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem;
  overflow: hidden;
  background: linear-gradient(155deg, var(--ge-net-dark) 0%, var(--ge-net) 55%, #134a8c 100%);
  color: #fff;
}

.ge-plan__cover::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -10rem;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(25, 118, 210, 0.45) 0%, transparent 70%);
  pointer-events: none;
}

/* Avião do NET na capa, como no topo do guia (sem filtros: o gerador de PDF não os suporta) */
.ge-page .ge-plan__plane {
  position: absolute;
  z-index: 0;
  top: 15%;
  right: -14%;
  width: 72%;
  max-width: none;
  height: auto;
  opacity: 0.6;
  transform: rotate(-6deg);
  pointer-events: none;
  user-select: none;
}

.ge-plan__cover-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ge-page .ge-plan__logo {
  display: block;
  width: 4.5rem;
  height: auto;
}

.ge-plan__confidential {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-family: var(--ge-font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
}

.ge-plan__cover-main {
  position: relative;
  z-index: 1;
}

.ge-plan__kicker {
  font-family: var(--ge-font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.7);
}

.ge-page .ge-plan__title {
  --ge-fs: 2.75rem;
  margin-top: 0.5rem;
  font-family: var(--ge-font-heading);
  line-height: 1.02;
  text-transform: uppercase;
  color: #fff;
}

.ge-plan__profile {
  margin-top: 1rem;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.ge-plan__meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.ge-plan__meta dt {
  font-family: var(--ge-font-heading);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.6);
}

.ge-plan__meta dd {
  margin: 0.25rem 0 0;
  font-size: 13.5px;
  color: #fff;
}

.ge-plan__cover-note {
  position: relative;
  z-index: 1;
  margin-top: 1.25rem;
  font-size: var(--doc-small);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

/* Corpo */
.ge-plan__body {
  padding: 2.25rem 2.5rem 2.5rem;
}

.ge-plan__section + .ge-plan__section {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--ge-border);
}

.ge-plan__section > * + * {
  margin-top: var(--doc-gap);
}

.ge-page .ge-plan__h2 {
  --ge-fs: 15px;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--ge-font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ge-net);
  break-after: avoid;
  page-break-after: avoid;
}

.ge-plan__num {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 999px;
  background: var(--ge-net);
  font-size: 12px;
  letter-spacing: 0;
  color: #fff;
}

.ge-plan__num--icon {
  background: var(--ge-net-soft);
  color: var(--ge-net);
}

.ge-plan__lead,
.ge-plan__text {
  font-size: var(--doc-text);
  line-height: var(--doc-lh);
  color: var(--ge-fg);
}

.ge-page .ge-plan__lead strong {
  font-weight: inherit;
  color: var(--ge-net);
  box-shadow: inset 0 -0.45em 0 var(--ge-net-soft);
}

/* Rótulo por cima de uma lista ou tabela */
/* Hierarquia do documento (só 3 níveis):
   1. Título de secção  → .ge-plan__h2  (Oswald, maiúsculas, azul, com número/ícone)
   2. Subtítulo         → .ge-plan__sub (texto normal maior, azul, com barra à esquerda)
   3. Cabeçalho de tabela → th (Oswald pequeno, maiúsculas, cinzento) */
.ge-plan__sub {
  margin-top: 1.25rem !important;
  padding-left: 0.625rem;
  border-left: 3px solid var(--ge-net-light);
  font-family: var(--ge-font-body);
  font-size: calc(var(--doc-text) * 1.08);
  font-weight: inherit;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ge-net);
  break-after: avoid;
  page-break-after: avoid;
}

.ge-plan__note {
  font-size: var(--doc-small);
  line-height: 1.55;
  color: var(--ge-muted);
}

.ge-plan__list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-left: 1.125rem;
  list-style: disc;
  font-size: var(--doc-text);
  line-height: var(--doc-lh);
  color: var(--ge-fg);
}

.ge-plan__list li::marker {
  color: var(--ge-net-light);
}

.ge-plan__list--checks {
  padding-left: 0;
  list-style: none;
}

.ge-plan__list--checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.ge-plan__list--checks .bi {
  margin-top: 0.15em;
}

.ge-plan__list--cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.375rem 1.5rem;
}

.ge-plan__yes {
  color: var(--ge-net);
}

.ge-plan__no {
  color: rgba(90, 104, 124, 0.6);
}

.ge-plan__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--doc-text);
  line-height: 1.5;
}

.ge-plan__table th {
  padding: 0.625rem 0.875rem;
  border-bottom: 1.5px solid var(--ge-net);
  font-family: var(--ge-font-heading);
  font-size: 10.5px;
  font-weight: 500;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ge-muted);
}

.ge-plan__table td {
  padding: 0.75rem 0.875rem;
  border-bottom: 1px solid var(--ge-border);
  vertical-align: top;
  color: var(--ge-fg);
}

.ge-plan__table tbody tr:nth-child(even) td {
  background: var(--ge-net-sand);
}

.ge-plan__table td:first-child {
  color: var(--ge-net);
}

/* Tabelas sem cabeçalho (rótulo · valor): coluna do rótulo com largura fixa */
.ge-plan__table--kv td:first-child {
  width: 30%;
}

.ge-plan__table tr,
.ge-plan__list li {
  break-inside: avoid;
  page-break-inside: avoid;
}

/* Blocos curtos (rótulo + tabela, tabelas, listas) passam inteiros para a página seguinte em vez de serem cortados */
.ge-plan__block,
.ge-plan__table,
.ge-plan__list {
  break-inside: avoid;
  page-break-inside: avoid;
}

/* Mais ar entre blocos: cada bloco (subtítulo + tabela/lista) fica bem separado do anterior */
.ge-plan__block {
  margin-top: 2.25rem !important;
}

.ge-plan__block > .ge-plan__sub {
  margin-top: 0 !important;
}

.ge-plan__block > * + * {
  margin-top: 0.875rem;
}

/* O título da secção fica mais afastado do conteúdo */
.ge-plan__section > .ge-plan__h2 + * {
  margin-top: 1.25rem;
}

.ge-plan__tag {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--ge-net-soft);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--ge-net);
  white-space: nowrap;
}

.ge-plan__nowrap {
  white-space: nowrap;
}

.ge-plan__tag--amber {
  background: var(--ge-amber-50);
  color: var(--ge-amber-800);
}

.ge-plan__foot {
  margin-top: 2rem;
  font-size: var(--doc-small);
  line-height: 1.55;
  color: var(--ge-muted);
}

@media (min-width: 640px) {
  .ge-plan-block__options--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* No ecrã, o plano aparece como as folhas do PDF: páginas A4 centradas, com a mesma letra e espaços */
@media screen and (min-width: 900px) {
  .ge-plan-page .ge-layout__main {
    padding: 1.5rem 0 3rem;
    border-radius: 1.25rem;
    background: #e9eef4;
  }

  .ge-plan-page .ge-plan-actions {
    justify-content: center;
  }

  .ge-plan {
    --doc-text: 10pt;
    --doc-small: 8.5pt;
    --doc-gap: 3.5mm;
    width: 210mm;
    max-width: calc(100% - 3rem);
    margin: 0 auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .ge-plan__cover,
  .ge-plan__body {
    background-color: #fff;
    box-shadow: 0 12px 40px -18px rgba(7, 37, 73, 0.45);
  }

  .ge-plan__cover {
    justify-content: space-between;
    box-sizing: border-box;
    aspect-ratio: 210 / 297;
    padding: 22mm 20mm;
    background: linear-gradient(155deg, var(--ge-net-dark) 0%, var(--ge-net) 55%, #134a8c 100%);
  }

  .ge-page .ge-plan__logo { width: 30mm; }
  .ge-page .ge-plan__title { --ge-fs: 40pt; }
  .ge-plan__profile { font-size: 13pt; }
  .ge-plan__meta dd { font-size: 10pt; }

  .ge-plan__body {
    margin-top: 1.5rem;
    padding: 16mm;
  }

  /* cada secção é uma folha, como no PDF */
  .ge-plan__body {
    margin-top: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .ge-plan__section,
  .ge-plan__section + .ge-plan__section {
    margin-top: 1.5rem;
    padding: 16mm;
    border-top: 0;
    background: #fff;
    box-shadow: 0 12px 40px -18px rgba(7, 37, 73, 0.45);
  }

  .ge-page .ge-plan__h2 { --ge-fs: 12pt; }
  .ge-plan__table th { font-size: 7.5pt; }
  .ge-plan__tag { font-size: 7.5pt; }
  .ge-plan__num { width: 6mm; height: 6mm; font-size: 8.5pt; }
}

@media (max-width: 639.98px) {
  .ge-plan__cover { padding: 1.75rem 1.5rem; gap: 1.5rem; }
  .ge-page .ge-plan__title { --ge-fs: 2rem; }
  .ge-plan__meta { grid-template-columns: 1fr; gap: 0.75rem; }
  .ge-plan__body { padding: 1.5rem 1.25rem 1.75rem; }
  .ge-plan__list--cols { grid-template-columns: 1fr; }
}

/* ============================================================
   Responsividade: tabelas em cartões no telemóvel, tabela das universidades no tablet, avião no telemóvel
   ============================================================ */

/* Tabela das universidades: a área sai a partir do tablet (está nos detalhes) */
@media (max-width: 1023.98px) {
  .ge-unitable__area,
  .ge-unitable thead th:nth-child(2) { display: none; }
}

@media (max-width: 420px) {
  .ge-unitable th,
  .ge-unitable td { padding-left: 0.75rem; padding-right: 0.75rem; }
  .ge-unitable__photo { width: 3.25rem; height: 2.5rem; border-radius: 0.5rem; }
  .ge-unitable__uni { gap: 0.625rem; }
  .ge-unitable__name { font-size: 14px; }
  .ge-unitable__grant { font-size: 1rem; }
}

/* Telemóvel: cada linha das tabelas passa a um cartão, com o nome da coluna antes de cada valor
   (os rótulos vêm do cabeçalho: o JS põe data-label em cada célula) */
@media (max-width: 639.98px) {
  .ge-page .ge-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .ge-page .ge-table {
    min-width: 0 !important;
  }

  .ge-page .ge-table thead {
    display: none;
  }

  .ge-page .ge-table,
  .ge-page .ge-table tbody,
  .ge-page .ge-table tr,
  .ge-page .ge-table td {
    display: block;
    width: 100% !important;
  }

  .ge-page .ge-table tbody {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .ge-page .ge-table tbody tr,
  .ge-page .ge-table tbody tr.is-alt,
  .ge-page .ge-table tbody:not([data-ge-zebra]) tr:nth-child(even) {
    padding: 0.875rem 1rem;
    border: 1px solid var(--ge-border);
    border-radius: 0.875rem;
    background: #fff;
  }

  .ge-page .ge-table tbody tr[hidden] {
    display: none;
  }

  .ge-page .ge-table td {
    padding: 0.3rem 0 !important;
    border: 0;
    text-align: left !important;
  }

  .ge-page .ge-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.125rem;
    font-family: var(--ge-font-heading);
    font-size: 10.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ge-muted);
  }

  .ge-page .ge-table td:empty {
    display: none;
  }

  /* quando a primeira célula já é uma etiqueta ("Grupo 1", "À chegada"), o rótulo é repetido */
  .ge-page .ge-table--grant td:first-child::before,
  .ge-page .ge-table--when td:first-child::before {
    display: none;
  }

  /* avião do hero: mais pequeno e mais transparente para não competir com o texto */
  .ge-page .ge-hero__plane {
    width: 13rem;
    filter: brightness(1.4) saturate(1.1) opacity(0.45) drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
  }
}

/* Plano no telemóvel (só no ecrã: o PDF mantém as tabelas) */
@media screen and (max-width: 639.98px) {
  .ge-plan__table thead {
    display: none;
  }

  .ge-plan__table,
  .ge-plan__table tbody,
  .ge-plan__table tr,
  .ge-plan__table td {
    display: block;
    width: 100%;
  }

  .ge-plan__table tr {
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--ge-border);
  }

  .ge-plan__table td {
    padding: 0.125rem 0 !important;
    border: 0 !important;
  }

  .ge-plan__table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-family: var(--ge-font-heading);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ge-muted);
  }

  .ge-plan__table td:empty {
    display: none;
  }
}

/* ============================================================
   Movimento (só com "ge-motion", que o JS põe quando não há "reduzir movimento")
   ============================================================ */
html:has(.ge-page) {
  scroll-behavior: smooth;
}

/* Ao mudar de página dentro do guia, a página antiga desvanece e a nova entra
   (o menu do site e a linha do tempo dos passos ficam parados) */
@view-transition {
  navigation: auto;
}

body:has(.ge-page) > .header {
  view-transition-name: ge-site-header;
}

.ge-page .ge-timeline {
  view-transition-name: ge-timeline;
}

::view-transition-old(root) {
  animation: ge-page-out 0.28s ease both;
}

::view-transition-new(root) {
  animation: ge-page-in 0.55s var(--ge-ease) both;
}

@keyframes ge-page-out {
  to { opacity: 0; transform: translate3d(0, -12px, 0); }
}

@keyframes ge-page-in {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root) { animation: ge-fade 0.25s ease reverse both; }
  ::view-transition-new(root) { animation: ge-fade 0.35s ease both; }
}

/* Sem suporte de View Transitions: o JS faz a página sair com um fade antes de navegar */
.ge-page.is-leaving {
  opacity: 0;
  transform: translate3d(0, -10px, 0);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

/* Antes de o JS correr: os blocos animáveis já começam escondidos (o <head> põe .ge-anim no <html>).
   Assim nunca aparecem e desaparecem. Mesma lista que o JS anima (REVEAL_GROUPS e REVEAL_SINGLE). */
html.ge-anim:not(.ge-motion-ready) .ge-page :is(
  .ge-phase-card, .ge-grid > *, .ge-quote, .ge-testimony, .ge-steps-list > li, .ge-documents__item,
  .ge-bullets > li, .ge-tip-list > li, .ge-semline > li, .ge-unitable tbody > tr, .ge-table tbody > tr,
  .ge-checklist__list > li, .ge-section__head, .ge-text, .ge-h3, .ge-uni-sub, .ge-callout, .ge-equiv,
  .ge-semcard, .ge-checklist, .ge-help, .ge-pager, .ge-plan-block, .ge-plan-cta, .ge-hint,
  .ge-journey__head, .ge-journey__group-head, .ge-profile-slot, .ge-plan-actions
) {
  opacity: 0;
}

/* Entrada ao fazer scroll: sobe e aparece, com atraso para os elementos em sequência */
.ge-motion .ge-reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(0.985);
  transition:
    opacity 0.9s var(--ge-ease) var(--ge-delay, 0ms),
    transform 1s var(--ge-ease) var(--ge-delay, 0ms);
}

/* Com "reduzir movimento": só aparecem (fade), sem deslocação */
.ge-motion--soft .ge-reveal {
  transform: none !important;
  transition: opacity 0.8s ease var(--ge-delay, 0ms) !important;
}

.ge-motion .ge-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Linhas de tabela: só aparecem (sem subir), para a tabela não "saltar" */
.ge-motion tr.ge-reveal {
  transform: none;
}

/* O traço por baixo dos títulos cresce quando o título entra */
.ge-motion .ge-section__head.ge-reveal .ge-rule {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ge-ease) 0.25s;
}

.ge-motion .ge-section__head.ge-reveal.is-in .ge-rule {
  transform: scaleX(1);
}

/* Topo das páginas: entra por fases ao abrir */
@keyframes ge-rise {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes ge-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

html.ge-anim .ge-hero__kicker,
html.ge-anim .ge-hero__title,
html.ge-anim .ge-hero__lead,
html.ge-anim .ge-hero__meta,
html.ge-anim .ge-phase-header__inner > * {
  animation: ge-rise 1s var(--ge-ease) both;
}

html.ge-anim-soft .ge-hero__kicker,
html.ge-anim-soft .ge-hero__title,
html.ge-anim-soft .ge-hero__lead,
html.ge-anim-soft .ge-hero__meta,
html.ge-anim-soft .ge-phase-header__inner > *,
html.ge-anim-soft .ge-timeline__list > * {
  animation-name: ge-fade !important;
}

html.ge-anim .ge-hero__title,
html.ge-anim .ge-phase-header__inner > *:nth-child(2) { animation-delay: 0.08s; }
html.ge-anim .ge-hero__lead,
html.ge-anim .ge-phase-header__inner > *:nth-child(3) { animation-delay: 0.16s; }
html.ge-anim .ge-hero__meta,
html.ge-anim .ge-phase-header__inner > *:nth-child(4) { animation-delay: 0.24s; }

/* Linha do tempo dos passos: os pontos entram em sequência */
html.ge-anim .ge-timeline__list > * {
  animation: ge-rise 0.6s var(--ge-ease) both;
}

html.ge-anim .ge-timeline__list > *:nth-child(2) { animation-delay: 0.04s; }
html.ge-anim .ge-timeline__list > *:nth-child(3) { animation-delay: 0.08s; }
html.ge-anim .ge-timeline__list > *:nth-child(4) { animation-delay: 0.12s; }
html.ge-anim .ge-timeline__list > *:nth-child(5) { animation-delay: 0.16s; }
html.ge-anim .ge-timeline__list > *:nth-child(6) { animation-delay: 0.2s; }
html.ge-anim .ge-timeline__list > *:nth-child(7) { animation-delay: 0.24s; }

/* Pequenos levantamentos ao passar o rato */
.ge-motion .ge-phase-card,
.ge-motion .ge-quote,
.ge-motion .ge-box,
.ge-motion .ge-testimony,
.ge-motion .ge-uni-topic,
.ge-motion .ge-steps-list li,
.ge-motion .ge-documents__item {
  transition:
    opacity 0.7s var(--ge-ease) var(--ge-delay, 0ms),
    transform 0.7s var(--ge-ease) var(--ge-delay, 0ms),
    translate 0.35s var(--ge-ease),
    border-color 0.2s ease,
    box-shadow 0.35s var(--ge-ease);
}

@media (hover: hover) {
  .ge-motion .ge-phase-card.is-in:hover,
  .ge-motion .ge-quote.is-in:hover,
  .ge-motion .ge-box.is-in:hover,
  .ge-motion .ge-steps-list li.is-in:hover,
  .ge-motion .ge-documents__item.is-in:hover {
    translate: 0 -3px;
    box-shadow: 0 20px 40px -32px rgba(11, 51, 103, 0.55);
  }

  .ge-motion .ge-quote.is-in:hover {
    border-color: rgba(11, 51, 103, 0.25);
  }
}

/* Botões: resposta suave ao toque */
.ge-motion .ge-btn {
  transition: transform 0.2s var(--ge-ease), background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ge-motion .ge-btn:active {
  transform: scale(0.97);
}

@media print {
  .ge-reveal,
  html.ge-anim .ge-page * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   Plano: cópia usada para gerar o PDF ("Descarregar PDF", html2pdf.js).
   Mesmo aspeto do PDF impresso, seja qual for o tamanho do ecrã.
   ============================================================ */
.ge-page.ge-plan-export {
  --doc-text: 10pt;
  --doc-small: 8.5pt;
  --doc-gap: 3.5mm;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.ge-plan-export * {
  animation: none !important;
  transition: none !important;
}

.ge-plan-export .ge-plan__cover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  box-sizing: border-box;
  height: 1122px;
  aspect-ratio: auto;
  padding: 22mm 20mm;
  box-shadow: none;
}

.ge-plan-export .ge-plan__cover::after { width: 140mm; height: 140mm; right: -40mm; bottom: -50mm; }
.ge-page.ge-plan-export .ge-plan__logo { width: 30mm; }
.ge-page.ge-plan-export .ge-plan__title { --ge-fs: 40pt; }
.ge-plan-export .ge-plan__profile { font-size: 13pt; }
.ge-plan-export .ge-plan__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ge-plan-export .ge-plan__meta dd { font-size: 10pt; }

.ge-plan-export .ge-plan__body,
.ge-plan-export .ge-plan__section,
.ge-plan-export .ge-plan__section + .ge-plan__section {
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: none;
}

/* folga no topo de cada secção: evita que um fio do título apareça no fundo da página anterior */
.ge-plan-export .ge-plan__section,
.ge-plan-export .ge-plan__section + .ge-plan__section { padding-top: 10px; }

.ge-page.ge-plan-export .ge-plan__h2 { --ge-fs: 12pt; }
.ge-plan-export .ge-plan__table th { font-size: 7.5pt; }
.ge-plan-export .ge-plan__tag { font-size: 7.5pt; }
.ge-plan-export .ge-plan__num { width: 6mm; height: 6mm; font-size: 8.5pt; }
.ge-plan-export .ge-plan__list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* tabelas sempre em tabela (no telemóvel o ecrã mostra-as em cartões) */
.ge-plan-export .ge-plan__table { display: table; }
.ge-plan-export .ge-plan__table thead { display: table-header-group; }
.ge-plan-export .ge-plan__table tbody { display: table-row-group; }
.ge-plan-export .ge-plan__table tr { display: table-row; padding: 0; border: 0; }
.ge-plan-export .ge-plan__table td {
  display: table-cell;
  width: auto;
  padding: 0.75rem 0.875rem !important;
  border-bottom: 1px solid var(--ge-border) !important;
}
.ge-plan-export .ge-plan__table--kv td:first-child { width: 30%; }
.ge-plan-export .ge-plan__table td::before { content: none !important; }

/* Ao guardar em PDF / imprimir a página do plano: só o documento, sem o site à volta.
   A capa ocupa a 1.ª página inteira; as outras têm rodapé com "Confidencial" e a numeração. */
@media print {
  @page {
    size: A4;
    margin: 28mm 18mm 22mm;

    @top-left {
      content: "O meu plano de Erasmus · NET-ISCTE";
      font-family: 'Oswald', 'Arial Narrow', sans-serif;
      font-size: 8pt;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #0b3367;
      vertical-align: bottom;
      padding-bottom: 6mm;
    }

    @top-right {
      content: "";
      font-family: 'Garet', 'Inter', sans-serif;
      font-size: 8pt;
      color: #5a687c;
      vertical-align: bottom;
      padding-bottom: 6mm;
    }

    @bottom-left {
      content: "O meu plano de Erasmus · Confidencial · gerado pelo simulador netiscte.pt";
      font-family: 'Garet', 'Inter', sans-serif;
      font-size: 8pt;
      color: #5a687c;
    }

    @bottom-right {
      content: counter(page) " / " counter(pages);
      font-family: 'Garet', 'Inter', sans-serif;
      font-size: 8pt;
      color: #5a687c;
    }
  }

  @page :first {
    margin: 0;

    @top-left { content: none; }
    @top-right { content: none; }
    @bottom-left { content: none; }
    @bottom-right { content: none; }
  }

  body:has(.ge-plan-page) > *:not(.ge-plan-page) {
    display: none !important;
  }

  body:has(.ge-plan-page) {
    background: #fff !important;
  }

  .ge-plan-page .ge-no-print {
    display: none !important;
  }

  .ge-plan-page .ge-layout {
    padding: 0;
  }

  .ge-plan-page .ge-layout__main {
    padding: 0 !important;
    background: none !important;
  }

  .ge-plan-page .ge-container {
    max-width: none;
    padding: 0;
  }

  .ge-plan {
    --doc-text: 10pt;
    --doc-small: 8.5pt;
    --doc-gap: 3.5mm;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .ge-plan * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Capa: uma página A4 inteira */
  .ge-plan__cover {
    justify-content: space-between;
    box-sizing: border-box;
    height: 297mm;
    padding: 22mm 20mm;
    break-after: page;
    page-break-after: always;
  }

  .ge-page .ge-plan__logo { width: 30mm; }
  .ge-page .ge-plan__title { --ge-fs: 40pt; }
  .ge-plan__profile { font-size: 13pt; }
  .ge-plan__meta dd { font-size: 10pt; }
  .ge-plan__cover::after { width: 140mm; height: 140mm; right: -40mm; bottom: -50mm; }

  .ge-plan__body {
    padding: 0;
  }

  /* cada secção começa numa página nova */
  .ge-plan__section + .ge-plan__section {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    break-before: page;
    page-break-before: always;
  }

  .ge-page .ge-plan__h2 { --ge-fs: 12pt; }
  .ge-plan__table th { font-size: 7.5pt; }
  .ge-plan__tag { font-size: 7.5pt; }
  .ge-plan__num { width: 6mm; height: 6mm; font-size: 8.5pt; }
}

/* ---------- Animações ---------- */
/* Entra pela esquerda, sobe ligeiramente ao atravessar e sai pela direita; depois uma pausa antes de repetir */
@keyframes ge-plane-fly {
  0% { transform: translate3d(-110%, 60px, 0) rotate(6deg); opacity: 0; }
  6% { opacity: 0.55; }
  55% { opacity: 0.55; }
  65% { transform: translate3d(100vw, -50px, 0) rotate(-2deg); opacity: 0; }
  100% { transform: translate3d(100vw, -50px, 0) rotate(-2deg); opacity: 0; }
}

@keyframes ge-step-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  /* sem movimento: o avião fica parado à direita, discreto */
  .ge-page .ge-hero__plane {
    left: auto;
    right: 4%;
    animation: none;
    opacity: 0.35;
    transform: rotate(-4deg);
  }
  .ge-page *:not(.ge-reveal), .ge-page *::before, .ge-page *::after { transition: none !important; }
}

/* ---------- Ecrãs maiores ---------- */
@media (min-width: 640px) {
  .ge-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .ge-page .ge-section {
    padding: 3.5rem 0;
  }

  .ge-page .ge-h2 { --ge-fs: 30px; }
  .ge-page .ge-hero__title { --ge-fs: 3.75rem; }
  .ge-page .ge-wizard__title { --ge-fs: 1.25rem; }
  .ge-page .ge-phase-header__title { --ge-fs: 42px; }
  .ge-page .ge-contacts-header__title { --ge-fs: 40px; }

  .ge-page .ge-hero__plane { width: 30rem; top: 10%; }
  .ge-hero__inner { padding-top: 4.2rem; padding-bottom: 11rem; }
  .ge-hero__lead { font-size: 1rem; }
}

/* Em ecrãs largos o texto do hero fica mais comprido, mas acaba ~2.5rem antes do avião
   (avião: 30rem de largura, a 4% da margem direita; o texto começa onde começa o símbolo do NET, ver abaixo).
   Conta: 100vw − (4vw + 16.5px) − 4vw − 30rem − 3.5rem = 92vw − 16.5px − 33.5rem */
@media (min-width: 1152px) {
  .ge-hero__lead { max-width: calc(92vw - 16.5px - 33.5rem); }
}

/* Só o texto do hero começa onde começa o desenho do símbolo do NET: margem do cabeçalho do site
   (clamp(1rem, 4vw, 5rem), em responsive.css) + 16.5px (a imagem logo_net.webp tem 100px de largura
   e margem transparente; o desenho começa a 16.5% da largura). No telemóvel fica alinhado com o resto da página. */
@media (min-width: 768px) {
  .ge-page .ge-hero__inner {
    max-width: none;
    padding-left: calc(clamp(1rem, 4vw, 5rem) + 16.5px);
    padding-right: clamp(1rem, 4vw, 5rem);
  }

  .ge-profile-slot { margin-top: -8.5rem; }

  .ge-wizard__head { padding: 1.25rem 2rem; }
  .ge-wizard__body { padding: 1.75rem 2rem; }
  .ge-wizard__options--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ge-wizard__options--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ge-banner__head { padding: 1.25rem 2rem; }
  .ge-banner__body { padding: 1.5rem 2rem; }

  .ge-grid--2,
  .ge-journey__cards,
  .ge-criteria,
  .ge-documents,
  .ge-help__grid,
  .ge-pager {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ge-formula__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ge-formula__expr { font-size: 2.25rem; }

  .ge-help__net {
    padding-left: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }

  .ge-phase-header__inner { padding-top: 3rem; padding-bottom: 3rem; }
  .ge-contacts-header { padding-top: 2.75rem; padding-bottom: 2.75rem; }
  .ge-layout { padding-top: 3rem; padding-bottom: 3rem; }
}

@media (min-width: 1024px) {
  .ge-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ge-banner__body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Telemóvel: na linha do tempo só ficam as bolinhas (o título do passo está no cabeçalho) */
@media (max-width: 767.98px) {
  .ge-timeline__label { display: none; }
  .ge-timeline__dot { width: 1.75rem; height: 1.75rem; font-size: 12px; }
  .ge-timeline__item:not(:last-child)::after {
    top: 0.875rem;
    left: calc(50% + 1.125rem);
    right: calc(-50% + 1.125rem);
  }
}
