@font-face {
  font-family: "Boldonse";
  src: url("../fonts/Boldonse-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue LP";
  src: url("../fonts/HelveticaNeue-Roman.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue LP";
  src: url("../fonts/HelveticaNeue-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue LP";
  src: url("../fonts/HelveticaNeue-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue LP";
  src: url("../fonts/HelveticaNeue-Black.woff2") format("woff2");
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue LP";
  src: url("../fonts/HelveticaNeue-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Interface na paleta da campanha. O verde contido nos lockups oficiais é
     documental; não vira token de UI. Os nomes `--er-green-*` permanecem só
     por compatibilidade com seletores antigos e apontam para o ciano. */
  --er-blue: #00aeed;
  --er-blue-dark: #00688f;
  --er-blue-deep: #10161f;
  --er-green: #00aeed;
  --er-green-dark: #00688f;
  --er-green-light: #5cd3ff;

  /* Exceção à paleta da campanha: o diagrama dos eixos é a única peça que
     carrega o azul E o verde do logo Emílio Ribas, porque a cor ali não é
     enfeite — é o que separa os dois eixos. Azul: Comunicação e Estrutura,
     nas aulas regulares. Verde: Fluência e Proficiência, no contraturno.
     Tokens próprios para que uma futura mudança da paleta de interface não
     apague essa distinção outra vez. */
  --axis-structure: #00aeed;
  --axis-structure-dark: #00688f;
  --axis-fluency: #7baa4d;
  --axis-fluency-dark: #4f7a2b;

  /* Mizzou Global Scholars, Middle School e Dual Diploma High School carregam
     a identidade da University of Missouri: preto e o dourado #f1b830
     informado pela escola. Em fundo claro, o texto usa preto e o dourado
     entra como acento. O azul e o verde do logo Emílio Ribas seguem valendo
     para todo o resto da percurso — inclusive para o diagrama dos eixos. */
  --mz-black: #14181d;
  --mz-black-soft: #232a32;
  --mz-gold: #f1b830;
  --mz-laranja: #f1b830;
  --mz-laranja-texto: #14181d;
  --mz-gold-deep: #14181d;
  --mz-gold-soft: #f1b830;

  /* Apelidos históricos. Uma única fonte de verdade: quem mudar a paleta do
     logo acima muda a página inteira, sem risco de os dois nomes divergirem. */
  --blue: var(--er-blue);
  --blue-dark: var(--er-blue-dark);
  --blue-deep: var(--er-blue-deep);
  /* Azul de link em fundo claro: o --er-blue puro fica em 4,1:1 e não passa
     no mínimo de 4,5:1 da WCAG para texto normal. */
  --link-on-light: #1f5f96;
  --cyan: #00aeed;
  /* Amarelo permanece apenas como acento pontual da campanha. */
  --yellow: #fddd02;
  --yellow-dark: #c4aa00;
  --ink: #10161f;
  --muted: #526170;
  --line: #dbe3e9;
  --mist: #f1f6f8;
  --paper: #fffdf7;
  --white: #ffffff;
  --whatsapp: #00aeed;
  --display: "Helvetica Neue LP", Helvetica, Arial, sans-serif;
  --campaign: "Boldonse", "Arial Black", sans-serif;
  --text: "Helvetica Neue LP", Helvetica, Arial, sans-serif;
  --shadow: 0 24px 70px rgba(8, 30, 46, 0.15);
  --radius: 22px;
  --header-height: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--text);
  font-size: var(--texto-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

/* A ordem das seções é a ordem do HTML. Nada de `order` aqui: um `display`
   sobrescrito em qualquer camada desligaria o flex e, com ele, a ordenação
   inteira — sem erro visível e sem aviso. */

img,
picture {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

::selection {
  color: var(--ink);
  background: var(--er-green);
}

.container,
.container-wide {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 40px, 1380px);
}

.section {
  position: relative;
  padding: clamp(76px, 8vw, 126px) 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 12px 18px;
  color: var(--white);
  background: var(--ink);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow,
.campaign-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
  font-size: var(--texto--2);
  font-weight: 700;
  letter-spacing: 0.15em;
  /* 1.35 é o piso do contrato e encostava nele: em 12,4px a caixa dava
     16,76px, e o arredondamento do navegador devolvia 1,34 em alguns
     viewports. Rótulo caixa-alta de duas linhas lê melhor com folga. */
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 4px;
  background: var(--er-green);
  content: "";
}

.eyebrow-light {
  color: #8fdcff;
}

.section-heading h2,
.journey-heading h2,
.highschool-copy h2,
.faq-intro h2,
.contact-copy h2 {
  margin-top: 14px;
  font-family: var(--display);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--er-green);
  font-size: var(--texto--1);
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  background: var(--blue-dark);
  box-shadow: 2px 2px 0 var(--er-green);
  transform: translate(3px, 3px);
}

.button-small {
  min-height: 44px;
  padding: 10px 18px;
  box-shadow: none;
  font-size: var(--texto--2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid currentColor;
  font-size: var(--texto--1);
  font-weight: 700;
}

.text-link span {
  color: var(--link-on-light);
  font-size: var(--texto-0);
  transition: transform 0.18s ease;
}

.text-link:hover span {
  transform: translateY(3px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  isolation: isolate;
  border-bottom: 1px solid rgba(10, 23, 34, 0.09);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 34px rgba(8, 30, 46, 0.1);
}

.header-inner {
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.brand img {
  width: 190px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  color: #344452;
  font-size: var(--texto--2);
  font-weight: 700;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 3px;
  background: var(--er-green);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 5px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.menu-toggle span:not(.sr-only) {
  transition: transform 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(0, 174, 232, 0.11) 0 2px, transparent 2.5px) 0 0 / 18px 18px,
    var(--paper);
}

.hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: var(--er-green);
  content: "";
}

.hero-grid {
  display: grid;
  align-items: stretch;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 70px clamp(30px, 5vw, 78px) 70px 0;
}

.campaign-label {
  flex-wrap: wrap;
}

.campaign-label span {
  color: var(--er-green-dark);
}

.hero-baseline {
  color: #4c5b67;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero h1 {
  font-family: var(--display);
}

.hero h1 span {
  color: var(--blue);
  background: linear-gradient(transparent 63%, var(--yellow) 63% 92%, transparent 92%);
}

.hero-text {
  color: #344552;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  z-index: 1;
  top: 24px;
  right: 16px;
  bottom: 24px;
  left: -18px;
  border: 4px solid var(--blue);
  content: "";
  clip-path: polygon(4% 0, 100% 3%, 97% 97%, 0 100%);
}

.hero-visual picture {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  clip-path: polygon(5% 0, 100% 0, 97% 96%, 0 100%);
}

.hero-visual picture::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 22, 33, 0.14), transparent 36%);
  content: "";
  pointer-events: none;
}

.hero-visual picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Arte 4:3 em moldura quase quadrada: o leão ocupa o terço direito e os
     alunos o esquerdo, então o centro mantém os dois no enquadramento. */
  object-position: 50% 50%;
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  right: 36px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 60px;
  color: var(--white);
  background: rgba(3, 24, 38, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transform: rotate(-2deg);
}

.hero-stamp img {
  width: 52px;
  height: 52px;
}

.hero-stamp span {
  font-size: var(--texto--2);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.voices-section::after {
  position: absolute;
  z-index: 0;
  top: 70px;
  right: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(6, 120, 190, 0.1) 0 2px, transparent 2px 12px);
  content: "";
}

.voices-section .container {
  position: relative;
  z-index: 1;
}

.video-card {
  text-align: left;
  cursor: pointer;
}

.mini-play {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--er-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.mini-play::before {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--ink);
  content: "";
  transform: translateX(2px);
}

.video-card {
  min-width: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  scroll-snap-align: start;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
  border-color: var(--blue);
  box-shadow: 0 14px 30px rgba(7, 39, 60, 0.11);
  transform: translateY(-4px);
}

.video-thumb {
  position: relative;
  border-radius: 14px 14px 0 0;
}

.mini-play {
  position: absolute;
  width: 40px;
  height: 40px;
}

.mini-play::before {
  border-top-width: 6px;
  border-bottom-width: 6px;
  border-left-width: 10px;
}

.card-copy {
  display: grid;
  padding: 15px 16px 17px;
}

.card-copy strong {
  font-size: var(--texto--1);
  font-weight: 700;
}

.card-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: var(--texto--2);
}

.journey-heading .eyebrow {
  align-self: start;
  color: #8fdcff;
}

.axes-heading .eyebrow {
  grid-column: 1 / -1;
}

/* High School */
.highschool-section {
  background: var(--mist);
}

.highschool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(54px, 7vw, 100px);
}

.highschool-gallery {
  position: relative;
}

.highschool-gallery::before {
  position: absolute;
  top: -22px;
  left: -22px;
  width: 72%;
  height: 72%;
  border: 5px solid var(--er-green);
  content: "";
}

.gallery-main,
.gallery-small {
  box-shadow: var(--shadow);
}

.gallery-main {
  top: 0;
  right: 0;
  left: 0;
  width: 88%;
  height: 74%;
  border-radius: 18px;
}

.gallery-small {
  bottom: 0;
  width: 43%;
  height: 34%;
  border: 8px solid var(--white);
  border-radius: 13px;
}

.gallery-class {
  right: 4%;
}

.highschool-copy .lead {
  margin-top: 26px;
  color: #374855;
  font-size: var(--texto-0);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: #344552;
  font-size: var(--texto--1);
  line-height: 1.5;
}

.check-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--er-green);
  content: "✓";
  font-size: var(--texto--2);
  font-weight: 700;
}

.partner-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  padding-top: 25px;
  border-top: 1px solid #cad5dc;
}

.partner-row img {
  width: 170px;
  height: auto;
}

.partner-row a {
  color: var(--blue-dark);
  font-size: var(--texto--2);
  font-weight: 700;
  line-height: 1.4;
}

.highschool-section::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 250px;
  background: var(--blue-deep);
  content: "";
}

/* FAQ */
.faq-section {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(60px, 9vw, 130px);
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.faq-intro p:not(.eyebrow) {
  max-width: 44ch;
  margin-top: 24px;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 26px 58px 26px 0;
  font-size: var(--texto-0);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 21px;
  right: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  content: "+";
  font-size: var(--texto-1);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 68ch;
  padding: 0 58px 26px 0;
  color: var(--muted);
  font-size: var(--texto--1);
}

/* Contact */
.contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 120px) 0;
  color: var(--white);
  background: var(--blue-deep);
}

.contact-section::before,
.contact-section::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.contact-section::before {
  top: -170px;
  left: -120px;
  width: 430px;
  height: 430px;
  border: 70px solid rgba(0, 174, 232, 0.13);
}

.contact-section::after {
  right: -70px;
  bottom: -180px;
  width: 380px;
  height: 380px;
  border: 60px solid rgba(123, 170, 77, 0.12);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 0.72fr);
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
}

.contact-copy h2 {
  max-width: 10ch;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 51ch;
  margin-top: 25px;
  color: #c4d7e3;
}

.contact-copy ul {
  display: grid;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  color: #d6e4ec;
  font-size: var(--texto--2);
  list-style: none;
}

.contact-copy li::before {
  margin-right: 10px;
  color: var(--er-green);
  content: "●";
  font-size: var(--texto--2);
}

.contact-form {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-router-title {
  margin: 0 0 18px;
  font-size: var(--texto--2);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.button-whatsapp.contact-route {
  min-width: 0;
  margin-top: 0;
  padding: 15px 16px;
  justify-content: space-between;
  text-align: left;
}

.contact-route > span:first-child {
  display: grid;
  gap: 3px;
}

.contact-route strong { font-size: var(--texto--2); line-height: 1.35; }
.contact-route small { font-size: var(--texto--2); font-weight: 700; }

.button-whatsapp {
  width: 100%;
  margin-top: 24px;
  border-color: var(--ink);
  color: var(--ink);
  background: var(--whatsapp);
  box-shadow: 5px 5px 0 var(--ink);
}

.button-whatsapp:hover {
  color: var(--ink);
  background: var(--yellow);
}

.form-note {
  margin-top: 15px;
  color: #697784;
  font-size: var(--texto--2);
  line-height: 1.5;
}

.direct-contacts {
  display: grid;
  margin-top: 25px;
  padding-top: 20px;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.direct-contacts p {
  display: grid;
}

.direct-contacts strong {
  font-size: var(--texto--2);
}

.direct-contacts span {
  color: var(--muted);
  font-size: var(--texto--2);
}

.direct-contacts a {
  margin-top: 3px;
  color: var(--blue-dark);
  font-size: var(--texto--2);
  font-weight: 700;
}

.mobile-contact {
  position: fixed;
  z-index: 70;
  right: 14px;
  bottom: 14px;
  display: none;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--whatsapp);
  box-shadow: 0 10px 30px rgba(16, 22, 31, 0.28);
  font-size: var(--texto--2);
  font-weight: 700;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.mobile-contact.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

/* Video dialog */
.video-modal {
  width: min(94vw, 980px);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 18px;
  color: var(--white);
  background: #06111a;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.video-modal::backdrop {
  background: rgba(3, 13, 20, 0.82);
  backdrop-filter: blur(7px);
}

.modal-panel {
  padding: 20px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.modal-head h2 {
  font-family: var(--display);
  font-size: var(--texto-0);
  letter-spacing: -0.02em;
}

.modal-close {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font-size: var(--texto-2);
  line-height: 1;
  cursor: pointer;
}

.video-frame {
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Beyond the basics */
.beyond-section {
  isolation: isolate;
  overflow: hidden;
  background: var(--white);
}

.beyond-section::before {
  position: absolute;
  z-index: -1;
  right: -12vw;
  bottom: -18vw;
  width: 46vw;
  height: 46vw;
  border: 1px solid rgba(0, 174, 232, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(0, 174, 232, 0.035),
    0 0 0 90px rgba(123, 170, 77, 0.04);
  content: "";
}

.beyond-heading {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: clamp(30px, 6vw, 82px);
}

.beyond-heading .eyebrow {
  grid-column: 1 / -1;
}

.beyond-heading h2 {
  margin-top: 0;
  font-family: var(--display);
  font-size: var(--texto-5);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

/* Motion: enabled only after the observer is installed, so content never disappears on JS failure. */
.motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 0.72s ease,
    transform 0.82s cubic-bezier(0.2, 0.72, 0.24, 1);
  transition-delay: var(--reveal-delay, var(--delay, 0ms));
  will-change: opacity, transform;
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.hero-copy > * {
  animation: hero-enter 0.78s both cubic-bezier(0.2, 0.72, 0.24, 1);
}

.hero-copy > :nth-child(2) { animation-delay: 70ms; }
.hero-copy > :nth-child(3) { animation-delay: 140ms; }
.hero-copy > :nth-child(4) { animation-delay: 210ms; }
.hero-copy > :nth-child(5) { animation-delay: 280ms; }

.hero-visual picture {
  animation: hero-image-enter 1.05s 120ms both cubic-bezier(0.2, 0.72, 0.24, 1);
}

.hero-stamp {
  animation:
    hero-stamp-enter 0.72s 760ms both cubic-bezier(0.2, 0.72, 0.24, 1),
    hero-stamp-float 5.8s 1.5s ease-in-out infinite;
}

@keyframes hero-enter {
  from {
    transform: translate3d(0, 26px, 0);
  }
}

@keyframes hero-image-enter {
  from {
    clip-path: polygon(12% 0, 100% 0, 100% 86%, 0 100%);
    transform: scale(1.045) translate3d(24px, 0, 0);
  }
}

@keyframes hero-stamp-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) rotate(4deg) scale(0.88);
  }
}

@keyframes hero-stamp-float {
  0%,
  100% { transform: translate3d(0, 0, 0) rotate(0); }
  50% { transform: translate3d(0, -7px, 0) rotate(-1.5deg); }
}

@media (max-width: 1100px) {
  :root {
    --header-height: 70px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .brand img {
    width: 166px;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: var(--texto--2);
  }

  .hero-copy {
    padding-right: 35px;
  }

  .highschool-gallery {
    min-height: 590px;
  }
}

@media (max-width: 900px) {
  .container,
  .container-wide {
    width: min(100% - 32px, 720px);
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    z-index: 5;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    padding: 10px 18px 16px;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }

  .site-nav a {
    flex: none;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--mist);
  }

  .js .site-nav {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    /* A visibilidade so volta a hidden depois da animacao de saida. Ao abrir
       ela precisa valer na hora: com visibility na transicao o painel passava
       180 ms sem poder receber foco e o teclado nao entrava no menu. Medido em
       qa2/report/_menu2.mjs. */
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  }

  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear;
  }

  .header-cta {
    padding-inline: 15px;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    max-width: none;
    padding: 64px 0 46px;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: 560px;
  }

  .hero-visual::before {
    left: 8px;
  }

  .journey-heading,
.highschool-grid,
.faq-grid,
.contact-grid {
    grid-template-columns: 1fr;
  }

  .highschool-grid {
    gap: 55px;
  }

  .highschool-copy h2 {
    max-width: 14ch;
  }

  .highschool-section::after {
    height: 410px;
  }

  .faq-grid {
    gap: 48px;
  }

  .faq-intro {
    position: static;
  }

  .contact-grid {
    gap: 44px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  body {
    font-size: var(--texto-0);
  }

  .container,
  .container-wide {
    width: min(100% - 28px, 520px);
  }

  .brand img {
    width: 138px;
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .hero-copy {
    justify-content: center;
  }

  .campaign-label {
    font-size: var(--texto--2);
  }

  .hero-text {
    font-size: var(--texto--1);
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 21px;
    margin-top: 26px;
  }

  .hero-actions .button {
    align-self: stretch;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-visual {
    min-height: 430px;
    margin-inline: 0;  /* era -14px: sangrava 14px alem do container no mobile */
  }

  .hero-visual picture {
    clip-path: polygon(3% 0, 100% 0, 96% 96%, 0 100%);
  }

  .hero-visual picture img {
    object-position: 53% center;
  }

  .hero-stamp {
    right: 18px;
    bottom: 26px;
  }

  .hero-stamp img {
    width: 44px;
    height: 44px;
  }

  .section-heading h2,
  .journey-heading h2,
  .highschool-copy h2,
  .faq-intro h2,
  .contact-copy h2 {
    font-size: var(--texto-5);
  }

  .highschool-gallery {
    min-height: 480px;
  }

  .gallery-main {
    width: 95%;
    height: 69%;
  }

  .gallery-small {
    width: 48%;
    height: 37%;
    border-width: 5px;
  }

  .highschool-section::after {
    height: 500px;
  }

  .partner-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-list summary {
    padding-block: 22px;
    font-size: var(--texto--1);
  }

  .faq-list summary::after {
    top: 17px;
  }

  .contact-form {
    margin-inline: 0;  /* era -4px: vazava 8px além do container no mobile */
    padding: 26px 22px;
  }

  .contact-routes { grid-template-columns: 1fr; }

  .direct-contacts {
    grid-template-columns: 1fr;
  }

  .mobile-contact {
    display: inline-flex;
  }

  .modal-panel {
    padding: 13px;
  }
}

.featured-story-play {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.featured-story-play i {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid var(--ink);
}

.approval-card {
  transform: translateZ(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.approval-card:hover {
  box-shadow: 0 18px 38px rgba(8, 30, 46, 0.17);
  transform: translateY(-3px);
}

@media (max-width: 640px) {  .approval-carousel .carousel-heading {
    align-items: flex-start;
  }
}

@media (max-width: 390px) {
  .campaign-label span {
    display: none;
  }

  .hero h1 {
    font-size: var(--texto-4);
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-stamp span {
    display: none;
  }

  .hero-stamp {
    padding: 8px;
  }
}

@media (max-width: 900px) {

  .beyond-heading,
.axes-heading,
.partner-ecosystem {
    grid-template-columns: 1fr;
  }

  .beyond-heading .eyebrow,
.axes-heading .eyebrow {
    grid-column: auto;
  }
}

@media (max-width: 640px) {

  .beyond-heading,
.axes-heading {
    margin-bottom: 38px;
  }}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-copy > *,
  .hero-visual picture,
  .hero-stamp {
    animation: none !important;
  }
}

/* Round 3: legibility, conversion rhythm and proof-system rebuild */
.section {
  padding-block: clamp(72px, 6.5vw, 104px);
}

.section-heading h2,
.journey-heading h2,
.highschool-copy h2,
.faq-intro h2,
.contact-copy h2 {
  font-size: var(--texto-5);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero-grid {
  min-height: min(720px, calc(100svh - var(--header-height)));
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
}

.hero-copy {
  max-width: 640px;
  padding-block: 58px;
}

.hero-baseline {
  margin-top: 22px;
  font-size: var(--texto-1);
}

.hero h1 {
  max-width: 10.5ch;
  margin-top: 10px;
  font-size: var(--texto-6);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.hero h1 span {
  display: inline-block;
}

/* A primeira metade do par de campanha, como nas outras quatro páginas:
   menor, peso normal, sem o grifo amarelo, que é do "é Anglo!". A largura
   máxima do h1 é de 10,5ch e serve à segunda metade; esta linha precisa da
   sua própria, senão "Inglês de prova é básico." quebra em quatro linhas. */
.hero h1 .hero-basico {
  display: block;
  max-width: 22ch;
  margin-bottom: 0.22em;
  color: var(--ink);
  font-size: var(--texto-3);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  background: none;
}

.hero-text {
  max-width: 54ch;
  margin-top: 24px;
  font-size: var(--texto-0);
  line-height: 1.58;
}

.hero-actions {
  margin-top: 28px;
}

.partner-intro .eyebrow {
  align-self: start;
}

.journey-heading h2,
.beyond-heading h2 {
  max-width: 14ch;
  font-size: var(--texto-5);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.beyond-heading,
.axes-heading {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: clamp(36px, 6vw, 78px);
}

.highschool-copy h2 {
  max-width: 14ch;
}

.highschool-section {
  padding-bottom: clamp(72px, 6.5vw, 104px);
}

.highschool-section::after {
  display: none;
}

.highschool-copy .lead {
  max-width: 54ch;
}

/* Results, approvals and testimonials form one continuous proof section. */
.voices-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(0, 174, 232, 0.09), transparent 28rem),
    #f5f8fa;
}

.voices-section::after {
  display: none;
}

.results-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.58fr);
  /* Era `end`: a coluna mais curta descia para a base da linha e
     abria um vazio acima dela. */
  align-items: start;
  gap: clamp(40px, 7vw, 92px);
}

.results-heading h2 {
  max-width: 16ch;
  margin-top: 14px;
  font-size: var(--texto-5);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.results-heading > p {
  max-width: 46ch;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: var(--texto-0);
  line-height: 1.7;
}

.approval-carousel {
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(8, 30, 46, 0.08);
}

.carousel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.carousel-kicker {
  color: var(--blue-dark);
  font-size: var(--texto--2);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.carousel-heading h3 {
  margin-top: 5px;
  font-size: var(--texto-4);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.carousel-controls {
  display: flex;
  flex: none;
  gap: 8px;
}

.carousel-controls button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #c9d5dd;
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  font-size: var(--texto-1);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.carousel-controls button:hover {
  color: var(--white);
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.carousel-controls button:disabled {
  color: #8a98a3;
  border-color: #d9e1e6;
  background: #f2f5f7;
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.approval-track {
  margin-top: 26px;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.approval-track::-webkit-scrollbar {
  display: none;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(390px, 1.04fr);
  }

  .hero h1 {
    font-size: var(--texto-5);
  }

  .results-heading,
.beyond-heading,
.axes-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .results-heading > p,
.axes-heading > p:last-child {
    max-width: 60ch;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
    padding: 50px 0 44px;
  }

  .hero h1 {
    max-width: 9.5ch;
    font-size: var(--texto-5);
    letter-spacing: -0.055em;
    line-height: 0.96;
  }

  .hero-baseline {
    margin-top: 18px;
  }

  .hero-text {
    margin-top: 20px;
    line-height: 1.55;
  }

  .section-heading h2,
.journey-heading h2,
.beyond-heading h2,
.highschool-copy h2,
.faq-intro h2,
.contact-copy h2,
.results-heading h2 {
    max-width: 18ch;
    font-size: var(--texto-4);
    letter-spacing: -0.045em;
    line-height: 1.03;
  }

  .journey-heading,
.beyond-heading,
.axes-heading,
.results-heading {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .approval-carousel {
    margin-top: 38px;
    padding: 18px;
    border-radius: 18px;
  }

  .carousel-heading {
    align-items: center;
    gap: 12px;
  }

  .carousel-heading h3 {
    font-size: var(--texto-1);
  }

  .carousel-controls button {
    width: 42px;
    height: 42px;
  }

  .approval-track {
    margin-top: 20px;
  }
}

.approval-carousel .carousel-heading h3 {
  max-width: 33ch;
}

.approval-track {
  display: grid;
  padding: 3px 2px 16px;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  scroll-padding-inline: 2px;
}

.approval-card {
  width: 100%;
  min-width: 0;
  flex: none;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #edf3f6;
  box-shadow: 0 12px 30px rgba(8, 30, 46, 0.12);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.approval-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--er-green);
}

@media (max-width: 900px) {
  .approval-track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }
}

@media (max-width: 640px) {
  .approval-track {
    grid-auto-columns: 100%;
  }

  .approval-card {
    width: 100%;
    min-width: 0;
    flex-basis: auto;
  }

  .approval-carousel .carousel-heading h3 {
    max-width: none;
    margin-top: 22px;
    font-size: var(--texto-1);
  }

  .approval-carousel .carousel-heading {
    position: relative;
    display: block;
  }

  .approval-carousel .carousel-kicker {
    min-height: 42px;
    padding-right: 104px;
  }

  .approval-carousel .carousel-controls {
    position: absolute;
    top: 0;
    right: 0;
  }
}


/* ---------------------------------------------------------------------------
   Chamada intermediária. A página é longa de propósito — é um folder digital —
   então quem se convence no meio do caminho precisa de um destino ali mesmo,
   sem ter de rolar até o rodapé para achar o formulário.
   --------------------------------------------------------------------------- */
.inline-cta {
  display: flex;
  margin-top: clamp(34px, 4.5vw, 56px);
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3.4vw, 40px);
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--er-green);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(8, 30, 46, 0.07);
}

.inline-cta-copy {
  min-width: 0;
  flex: 1 1 340px;
}

.inline-cta-kicker {
  margin: 0;
  color: var(--er-blue-dark);
  font-size: var(--texto--2);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inline-cta-title {
  max-width: 34ch;
  margin: 8px 0 0;
  font-size: var(--texto-1);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.inline-cta .button {
  flex: none;
}

/* Sobre a faixa escura da seção de vivências. */
.inline-cta-dark {
  border-color: rgba(255, 255, 255, 0.16);
  border-left-color: var(--er-green);
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(123, 170, 77, 0.2), transparent 20rem),
    var(--er-blue-deep);
  box-shadow: 0 20px 50px rgba(5, 29, 45, 0.2);
}

.inline-cta-dark .inline-cta-kicker {
  color: var(--er-green-light);
}

.inline-cta-dark .button {
  border-color: var(--white);
  color: var(--er-blue-deep);
  background: var(--white);
}

.inline-cta-dark .button:hover {
  color: var(--ink);
  background: var(--er-green-light);
  border-color: var(--er-green-light);
}

@media (max-width: 720px) {
  .inline-cta {
    padding: 24px 22px;
    align-items: stretch;
  }

  .inline-cta .button {
    width: 100%;
  }
}
