@font-face {
  font-family: "Gilroy";
  src: url("../fontes/Gilroy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fontes/Gilroy-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fontes/Gilroy-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fontes/Gilroy-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fontes/Gilroy-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fontes/Gilroy-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ==== Fontes extras ==== */
@font-face {
  font-family: "Zuume";
  src: url("../fontes/Zuume Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zuume";
  src: url("../fontes/Zuume Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Muro";
  src: url("../fontes/MuroRegular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Muro";
  src: url("../fontes/MuroSlant.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Grold Rounded";
  src: url("../fontes/grold-rounded-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/*Config html*/
html{
   -webkit-text-size-adjust:100%;
   text-size-adjust:100%;
}
/* Classes utilitÃ¡rias: aplique direto no HTML (ex.: class="font-zuume-bold") */
.font-gilroy {
  font-family: "Gilroy", "Trebuchet MS", Arial, sans-serif;
  font-weight: 400;
}

.font-gilroy-bold {
  font-family: "Gilroy", "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
}

.font-zuume {
  font-family: "Zuume", "Arial Narrow", sans-serif;
  font-weight: 400;
}

.font-zuume-bold {
  font-family: "Zuume", "Arial Narrow", sans-serif;
  font-weight: 700;
}

.font-muro {
  font-family: "Muro", Georgia, serif;
  font-weight: 300;
  font-size:20px
}

.font-muro-slant {
  font-family: "Muro", Georgia, serif;
  font-weight: 400;
  font-style: italic;
}

.font-grold-rounded {
  font-family: "Grold Rounded", Arial, sans-serif;
  
}

#texto-portas-abertas{

  font-family: "Grold Rounded", Arial, sans-serif;
  font-weight: 100;
  font-size: 30px;
}

:root {
  --red: #f01417;
  --red-dark: #dc090f;
  --blue: #40a9cf;
  --blue-deep: #007DA8;
  --blue-form: #00a4d5;
  --ink: #073247;
  --paper: #f5f5f2;
  --white: #fff;
  --display: "Gilroy", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Gilroy", "Trebuchet MS", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('../images/bg-body.png') repeat;
    opacity: .8; /* ajuste entre 0 e 1 */
    pointer-events: none;
    z-index: 1;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1180px;
}

.container.site-footer__inner{
  max-width: 1400px!important;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 999px;
  padding: 10px 27px;
  color: var(--white);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, background-color .2s ease, opacity .2s ease;
}

.button:hover,
.button:focus-visible {
  color: var(--white);
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .65);
  outline-offset: 3px;
}

.button--small {
  min-height: 29px;
  padding: 6px 20px;
  font-size: 21px;
}

.button--outline {
  border: 2px solid currentColor;
  background: transparent;
}

.button--link {
  padding-right: 0;
  padding-left: 8px;
}

.button--link span {
  font-size: 25px;
  font-weight: 400;
  line-height: 0;
}

.button--red {
  margin-top: 14px;
  background: var(--red);
}

.button--red:hover,
.button--red:focus-visible {
  background: var(--red-dark);
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  max-height: 1082px;
  overflow: hidden;
  background-color: var(--blue-deep);
  background-image: url("../images/topo-desktop.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  z-index: 2;
}

.hero::after {
  display: none;
}

.hero__texture,
.programs::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .22;
  background-image:
    radial-gradient(rgba(255,255,255,.55) .55px, transparent .7px),
    radial-gradient(rgba(0,0,0,.13) .55px, transparent .7px);
  background-position: 0 0, 3px 3px;
  background-size: 6px 6px;
  mix-blend-mode: overlay;
}

.hero__texture {
  display: none;
}

.hero__container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;    /* cada filho preenche a altura */
  height: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  gap: 0;
}
.hero__content {
    display: grid;
    grid-template-columns: auto auto;
    align-items: start;
    margin-top: clamp(2.5rem, 6.66vw, 5.69rem);
    gap: clamp(1.375rem, 2.49vw, 2.125rem);
    padding-left: 0.375rem;
}
.hero__images {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: clamp(1.5625rem, 2.78vw, 2.375rem);
}
.hero__text p {
    color: #fff;
    margin: 0;
    padding:20px 28px;
    font-weight: 500 !important;
    font-size: 19px;
    line-height: clamp(1.1875rem, 1.9vw, 1.625rem);
}
.hero__text p:first-child {
    background: #c31917;
}
.hero__text p:last-child {
    background: #437ca5;
}

.hero__images-logo {
    width: clamp(8.5rem, 15vw, 13.9375rem);
    height: auto;
}

.hero__images-excelencia {
    width: clamp(13.5rem, 12vw, 22rem);
    height: auto;
}

.hero__text {
    width: 100%;
    max-width: clamp(11rem, 20vw, 18.8125rem);
    margin-top: clamp(2.625rem, 4.39vw, 3.75rem);
}


.hero__visual {
  position: relative;
  height: 100%;
}

.hero__brand {
  position: absolute;
  z-index: 5;
  top: 70px;
  left: 8px;
  width: 166px;
  height: 58px;
}

.hero__mobile-brand {
  display: none;
}

.hero__mobile-title {
  display: none;
}

.hero__title {
  position: absolute;
  z-index: 5;
  top: 162px;
  left: 78px;
  width: 275px;
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-stretch: condensed;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.hero__title span,
.hero__title em,
.hero__title strong,
.hero__title b {
  display: block;
  font-style: normal;
  line-height: .83;
  text-shadow: 0 2px 0 rgba(0,0,0,.05);
}

.hero__title span {
  position: relative;
  font-size: 42px;
  font-weight: 800;
}

.hero__title span::after {
  content: "â†’";
  position: absolute;
  right: -22px;
  top: -10px;
  font-family: Arial, sans-serif;
  font-size: 31px;
  font-weight: 300;
  transform: rotate(5deg);
}

.hero__title em {
  font-family: Georgia, serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -4px;
  text-transform: lowercase;
}

.hero__title strong {
  margin-top: -5px;
  font-family: Georgia, serif;
  font-size: 99px;
  font-weight: 800;
  letter-spacing: -7px;
  text-transform: lowercase;
}

.hero__title b {
  margin-top: 8px;
  font-size: 36px;
  font-weight: 800;
}

.hero__building {
  position: absolute;
  z-index: 1;
  bottom: -1px;
  left: -17vw;
  width: min(62vw, 890px);
  height: 390px;
  border: 0;
  border-radius: 0;
  background-color: rgba(255,255,255,.19);
  clip-path: polygon(0 13%, 100% 0, 100% 100%, 0 100%);
}

.hero__student {
  position: absolute;
  z-index: 4;
  bottom: 0;
  left: 42%;
  width: 375px;
  height: 705px;
  border-color: rgba(255,255,255,.65);
  border-radius: 190px 190px 0 0;
  background: rgba(255,255,255,.15);
}

.hero__form-column {
  position: relative;
  z-index: 7;
  width: 100%;
  max-width: 390px;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* centraliza verticalmente */
  align-self: stretch;       /* estica até a altura do hero__container */
  justify-self: end;
  padding: 12px 0 12px 12px; /* reduz padding vertical para ganhar espaço */
}

.form-card {
  display: flex;
  width: 100%;
  /* Cresce para preencher o espaço disponível */
  flex: 1;
  min-height: 0;
  /* Nunca ultrapassa a viewport menos os paddings do hero e dos links */
  max-height: calc(100vh - 80px); /* 80px = hero__links + margens */
  flex-direction: column;
  overflow: hidden;
  border-radius: 21px;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(55, 2, 4, .16);
}

.form-card__header {
  padding: 16px 18px 18px;
  color: var(--white);
  background: var(--blue);
  text-align: center;
  text-transform: uppercase;
}

.form-card__kicker {
  margin: 0;
  font-size: 18px !important;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
}

.form-card__title {
  margin: 4px 0 12px;
  font-family: var(--display);
  font-size: 37px;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1;
}

.form-card__badge {
  display: inline-block;
  margin: 0;
  
  border-radius: 999px;
  padding: 6px 26px 12px;
  background: #437ca5;
 
  letter-spacing: .05em;
  line-height: 1;
}


.form-frame {
  --form-scale: .66;
  --form-crop: 0px;
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--white);
}

.form-frame iframe {
  position: absolute;
  top: calc(var(--form-crop) * var(--form-scale) * -1);
  left: 0;
  display: block;
  width: 100%;
  height:78%;
  border: 0;
  background: var(--white);
    display: block;
  /*  width: calc(100% / var(--form-scale));*/
    /* height: calc(100% / var(--form-scale)); */
  /*  transform: scale(var(--form-scale));*/
    transform-origin: top left;  
}

.hero__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 13px;
}

.pending-message {
  position: absolute;
  bottom: 0;
  padding: 20px;
  min-height: 15px;
  margin: 4px 0 0;
  color: #1a1a1a;
  font-size: 9px;
  text-align: left;
  background: #fff;
}

.asset-slot {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px dashed rgba(255,255,255,.72);
  background:
    linear-gradient(135deg, rgba(255,255,255,.16) 25%, transparent 25%) 0 0 / 24px 24px,
    linear-gradient(315deg, rgba(255,255,255,.10) 25%, transparent 25%) 0 0 / 24px 24px,
    rgba(9,69,91,.16);
}

.asset-slot::after {
  max-width: 86%;
  border-radius: 999px;
  padding: 6px 10px;
  color: white;
  background: rgba(0, 42, 59, .63);
  content: "PLACEHOLDER: " attr(data-asset-name);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.asset-slot.is-loaded,
.asset-slot:has(img) {
  border: 0;
  background: transparent;
}

.asset-slot.is-loaded::after,
.asset-slot:has(img)::after {
  display: none;
  content: none;
}

/* O <picture> Ã© apenas um wrapper para trocar a imagem por media query;
   display:contents faz o <img> ser o filho direto do grid do .asset-slot. */
.asset-slot picture {
  display: contents;
}

.asset-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.hero__mobile-brand.asset-slot,
.hero__mobile-title.asset-slot {
  display: none;
}

.asset-slot--logo-white,
.asset-slot--logo-color {
  border-radius: 8px;
}

.asset-slot--logo-color {
  border-color: rgba(4,139,177,.6);
}

.asset-slot--logo-color::after {
  color: var(--blue-deep);
  background: rgba(255,255,255,.8);
}

.asset-slot--building img {
  object-fit: cover;
}

.open-house {
  position: relative;
  z-index: 3;
  min-height: 219px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: #0788aa;
}

.open-house__inner {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.date-badge {
  position: relative;
  display: flex;
  width: 70px;
  min-width: 105px;
  height: 125px;
  flex-direction: column;
  align-items: LEFT;
  justify-content: center;
  border: 0;
  color: var(--white);
  background: url("../images/topo-box-data.webp") center / 100% 100% no-repeat;
  font-family: "Muro", Georgia, serif;
  font-style: normal;
  font-weight: 400;
  line-height: .88;
  padding: 0 0 20px 15px;
}

.date-badge strong {
  font-size: 45px;
}

.date-badge span {
  margin-top: 6px;
  font-size: 49px;
}

.open-house p {
  max-width: 940px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.programs {
  position: relative;
  overflow: hidden;
  padding: 74px 0 64px;
  background-color: var(--paper);
}

.programs::before {
  z-index: 0;
  opacity: .3;
  mix-blend-mode: multiply;
}

.programs__container {
  position: relative;
  z-index: 2;
  /* 944px de container - 24px dos gutters Bootstrap = card de 920px. */
  max-width: 944px;
}

/* Grafismos da marca, calibrados sobre as trÃªs artes de referÃªncia.
   Os dois padrÃµes grandes usam o arquivo original inteiro: o da esquerda
   permanece na orientaÃ§Ã£o original e o da direita Ã© girado exatamente 180deg. */
.programs__decoration {
  position: absolute;
  z-index: 1;
  display: block;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

/* Faixa superior: fita da proposta (patterns-proposta.webp), com a
   dobrinha nas duas pontas, cruzando o topo direito atrÃ¡s do card. */
.programs__decoration--one {
  top: -17vw;
  right: -20vw;
  width: 49vw;
  height: 44.5vw;
  background-image: url("../images/patterns-proposta.webp");
}

/* PadrÃ£o lateral esquerdo: 55vw, com 37.1vw fora da viewport. */
.programs__decoration--two {
  top: 31.3vw;
  left: -39.1vw;
  width: 55vw;
  height: 55vw;
  background-image: url("../images/pattern-bg.webp");
}

/* PadrÃ£o lateral direito: mesmo recorte, rotacionado 180deg. */
.programs__decoration--three {
  top: 103.3vw;
  right: -39.1vw;
  width: 55vw;
  height: 55vw;
  background-image: url("../images/pattern-bg.webp");
  transform: rotate(180deg);
}

.program-card {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1294 / 571;
  align-items: center;
  grid-template-columns: 50% 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.program-card + .program-card {
  /* 202px em 1920 e 143px em 1366: intervalo medido entre os cards. */
  margin-top: 10.5vw;
}

.program-card--image-left {
  background-image: url("../images/box-segmentos-01.webp");
}

.program-card--image-right {
  background-image: url("../images/box-segmentos-02.webp");
}

.program-card__red {
  display: none;
}

.program-card__copy {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  height: 320px;
  flex-direction: column;
  justify-content: center;
  padding: 42px 70px 38px 70px;
  color: var(--white);
  background: transparent;
  clip-path: none;
}

.program-card__copy h2 {
  margin: 0 0 18px;
  font-family: "Zuume", "Arial Narrow", sans-serif;
  font-size: 63px;
  line-height: .9;
  text-transform: uppercase;
}

.program-card__copy h2 small {
  display: block;
  margin-top: 4px;
  font-family: "Zuume", "Arial Narrow", sans-serif;
  font-size: 24px;
  font-weight: 400;
}

.program-card__copy a {
  color: #fff !important
}

.program-card__copy > p:not(.program-card__date) {
  max-width: 450px;
  margin: 0;
  font-family: "Gilroy", "Trebuchet MS", Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.4;
}

.program-card__date {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 30px 0 0;
  text-transform: uppercase;
}

.program-card__date span {
  display: block;
  width: 29px;
  min-width: 29px;
  height: 30px;
  overflow: hidden;
  color: transparent;
  background: url("../images/seta.webp") center / contain no-repeat;
  font-size: 0;
}

.program-card__date strong {
  font-family: "Gilroy", "Trebuchet MS", Arial, sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
}

/* Foto do aluno em tamanho natural da arte (1294x571): base alinhada Ã  base
   do box e cabeÃ§a ultrapassando o topo, sem recorte. */
.program-card__image {
  position: absolute;
  z-index: 4;
  bottom: 0;
  width: 44.74%;
  height: 114.2%;
  border-radius: 0;
}

.program-card__image img {
  object-position: center bottom;
  transform-origin: center bottom;
  /* Sombra sutil aplicada via CSS (a sombra embutida foi removida das imagens) */
  filter: drop-shadow(0 14px 16px rgba(4, 34, 49, .28));
}

.program-card--image-left .program-card__red {
  left: 0;
}

.program-card--image-left .program-card__image {
  left: 6.2%;
}

.program-card--image-left .program-card__copy {
  grid-column: 2;
}

.program-card--image-right .program-card__red {
  right: 0;
}

.program-card--image-right .program-card__image {
  right: 6.2%;
}

.program-card--image-right .program-card__copy {
  grid-column: 1;
  padding-right: 55px;
  padding-left: 70px;
  clip-path: none;
}

.program-card .button--red {
  align-self: flex-start;
}

.label-mobile {
  display: none;
}

.site-footer {
  position: relative;
  height: clamp(195px, 14.31vw, 275px);
  overflow: hidden;
  /*background-color: var(--paper);*/
  background-image: url("../images/box-rodape.webp");
  background-repeat: no-repeat;
  background-position: calc(100% + 250px) bottom;
  background-size: 85% auto;
  z-index: 2;
}

.site-footer__shape {
  display: none;
}

.site-footer__shape::after {
  position: absolute;
  right: -12%;
  top: -55px;
  width: 140px;
  height: 220px;
  background: var(--blue);
  content: "";
  transform: rotate(-8deg);
}

.site-footer__inner {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  min-height: 195px;
  align-items: center;
  justify-content: space-between;
}

.site-footer__brand {
  width: 250px;
  height: 90px;
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 60px 150px 0 0;
}

.button--outline-blue,
.button--link-blue {
  color: var(--white);
  font-family: "Gilroy", "Trebuchet MS", Arial, sans-serif;
  font-weight: 600;
}

/* Larguras exatas das fotos por aluno (proporÃ§Ã£o natural de cada PNG sobre a
   arte de 1294px). Escopado ao desktop para nÃ£o afetar notebook/mobile. */
@media (min-width: 1200px) {
  #ensino-infantil .program-card__image {
    width: 44.74%; /* 579x651 */
  }

  #anos-iniciais .program-card__image {
    width: 44.98%; /* 582x652 */
  }

  #anos-finais .program-card__image {
    width: 45.75%; /* 592x652 */
  }

  #ensino-medio .program-card__image {
    width: 48.15%; /* 623x652 */
  }
}

@media (min-width: 1440px) {
  .form-frame {
    --form-scale: .82;
  }
}

/* Compensa individualmente os intervalos alternados das artes. */
@media (min-width: 768px) {
  #anos-iniciais {
    margin-top: 10.8vw;
  }



  #anos-finais {
    margin-top: 10.25vw;
  }

  #ensino-medio {
    margin-top: 10.65vw;
  }
}

@media (min-width: 1537px) {
  .container {
    max-width: 1320px;
  }

  .form-frame {
    --form-scale: .95;
  }

  .hero__container {
    max-width: 1680px;
    grid-template-columns: 66% 34%;
  }

  .hero__form-column {
    max-width: 520px;
  }

  .programs__container {
    /* 1318px - 24px dos gutters Bootstrap = arte original de 1294px. */
    max-width: 1318px;
  }

  .programs {
    padding-top: 115px;
  }

  .program-card .button--red {
    display: none;
  }
}

/* CompensaÃ§Ã£o vertical medida na referÃªncia de notebook (1366px). */
@media (min-width: 768px) and (max-width: 1536px) {
  .programs {
    padding-top: 74px;
  }
  .form-card__title {
    margin: 3px 0 8px;
    font-size: 30px;
  }
  .program-card__date strong{
    font-size: 20px;
  }
  .open-house{
    min-height: 120px;
  }
  .programs__container {
    max-width: 944px;
  }

  .programs__decoration--two {
    top: 30.8vw;
  }

  .programs__decoration--three {
    top: 102.8vw;
  }
  
}



@media (max-width: 1199.98px) {
  .container {
    max-width: 1040px;
  }

  .hero__container {
    grid-template-columns: 63% 37%;
  }

  .hero__title {
    left: 34px;
  }

  .hero__student {
    left: 39%;
  }

  .hero__form-column {
    max-width: 271px;
    padding-left: 5px;
  }

  .form-card {
    height: 665px;
  }

  .form-frame {
    --form-scale: .66;
  }

  .programs__container {
    max-width: 944px;
  }

  /* Internos do card em proporÃ§Ã£o, para escalar junto com a largura */
  .program-card__image {
    bottom: 7.5%;
    height: 73.5%;
    border-radius: 29% 29% 0 0 / 43% 43% 0 0;
  }

  .program-card__copy,
  .program-card--image-right .program-card__copy {
    height: 56%;
    padding: 3.5% 5% 3% 6%;
  }

  .program-card__copy h2 {
    margin-bottom: 1.4vw;
    font-size: clamp(19px, 3vw, 34px);
  }

  .program-card__copy h2 small {
    font-size: clamp(10px, 1.4vw, 15px);
  }

  .program-card__copy > p:not(.program-card__date) {
    max-width: none;
    font-size: clamp(9px, 1.15vw, 13px);
    line-height: 1.45;
  }

  .program-card__date {
    gap: 9px;
    margin-top: 1.6vw;
  }

  .program-card__date span {
    width: clamp(16px, 2.4vw, 29px);
    min-width: clamp(16px, 2.4vw, 29px);
    height: clamp(17px, 2.5vw, 30px);
  }

  .program-card__date strong {
    font-size: clamp(10px, 1.4vw, 17px);
  }

  .program-card .button--red {
    min-height: 30px;
    margin-top: 1.1vw;
    padding: 6px 18px;
    font-size: clamp(10px, 1.2vw, 14px);
  }

}



@media (min-width: 768px) and (max-width: 1246px) {
  .pending-message {
    font-size: 8px;
    padding: 0 20px 20px
  }
  .form-card {
    height: 49vw;
  }
  .hero {
    height: auto;
  }
  #texto-portas-abertas {
    font-size: 21px
  }
  .open-house {
    padding: 0 0 20px
  }
  .hero__form-column {
    top: -21px;
    flex: 1;
  }
}
@media (min-width: 768px) and (max-width: 1018px) {
    .pending-message {
        font-size: 5px;
        padding: 0 20px 11px;
    }
    .form-card__title {
      font-size: 20px
    }
    .form-card__header {
      padding: 16px 18px 5px
    }
    .open-house {
      background: #007da8;
    }

}
@media (max-width: 767.98px) {
  .container {
    width: 100%;
    max-width: none;
    padding-right: 22px;
    padding-left: 22px;
  }

  .button {
    min-height: 31px;
    padding: 7px 17px;
    font-size: 11px;
  }

  .hero {
    height: 226.16vw;
    min-height: 0;
    max-height: none;
    background-color: var(--blue-deep);
    background-image: url("../images/topo-mobile.webp");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
  }

  .hero__content {
    display: none;
  }

  .hero::after {
    display: none;
  }
    #texto-portas-abertas {
      font-size: 12px;
  }
  .hero__container {
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 0;
  }

  .container.hero__container {
    padding: 0
  }

  

  .hero__mobile-brand.asset-slot {
    display: grid;
    order: 1;
    width: 112px;
    height: 30px;
    margin: 10px auto 5px;
    border: 0;
    background: transparent;
  }

  .hero__form-column {
    display: flex;
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: center;
    order: 2;
    padding: 0;
  }

  .form-card {
    /*width: 66vw;
    max-width: 290px;*/
    height: 125vw;
    max-height: 525px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(77,0,0,.17);
  }

  .form-card__header {
    padding: 10px 12px 12px;
  }

  #form-card__kicker2 {
    font-size: 12px !important; 
  }

  .form-card__title {
    margin: 3px 0 8px;
    font-size: 17px;
  }

  .form-card__badge {
    border-width: 1.5px;
    padding: 4px 16px;
    font-size: 10px;
  }

  .form-frame {
    --form-scale: .5;
    
  }

  .hero__links {
    margin-top: 22px;
    gap: 8px;
  }

  .hero__links .button {
    min-height: 21px;
    padding: 3px 11px;
    font-size: 16px;
  }

  .hero__links .button--link span {
    font-size: 15px;
  }

  .pending-message {
    position: relative;
    margin: 0;
    font-size: 7px;
  }

  .hero__visual {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 0;
    pointer-events: none;
  }

  .hero__mobile-title.asset-slot {
    position: absolute;
    z-index: 5;
    top: calc(90px + min(124vw, 525px));
    left: 0;
    display: grid;
    width: 100%;
    height: 33.43vw;
    border: 0;
    background: transparent;
  }

  .hero__brand {
    display: none;
  }

  .hero__title {
    top: 600px;
    left: 50%;
    width: 210px;
    transform: translateX(-36%) rotate(-2deg);
  }

  .hero__title span {
    font-size: 27px;
  }

  .hero__title span::after {
    right: -4px;
    top: -6px;
    font-size: 19px;
  }

  .hero__title em {
    font-size: 31px;
  }

  .hero__title strong {
    font-size: 72px;
    letter-spacing: -5px;
  }

  .hero__title b {
    margin-top: 4px;
    font-size: 25px;
  }

  .hero__building {
    z-index: 2;
    bottom: 0;
    left: 22%;
    width: 90%;
    height: 214px;
    clip-path: polygon(0 11%, 100% 0, 100% 100%, 0 100%);
  }

  .hero__student {
    z-index: 4;
    bottom: 0;
    left: -16px;
    width: 183px;
    height: 290px;
    border-radius: 95px 95px 0 0;
  }

  .open-house {
    min-height: 96px;
  }

  .open-house__inner {
    max-width: 365px;
    margin: 0;
    justify-content: flex-start;
    gap: 12px;
    padding-right: 14px;
    padding-left: 34px;
  }

  .date-badge {
    width: 48px;
    min-width: 48px;
    height: 60px;
    padding: 0 0 10px 10px;
  }

  .date-badge strong {
    font-size: 23px;
  }

  .date-badge span {
    margin-top: 4px;
    font-size: 17px;
  }

  .open-house p {
    font-size: 8.7px;
    line-height: 1.35;
  }

  .programs {
    padding: 10px 0 8vw;
  }

  .programs__container {
    padding: 10px 27px 0px 20px;
    
  }

  .programs__decoration {
    width: 101.6vw;
    height: 101.6vw;
    background-position: center;
    background-size: 100% 100%;
  }

  .programs__decoration--one {
    display: none;
  }

  /* Ancorado tambÃ©m na base da seÃ§Ã£o: a ponta diagonal do pattern passa
     um pouco abaixo do Ãºltimo card, dentro dos 8vw de respiro do padding. */
  .programs__decoration--two {
    top: 169.3vw;
    bottom: 0;
    left: -39.1vw;
    width: 55vw;
    height: auto;
    background-image: url("../images/pattern_BG-1.webp");
  }

  .programs__decoration--three {
    top: 74.2vw;
    right: -68.2vw;
    bottom: auto;
    transform: rotate(180deg);
  }

  /* No mobile, o card usa a arte pronta (box_segmentos: bloco vermelho Ã 
     esquerda para a foto + bloco azul Ã  direita para o texto). Foto e texto
     sÃ£o posicionados sobre cada bloco. */
  .program-card,
  .program-card--image-left,
  .program-card--image-right {
    display: block;
    height: auto;
    aspect-ratio: 921 / 621;
    background-image: url("../images/fotos-alunos-mobile/box_segmentos.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
  }

  .program-card + .program-card {
    margin-top: 26px;
  }

  .program-card__red,
  .program-card--image-left .program-card__red,
  .program-card--image-right .program-card__red {
    display: none;
  }

  .program-card__copy,
  .program-card--image-left .program-card__copy,
  .program-card--image-right .program-card__copy {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    bottom: 0;
    left: 45.8%;
    display: flex;
    width: auto;
    height: 91.5%;
    padding: 2% 6% 2% 4%;
    background: transparent;
    clip-path: none;
  }

  .program-card__copy h2 {
    margin-bottom: 3%;
    font-size: 25px;
  }

  .program-card__copy h2 small {
    margin-top: 2px;
    font-size: 12px;
  }

  .program-card__copy > p:not(.program-card__date) {
    font-size: 11px;
    line-height: 1.4;
  }

  .program-card__date {
    gap: 7px;
    margin-top: 8%;
  }

  .program-card__date span {
    width: 18px;
    min-width: 18px;
    height: 19px;
  }

  .program-card__date strong {
    font-size: 14px;
  }

  .program-card__image,
  .program-card--image-left .program-card__image,
  .program-card--image-right .program-card__image {
    z-index: 4;
    right: auto;
    bottom: 0;
    left: 0;
    width: 45.7%;
    height: auto;
    border-radius: 0;
    overflow: visible;
    background: transparent;
  }

  /* Altura natural + base ancorada = aluno sempre encostado na base do
     bloco vermelho, sem sobra embaixo. */
  .program-card__image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: fill;
    object-position: center bottom;
    transform: none;
    filter: drop-shadow(0 8px 10px rgba(4, 34, 49, .18));
  }

  .program-card .button--red {
    display: none;
  }

  .label-desktop {
    display: none;
  }

  .label-mobile {
    display: inline;
  }

  .site-footer {
    height: 200px;

    padding: 24px 0 0;
    background-image: url("../images/box-rodape.webp");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 190% auto;
  }

  /* No mobile a arte oficial do rodapÃ© Ã© aplicada como background. */
  .site-footer__shape {
    display: none;
  }

  .site-footer__shape::after {
    content: none;
  }

  .site-footer__inner {
    position: relative;
    z-index: 2;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .site-footer__brand {
    width: 130px;
    height: 31px;
  }

  .site-footer__links {
    position: absolute;
    z-index: 3;
    bottom: 20px;
    left: 50%;
    gap: 14px;
    margin: 0;
    white-space: nowrap;
    transform: translateX(-50%);
  }

  .button--outline-blue,
  .button--link-blue {
    min-height: 25px;
    color: var(--white);
    font-size: 16px;
  }

  .site-footer__links .button--outline-blue {
    padding: 4px 16px;
  }

  .site-footer__links .button--link-blue {
    padding: 4px 0 4px 8px;
  }
}

@media (max-width: 389.98px) {
  .form-card {
    width: 66vw;
  }

  .hero__title {
    transform: translateX(-34%) rotate(-2deg) scale(.92);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 380px) {
  .program-card__date strong {
    font-size: 11px 
  }
  .program-card__copy > p:not(.program-card__date) {
    font-size: 10px
  }
  .pending-message {
    font-size: 6px;
    padding: 0 20px
  }
  .form-frame iframe {
    height: 100%;
  }
}

@media (max-width: 330px) {
  .form-frame iframe {
    height: 100%;
  }
  .hero__links {
    margin-top: 13px
  }
  .asset-slot img {
    width: 89%
  }
  .hero__mobile-title.asset-slot {
    top: calc(90px + min(120vw, 525px))
  }
}
/* ≤ 1366px */
@media (max-width: 1366px) {
    .hero__content {
      gap: 1.375rem;
      padding-left: 0;
      margin-top: 51px;
    }
    .hero__images {
      gap: 1.5625rem;
    }
    .hero__images-excelencia {
      width: 16.94rem;
    }
    .hero__text {
      margin-top: 3.225rem;
    }
    .hero__text p {
      padding: 0.875rem 1rem;
      font-size: 1.0rem;
      line-height: 1.2rem;
    }
    .hero__container {
      padding: 0;
    }
    .container.hero__container {
      max-width: 1282px;
      padding: 30px;
    }
}

/* 1025px – 1274px */
@media (min-width: 1025px) and (max-width: 1274px) {
    .hero__text p {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
        line-height: 1.1rem;
    }
    .hero__images-logo {
        width: 143px;
    }
    .hero__images-excelencia {
        width: 14.94rem;
    }
    .hero__content {
        gap: 1.375rem;
        padding-left: 2.5rem;
    }
    .hero__form-column {
        max-width: 380px;
    }    
}

@media (min-width: 768px) and (max-width: 1024px) {

}

/* ≥ 1367px */
@media (min-width: 1367px) {
    .hero__text p {
        padding: 10px 28px;
        font-size: 15px;
        line-height: 20px;
    }
    .container.hero__container {
        max-width: 1368px;
    }
    .hero__content {
        padding: 0;
        margin-top: 104px;
    }
    .hero__images-excelencia {
        width: 279px;
    }
    .hero__images {
        gap: 17px;
    }
}

@media (max-width: 1246px) {
  .form-frame iframe {
    position: initial !important;
    /* height: 800px !important; */
    height: 560px !important;
  }
}


/* ≥ 1771px */
@media (min-width: 1771px) {
    .hero__images-logo {
        width: clamp(5rem, 11.94vw, 13.75rem);
        height: auto;
    }
    .container.hero__container {
        max-width: initial;
        padding: 0 124px;
    }
    .hero__content {
        margin-top: 121px;
    }
    .hero__images-excelencia {
        width: 352px;
        height: auto;
    }
    .hero__text {
        width: 100%;
        max-width: 301px;
        margin-top: clamp(2.625rem, 4.39vw, 3.75rem);
    }
    .hero__text p {
        font-size: 20px;
        padding: 22px 25px;
        line-height: 23px;
    }
}

/* ≥ 1920px */
@media (min-width: 1920px) {
    .hero__content {
        padding-left: 40px;
        margin-top: 130px;
    }
}

@media (min-width: 1024px) and (max-width:1207px) {
  .form-frame iframe {
        position: initial !important;
        height: 500px !important;    
  }
  .form-card__title {
    font-size: 28px !important
  }
}


/* ≤ 1366px */
@media (max-width: 1366px) {
  .hero__content {
    gap: 1.375rem;
    padding-left: 0;
    margin-top: 51px;
  }
  .hero__images { gap: 1.5625rem; }
  .hero__images-excelencia { width: 16.94rem; }
  .hero__text {
    margin-top: 3.225rem;
  }
  .hero__text p {
    padding: 0.875rem 1rem;
    font-size: 1.0rem;
    line-height: 1.2rem;
  }
  .hero__container { padding: 0; }
  .container.hero__container {
    max-width: 1282px;
    padding: 30px;
  }
  /* form-column: padding mínimo para maximizar altura do card */
  .hero__form-column {
    padding: 8px 0 8px 12px;
  }
  .form-card {
    max-height: calc(100vh - 70px);
  }
}

/* 1025px – 1274px */
@media (min-width: 1025px) and (max-width: 1274px) {
  .hero__text p {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    line-height: 1.1rem;
  }
  .hero__images-logo { width: 143px; }
  .hero__images-excelencia { width: 14.94rem; }
  .hero__content {
    gap: 1.375rem;
    padding-left: 2.5rem;
  }
  .hero__form-column {
    max-width: 380px;
  }
}

/* Tablet landscape */
@media (min-width: 768px) and (max-width: 1024px) {
  .container.hero__container { padding: 0 12px; }
  .hero__images-excelencia { width: 11.94rem; }
  .hero__images-logo { width: 122px; height: auto; }
  .hero__text p {
    font-size: 0.7rem;
    line-height: 1.0rem;
  }
  .hero__form-column {
    max-width: 300px;
    padding: 6px 0 6px 8px;
  }
  .form-card {
    max-height: calc(100vh - 60px);
  }
  .form-frame { --form-scale: .60; }

  .container.hero__container {
    padding: 0 12px;
  }
  .hero__images-excelencia {
    width: 11.94rem;
  }
  .hero__images-logo {
    width: 122px;
    height: auto;
  }
  .hero__text p {
    font-size: 0.7rem;
    line-height: 1.0rem;
  }
  .form-card__title {
    font-size: 22px !important;
  }
  .hero__form-column {
    top: 11px !important;
  }

  /* form-frame precisa de altura explícita para o iframe herdar */
  .form-frame {
    flex: 1;
    min-height: 0;
    height: 100%;
  }
    .form-card {
                max-height: 47vw !important;
    }
  .form-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: calc(100% / var(--form-scale));
    height: 100%;
    /* height: calc(100% / var(--form-scale)); */
    transform: scale(var(--form-scale));
    transform-origin: top left;
    border: 0;
  }
  .hero {
  }  
}

/* ≥ 1367px */
@media (min-width: 1367px) {
  .hero__text p {
    padding: 10px 28px;
    font-size: 15px;
    line-height: 20px;
  }
  .container.hero__container { max-width: 1368px; }
  .hero__content {
    padding: 0;
    margin-top: 104px;
  }
  .hero__images-excelencia { width: 279px; }
  .hero__images { gap: 17px; }
  .hero__form-column {
    padding: 16px 0 16px 12px;
  }
  .form-card {
    max-height: calc(100vh - 90px);
  }
  .form-frame { --form-scale: .75; }
}

/* ≥ 1440px */
@media (min-width: 1440px) {
  .form-frame { --form-scale: .82; }
  .form-card { max-height: calc(100vh - 90px); }
}

/* ≥ 1537px */
@media (min-width: 1537px) {
  .container { max-width: 1320px; }
  .form-frame { --form-scale: .95; }
  .hero__container {
    max-width: 1680px;
    grid-template-columns: 66% 34%;
  }
  .hero__form-column {
    max-width: 520px;
    padding: 20px 0 20px 12px;
  }
  .form-card {
    max-height: calc(100vh - 100px);
  }
  .programs__container { max-width: 1318px; }
  .programs { padding-top: 115px; }
  .program-card .button--red { display: none; }
}

/* ≥ 1771px */
@media (min-width: 1771px) {
  .hero__images-logo {
    width: clamp(5rem, 11.94vw, 13.75rem);
    height: auto;
  }
  .container.hero__container {
    max-width: initial;
    padding: 0 124px;
  }
  .hero__content { margin-top: 121px; }
  .hero__images-excelencia { width: 352px; height: auto; }
  .hero__text {
    width: 100%;
    max-width: 301px;
    margin-top: clamp(2.625rem, 4.39vw, 3.75rem);
  }
  .hero__text p {
    font-size: 20px;
    padding: 22px 25px;
    line-height: 23px;
  }
  .form-card { max-height: calc(100vh - 110px); }
}

/* ≥ 1920px */
@media (min-width: 1920px) {
  .hero__content {
    padding-left: 40px;
    margin-top: 130px;
  }
}

/* Laptop 768–1536px: ajustes de proporção */
@media (min-width: 768px) and (max-width: 1536px) {
  .programs { padding-top: 74px; }
  .form-card__title {
    margin: 3px 0 8px;
    font-size: 30px;
  }
  .program-card__date strong { font-size: 20px; }
  .open-house { min-height: 120px; }
  .programs__container { max-width: 944px; }
  .programs__decoration--two { top: 30.8vw; }
  .programs__decoration--three { top: 102.8vw; }
}

/* Laptop 1200–1536px */
@media (min-width: 1200px) and (max-width: 1536px) {
  .hero__form-column {
    padding: 0;
  }
  .hero__links { 
    margin-top: 8px; 
  }
  #texto-portas-abertas { 
    font-size: 22px; 
  }
  .date-badge { 
    width: 50px; 
    min-width: 85px; 
    height: 105px; 
  }
  .date-badge strong {
     font-size: 32px; 
    }
  .date-badge span { 
    font-size: 34px; 
  }
  .open-house p {
     max-width: 700px; 
    }
  .program-card__copy h2 { 
    font-size: 45px; 
  }
  .program-card__copy > p:not(.program-card__date) { 
    font-size: 18px; }
  .button { font-size: 22px; 
  }
  .container.site-footer__inner { 
    max-width: 1200px !important; 
  }
  .pending-message { 
    padding: 15px 20px 10px 20px; bottom: 0px; background: #ffffff; 
  }
  .form-frame { 
    --form-scale: .72; 
  }
  .form-card { 
    max-height:calc(85vh); 
  }

  .hero__form-column {
    padding-top: 20px;
  }
  .hero__links {
    margin-top: 8px;
  }
  #texto-portas-abertas{
    font-size: 22px;
  }
  .date-badge {
    width: 50px;
    min-width: 85px;
    height: 105px;
  }
  .date-badge strong {
    font-size: 32px;
  }

  .date-badge span {
    font-size: 34px;
  }

  .open-house p{
    max-width: 700px;
  }
    .program-card__copy h2{ 
      font-size: 45px
    }
    .program-card__copy > p:not(.program-card__date){
      font-size:18px
    }
    .button{
      font-size: 22px
    }
    .container.site-footer__inner {
      max-width: 1200px !important;
  }
  .pending-message{padding: 15px 20px 10px 20px; bottom: 0px; background: #ffffff}  
}

@media (min-width:1208px) and (max-width: 1298px) {
    .form-card {
        max-height: calc(73vh);
    }
}

@media (max-width: 767px) {
  /* form-card mantém altura original do bloco 767.98px */
  .form-card {
    height: 100vh;
    /*max-height: calc(58vh - 70px);*/
  }

  /* form-frame precisa de altura explícita para o iframe herdar */
  .form-frame {
    flex: 1;
    min-height: 0;
    height: 100%;
  }

  .form-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: calc(100% / var(--form-scale));
    /* height: calc(100% / var(--form-scale)); */
    /*height: 450px!important;*/
    transform: scale(var(--form-scale));
    transform-origin: top left;
    border: 0;
  }
}




@media (max-width: 767px) {
  .form-frame {
    overflow: auto;
    height: auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .form-frame iframe {
    position: relative !important;
    height: 100%!important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    transform: none !important;
    display: block !important;
    border: 0 !important;
  }
}