/* Página: ensino-fundamental-anos-finais — somente estilos utilizados nesta página. */
.fund-hero {
      position: relative;
      min-height: 650px;
      display: flex;
      align-items: flex-end;
      overflow: hidden;
      color: var(--white);
      background: var(--dark);
    }.fund-hero__media {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(48,42,37,.95) 0%, rgba(48,42,37,.72) 42%, rgba(48,42,37,.20) 78%, rgba(48,42,37,.30) 100%),
        linear-gradient(0deg, rgba(48,42,37,.78) 0%, transparent 50%),
        url("../../imagens/ensino-fundamental-anos-finais/anos-finais-hero.webp") center 48% / cover no-repeat;
    }.fund-hero__media::after {
      content: "";
      position: absolute;
      inset: 0;
      background-image: radial-gradient(rgba(255,255,255,.11) 1px, transparent 1px);
      background-size: 5px 5px;
      opacity: .11;
    }.fund-hero__content {
      position: relative;
      z-index: 2;
      width: min(100%, 760px);
      padding: 190px 0 84px;
    }.fund-hero__content .eyebrow { color: var(--mustard); }.fund-hero__content h1 { max-width: 720px; }.fund-hero__content .lead { max-width: 680px; color: rgba(255,255,255,.82); }.fund-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }.fund-hero__ring {
      position: absolute;
      z-index: 1;
      right: 8%;
      top: 24%;
      width: 178px;
      height: 178px;
      border: 27px solid rgba(255,187,18,.82);
      border-radius: 50%;
    }.fund-hero__shape {
      position: absolute;
      z-index: 1;
      right: 25%;
      bottom: 15%;
      width: 106px;
      height: 78px;
      background: rgba(168,115,70,.76);
      border-radius: 68% 32% 54% 46% / 44% 56% 44% 56%;
      transform: rotate(-9deg);
    }.fund-prose p { text-align: justify; }.fund-prose .lead { text-align: left; }.fund-intro__grid {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 84px;
      align-items: center;
    }.fund-intro__visual { position: relative; min-height: 560px; }.fund-intro__photo {
      position: absolute;
      inset: 0 64px 0 0;
      border-radius: 43% 57% 29% 71% / 48% 35% 65% 52%;
      background:
        linear-gradient(0deg, rgba(48,42,37,.10), rgba(48,42,37,.01)),
        url("../../imagens/ensino-fundamental-anos-finais/anos-finais-aprendizagem-transforma.webp") center / cover no-repeat;
      box-shadow: var(--shadow-lg);
    }.fund-intro__stamp {
      position: absolute;
      z-index: 2;
      right: 0;
      top: 42px;
      width: 124px;
      height: 124px;
      display: grid;
      place-items: center;
      padding: 16px;
      border-radius: 50%;
      color: var(--dark);
      background: var(--mustard);
      font-family: "Oswald", sans-serif;
      font-size: .75rem;
      font-weight: 700;
      line-height: 1.08;
      text-align: center;
      text-transform: uppercase;
      transform: rotate(7deg);
      box-shadow: var(--shadow-sm);
    }.fund-intro__dots {
      position: absolute;
      right: 24px;
      bottom: 20px;
      width: 112px;
      height: 112px;
      opacity: .38;
      background-image: radial-gradient(var(--terracotta) 2px, transparent 2px);
      background-size: 15px 15px;
    }.fund-intro__points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }.fund-point {
      min-height: 78px;
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 16px;
      border: 1px solid var(--line);
      border-radius: 17px;
      background: var(--white);
    }.fund-point span {
      width: 32px;
      height: 32px;
      flex: 0 0 auto;
      display: grid;
      place-items: center;
      color: var(--dark);
      background: var(--mustard);
      border-radius: 50%;
      font-size: .7rem;
      font-weight: 900;
    }.fund-point strong { font-size: .79rem; line-height: 1.35; }.fund-literacy { overflow: hidden; }.fund-literacy__grid {
      display: grid;
      grid-template-columns: .78fr 1.22fr;
      gap: 82px;
      align-items: start;
    }.fund-literacy__copy { position: sticky; top: 128px; }.fund-literacy__copy p { color: rgba(255,255,255,.76); }.fund-literacy__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.literacy-card {
      min-height: 255px;
      padding: 28px;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 24px;
      background: rgba(255,255,255,.06);
    }.literacy-card:nth-child(2), .literacy-card:nth-child(3) { background: rgba(168,115,70,.22); }.literacy-card__number {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      margin-bottom: 34px;
      color: var(--dark);
      background: var(--mustard);
      border-radius: 50%;
      font-family: "Oswald", sans-serif;
      font-weight: 700;
      font-size: .8rem;
    }.literacy-card h3 { font-size: 1.48rem; }.literacy-card p { margin: 0; color: rgba(255,255,255,.72); font-size: .84rem; text-align: left; }.fund-material { overflow: hidden; }.fund-material__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 88px;
      align-items: center;
    }.fund-bookstage {
      position: relative;
      min-height: 560px;
      display: grid;
      place-items: center;
    }.fund-bookstage::before {
      content: "";
      position: absolute;
      width: 390px;
      height: 390px;
      border: 58px solid rgba(255,187,18,.20);
      border-radius: 50%;
    }.fund-book {
      position: absolute;
      width: 270px;
      min-height: 380px;
      padding: 28px;
      overflow: hidden;
      color: var(--white);
      border-radius: 8px 20px 20px 8px;
      box-shadow: 0 34px 65px rgba(48,42,37,.25);
    }.fund-book--back {
      transform: translate(-64px, 22px) rotate(-8deg);
      background: var(--nude);
    }.fund-book--front {
      transform: translate(50px, -15px) rotate(5deg);
      background: var(--terracotta);
    }.fund-book::before {
      content: "";
      position: absolute;
      right: -52px;
      top: -48px;
      width: 160px;
      height: 160px;
      border: 28px solid rgba(255,187,18,.60);
      border-radius: 50%;
    }.fund-book small {
      position: relative;
      z-index: 2;
      display: block;
      margin-bottom: 110px;
      font-size: .62rem;
      font-weight: 800;
      letter-spacing: .1em;
      text-transform: uppercase;
    }.fund-book strong {
      position: relative;
      z-index: 2;
      display: block;
      max-width: 180px;
      font-family: "Oswald", sans-serif;
      font-size: 2.15rem;
      line-height: .95;
      text-transform: uppercase;
    }.fund-book span {
      position: absolute;
      z-index: 2;
      left: 28px;
      bottom: 28px;
      color: rgba(255,255,255,.72);
      font-size: .7rem;
    }.fund-bookstage__note {
      position: absolute;
      right: 8%;
      bottom: 24px;
      max-width: 230px;
      padding: 14px 16px;
      border-radius: 14px;
      color: var(--dark);
      background: var(--mustard);
      font-size: .72rem;
      font-weight: 800;
      line-height: 1.4;
      transform: rotate(-3deg);
      box-shadow: var(--shadow-sm);
    }.fund-material__features { display: grid; gap: 12px; margin-top: 28px; }.fund-material__feature {
      display: grid;
      grid-template-columns: 38px 1fr;
      gap: 12px;
      padding: 15px 16px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: var(--white);
    }.fund-material__feature > span {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      background: var(--mustard);
      border-radius: 50%;
      font-size: .7rem;
      font-weight: 900;
    }.fund-material__feature p { margin: 0; color: var(--brown-gray); font-size: .82rem; }.fund-bilingual { overflow: hidden; }.fund-bilingual__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }.fund-bilingual__copy p { color: rgba(255,255,255,.75); }.fund-bilingual__visual { position: relative; min-height: 560px; }.fund-bilingual__photo {
      position: absolute;
      inset: 0 55px 50px 0;
      border-radius: 32px;
      background:
        linear-gradient(0deg, rgba(48,42,37,.15), rgba(48,42,37,.01)),
        url("../../imagens/ensino-fundamental-anos-finais/anos-finais-cambridge.webp") center 58% / cover no-repeat;
      box-shadow: 0 30px 70px rgba(0,0,0,.28);
    }.fund-bilingual__logo {
      position: absolute;
      z-index: 3;
      left: 24px;
      top: 26px;
      width: 255px;
      padding: 15px;
      border-radius: 15px;
      background: rgba(255,255,255,.95);
      box-shadow: var(--shadow-sm);
    }.fund-bilingual__badge {
      position: absolute;
      z-index: 3;
      right: 0;
      bottom: 0;
      width: 245px;
      min-height: 145px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      gap: 12px;
      padding: 24px;
      color: var(--dark);
      background: var(--mustard);
      border-radius: 28px;
      box-shadow: var(--shadow-sm);
    }.fund-bilingual__badge svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; }.fund-bilingual__badge span { font-size: .78rem; font-weight: 800; line-height: 1.35; }.fund-experience__grid {
      display: grid;
      grid-template-columns: .72fr 1.28fr;
      gap: 80px;
      align-items: start;
    }.fund-experience__copy { position: sticky; top: 128px; }.fund-experience__cards { display: grid; gap: 14px; }.fund-exp-card {
      display: grid;
      grid-template-columns: 62px 1fr;
      gap: 18px;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: var(--white);
      box-shadow: var(--shadow-sm);
    }.fund-exp-card__icon {
      width: 60px;
      height: 60px;
      display: grid;
      place-items: center;
      color: var(--dark);
      background: var(--mustard);
      border-radius: 19px;
    }.fund-exp-card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; }.fund-exp-card h3 { margin-bottom: 8px; font-size: 1.4rem; }.fund-exp-card p { margin: 0; color: var(--brown-gray); font-size: .84rem; text-align: left; }.fund-unit { overflow: hidden; }.fund-unit__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 78px; align-items: center; }.fund-unit__visual { position: relative; min-height: 550px; }.fund-unit__photo {
      position: absolute;
      inset: 0 56px 0 0;
      border-radius: 38px;
      background: url("../../imagens/unidade-II/sala.webp") center / cover no-repeat;
      box-shadow: 0 30px 70px rgba(48,42,37,.28);
    }.fund-unit__shape {
      position: absolute;
      right: 0;
      bottom: 28px;
      width: 148px;
      height: 148px;
      border: 24px solid var(--mustard);
      border-radius: 50%;
    }.fund-unit p { color: rgba(255,255,255,.76); }.fund-unit__address {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin: 26px 0;
      padding: 16px 18px;
      border-radius: 16px;
      color: rgba(255,255,255,.84);
      background: rgba(255,255,255,.08);
      font-size: .84rem;
      font-style: normal;
    }.fund-unit__address svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: var(--mustard); stroke-width: 2; }.fund-cta { padding-top: 0; }.fund-cta__panel {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 50px;
      padding: 46px 50px;
      border-radius: 32px;
      background: var(--mustard);
    }.fund-cta__panel > div:first-child { max-width: 820px; }.fund-cta__panel h2 { margin-bottom: 12px; }.fund-cta__panel p { margin-bottom: 0; color: rgba(48,42,37,.76); }.fund-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }.fund-cta .eyebrow { color: var(--terracotta); }.final-events { overflow: hidden; }.final-events__head { max-width: 860px; margin-bottom: 50px; }.final-events__grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 18px; }.final-event-main, .final-event-small { position: relative; overflow: hidden; color: var(--white); border-radius: 28px; isolation: isolate; }.final-event-main { min-height: 560px; display: flex; align-items: flex-end; padding: 34px; }.final-event-main::before, .final-event-small::before { content: ""; position: absolute; z-index: -2; inset: 0; background-position: center; background-size: cover; transition: transform 600ms ease; }.final-event-main::before { background-image: url("../../imagens/desafio-piaso.webp"); }.final-event-small:nth-child(1)::before { background-image: url("../../imagens/cafe-literario.webp"); }.final-event-small:nth-child(2)::before { background-image: url("../../imagens/mostra-pedagogica.webp"); }.final-event-main::after, .final-event-small::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(48,42,37,.06) 20%, rgba(48,42,37,.94) 100%); }.final-event-main:hover::before, .final-event-small:hover::before { transform: scale(1.035); }.final-event-main span, .final-event-small span { display: inline-block; margin-bottom: 9px; color: var(--mustard); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.final-event-main h3 { max-width: 540px; margin-bottom: 10px; font-size: 2rem; }.final-event-main p { max-width: 570px; margin: 0; color: rgba(255,255,255,.76); font-size: .88rem; }.final-events__side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }.final-event-small { min-height: 270px; display: flex; align-items: flex-end; padding: 26px; }.final-event-small h3 { margin: 0; font-size: 1.55rem; }.final-video { overflow: hidden; }.final-video__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 76px; align-items: center; }.final-video__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 32px; background: linear-gradient(0deg, rgba(48,42,37,.38), rgba(48,42,37,.04)), url("https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=1500&q=84") center / cover no-repeat; box-shadow: var(--shadow-lg); }.final-video__frame::after { content: "NOVO VÍDEO — SUBSTITUIR PELO MATERIAL FINAL"; position: absolute; right: 16px; bottom: 16px; padding: 8px 12px; border-radius: 999px; color: rgba(255,255,255,.85); background: rgba(48,42,37,.58); font-size: .56rem; font-weight: 800; letter-spacing: .08em; }.final-video__play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 82px; height: 82px; display: grid; place-items: center; border-radius: 50%; color: var(--dark); background: var(--mustard); transform: translate(-50%, -50%); cursor: pointer; box-shadow: 0 18px 44px rgba(48,42,37,.28); }.final-video__play svg { width: 27px; height: 27px; fill: currentColor; margin-left: 4px; }@media (max-width: 980px){.fund-intro__grid, .fund-literacy__grid, .fund-material__grid, .fund-bilingual__grid, .fund-experience__grid, .fund-unit__grid, .final-video__grid { gap: 52px; }.fund-literacy__cards { grid-template-columns: 1fr 1fr; }}@media (max-width: 820px){.fund-hero { min-height: 610px; }.fund-hero__ring { right: -52px; top: 24%; }.fund-intro__grid, .fund-literacy__grid, .fund-material__grid, .fund-bilingual__grid, .fund-experience__grid, .fund-unit__grid { grid-template-columns: 1fr; }.fund-intro__visual, .fund-bookstage, .fund-bilingual__visual, .fund-unit__visual { order: 2; }.fund-intro__visual { min-height: 480px; }.fund-literacy__copy, .fund-experience__copy { position: static; }.final-events__grid, .final-video__grid { grid-template-columns: 1fr; }.final-event-main { min-height: 480px; }.final-events__side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }.fund-unit__visual { min-height: 490px; }.fund-cta__panel { align-items: flex-start; flex-direction: column; }}@media (max-width: 620px){.fund-hero__content { padding-top: 180px; padding-bottom: 66px; }.fund-hero__shape { display: none; }.fund-hero__actions { flex-direction: column; }.fund-hero__actions .btn { width: 100%; }.fund-intro__visual { min-height: 390px; }.fund-intro__photo { inset: 0 18px 0 0; }.fund-intro__stamp { width: 94px; height: 94px; right: 0; font-size: .58rem; }.fund-intro__points, .fund-literacy__cards { grid-template-columns: 1fr; }.fund-bookstage { min-height: 470px; transform: scale(.86); transform-origin: left center; width: 116%; }.fund-bilingual__visual { min-height: 430px; }.fund-bilingual__photo { inset: 0 18px 48px 0; }.fund-bilingual__logo { left: 14px; top: 16px; width: 205px; }.fund-bilingual__badge { width: 190px; min-height: 118px; padding: 18px; }.fund-exp-card { grid-template-columns: 52px 1fr; gap: 14px; }.fund-exp-card__icon { width: 52px; height: 52px; }.fund-unit__visual { min-height: 400px; }.fund-unit__photo { right: 18px; }.fund-unit__shape { width: 102px; height: 102px; border-width: 15px; }.fund-cta__panel { padding: 32px 26px; }.fund-cta__actions { width: 100%; }.fund-cta__actions .btn { width: 100%; }.fund-prose p { text-align: left; }.final-events__side { grid-template-columns: 1fr; }.final-event-main { min-height: 430px; }.final-event-small { min-height: 250px; }}

/* Revisão visual: o anel não deve cobrir os rostos dos alunos. */
.fund-hero__ring { top: auto; bottom: 5%; }
@media (max-width: 620px) { .fund-hero__media { background-position: center, center, 65% 48%; } }

/* O selo Cambridge não deve ocultar a aluna central no mobile. */
@media (max-width: 620px) { .fund-bilingual__logo { width: 140px; } }

/* Material didático definitivo. */
.fund-bookstage--asset img { position: relative; z-index: 1; width: min(100%, 620px); max-height: 520px; object-fit: contain; }
@media (max-width: 620px) { .fund-bookstage--asset { min-height: 370px; width: auto; transform: none; } .fund-bookstage--asset img { max-height: 350px; } }
