/* Dioscope · protótipo Cursos de Medicina — complementos ao styles.css do protótipo dioscope-dala.
   Usa os mesmos tokens (--bg, --ink, --glass, --line, --blue, …); nada aqui redefine cores da marca. */

/* ---------- Landing: título centrado e mais contido; os tipos de curso aparecem logo abaixo ---------- */
.landing--medicina { align-items: center; justify-content: flex-start; padding-top: 8rem; padding-bottom: 3rem; }
/* Em desktop a hero ocupa o ecrã (min-height 100vh do styles.css) e os tipos de curso esticam pela altura livre */
@media (min-width: 1024px) { .landing--medicina { justify-content: center; padding-top: 7.5rem; padding-bottom: 2.5rem; } }
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 67rem; }
/* Título numa só linha a partir de tablet (escala com a largura do ecrã); em telemóvel pode quebrar */
.landing--medicina .hero__title {
  font-size: clamp(2.6rem, 11vw, 3.6rem); letter-spacing: -.04em; line-height: 1; margin-bottom: 1.5rem;
}
@media (min-width: 768px)  { .landing--medicina .hero__title { font-size: clamp(3rem, 5.4vw, 5rem); white-space: nowrap; } }
@media (min-width: 1366px) { .landing--medicina .hero__title { line-height: .98; } }
.landing--medicina .landing__title .line + .line .line__inner { padding-left: 0; }
/* Intro como na landing "Sobre nós": largo, justificado com a última linha centrada (a partir de tablet) */
.hero__lead { max-width: 65rem; } /* 65rem: o texto (169 carateres) fecha em duas linhas cheias em desktop */
@media (min-width: 768px) { .hero__lead { text-align: justify; text-align-last: center; } }
@media (max-width: 1023px) {
  .hero { position: relative; z-index: 1; }
  .hero::before {
    content: ""; position: absolute; z-index: -1; top: -.75rem; bottom: -.75rem; left: calc(-1 * var(--pad-x)); right: calc(-1 * var(--pad-x));
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    background: linear-gradient(0deg, rgba(var(--bg-rgb),.55), rgba(var(--bg-rgb),.15)); pointer-events: none;
  }
}

/* Tipos de curso: os cartões .stage da homepage, com uma esfera de partículas pequena
   por trás (canvas) que segue o cursor entre os cartões. Cartões encostados, cantos retos,
   glass leve (pouco desfoque) para a esfera se ver subtilmente através deles. */
.types { position: relative; width: 100%; margin-top: 2.5rem; isolation: isolate; gap: 0; }
@media (min-width: 1024px) { .types { flex: 1; min-height: 24rem; max-height: 32rem; grid-auto-rows: 1fr; } }
.types > .stage {
  position: relative; z-index: 1; padding: 2rem; border-radius: 0; border: 1px solid var(--line-2); margin: 0 0 -1px -1px;
  background: var(--types-glass); backdrop-filter: blur(3px) saturate(1.15); -webkit-backdrop-filter: blur(3px) saturate(1.15);
  box-shadow: none; color: var(--ink);
}
:root:not([data-theme="light"]) .types > .stage { --types-glass: rgba(255,255,255,.05); }
:root[data-theme="light"] .types > .stage { --types-glass: rgba(255,255,255,.42); }
/* O cartão Insights (branco na homepage) fica glass como os outros; o hover continua a virar azul */
.types > .stage--white p { color: var(--ink-2); }
:root:not([data-theme="light"]) .types > .stage--white p { color: #dbe6f3; }
.types > .stage--white .link-arrow { color: var(--ink); }
.types > .stage--white .stage__icon { border-color: transparent; }
.types > .stage::before {
  content: ""; position: absolute; z-index: -1; top: -4rem; left: -3rem; width: 15rem; height: 15rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%); opacity: 0; pointer-events: none; transition: opacity .35s;
}
.types > .stage:hover::before { opacity: 1; }
.types > .stage .stage__icon {
  width: 5.5rem; height: 5.5rem; margin-bottom: auto; border-radius: 1.6rem; border-color: transparent;
  background: rgba(53,125,237,.12); color: var(--blue);
}
.types > .stage .stage__icon svg { width: 2.9rem; height: 2.9rem; }
:root:not([data-theme="light"]) .types > .stage .stage__icon { background: rgba(53,125,237,.22); color: var(--blue-soft); }
.types > .stage .eyebrow { margin-top: 1.5rem; }
.types > .stage h2.h-36 { font-size: 2rem; }
@media (min-width: 1366px) { .types > .stage h2.h-36 { font-size: 2.25rem; } }
.types > .stage p { flex: 0 0 auto; }
@media (max-width: 1023px) { .types > .stage .stage__icon { margin-bottom: .25rem; } .types > .stage .eyebrow { margin-top: .5rem; } }
/* Hover: cada cartão troca de cor. Glass -> azul; azul -> branco; branco -> azul. */
.types > .stage:hover { transition-duration: .35s, .35s, .8s, .8s; z-index: 2; }
.types > .stage:not(.stage--blue):not(.stage--white):hover { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 18px 40px rgba(53,125,237,.35); }
.types > .stage:not(.stage--blue):not(.stage--white):hover .eyebrow { color: rgba(255,255,255,.75); }
.types > .stage:not(.stage--blue):not(.stage--white):hover p,
.types > .stage:not(.stage--blue):not(.stage--white):hover .link-arrow { color: #fff; }
.types > .stage:not(.stage--blue):not(.stage--white):hover .stage__icon { background: #fff; border-color: #fff; color: var(--blue); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.types > .stage:not(.stage--blue):not(.stage--white):hover .stage__icon-ring { border-color: rgba(255,255,255,.8); }
.types > .stage--blue:hover { background: #fff; border-color: #fff; color: var(--navy); box-shadow: 0 18px 40px var(--shadow); }
.types > .stage--blue:hover .eyebrow { color: var(--blue); }
.types > .stage--blue:hover p { color: #3b4d5e; }
.types > .stage--blue:hover .link-arrow { color: var(--navy); }
.types > .stage--blue:hover .stage__icon { background: var(--blue); border-color: var(--blue); color: #fff; }
.types > .stage--white:is(:hover, .is-open) { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 18px 40px rgba(53,125,237,.35); }
.types > .stage--white:is(:hover, .is-open) .eyebrow { color: rgba(255,255,255,.75); }
.types > .stage--white:is(:hover, .is-open) p, .types > .stage--white:is(:hover, .is-open) .link-arrow { color: #fff; }
.types > .stage--white:is(:hover, .is-open) .stage__icon { background: #fff; border-color: #fff; color: var(--blue); }
.types > .stage--white:is(:hover, .is-open) .stage__icon-ring { border-color: rgba(255,255,255,.8); }
.types > .stage .eyebrow, .types > .stage p, .types > .stage .link-arrow { transition: color .35s; }
.types__orb { position: absolute; inset: -6rem; width: calc(100% + 12rem); height: calc(100% + 12rem); z-index: 0; pointer-events: none; }
.stage h2.h-36 { margin: 0; }
/* Preview do próximo Insights: painel azul que abre em acordeão por baixo do cartão Insights (hover/foco).
   Sobrepõe-se ao rodapé da hero (não empurra a página); em mobile não existe (o cartão leva à agenda). */
.types__preview { display: none; }
@media (min-width: 768px) {
  .types__preview {
    display: grid; grid-template-rows: 0fr; position: absolute; z-index: 3; right: 0; top: calc(100% + .75rem);
    width: 50%; opacity: 0; transform: translateY(-.5rem); pointer-events: none;
    transition: grid-template-rows .55s var(--ease), opacity .3s, transform .55s var(--ease);
  }
  .types__preview::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; } /* ponte: o cursor atravessa o intervalo sem fechar */
  .types__preview.is-open { grid-template-rows: 1fr; opacity: 1; transform: none; pointer-events: auto; }
  .types__preview-clip { min-height: 0; overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .types__preview { transition: none; } }
.preview {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; padding: 1.25rem 1.5rem 1.25rem 1.25rem;
  border-radius: 1.5rem; background: var(--blue); color: #fff; text-decoration: none;
  box-shadow: 0 24px 50px -20px rgba(53,125,237,.6); transition: background .35s;
}
.preview:hover { background: var(--blue-dark); }
.preview__media { aspect-ratio: 4 / 3; border-radius: 1rem; overflow: hidden; background: #fff; }
.preview__media img { width: 100%; height: 100%; object-fit: contain; padding: .4rem; transition: transform 1.2s var(--ease); }
.preview:hover .preview__media img { transform: scale(1.05); }
.preview__body { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.preview__eyebrow { font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.preview__eyebrow b { font-weight: 700; color: #fff; }
.preview__title { font-size: 1.35rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.preview__tags { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; }
.preview .pill { background: rgba(255,255,255,.16); color: #fff; }
.preview .pill--live::before { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.6); animation-name: pill-pulse-w; }
.preview__meta { font-size: .78rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.preview__meta b { font-weight: 600; color: #fff; }
.preview__go, .preview:hover .preview__go { font-size: .78rem; color: #fff; }
@media (max-width: 1365px) { .preview { grid-template-columns: 6.5rem minmax(0, 1fr); } .preview__go { grid-column: 2; justify-self: start; } }

.hero__foot { margin-top: 2rem; text-align: center; }
.types.is-open + .hero__foot { opacity: 0; transition-duration: .3s; } /* o painel sobrepõe-se ao rodapé da hero; escondê-lo evita texto cortado */
.hero__foot .link-arrow { color: var(--ink-2); font-size: .8rem; }

/* ---------- Cabeçalhos de secção ---------- */
.block { display: block; }
.sec-head { max-width: 40rem; margin-bottom: 2.5rem; }
.sec-head .lead { margin-top: 1.25rem; }
.sec-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; max-width: none; }
.sec-head--row > div:first-child { max-width: 40rem; }
@media (max-width: 1023px) {
  .sec-head { position: relative; z-index: 1; }
  .sec-head::before {
    content: ""; position: absolute; z-index: -1; top: -.75rem; bottom: -.75rem; left: calc(-1 * var(--pad-x)); right: calc(-1 * var(--pad-x));
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    background: linear-gradient(0deg, rgba(var(--bg-rgb),.55), rgba(var(--bg-rgb),.15)); pointer-events: none;
  }
  .section--tint-a .sec-head::before, .section--tint-b .sec-head::before { display: none; }
}

/* ---------- Recursos de aprendizagem ---------- */
.res-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .res-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.res { display: flex; flex-direction: column; gap: .6rem; padding: 1.75rem 0; }
.res__icon {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: .75rem; border-radius: 1rem;
  background: rgba(53,125,237,.14); border: 1px solid var(--line-2); color: var(--blue-soft);
}
.res__icon svg { width: 1.7rem; height: 1.7rem; }
.res p { color: var(--ink-2); font-size: 1.05rem; }
.res-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; }
.res-cta p { color: var(--ink-2); font-size: 1.05rem; }

/* ---------- Agenda Insights (calendário em fundo azul da marca) ---------- */
.section--blue {
  --ink: #ffffff; --ink-2: rgba(255,255,255,.86); --ink-3: rgba(255,255,255,.62); --blue-soft: #bfe0ff;
  --line: rgba(255,255,255,.2); --line-2: rgba(255,255,255,.32); --card: rgba(255,255,255,.06);
  --glass: rgba(255,255,255,.1); --glass-2: rgba(255,255,255,.16); --glass-hi: rgba(255,255,255,.25); --shadow: rgba(12,44,61,.3);
  --hover-fill: #ffffff; --hover-ink: var(--navy); --bg-rgb: 53,125,237;
  position: relative; isolation: isolate; background: var(--blue); color: var(--ink);
}
.section--blue em { color: #bfe0ff; }
.section--blue .eyebrow { color: rgba(255,255,255,.7); }
.section--blue .lead { color: var(--ink-2); }
.section--blue .sec-head::before { display: none; }
.section--blue > * { position: relative; z-index: 1; }
.insights__orb { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.section--blue .pill { background: rgba(255,255,255,.16); color: #fff; }
.section--blue .pill--live::before { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.6); animation-name: pill-pulse-w; }
@keyframes pill-pulse-w { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 100% { box-shadow: 0 0 0 .6rem rgba(255,255,255,0); } }
.section--blue .link-arrow { color: #fff; }
.section--blue .link-arrow:hover { color: #bfe0ff; }

.cal { width: 100%; }
.cal__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cal__month { padding: 1.75rem 0 .5rem; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cal__item { border-bottom: 1px solid var(--line); }
.cal__today { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.cal__today::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .3rem rgba(255,255,255,.25); }
.cal__today::after { content: ""; flex: 1; height: 1px; background: #fff; opacity: .5; }
.ev {
  display: grid; grid-template-columns: 6rem minmax(0, 1fr); grid-template-areas: "date media" "body body" "go go"; gap: 1rem 1.25rem; align-items: center;
  padding: 1.25rem 0; text-decoration: none; color: var(--ink);
}
@media (min-width: 768px) { .ev { grid-template-columns: 8rem 9rem minmax(0, 1fr); grid-template-areas: "date media body" "date media go"; gap: .5rem 1.75rem; } }
@media (min-width: 1200px) { .ev { grid-template-columns: 9rem 11rem minmax(0, 1fr) auto; grid-template-areas: "date media body go"; gap: 2rem; padding: 1.5rem 0; } }
.ev:hover .ev__title { color: #bfe0ff; }
.ev:hover .ev__media img { transform: scale(1.05); }
.ev__date { grid-area: date; display: grid; justify-items: start; align-content: center; gap: .15rem; align-self: start; transition: opacity .4s; }
@media (min-width: 768px) { .ev__date { align-self: center; } }
.ev__date b { font-size: 3.5rem; font-weight: 300; letter-spacing: -.05em; line-height: .95; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .ev__date b { font-size: 4.25rem; } }
.ev__date small { font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.ev__date i { font-style: normal; font-size: .72rem; letter-spacing: .04em; color: var(--ink-3); }
.cal__item:not(.cal__item--live) .ev__date { opacity: .55; }
.cal__item:not(.cal__item--live) .ev:hover .ev__date { opacity: .85; }
.ev__media {
  grid-area: media; display: block; aspect-ratio: 16 / 10; max-width: 100%; border-radius: .9rem; overflow: hidden;
  background: linear-gradient(160deg, var(--glass-2), var(--glass)); border: 1px solid var(--line);
}
.ev__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ev__body { grid-area: body; display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.ev__tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; }
.ev__meta { font-size: .78rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.ev__title { font-size: 1.4rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; transition: color .4s var(--ease-soft); }
@media (min-width: 768px) { .ev__title { font-size: 1.6rem; } }
.ev__sponsor { font-size: .9rem; color: var(--ink-3); }
.ev__sponsor b { font-weight: 500; color: var(--ink-2); }
.ev__go { grid-area: go; font-size: .78rem; justify-self: start; }
@media (min-width: 1200px) { .ev__go { justify-self: end; } }
.cal__more { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 2rem; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem; line-height: 1;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .5rem .85rem; border-radius: 2rem; background: rgba(53,125,237,.16); color: var(--blue-soft);
}
.pill--live::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(53,125,237,.6); animation: pill-pulse 1.8s ease-out infinite; }
@keyframes pill-pulse { 0% { box-shadow: 0 0 0 0 rgba(53,125,237,.55); } 100% { box-shadow: 0 0 0 .6rem rgba(53,125,237,0); } }
.ev__media--fit img { object-fit: contain; padding: .5rem; }

/* ---------- Destaque MGF ---------- */
.destaque { padding-top: 3rem; }
.feature {
  position: relative; display: grid; gap: 2rem; padding: 2.5rem; border-radius: 1.75rem; overflow: hidden; text-decoration: none;
  background: var(--blue); color: #fff; border: 1px solid var(--blue);
  transition: background .6s var(--ease), border-color .6s, transform .8s var(--ease), box-shadow .8s var(--ease);
}
@media (min-width: 1024px) { .feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); padding: 3.5rem; gap: 3rem; align-items: center; } }
.feature:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-.25rem); box-shadow: 0 24px 60px rgba(36,76,187,.35); }
.feature__year {
  position: absolute; right: 1.5rem; top: .5rem; font-size: 7rem; line-height: 1; font-weight: 300; letter-spacing: -.06em;
  color: rgba(255,255,255,.12); pointer-events: none; white-space: nowrap;
}
@media (min-width: 1024px) { .feature__year { font-size: 10rem; right: 2rem; top: -.5rem; } }
.feature__text { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.feature .eyebrow { color: rgba(255,255,255,.75); margin-bottom: 0; }
.feature__title em { color: #bfe0ff; }
.feature .lead { color: rgba(255,255,255,.9); max-width: 34rem; }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.badges li { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .55rem .9rem; border-radius: 2rem; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); }
.feature .btn { background: #fff; color: var(--navy); margin-top: .5rem; }
.feature .btn__hover { background: var(--navy); }
.feature:hover .btn { color: #fff; }
.feature:hover .btn__hover { clip-path: ellipse(120% 180% at 50% 60%); }
.feature__coords { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 1.25rem; }
.feature__coords .coord__pic { width: 9rem; height: 9rem; border-color: rgba(255,255,255,.35); background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,.08)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 14px 34px rgba(12,44,61,.3); }
.feature__coords .coord__pic::after { background: radial-gradient(80% 60% at 50% 100%, rgba(255,255,255,.22), transparent 70%); }
.feature__coords .coord__pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.feature__coords .coord__name { color: #fff; font-size: .9rem; }
.feature__coords-label { flex-basis: 100%; text-align: center; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ---------- Catálogos (.spec reutilizado) ---------- */
.spec__text { display: grid; gap: .15rem; min-width: 0; }
.spec__text b { display: block; }
.spec__text small { font-size: .72rem; letter-spacing: .03em; color: var(--ink-3); }
.spec:hover .spec__text small { color: var(--ink-2); }
.section--tint-a .spec { background: var(--glass); border-color: var(--line-2); }

/* MGF por ano */
.mgf { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.years { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .years { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.year {
  position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.75rem; border-radius: 1.5rem; overflow: hidden; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .5s, transform .8s var(--ease), box-shadow .8s var(--ease);
}
.year:hover { border-color: rgba(53,125,237,.6); transform: translateY(-.25rem); box-shadow: 0 18px 40px var(--shadow); }
.year__num {
  position: absolute; right: 1rem; top: .1rem; font-size: 6rem; line-height: 1; font-weight: 300; letter-spacing: -.05em;
  color: var(--num-ghost); pointer-events: none; transition: color .6s var(--ease), transform .8s var(--ease);
}
.year:hover .year__num { color: rgba(53,125,237,.28); transform: translateY(-.35rem); }
.year .eyebrow { margin-bottom: 0; }
.year h4 { margin: 0; font-size: 1.4rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.year p { color: var(--ink-2); font-size: 1rem; flex: 1; }
.year .link-arrow { margin-top: .5rem; font-size: .8rem; }

/* Entrada na Especialidade */
.entries { display: grid; gap: 1rem; }
@media (min-width: 560px)  { .entries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1366px) { .entries { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.entry {
  display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem; border-radius: 1.5rem; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .5s, background .5s, transform .8s var(--ease), box-shadow .8s var(--ease);
}
.entry:hover { border-color: rgba(53,125,237,.6); background: rgba(53,125,237,.08); transform: translateY(-.25rem); box-shadow: 0 18px 40px var(--shadow); }
.entry__head { display: flex; align-items: center; gap: .9rem; }
.entry__head .ico { width: 2.75rem; height: 2.75rem; flex: none; border-radius: .8rem; display: grid; place-items: center; background: rgba(53,125,237,.14); color: var(--blue-soft); }
.entry__head .ico svg { width: 1.6rem; height: 1.6rem; display: block; }
.entry h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
.entry__coords { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.avatars { display: flex; flex: none; }
.avatar {
  width: 3rem; height: 3rem; border-radius: 50%; overflow: hidden; margin-left: -.75rem;
  background: linear-gradient(160deg, var(--glass-2), var(--glass)); border: 1px solid var(--line-2); box-shadow: 0 0 0 2px var(--bg);
}
.avatar:first-child { margin-left: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.entry__who { display: grid; gap: .1rem; min-width: 0; }
.entry__who small { font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-soft); }
.entry__who span { font-size: .9rem; color: var(--ink-2); line-height: 1.3; }

/* ---------- Mais cursos ---------- */
.more-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px)  { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1366px) { .more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.more-grid .challenge .eyebrow { margin-bottom: 0; }
.more-grid .challenge__foot { margin-top: auto; padding-top: 1rem; }

/* ---------- Certificação + CTA ---------- */
.cert__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .cert__grid { grid-template-columns: auto minmax(0, 1fr) auto; gap: 3.5rem; } }
.cert__badge { height: 7rem; width: auto; max-width: 100%; object-fit: contain; background: #fff; padding: .6rem .8rem; border-radius: .9rem; border: 1px solid var(--line); }
.cert__text { max-width: 40rem; display: grid; gap: 1rem; }
.cert__text .eyebrow { margin-bottom: 0; }
.cert__text p { color: var(--ink-2); font-size: 1.05rem; }
.cert__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.cert .btn-ghost { color: var(--ink); border-color: var(--line-2); }

/* Reveal: os catálogos gerados por JS revelam-se como um bloco */
[data-reveal].js-catalog, [data-reveal].js-entries { transition-duration: .8s; }
@media (prefers-reduced-motion: reduce) {
  .pill--live::before { animation: none; }
}
