@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../assets/fonts/SourceSans3-latin.woff2") format("woff2-variations"),
       url("../assets/fonts/SourceSans3-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB;
  src: url("../assets/fonts/SourceSans3-latin-ext.woff2") format("woff2-variations"),
       url("../assets/fonts/SourceSans3-latin-ext.woff2") format("woff2");
}

.ranking-item strong {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 57px;
  font-weight: 900;
  line-height: .86;
}
:root {
  --blue-dark: #001f63;
  --blue-card: #00367f;
  --blue-button: #0094ff;
  --yellow: #ffc200;
  --ink: #001448;
  --ink-secondary: #232b57;
  --white: #fff;

  --font-display: "Source Sans 3", Arial, sans-serif;
  --font-condensed: "Source Sans 3", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: #ececec;
  color: var(--white);
  font-family: var(--font-condensed);
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.page-shell { width: 100%; margin: 0 auto; overflow: hidden; background: #fff; }

.hero { position: relative; height: 1230px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: url("../assets/images/hero-bg.webp") center top / cover no-repeat; }
.topbar {
  position: absolute;
  z-index: 20;
  top: 62px;
  left: 50%;
  width: min(1300px, calc(100% - 160px));
  height: 92px;
  transform: translateX(-50%);
  padding: 0 38px;
  border-radius: 13px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 25px rgba(0,0,0,.18);
}

/*Form*/
.hero-form{
  background: #fff;
  padding: 18px;
  border-radius: 18px;
}
/*Ajustes primeiera seção*/
@media screen and (min-width: 768px){
  .hero{
    height: 100vh;
  }
  .scholarship-card {
    top: 10px!important;
  }
  .btn__blue-mobile{
    display: none!important;
  }

  .hero-inner{
    display: flex;
    justify-content: end;
  }
  .hero-cta {
    margin: 0 0 110px 0!important;
    padding: 11px 23px!important;
  }
  .box__nav-desktop{
    width: 55%;
    /* background-color: red;  */
    display: flex!important;
    flex-direction: column;
    align-items: end;
    justify-content: space-between;
  }
  .hero-cta strong {
    font-size: 20px!important;
  }
  /* .btn__blue-desktop{
    display: flex!important;
  } */

  .topbar {
    position: relative;
    margin-top: 25px;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    height: 92px;
    transform: none;
    padding: 0 25px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .18);
  }
  .topbar-brand img {
    width: 160px!important;
    height: auto;
  }
  .desktop-menu {
    gap: 20px!important;
  }

}
/*Fim ajustes*/







/* .form-box{
  background: red;
  height: 400px;
  margin-bottom: 15px;
} */

.form-box{
    width: 100%;
    height: 400px;
    margin-bottom: 15px;
    overflow: hidden;
}
.form-box iframe{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.hero-form > .form-p{
  padding-top: 10px;
  font-size: 12px;
  color: #000;
  text-align: start;
  line-height: 120%;
  margin-bottom: 0;

}
.hero-inner{
  padding-bottom: 20px;
}

/*End form*/

.topbar-brand img { width: 400px; height: auto; }
.desktop-menu { display: flex; align-items: center; gap: 54px; color: var(--ink-secondary); font-family: var(--font-condensed); font-size: 20px; font-weight: 600; }
.desktop-menu a { transition: color .2s ease; }
.desktop-menu a:hover { color: #006bc4; }
.mobile-menu-button { display: none; width: 42px; height: 42px; margin-left: auto; padding: 8px; border: 0; background: transparent; }
.mobile-menu-button span { display: block; height: 3px; margin: 5px 0; border-radius: 999px; background: var(--ink-secondary); }
.hero-inner { position: relative; width: min(1220px, calc(100% - 160px)); height: 100%; padding: 0; }
.scholarship-card {
  position: absolute;
  top: 192px;
  left: 0;
  width: 500px;
  min-height: 800px;
  padding: 46px 44px 39px;
  border-radius: 18px;
  background: linear-gradient(180deg, #063f8c 0%, #00337d 100%);
  box-shadow: 0 14px 30px rgba(0,0,0,.26);
  text-align: center;
}
.scholarship-card .eyebrow { margin: 0; color: var(--yellow); font-family: var(--font-condensed); font-size: 32px; font-weight: 600; line-height: 1; }
.scholarship-card h1 { margin: 4px 0 0; font-family: var(--font-condensed); font-size: 37px; font-weight: 900; line-height: .91; }
.scholarship-card .subtitle { margin: 14px 0 18px; font-size: 21px; line-height: 1; }
.date-badge { max-width: 77%; margin: 0 auto 34px; padding: 9px 18px; border-radius: 8px; background: var(--yellow); color: var(--ink); font-family: var(--font-condensed); font-size: 28px; font-weight: 700; line-height: 1.1; }
.segment-title { margin: 0 0 14px; font-size: 23px; }
.segment-list { gap: 15px; width: 95%; margin: auto; display: grid; }

.segment-link { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 5px 18px; border-radius: 999px; background: #fff; color: var(--ink-secondary); font-family: var(--font-display); font-size: 28px; font-weight: 700; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); transition: transform .2s ease; }
.segment-link:hover { transform: translateY(-2px); }
.hero-cta{ line-height: 100%; display: block; margin-top: 31px; padding: 11px 18px; border-radius: 999px; background: var(--blue-button); font-size: 25px; }
.hero-cta strong{font-size: 29px;}
.mobile-menu { position: fixed; z-index: 1001; top: 25px; right: 12px; width: min(310px, calc(100vw - 24px)); padding: 47px 29px 23px; border-radius: 8px; background: #fff; color: var(--ink-secondary); box-shadow: 0 15px 42px rgba(0,0,0,.32); opacity: 0; transform: translateY(-130%); transition: transform .25s ease, opacity .25s ease; }
.mobile-menu.open { opacity: 1; transform: translateY(0); }
.mobile-menu-close { position: absolute; top: 4px; right: 14px; border: 0; background: transparent; color: var(--ink-secondary); font-size: 36px; line-height: 1; }
.mobile-menu nav { display: grid; }
.mobile-menu a { padding: 17px 0; border-bottom: 1px solid #68738d; text-align: right; font-size: 18px; }
.mobile-menu a:last-child { border-bottom: 0; }
.menu-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.56); }

.units-section { position: relative; min-height: 1630px; padding: 90px 0 75px; background-position: center top; background-size: cover; background-repeat: no-repeat; }
.units-section.state-manaus { background-image: url("../assets/images/units-bg-manaus.png"); }
.units-section.state-rio-branco { background-image: url("../assets/images/units-bg-rio-branco.png"); }
.units-section.state-belem { background-image: url("../assets/images/units-bg-belem.png"); }
.units-inner { width: min(1447px, calc(100% - 120px)); margin: 0 auto; }
.section-heading h2 { margin: 0; font-family: var(--font-condensed); font-size: 70px; font-weight: 700; line-height: 1; }
.section-heading p { margin: 10px 0 54px; font-size: 38px; line-height: 1.1; }
.state-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: min(1280px, 100%); margin: 0 auto 55px; }
.state-tab { min-height: 70px; padding: 10px 25px; border: 3px solid var(--yellow); border-radius: 8px; background: transparent; color: #fff; font-size: 31px; line-height: 1; transition: background .18s ease, color .18s ease; }
.state-tab.active { background: var(--yellow); color: var(--ink); font-family: var(--font-condensed); font-weight: 700; }
.unit-panel { min-height: 640px; }
.unit-grid { display: grid; justify-content: center; }
.unit-grid-three { grid-template-columns: repeat(3, minmax(0, 459px)); gap: 25px; }
.unit-grid-single { grid-template-columns: minmax(0, 953px); }
.unit-card { position: relative; width: 100%; aspect-ratio: 459 / 639; overflow: hidden; border-radius: 22px; }
.unit-card-wide { aspect-ratio: 953 / 638; border-radius: 22px; }
.unit-card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.unit-info { position: absolute; z-index: 2; left: 28px; right: 22px; bottom: 32px; }
.unit-info strong { display: inline-flex; min-width: 175px; min-height: 42px; align-items: center; justify-content: center; padding: 4px 17px; border: 3px solid #fff; border-radius: 8px; background: rgba(0,27,77,.15); color: #fff; font-family: var(--font-condensed); font-size: 25px; font-weight: 700; line-height: 1; }
.unit-info p { margin: 14px 0 0; color: #fff; font-size: 21px; line-height: 1.15; }
.unit-card-wide .unit-info { left: 67px; bottom: 43px; }
/* .unit-card-wide .unit-info strong { min-width: 184px; } */
.mobile-units { display: none; }

.academic-banner { position: relative; width: 100%; aspect-ratio: 1447 / 412; margin: 75px auto 0; overflow: hidden; border-radius: 21px; color: var(--ink); }
.academic-banner-image { position: absolute; inset: 0; width: 99%; height: 100%; object-fit: fill; }
.academic-copy { position: absolute; z-index: 2; top: 40%; left: 132px; }
.academic-copy h3 { margin: 0; font-family: var(--font-condensed); font-size: 54px; font-weight: 700; line-height: .95; }
.academic-copy p { margin: 0 0 28px; font-size: 44px; line-height: 1; }
.yellow-button { display: inline-flex; min-width: 280px; min-height: 55px; align-items: center; justify-content: center; padding: 8px 26px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.academic-mobile-children { display: none; }

.results-section { position: relative; height: 1325px; overflow: hidden; background: #00246e; }
.results-visual { position: absolute; inset: 0; }
.results-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.results-inner { position: relative; z-index: 2; width: min(1440px, calc(100% - 180px)); height: 100%; margin: 0 auto; padding-top: 150px; }
.results-copy { width: 650px; }
.results-copy h2 { margin: 0; font-family: var(--font-condensed); font-size: 48px; font-weight: 700; line-height: 1.02; }
.results-copy h2 span { color: var(--yellow); font-size: 74px; }
.results-intro { width: 620px; margin: 22px 0 34px; font-size: 31px; line-height: 1.24; }
.ranking-list { width: 590px; padding-left: 10%; }
.ranking-item { display: flex; align-items: flex-start; gap: 21px; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.45); }
.ranking-item:last-child { border-bottom: 0; }
.ranking-item strong { color: var(--yellow); font-family: var(--font-display); font-size: 57px; font-weight: 900; line-height: .86; }
.ranking-item p { margin: 0; font-size: 28px; line-height: 1.05; }
.ranking-item small { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 15px; font-weight: 900; line-height: 1.1; }
.visit-cta { position: absolute; left: 50%; bottom: 125px; width: min(1190px, calc(100% - 160px)); min-height: 150px; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 30px 78px; border-radius: 25px; background: var(--yellow); color: var(--ink); }
.visit-cta p { margin: 0; font-size: 29px; line-height: 1.18; }
.visit-button { display: inline-flex; min-width: 225px; min-height: 66px; align-items: center; justify-content: center; padding: 12px 32px; border-radius: 999px; background: #fff; font-family: var(--font-condensed); font-size: 22px; font-weight: 700; }

.site-footer { background: #fff; color: var(--ink-secondary); }
.footer-inner { width: min(1440px, calc(100% - 160px)); min-height: 205px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.footer-logo { width: 300px; height: auto; }
.socials { text-align: center; }
.socials p { margin: 0 0 9px; font-family: var(--font-condensed); font-size: 25px; font-weight: 700; }
.social-links { display: flex; align-items: center; justify-content: center; gap: 26px; }
.social-links img { height: 57px; width: auto; }
.social-links a { display: block; transition: opacity .2s ease; }
.social-links a:hover { opacity: .75; }

@media (min-width: 1600px) {
  .results-section { height: 1240px; }
  .visit-cta { left: 180px; right: 180px; width: auto; transform: none; }
}

@media screen and (max-width: 1680px) {
  .scholarship-card{
      padding: 30px 32px 23px;
  }
  
}
@media screen and (max-width: 1600px) {
  .scholarship-card{
      padding: 30px 32px 23px;
      min-height: 500px!important;
  }
  .form-box {
    width: 100%;
    height: 310px;
  }
  .hero-form > .form-p {
    font-size: 10px;
  }
  .topbar {
      width: 100%!important;
  }
}

@media screen and (max-width: 1366px) {
  .scholarship-card{
      padding: 30px 32px 23px;
      min-height: 500px!important;
  }
  .form-box {
    width: 100%;
    height: 310px;
  }
  .hero-form > .form-p {
    font-size: 10px;
  }
  .topbar {
      width: 100%!important;
  }
  .hero-cta {
    margin: 0 0 40px 0 !important
  }
  .scholarship-card .eyebrow {
    font-size: 27px;
  }
  .scholarship-card h1 {
    font-size: 32px;
  }
  .date-badge {
    font-size: 22px;
    margin: 0 auto 15px;
  }
  .scholarship-card {
    padding: 20px 28px 20px;
    min-height: 400px !important;
  }
  .form-box {
    width: 100%;
    height: 240px;
  }
  .scholarship-card .subtitle {
    margin: 2px 0 18px;
  }
}

@media screen and (max-width: 1280px){
    .topbar {
        width: 95% !important;
    }
}

@media (max-width: 1599.98px) and (min-width: 768px) {
  .social-links { gap: 23px; }
  .social-links img { height: 50px; }
  .segment-list { gap: 10px; width: 95%; margin: auto; }

  .topbar { width: calc(105% - 160px); }
  .hero-inner { width: calc(100% - 160px); }
  .units-section { min-height: 0; padding: 70px 0 70px; }
  .units-inner { width: calc(100% - 160px); }
  .unit-panel { min-height: 0; }
  .academic-banner { margin-top: 60px; }
  .section-heading h2 { font-size: 58px; }
  .section-heading p { font-size: 31px; }
  .state-tab { min-height: 60px; font-size: 26px; }
  .unit-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .unit-info { left: 22px; bottom: 25px; }
  .unit-info strong { min-width: 145px; min-height: 35px; font-size: 20px; border-width: 2px; }
  .unit-info p { margin-top: 10px; font-size: 17px; }
  .academic-copy { top: 40%; left: 9%; }
  .academic-copy h3 { font-size: 43px; }
  .academic-copy p { font-size: 35px; }
  .yellow-button { min-width: 230px; min-height: 45px; font-size: 16px; }
  .results-section { height: 1140px; }
  .results-visual img { object-position: calc(100% + 30px) top; }
  .results-inner { width: calc(100% - 180px); padding-top: 120px; }
  .results-copy { width: 530px; }
  .results-copy h2 { font-size: 48px; }
  .results-copy h2 span { font-size: 62px; }
  .results-intro { width: 510px; font-size: 26px; }
  .ranking-list { width: 495px; padding-left: 10%; }
  .ranking-item strong { font-size: 48px; }
  .ranking-item p { font-size: 23px; }
  .visit-cta { width: calc(120% - 320px); }
}

@media (max-width: 1280px){
  .visit-cta p{
    font-size: 28px;
  }
}

@media (max-width: 767.98px) {
  body { background: #fff; }
  .box__nav-desktop{
    display: none;
  }
  .page-shell { max-width: none; }
  .hero { height: auto; padding: 87vw 20px 18px; overflow: visible; background: #fff; }
  .hero-bg { background: url("../assets/images/webp-MOBILE/001_Dobra 1 - RIO BRANCO_BG.webp") center top / 100% auto no-repeat; }
  .topbar { top: 24px; width: calc(100% - 30px); height: 44px; padding: 0 10px 0 12px; border-radius: 7px; }
  .topbar-brand img { width: 235px; }
  .desktop-menu { display: none; }
  .mobile-menu-button { display: block; width: 35px; height: 35px; padding: 7px; }
  .mobile-menu-button span { height: 2px; margin: 4px 0; }
  .hero-inner { width: 100%; }
  .scholarship-card { position: static; width: min(340px, 100%); min-height: 0; margin: 0 auto; transform: none; padding: 24px 15px 24px 15px; border-radius: 12px; box-shadow: 0 10px 22px rgba(0,0,0,.28); }
  .scholarship-card .eyebrow { font-size: 26px; }
  .scholarship-card h1 { font-size: 25px; }
  .scholarship-card .subtitle { margin: 8px 0 12px; font-size: 16px; }
  .date-badge { margin-bottom: 22px; padding: 7px 14px; border-radius: 6px; font-size: 20px; }
  .segment-title { margin-bottom: 10px; font-size: 14px; }
  .segment-list { gap: 10px; }
  .segment-link { min-height: 34px; padding: 4px 12px; font-size: 16px; }
  .hero-cta { margin-top: 22px; padding: 9px; font-size: 13px; max-width: 220px; margin: 22px auto 0 auto;}
  .hero-cta strong{font-size: 15px;}
  .units-section { min-height: 0; padding: 34px 0 44px; background-size: auto 100%; }
  .units-inner { width: auto; margin: 0; padding: 0 26px; }
  .section-heading { text-align: left !important; }
  .section-heading h2 { font-size: 26px; line-height: 1.05; }
  .section-heading p { max-width: 280px; margin: 5px 0 18px; font-size: 14px; line-height: 1.2; }
  .desktop-units { display: none; }
  .mobile-units { display: grid; gap: 14px; }
  .mobile-accordion { display: grid; gap: 12px; }
  .accordion-trigger { position: relative; width: 100%; min-height: 44px; padding: 8px 42px 8px 16px; border: 1px solid var(--yellow); border-radius: 6px; background: rgba(0,26,84,.35); color: #fff; text-align: left; font-family: var(--font-condensed); font-size: 15px; font-weight: 700; }
  .accordion-trigger span::before { content: ""; position: absolute; top: 50%; right: 18px; width: 9px; height: 9px; border-right: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
  .accordion-trigger[aria-expanded="true"] span::before { transform: translateY(-30%) rotate(225deg); }
  .accordion-content { overflow: hidden; }
  .mobile-card-row { display: grid; grid-template-columns: repeat(3, min(42vw, 165px)); gap: 8px; overflow-x: auto; margin-right: -26px; padding-right: 26px; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .mobile-card-row .unit-card { scroll-snap-align: start; }
  .unit-card { border-radius: 10px; }
  .unit-info { left: 10px; right: 8px; bottom: 12px; }
  .unit-info strong { min-width: 0; min-height: 22px; padding: 2px 9px; border-width: 2px; border-radius: 4px; font-size: 11px; }
  .unit-info p { margin-top: 5px; font-size: 8px; line-height: 1.15; }
  .mobile-wide-card { width: 100%; }
  .mobile-wide-card .unit-info { left: 16px; bottom: 14px; }
  .mobile-wide-card .unit-info strong { min-height: 24px; font-size: 12px; }
  .mobile-wide-card .unit-info p { margin-top: 6px; font-size: 9px; }
    .hero-cta {
        padding: 9px;
        font-size: 13px;
        max-width: 220px;
        margin: 22px auto 0px!important;
    }
  .academic-banner { width: 100%; aspect-ratio: 570 / 635; min-height: 0; margin-top: 24px; border-radius: 12px; background: #fff url("../assets/images/webp-MOBILE/010_Dobra 2 - Fechada_CAIXA EXCELÊNCIA_CAIXA EXCELÊNCIA.webp") center bottom / 100% auto no-repeat; }
  .academic-banner-image { display: none; }
  .academic-copy { top: 28px; left: 18px; right: 18px; text-align: center; }
  .academic-copy h3 { font-size: 32px; }
  .academic-copy p { margin-bottom: 14px; font-size: 20px; }
  .yellow-button { min-width: 170px; min-height: 32px; padding: 6px 14px; font-size: 14px; }
  .academic-mobile-children { display: none; }

  .results-section { height: auto; min-height: 0; background: url("../assets/images/webp-MOBILE/019_Dobra 3_BG.webp") center top / 100% auto no-repeat, linear-gradient(180deg, #00317d 0%, #0a3f9e 100%); }
  .results-visual { display: none; }
  .results-inner { width: auto; min-height: 0; padding: 99vw 26px 240px; }
  .results-copy { width: auto; margin-top: 0; }
  .results-copy h2 { font-size: 24px; line-height: 1; }
  .results-copy h2 span { font-size: 37px; }
  .results-intro { width: auto; margin: 9px 0 17px; font-size: 16px; line-height: 1.3; text-align: justify;  }
  .ranking-list { width: auto; padding-left: 24px; }
  .ranking-item { gap: 10px; padding: 12px 0; }
  .ranking-item strong { font-size: 30px; }
  .ranking-item p { font-size: 14px; }
  .ranking-item small { margin-top: 3px; font-size: 10px; }
  .visit-cta { left: 56px; right: 56px; bottom: 64px; width: auto; min-height: 0; transform: none; display: block; padding: 20px 24px; border-radius: 14px; }
  .visit-cta p br { display: none; }
  .visit-cta p { margin-bottom: 15px; font-size: 14px; line-height: 1.3; }
  .visit-button { display: flex; width: 160px; min-width: 0; min-height: 40px; margin: 0 auto; padding: 8px 18px; font-size: 14px; }

  .footer-inner { width: auto; min-height: 78px; padding: 12px 20px; }
  .footer-logo { width: 118px; }
  .socials p { margin-bottom: 5px; font-size: 10px; }
  .social-links { gap: 11px; }
  .social-links img { height: 25px; }
}

@media (max-width: 340px) {
  .units-inner { padding-inline: 20px; }
  .results-inner { padding-inline: 20px; }
  .visit-cta { left: 48px; right: 48px; }
  .mobile-card-row { margin-right: -20px; padding-right: 20px; }
}
