/* ═══════════════════════════════════════════════
 * Colégio Tecla — seções da página do Ensino Fundamental 1
 * ═══════════════════════════════════════════════
 *
 * Só o que é desta página. O vocabulário compartilhado com as outras páginas de
 * segmento (chapéu, cabeçalho, destaques, trilha, faixa, tarja, divisor,
 * mini-fluxo), 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-fundamental1` (ver `page-anos-iniciais.php`).
 *
 * Toda regra começa com `.tc ` de propósito — o motivo está explicado no
 * cabeçalho de `tecla-segmentos.css`.
 * ═══════════════════════════════════════════════ */

/* ───────────────────────────────────────────────
 * 2. Hero
 * ─────────────────────────────────────────────── */
.tc .tcf-hero { padding-block: 26px 8px; }

.tc .tcf-hero__stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    'content media'
    'feats   feats'
    'scroll  scroll';
  border-radius: var(--tcf-radius);
  background: var(--tcf-cream);
  overflow: hidden;
  box-shadow: var(--tc-shadow-hi);
}

.tc .tcf-hero__media {
  grid-area: media;
  position: relative;
  min-height: 580px;
}
.tc .tcf-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* O arco à esquerda é o que aproxima a foto do recorte orgânico do layout. */
  border-radius: 170px 0 0 170px;
}
.tc .tcf-hero__words {
  position: absolute;
  top: 32px;
  right: 34px;
  text-align: right;
  font-size: clamp(15px, 1.7vw, 23px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 14px rgba(6, 29, 106, .5);
}
.tc .tcf-hero__words .tcf-heart { color: var(--tc-yellow); }

.tc .tcf-hero__content {
  grid-area: content;
  align-self: center;
  /* A faixa de motivos sobe 76px por cima desta linha; sem a folga embaixo ela
     cobriria o botão. */
  padding: 52px 24px 104px 52px;
}
.tc .tcf-hero__title {
  margin-top: 20px;
  font-size: clamp(30px, 3.7vw, 50px);
  line-height: 1.08;
}
.tc .tcf-hero__text {
  font-size: clamp(13.5px, 1.1vw, 15.5px);
  line-height: 1.62;
  color: var(--tc-text);
}
.tc .tcf-hero__stat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--tc-text-soft);
}
.tc .tcf-hero__stat b { color: var(--tc-navy); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.tc .tcf-hero__stat-ic { width: 30px; flex: none; color: var(--tc-navy); }
.tc .tcf-hero__stat-ic svg { width: 100%; height: auto; }
.tc .tcf-hero__actions { margin-top: 24px; }

.tc .tcf-hero__feats {
  grid-area: feats;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: -76px 26px 0;
  padding: 20px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--tc-shadow-hi);
}
.tc .tcf-hero__feats .tcf-feat {
  padding-inline: 18px;
  border-right: 1px solid var(--tc-line);
}
.tc .tcf-hero__feats .tcf-feat:last-child { border-right: 0; }

.tc .tcf-hero__scroll {
  grid-area: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px 22px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--tc-text-soft);
  text-align: center;
}
.tc .tcf-hero__scroll-ic { width: 20px; color: var(--tc-amber); }
.tc .tcf-hero__scroll-ic svg { width: 100%; height: auto; }

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

.tc .tcf-mani__box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  border-radius: var(--tcf-radius);
  overflow: hidden;
  box-shadow: var(--tc-shadow-hi);
  background: var(--tcf-cream);
}
.tc .tcf-mani__photo { position: relative; }
.tc .tcf-mani__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tc .tcf-mani__panel {
  display: grid;
  place-items: center;
  padding: 52px 44px;
}
.tc .tcf-mani__inner { max-width: 460px; text-align: center; }

.tc .tcf-mani__mascot {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--tc-shadow);
  color: var(--tc-navy);
}
.tc .tcf-mani__mascot svg { width: 31px; height: 31px; }
.tc .tcf-mani__inner .tcf-rule--sm { margin: 12px auto 18px; }

.tc .tcf-mani__text {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--tc-text);
}
.tc .tcf-mani__text b { font-weight: 800; color: var(--tc-navy); }

.tc .tcf-mani__note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #ecdfc6;
  text-align: left;
}
.tc .tcf-mani__note-ic { width: 34px; flex: none; color: var(--tc-amber); }
.tc .tcf-mani__note-ic svg { width: 100%; height: auto; }
.tc .tcf-mani__note-tx {
  font-size: 13px;
  line-height: 1.6;
  color: var(--tc-text-soft);
}
.tc .tcf-mani__note-tx .tcf-cardtitle {
  margin-bottom: 3px;
  font-size: 14px;
}
.tc .tcf-mani__note-tx b { font-weight: 800; color: var(--tc-navy); }
.tc .tcf-mani__inner .tcf-pill { margin-top: 24px; }

/* ───────────────────────────────────────────────
 * 4. Vídeo
 * ─────────────────────────────────────────────── */
.tc .tcf-video { padding-block: 20px 64px; }

.tc .tcf-video__box {
  border-radius: var(--tcf-radius);
  background: var(--tcf-cream);
  padding: 48px 44px 42px;
  box-shadow: var(--tc-shadow);
}

/* ───────────────────────────────────────────────
 * 5. O jeito Tecla de ensinar
 * ─────────────────────────────────────────────── */
.tc .tcf-metod { padding-block: 20px 64px; }

.tc .tcf-metod__box {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  border-radius: var(--tcf-radius);
  overflow: hidden;
  background: var(--tcf-cream);
  box-shadow: var(--tc-shadow);
}
.tc .tcf-metod__main { padding: 50px 40px 46px 48px; }

.tc .tcf-metod__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 30px;
  margin-top: 32px;
  padding: 0;
}
.tc .tcf-metod__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.tc .tcf-metod__card .tcf-feat__ic { width: 54px; height: 54px; }
.tc .tcf-metod__card .tcf-feat__ic svg { width: 26px; height: 26px; }
.tc .tcf-metod__card-tx {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--tc-text-soft);
}
.tc .tcf-metod__card-tx .tcf-cardtitle { font-size: 16px; line-height: 1.24; }
.tc .tcf-metod__card-tx .tcf-rule--sm { margin: 10px 0 10px; }

.tc .tcf-metod__photo { position: relative; min-height: 520px; }
.tc .tcf-metod__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 150px 0 0 150px;
}

/* ───────────────────────────────────────────────
 * 6. Acompanhamento pedagógico
 * ─────────────────────────────────────────────── */
.tc .tcf-acomp {
  padding-block: 64px;
  background: linear-gradient(180deg, #fff 0%, var(--tcf-cream) 100%);
}

/* ───────────────────────────────────────────────
 * 7. Projetos
 * ─────────────────────────────────────────────── */
.tc .tcf-proj {
  padding-block: 64px;
  background: var(--tcf-cream);
}

.tc .tcf-proj__cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 38px;
  padding: 0;
}
.tc .tcf-proj__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--tc-shadow);
  text-align: center;
  overflow: hidden;
}
/* Chevron entre um projeto e o seguinte, como na trilha. */
.tc .tcf-proj__card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -13px;
  top: 62px;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-top: 2.2px solid var(--tc-amber);
  border-right: 2.2px solid var(--tc-amber);
  transform: rotate(45deg);
}
.tc .tcf-proj__photo {
  position: relative;
  display: block;
  width: calc(100% + 32px);
  margin-inline: -16px;
  height: 124px;
  overflow: hidden;
  background: linear-gradient(140deg, var(--tcf-sky), var(--tcf-cream-2));
}
.tc .tcf-proj__photo img {
  width: 100%;
  height: 124px;
  object-fit: cover;
}
.tc .tcf-proj__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--tc-yellow);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tc-navy);
}
.tc .tcf-proj__ic {
  position: relative;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  background: var(--tc-yellow);
  border: 3px solid #fff;
  display: grid;
  place-items: center;
  color: var(--tc-navy);
}
.tc .tcf-proj__ic svg { width: 20px; height: 20px; }
.tc .tcf-proj__title {
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.26;
}
.tc .tcf-proj__text {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--tc-text-soft);
}
.tc .tcf-proj .tcf-bar { background: #fff; }

/* ───────────────────────────────────────────────
 * 8. Transição para o Fundamental 2
 * ─────────────────────────────────────────────── */
.tc .tcf-trans {
  padding-block: 64px;
  background: linear-gradient(180deg, var(--tcf-cream) 0%, #fff 60%);
}

/* ───────────────────────────────────────────────
 * 9. Chamada final
 * ─────────────────────────────────────────────── */
.tc .tcf-final { padding-block: 20px 78px; }

.tc .tcf-final__box {
  border-radius: var(--tcf-radius);
  background: var(--tcf-cream);
  padding: 48px 44px 40px;
  box-shadow: var(--tc-shadow);
}

.tc .tcf-final__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.tc .tcf-final__photo { position: relative; min-height: 380px; }
.tc .tcf-final__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

/* Painel azul com os dois caminhos. */
.tc .tcf-final__cta {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 34px;
  align-items: center;
  margin-top: 40px;
  padding: 30px 36px;
  border-radius: 24px;
  background: var(--tc-navy);
  color: #fff;
}
.tc .tcf-final__cta-script {
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.2;
  color: var(--tc-yellow);
}
.tc .tcf-final__cta-script .tcf-heart { color: var(--tc-yellow); }
.tc .tcf-final__cta-note {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.58;
  color: rgba(255, 255, 255, .82);
}
.tc .tcf-final__cta-note b { color: #fff; font-weight: 800; }

.tc .tcf-final__cta-btns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.tc .tcf-bigbtn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tc .tcf-bigbtn:hover { transform: translateY(-2px); text-decoration: none; }
.tc .tcf-bigbtn--yellow {
  background: var(--tc-yellow);
  color: var(--tc-navy);
  box-shadow: 0 10px 26px rgba(251, 192, 9, .28);
}
.tc .tcf-bigbtn--ghost {
  background: transparent;
  border: 1.6px solid rgba(255, 255, 255, .34);
  color: #fff;
}
.tc .tcf-bigbtn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.tc .tcf-bigbtn__ic { width: 34px; height: 34px; flex: none; }
.tc .tcf-bigbtn__ic svg { width: 100%; height: 100%; }
.tc .tcf-bigbtn__tx { font-size: 11.5px; line-height: 1.35; opacity: .82; }
/* `color: inherit` é obrigatório: o botão fantasma é branco sobre azul, e a
   cor navy da classe base sumiria com o texto. */
.tc .tcf-bigbtn__tx .tcf-cardtitle {
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: 1;
  color: inherit;
}

.tc .tcf-final__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 36px;
  margin-top: 32px;
}
.tc .tcf-final__foot-script {
  flex: 0 1 300px;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.25;
  color: var(--tc-amber);
}
.tc .tcf-final__feats {
  flex: 1 1 460px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  padding-left: 36px;
  border-left: 1px solid var(--tc-line);
}
.tc .tcf-final__feats .tcf-feat__ic { width: 40px; height: 40px; background: none; color: var(--tc-navy); }
.tc .tcf-final__feats .tcf-feat__ic svg { width: 26px; height: 26px; }
.tc .tcf-final__feats .tcf-cardtitle { font-size: 12.5px; }
.tc .tcf-final__feats .tcf-feat__tx { font-size: 11.5px; }

/* ───────────────────────────────────────────────
 * Telas médias
 * ─────────────────────────────────────────────── */
@media (max-width: 1150px) {
  .tc .tcf-hero__content { padding: 44px 20px 34px 32px; }
  .tc .tcf-hero__media { min-height: 520px; }
  .tc .tcf-hero__media img { border-radius: 110px 0 0 110px; }

  .tc .tcf-metod__box { grid-template-columns: 1fr; }
  .tc .tcf-metod__photo { min-height: 0; aspect-ratio: 16 / 9; order: -1; }
  .tc .tcf-metod__photo img { border-radius: 0; }
  .tc .tcf-metod__main { padding: 40px 30px; }

  .tc .tcf-proj__cards { grid-template-columns: repeat(3, 1fr); }
  .tc .tcf-proj__card:nth-child(3n)::after { display: none; }

  .tc .tcf-final__cta { grid-template-columns: 1fr; }
  .tc .tcf-final__feats { padding-left: 0; border-left: 0; }
}

@media (max-width: 980px) {
  .tc .tcf-hero__stage {
    grid-template-columns: 1fr;
    grid-template-areas: 'media' 'content' 'feats' 'scroll';
  }
  .tc .tcf-hero__media { min-height: 0; aspect-ratio: 16 / 10; }
  .tc .tcf-hero__media img { border-radius: 0; }
  .tc .tcf-hero__content { padding: 32px 26px 26px; }
  .tc .tcf-hero__feats { margin: 22px 22px 0; grid-template-columns: 1fr; gap: 16px; }
  .tc .tcf-hero__feats .tcf-feat { padding-inline: 0; border-right: 0; }

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

  .tc .tcf-video__box { padding: 38px 24px 34px; }
  /* Sem largura para o texto ficar ao lado da foto, o painel vira legenda: cai
     para o rodapé do quadro, sobre um véu escuro que garante o contraste. Se
     ele virasse elemento de fluxo, seria empurrado para fora do `<button>`,
     que tem proporção fixa e `overflow: hidden`. */



  .tc .tcf-final__box { padding: 38px 24px 32px; }
  .tc .tcf-final__top { grid-template-columns: 1fr; gap: 28px; }
  .tc .tcf-final__photo { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ───────────────────────────────────────────────
 * Celular
 * ─────────────────────────────────────────────── */
@media (max-width: 720px) {
  /* As quebras de linha foram escritas para o desenho do computador; numa tela
     estreita elas picotam o parágrafo. Os títulos mantêm as quebras. */
  .tc .tcf-hero__text br,
  .tc .tcf-hero__stat br,
  .tc .tcf-head__sub br,
  .tc .tcf-mani__text br,
  .tc .tcf-mani__note-tx br,
  .tc .tcf-pill br,
  .tc .tcf-final__cta-note br,
  .tc .tcf-video__lead br,
  .tc .tcf-video__note br { display: none; }

  .tc .tcf-hero { padding-block: 16px 4px; }
  .tc .tcf-hero__stage { border-radius: 24px; }
  .tc .tcf-hero__words { top: 18px; right: 18px; }
  .tc .tcf-hero__actions .tc-btn { width: 100%; justify-content: center; }

  .tc .tcf-mani { padding-block: 40px; }
  .tc .tcf-mani__note { flex-wrap: wrap; }

  .tc .tcf-video { padding-block: 12px 40px; }

  .tc .tcf-metod { padding-block: 12px 40px; }
  .tc .tcf-metod__cards { grid-template-columns: 1fr; gap: 22px; }

  .tc .tcf-acomp,
  .tc .tcf-proj,
  .tc .tcf-trans { padding-block: 44px; }


  .tc .tcf-proj__cards { grid-template-columns: 1fr; }
  .tc .tcf-proj__card::after { display: none !important; }



  .tc .tcf-final { padding-block: 8px 52px; }
  .tc .tcf-final__cta { padding: 24px 22px; }
  .tc .tcf-final__cta-btns { grid-template-columns: 1fr; }
  .tc .tcf-final__feats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 460px) {
  .tc .tcf-final__feats { grid-template-columns: 1fr; }
}
