/* ═══════════════════════════════════════════════
 * Colégio Tecla — seções da página do Ensino Médio
 * ═══════════════════════════════════════════════
 *
 * Só o que é desta página. O vocabulário compartilhado com as outras páginas de
 * segmento (chapéu, destaques, divisor), os tokens `--tcf-*` e a neutralização
 * dos wrappers do Elementor estão em `tecla-segmentos.css`, que carrega antes
 * desta folha.
 *
 * O wrapper é `.tc.tc-seg#tc-medio` (ver `page-ensino-medio.php`).
 *
 * O QUE MUDA AQUI EM RELAÇÃO ÀS OUTRAS PÁGINAS DE SEGMENTO
 * Duas seções são **escuras** — o topo e o vídeo. É a única página do site com
 * isso, e é intencional: a promessa do Ensino Médio não é acolhimento, é
 * ambição. O resto da página volta ao creme das demais para não virar outro
 * site.
 *
 * Toda regra começa com `.tc ` de propósito — o motivo está explicado no
 * cabeçalho de `tecla-segmentos.css`.
 * ═══════════════════════════════════════════════ */

#tc-medio {
  --tce-dark: #0a1830;
  --tce-dark-2: #122a4f;
  --tce-navy: #0d2350;
}

/* ───────────────────────────────────────────────
 * Peças desta página
 * ─────────────────────────────────────────────── */

.tc .tce-amber { color: var(--tc-yellow); }

.tc .tce-word {
  color: var(--tc-amber);
  font-weight: 400;
  line-height: 1.1;
}

/* Botão amarelo em pílula, com seta. */
.tc .tce-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--tc-yellow);
  color: var(--tc-navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(251, 192, 9, .28);
  transition: transform .25s ease;
}
.tc .tce-btn:hover { transform: translateY(-2px); color: var(--tc-navy); text-decoration: none; }
.tc .tce-btn svg { width: 18px; height: 18px; }

/* Chapéu de duas linhas com ícone em círculo. */
.tc .tce-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.tc .tce-kicker__ic {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--tc-line);
  display: grid;
  place-items: center;
  color: var(--tc-navy);
}
.tc .tce-kicker__ic svg { width: 19px; height: 19px; }
.tc .tce-kicker__tx {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tc-text-soft);
}
.tc .tce-kicker__tx b {
  display: block;
  font-weight: 800;
  color: var(--tc-navy);
}

/* Cartão azul-marinho de uma frase. */
.tc .tce-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin-top: 26px;
  padding: 20px 26px;
  border-radius: 16px;
  background: var(--tce-navy);
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  line-height: 1.55;
}
.tc .tce-callout__ic { width: 26px; flex: none; color: var(--tc-yellow); }
.tc .tce-callout__ic svg { width: 100%; height: auto; }
.tc .tce-callout__script {
  font-size: 20px;
  line-height: 1;
  color: var(--tc-yellow);
}

/* Palavras por cima da foto. */
.tc .tce-overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 10px 15px;
  border-radius: 12px;
  background: rgba(10, 24, 48, .42);
  backdrop-filter: blur(3px);
  font-size: clamp(13px, 1.3vw, 17px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
}
.tc .tce-overlay b { color: var(--tc-yellow); }

/* Divisor + colunas de ícone. Aparece em seis seções. */
.tc .tce-cols { margin-top: 44px; }
.tc .tce-cols .tcf-divider { margin-top: 0; }
.tc .tce-cols__list {
  display: grid;
  gap: 0;
  margin-top: 28px;
  padding: 0;
}
.tc .tce-cols__list--6 { grid-template-columns: repeat(6, 1fr); }
.tc .tce-cols__list--5 { grid-template-columns: repeat(5, 1fr); }
.tc .tce-cols__list .tcf-feat {
  padding-inline: 16px;
  border-right: 1px solid var(--tc-line);
}
.tc .tce-cols__list .tcf-feat:last-child { border-right: 0; }
.tc .tce-cols__list .tcf-feat__ic { background: none; color: var(--tc-navy); }
.tc .tce-cols__list .tcf-cardtitle {
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.tc .tce-cols__list .tcf-feat__tx { font-size: 11px; }

/* Tarja de fechamento com botão. */
.tc .tce-barcta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 40px;
  padding: 18px 26px;
  border-radius: 16px;
  background: var(--tcf-cream-2);
}
.tc .tce-barcta__ic { width: 32px; flex: none; color: var(--tc-amber); }
.tc .tce-barcta__ic svg { width: 100%; height: auto; }
.tc .tce-barcta__tx {
  flex: 1 1 320px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--tc-text-soft);
}
.tc .tce-barcta__tx b { display: block; font-weight: 800; color: var(--tc-navy); }
.tc .tce-barcta__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 10px;
  background: var(--tc-yellow);
  color: var(--tc-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .25s ease;
}
.tc .tce-barcta__btn:hover { transform: translateY(-2px); color: var(--tc-navy); text-decoration: none; }
.tc .tce-barcta__btn svg { width: 16px; height: 16px; }

/* Casca comum das seções 5 a 10. */
.tc .tce-split { padding-block: 16px 56px; }
.tc .tce-split__box {
  border-radius: var(--tcf-radius);
  background: var(--tcf-cream);
  padding: 46px 42px 40px;
  box-shadow: var(--tc-shadow);
}
.tc .tce-split__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
.tc .tce-split__media { position: relative; align-self: stretch; min-height: 380px; }
.tc .tce-split__photo { position: absolute; inset: 0; }
.tc .tce-split__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.tc .tce-split__title {
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.16;
  font-weight: 700;
}
.tc .tce-split__title .tce-word { font-size: 1.15em; }
.tc .tce-split__script {
  margin-top: 8px;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.25;
  color: var(--tc-amber);
}
.tc .tce-split__text {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.66;
  color: var(--tc-text-soft);
}
.tc .tce-split__text b { font-weight: 800; color: var(--tc-navy); }

/* ───────────────────────────────────────────────
 * 2. Hero (escuro)
 * ─────────────────────────────────────────────── */
.tc .tce-hero { padding-block: 26px 8px; }

.tc .tce-hero__stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: var(--tcf-radius);
  background: var(--tce-dark);
  overflow: hidden;
  box-shadow: var(--tc-shadow-hi);
  min-height: 620px;
}

.tc .tce-hero__media { position: relative; }
.tc .tce-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Véu à esquerda: é o que deixa o texto legível sobre qualquer foto que
   venha a ser colocada aqui pelo painel. */
.tc .tce-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--tce-dark) 0%, rgba(10, 24, 48, .72) 28%, rgba(10, 24, 48, .12) 66%);
}

.tc .tce-hero__content {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 56px 24px 56px 52px;
}
.tc .tce-hero__eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.tc .tce-hero__title {
  margin-top: 14px;
  font-size: clamp(30px, 3.9vw, 50px);
  line-height: 1.06;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: #fff;
}
.tc .tce-hero__text {
  margin-top: 20px;
  font-size: clamp(12.5px, 1.05vw, 14.5px);
  line-height: 1.62;
  color: rgba(255, 255, 255, .74);
}
.tc .tce-hero__text b { color: var(--tc-yellow); font-weight: 700; }

.tc .tce-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
}
.tc .tce-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .32);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
}
.tc .tce-hero__link svg { width: 17px; height: 17px; color: var(--tc-yellow); transition: transform .25s ease; }
.tc .tce-hero__link:hover { color: #fff; text-decoration: none; }
.tc .tce-hero__link:hover svg { transform: translateX(4px); }

.tc .tce-hero__feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 36px;
  padding: 0;
  max-width: 420px;
}
.tc .tce-hero__feats .tcf-feat {
  padding-inline: 16px;
  border-right: 1px solid rgba(255, 255, 255, .16);
}
.tc .tce-hero__feats .tcf-feat:first-child { padding-left: 0; }
.tc .tce-hero__feats .tcf-feat:last-child { border-right: 0; }
.tc .tce-hero__feats .tcf-feat__ic { background: none; color: var(--tc-yellow); width: 36px; height: 36px; }
.tc .tce-hero__feats .tcf-feat__ic svg { width: 26px; height: 26px; }
.tc .tce-hero__feats .tcf-feat__tx { font-size: 10.5px; color: rgba(255, 255, 255, .66); }
.tc .tce-hero__feats .tcf-cardtitle { font-size: 11px; color: var(--tc-yellow); }
.tc .tce-hero__title .tcf-heart { color: var(--tc-yellow); }

/* ───────────────────────────────────────────────
 * 3. Manifesto
 * ─────────────────────────────────────────────── */
.tc .tce-mani { padding-block: 56px; }

.tc .tce-mani__box {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 560px;
  border-radius: var(--tcf-radius);
  overflow: hidden;
  background: var(--tcf-cream);
  box-shadow: var(--tc-shadow-hi);
}
.tc .tce-mani__photo { position: relative; }
.tc .tce-mani__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tc .tce-mani__panel { display: grid; align-items: center; padding: 52px 48px; }
.tc .tce-mani__inner { max-width: 520px; }
.tc .tce-mani__title {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.14;
  font-weight: 700;
}
.tc .tce-mani__text {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.66;
  color: var(--tc-text-soft);
}
.tc .tce-mani__text b { font-weight: 800; color: var(--tc-navy); }

.tc .tce-mani__blocks {
  display: grid;
  gap: 20px;
  margin-top: 28px;
  padding: 0;
}
.tc .tce-mani__block { display: flex; align-items: flex-start; gap: 16px; }
.tc .tce-mani__block-ic { width: 34px; flex: none; color: var(--tc-amber); }
.tc .tce-mani__block-ic svg { width: 100%; height: auto; }
.tc .tce-mani__block-tx {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--tc-text-soft);
}
.tc .tce-mani__block-tx b { font-weight: 800; color: var(--tc-navy); }

/* ───────────────────────────────────────────────
 * 4. Vídeo (escuro)
 * ─────────────────────────────────────────────── */
.tc .tce-video { padding-block: 8px 56px; }

.tc .tce-video__stage {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  border-radius: var(--tcf-radius);
  background: var(--tce-dark);
  overflow: hidden;
  box-shadow: var(--tc-shadow-hi);
}
.tc .tce-video__content { align-self: center; padding: 50px 34px 50px 48px; }
.tc .tce-video__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.tc .tce-video__title {
  margin-top: 14px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.14;
  font-weight: 700;
  color: #fff;
}
.tc .tce-video__word {
  display: block;
  margin-top: 6px;
  font-size: 1.2em;
  font-weight: 400;
  line-height: 1.1;
  color: var(--tc-yellow);
}
.tc .tce-video__word .tcf-heart { color: var(--tc-yellow); }
.tc .tce-video__text {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.62;
  color: rgba(255, 255, 255, .74);
}
.tc .tce-video__cue {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--tc-yellow);
}
.tc .tce-video__cue-ic { width: 15px; flex: none; }
.tc .tce-video__cue-ic svg { width: 100%; height: auto; }

.tc .tce-video__feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 30px;
  padding: 0;
}
.tc .tce-video__feats .tcf-feat {
  padding-inline: 14px;
  border-right: 1px solid rgba(255, 255, 255, .16);
}
.tc .tce-video__feats .tcf-feat:first-child { padding-left: 0; }
.tc .tce-video__feats .tcf-feat:last-child { border-right: 0; }
.tc .tce-video__feats .tcf-feat__ic { background: none; color: var(--tc-yellow); width: 34px; height: 34px; }
.tc .tce-video__feats .tcf-feat__ic svg { width: 24px; height: 24px; }
.tc .tce-video__feats .tcf-feat__tx { font-size: 10.5px; color: rgba(255, 255, 255, .62); }
.tc .tce-video__feats .tcf-cardtitle { font-size: 11px; color: #fff; }

/* O `id="tc-video-frame"` deste botão é lido pelo tecla-home.js, que troca a
   capa pelo iframe do YouTube no clique. */
.tc .tce-video__frame {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  min-height: 440px;
  overflow: hidden;
}
.tc .tce-video__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.tc .tce-video__frame:hover img { transform: scale(1.03); }
.tc .tce-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.tc .tce-video__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 24, 48, .85) 0%, rgba(10, 24, 48, .12) 42%);
}
.tc .tce-video__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  display: grid;
  place-items: center;
  color: var(--tc-navy);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .35);
  transition: transform .3s ease;
}
.tc .tce-video__frame:hover .tce-video__play { transform: scale(1.07); }
.tc .tce-video__play svg { width: 32px; height: 32px; margin-left: 5px; }

/* ───────────────────────────────────────────────
 * 6. ENEM e vestibulares
 * ─────────────────────────────────────────────── */
.tc .tce-enem__grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 26px;
  margin-top: 40px;
}
.tc .tce-enem__sim {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 22px 28px;
  padding: 26px 30px;
  border-radius: 18px;
  background: var(--tcf-cream-2);
}
.tc .tce-enem__sim-head { display: flex; align-items: flex-start; gap: 14px; }
.tc .tce-enem__sim-ic { width: 40px; flex: none; color: var(--tc-amber); }
.tc .tce-enem__sim-ic svg { width: 100%; height: auto; }
.tc .tce-enem__sim-tx {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--tc-text-soft);
}
.tc .tce-enem__sim-tx .tcf-cardtitle {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tc .tce-enem__list { display: grid; gap: 10px; padding: 0; }
.tc .tce-enem__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--tc-text);
}
.tc .tce-enem__list svg { width: 16px; height: 16px; flex: none; color: var(--tc-amber); margin-top: 1px; }
.tc .tce-enem__note {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid #ecdfc6;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--tc-text-soft);
}
.tc .tce-enem__side { display: grid; gap: 20px; padding: 0; }
.tc .tce-enem__side .tcf-feat__ic { background: none; color: var(--tc-navy); }
.tc .tce-enem__side .tcf-cardtitle {
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.tc .tce-enem__side .tcf-feat__tx { font-size: 11px; }

/* Cartão azul de números. */
.tc .tce-stats {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px 34px;
  margin-top: 26px;
  padding: 26px 32px;
  border-radius: 18px;
  background: var(--tce-navy);
  color: rgba(255, 255, 255, .8);
}
.tc .tce-stats__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 30px;
  border-right: 1px solid rgba(255, 255, 255, .2);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tc-yellow);
}
.tc .tce-stats__ic { width: 34px; flex: none; }
.tc .tce-stats__ic svg { width: 100%; height: auto; }
.tc .tce-stats__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 0;
}
.tc .tce-stats__item { font-size: 10.5px; line-height: 1.45; }
.tc .tce-stats__big {
  display: block;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1;
  color: var(--tc-yellow);
}
.tc .tce-stats__label {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}
.tc .tce-stats__note { display: block; margin-top: 3px; color: rgba(255, 255, 255, .6); }

/* ───────────────────────────────────────────────
 * 7. Tecnologia
 * ─────────────────────────────────────────────── */
.tc .tce-tec__media { align-self: stretch; }
.tc .tce-tec__photo { position: relative; }
.tc .tce-tec__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 20px;
}
.tc .tce-tec__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
  padding: 0;
}
.tc .tce-tec__cards .tcf-feat {
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
  border-radius: 14px;
  background: var(--tce-navy);
}
.tc .tce-tec__cards .tcf-feat__ic { background: none; color: var(--tc-yellow); width: 30px; height: 30px; }
.tc .tce-tec__cards .tcf-feat__ic svg { width: 24px; height: 24px; }
.tc .tce-tec__cards .tcf-feat__tx { font-size: 10.5px; color: rgba(255, 255, 255, .68); }
.tc .tce-tec__cards .tcf-cardtitle {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}

.tc .tce-tec__partner {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 16px 22px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--tc-line);
}
.tc .tce-tec__partner-logo {
  flex: none;
  padding-right: 20px;
  border-right: 1px solid var(--tc-line);
  font-size: 15px;
  font-weight: 800;
  color: var(--tc-navy);
}
.tc .tce-tec__partner-tx {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--tc-text-soft);
}

/* ───────────────────────────────────────────────
 * 8. Vivências
 * ─────────────────────────────────────────────── */
.tc .tce-viv__mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0;
}
.tc .tce-viv__card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--tcf-sky);
}
.tc .tce-viv__photo { display: block; }
.tc .tce-viv__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.tc .tce-viv__label {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(3px);
}
.tc .tce-viv__label-ic { width: 24px; flex: none; color: var(--tc-navy); }
.tc .tce-viv__label-ic svg { width: 100%; height: auto; }
.tc .tce-viv__label-tx {
  font-size: 10px;
  line-height: 1.42;
  color: var(--tc-text-soft);
}
.tc .tce-viv__label-tx .tcf-cardtitle {
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tc .tce-signature {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tc-navy);
}
.tc .tce-signature svg { width: 15px; height: 15px; color: var(--tc-yellow); }

/* ───────────────────────────────────────────────
 * 9. Resultados
 * ─────────────────────────────────────────────── */
.tc .tce-res__media { align-self: stretch; }
.tc .tce-res__photo { position: relative; }
.tc .tce-res__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 20px;
}
.tc .tce-res__badge {
  position: absolute;
  right: 14px;
  top: 14px;
  width: min(190px, 52%);
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(3px);
  text-align: center;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--tc-text-soft);
}
.tc .tce-res__badge-ic { display: block; width: 26px; margin: 0 auto 8px; color: var(--tc-amber); }
.tc .tce-res__badge-ic svg { width: 100%; height: auto; }
.tc .tce-res__badge .tcf-cardtitle {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.tc .tce-res__alumni {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
  padding: 0;
}
.tc .tce-res__alumnus {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 16px 12px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--tc-line);
  text-align: center;
}
.tc .tce-res__alumnus-photo {
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--tcf-sky);
}
.tc .tce-res__alumnus-photo img { width: 100%; height: 54px; object-fit: cover; }
.tc .tce-res__alumnus-name { font-size: 11.5px; font-weight: 800; color: var(--tc-navy); }
.tc .tce-res__alumnus-course {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--tc-amber);
}
.tc .tce-res__alumnus-school {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--tc-navy);
}
.tc .tce-res__alumnus-year { font-size: 9.5px; color: var(--tc-text-soft); }
.tc .tce-res__alumnus-quote {
  margin: 8px 0 0;
  font-size: 10px;
  line-height: 1.5;
  color: var(--tc-text-soft);
}
.tc .tce-res__alumnus-quote::before { content: '“'; }
.tc .tce-res__alumnus-quote::after { content: '”'; }

.tc .tce-res__stats {
  margin-top: 24px;
  padding: 24px 26px;
  border-radius: 18px;
  background: var(--tce-navy);
  color: rgba(255, 255, 255, .78);
}
.tc .tce-res__stats-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0;
  text-align: center;
}
.tc .tce-res__stats-list li { font-size: 9.5px; line-height: 1.42; }
.tc .tce-res__stats-list b {
  display: block;
  margin: 6px 0 4px;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 800;
  line-height: 1;
  color: var(--tc-yellow);
}
.tc .tce-res__stat-ic { display: block; width: 24px; margin: 0 auto; color: rgba(255, 255, 255, .6); }
.tc .tce-res__stat-ic svg { width: 100%; height: auto; }
.tc .tce-res__stats-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 10px;
  color: rgba(255, 255, 255, .58);
}
.tc .tce-res__stats-note svg { width: 14px; height: 14px; color: var(--tc-yellow); }

.tc .tce-res__unis {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 34px;
  padding: 18px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--tc-line);
}
.tc .tce-res__unis-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 22px;
  border-right: 1px solid var(--tc-line);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tc-navy);
}
.tc .tce-res__unis-label svg { width: 24px; height: 24px; color: var(--tc-amber); }
.tc .tce-res__unis-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  padding: 0;
  flex: 1 1 auto;
}
.tc .tce-res__unis-list span {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--tc-navy-soft);
  opacity: .78;
}
.tc .tce-res__unis-list img { max-height: 34px; width: auto; }
.tc .tce-res__unis-more {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tc-amber);
}

/* ───────────────────────────────────────────────
 * 10. Chamada final
 * ─────────────────────────────────────────────── */
.tc .tce-final__card {
  position: absolute;
  left: 16px;
  top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(260px, 68%);
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--tce-navy);
  color: rgba(255, 255, 255, .86);
  font-size: 11.5px;
  line-height: 1.5;
}
.tc .tce-final__card-ic { width: 22px; flex: none; color: var(--tc-yellow); }
.tc .tce-final__card-ic svg { width: 100%; height: auto; }
.tc .tce-final__card-script {
  display: block;
  font-size: 17px;
  line-height: 1.15;
  color: var(--tc-yellow);
}

.tc .tce-final__strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px 26px;
  margin-top: 34px;
  padding: 22px 28px;
  border-radius: 18px;
  background: var(--tce-navy);
  color: rgba(255, 255, 255, .8);
}
.tc .tce-final__strip-ic { width: 30px; color: var(--tc-yellow); }
.tc .tce-final__strip-ic svg { width: 100%; height: auto; }
.tc .tce-final__strip-tx { font-size: 12.5px; line-height: 1.55; }
.tc .tce-final__strip-tx .tce-word { font-size: 18px; }
.tc .tce-final__strip-badge {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, .2);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--tc-yellow);
}

.tc .tce-final__cta {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px 34px;
  margin-top: 16px;
  padding: 24px 28px;
  border-radius: 18px;
  background: var(--tce-dark);
}
.tc .tce-final__cta-tx {
  padding-right: 30px;
  border-right: 1px solid rgba(255, 255, 255, .18);
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 700;
  color: #fff;
}
.tc .tce-final__cta-script {
  margin-top: 4px;
  font-size: 21px;
  font-weight: 400;
  color: var(--tc-yellow);
}
.tc .tce-final__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
}
.tc .tce-final__action {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  color: rgba(255, 255, 255, .72);
  font-size: 10.5px;
  line-height: 1.42;
  text-decoration: none;
  transition: background-color .25s ease;
}
.tc .tce-final__action:hover { background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .9); text-decoration: none; }
.tc .tce-final__action-ic { width: 30px; flex: none; color: var(--tc-yellow); }
.tc .tce-final__action-ic svg { width: 100%; height: auto; }
.tc .tce-final__action .tcf-cardtitle {
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}
.tc .tce-final__action--hl {
  background: var(--tc-yellow);
  color: rgba(6, 29, 106, .78);
}
.tc .tce-final__action--hl:hover { background: var(--tc-yellow-dark); color: rgba(6, 29, 106, .9); }
.tc .tce-final__action--hl .tcf-cardtitle,
.tc .tce-final__action--hl .tce-final__action-ic { color: var(--tc-navy); }
.tc .tce-final__action--hl svg:last-child { width: 18px; height: 18px; margin-left: auto; color: var(--tc-navy); }

/* ───────────────────────────────────────────────
 * Telas médias
 * ─────────────────────────────────────────────── */
@media (max-width: 1150px) {
  .tc .tce-hero__content { padding: 44px 16px 44px 32px; }
  .tc .tce-video__content { padding: 40px 26px; }

  .tc .tce-cols__list--6 { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .tc .tce-cols__list--6 .tcf-feat:nth-child(3n) { border-right: 0; }
  .tc .tce-cols__list--5 { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .tc .tce-cols__list--5 .tcf-feat:nth-child(3n) { border-right: 0; }

  .tc .tce-enem__grid { grid-template-columns: 1fr; }
  .tc .tce-enem__side { grid-template-columns: repeat(3, 1fr); }
  .tc .tce-stats { grid-template-columns: 1fr; }
  .tc .tce-stats__head { padding-right: 0; border-right: 0; }

  .tc .tce-final__cta { grid-template-columns: 1fr; }
  .tc .tce-final__cta-tx { padding-right: 0; border-right: 0; }
  .tc .tce-final__strip { grid-template-columns: auto 1fr; }
  .tc .tce-final__strip-badge { grid-column: 2; padding-left: 0; border-left: 0; }
}

@media (max-width: 980px) {
  .tc .tce-hero__stage { grid-template-columns: 1fr; min-height: 0; }
  .tc .tce-hero__media { min-height: 0; aspect-ratio: 16 / 11; order: -1; }
  .tc .tce-hero__media::after { background: linear-gradient(180deg, rgba(10, 24, 48, .2) 40%, var(--tce-dark) 100%); }
  .tc .tce-hero__content { padding: 30px 26px 36px; }
  .tc .tce-hero__feats { max-width: none; }

  .tc .tce-mani__box { grid-template-columns: 1fr; min-height: 0; }
  .tc .tce-mani__photo { aspect-ratio: 16 / 10; }
  .tc .tce-mani__panel { padding: 38px 26px; }

  .tc .tce-video__stage { grid-template-columns: 1fr; }
  .tc .tce-video__frame { min-height: 0; aspect-ratio: 16 / 10; order: -1; }
  .tc .tce-video__scrim { background: linear-gradient(180deg, rgba(10, 24, 48, .1) 50%, rgba(10, 24, 48, .8) 100%); }

  .tc .tce-split__box { padding: 36px 24px 32px; }
  .tc .tce-split__top { grid-template-columns: 1fr; gap: 30px; }
  /* A foto volta a ocupar espaço no fluxo: o cartão que fica sobre ela também
     deixa de ser absoluto no celular e precisaria de um pai com altura real. */
  .tc .tce-split__media { min-height: 0; }
  .tc .tce-split__photo { position: static; }
  .tc .tce-split__photo img { aspect-ratio: 16 / 11; }
  /* Numa coluna só o texto vem sempre antes da foto. */
  .tc .tce-split__top > .tce-split__content { order: -1; }

  .tc .tce-enem__sim { grid-template-columns: 1fr; }
  .tc .tce-stats__list { grid-template-columns: 1fr; }
  .tc .tce-res__stats-list { grid-template-columns: repeat(2, 1fr); }
  .tc .tce-final__actions { grid-template-columns: 1fr; }
}

/* ───────────────────────────────────────────────
 * Celular
 * ─────────────────────────────────────────────── */
@media (max-width: 720px) {
  /* As quebras de linha foram escritas para o desenho do computador. */
  .tc .tce-hero__text br,
  .tc .tce-video__text br,
  .tc .tce-mani__text br,
  .tc .tce-mani__block-tx br,
  .tc .tce-split__text br,
  .tc .tce-callout br,
  .tc .tce-tec__partner-tx br,
  .tc .tce-res__badge br { display: none; }

  .tc .tce-hero { padding-block: 16px 4px; }
  .tc .tce-hero__stage { border-radius: 24px; }
  .tc .tce-hero__feats { grid-template-columns: 1fr; gap: 16px; }
  .tc .tce-hero__feats .tcf-feat { padding-inline: 0; border-right: 0; }
  .tc .tce-btn { width: 100%; justify-content: center; }

  .tc .tce-mani { padding-block: 40px; }
  .tc .tce-video { padding-block: 4px 40px; }
  .tc .tce-video__feats { grid-template-columns: 1fr; gap: 16px; }
  .tc .tce-video__feats .tcf-feat { padding-inline: 0; border-right: 0; }
  .tc .tce-video__play { width: 62px; height: 62px; }
  .tc .tce-video__play svg { width: 22px; height: 22px; }

  .tc .tce-split { padding-block: 8px 40px; }
  .tc .tce-cols__list--5,
  .tc .tce-cols__list--6 { grid-template-columns: 1fr; row-gap: 22px; }
  .tc .tce-cols__list .tcf-feat { padding-inline: 0; border-right: 0; }

  .tc .tce-enem__side { grid-template-columns: 1fr; }
  .tc .tce-res__stats-list { grid-template-columns: 1fr; }
  .tc .tce-res__alumni { grid-template-columns: 1fr; }
  .tc .tce-res__unis { flex-direction: column; align-items: flex-start; }
  .tc .tce-res__unis-label { padding-right: 0; border-right: 0; }

  .tc .tce-viv__mosaic { grid-template-columns: 1fr; }
  .tc .tce-viv__label { position: static; margin: 0; border-radius: 0; }

  .tc .tce-barcta { flex-direction: column; align-items: stretch; }
  .tc .tce-barcta__tx { flex: 0 1 auto; }
  .tc .tce-barcta__btn { justify-content: center; }
  .tc .tce-final__strip { grid-template-columns: 1fr; }
  .tc .tce-final__strip-badge { grid-column: 1; }
  .tc .tce-final__card { position: static; width: 100%; margin-top: 12px; }
}
