:root {
  --blue-950: #071c34;
  --blue-900: #0b2d57;
  --blue-700: #075da8;
  --blue-500: #0c7bd8;
  --blue-100: #e8f3ff;
  --gold-600: #d99b11;
  --gold-400: #f3c345;
  --gold-100: #fff4cf;
  --green-600: #159957;
  --ink: #142235;
  --muted: #65758a;
  --paper: #f7fbff;
  --line: #d8e5f4;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(7, 28, 52, 0.14);
  --radius: 8px;
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-130%);
  background: var(--blue-950);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(216, 229, 244, 0.78);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 38px rgba(7, 28, 52, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: none;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  gap: 6px;
  align-items: center;
}

.desktop-nav a,
.mobile-nav a {
  font-weight: 750;
  color: var(--blue-900);
}

.desktop-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  background: var(--blue-100);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue-900);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hamburger span,
.hamburger::before,
.hamburger::after {
  content: "";
  width: 21px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hamburger {
  flex-direction: column;
  gap: 5px;
}

.hamburger[aria-expanded="true"] span {
  opacity: 0;
}

.hamburger[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  height: calc(100svh - 74px);
  display: none;
  background: rgba(247, 251, 255, 0.98);
  border-top: 1px solid var(--line);
  padding: 22px 20px 28px;
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.12rem;
}

.mobile-nav a::after {
  content: ">";
  color: var(--gold-600);
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 86px 0;
  overflow-x: clip;
}

.section-tight {
  padding: 58px 0;
}

.section-blue {
  background: var(--blue-950);
  color: var(--white);
}

.section-soft {
  background: linear-gradient(180deg, #ffffff 0%, #eff7ff 100%);
}

.section-gold {
  background: linear-gradient(135deg, #fff8dd 0%, #ffffff 54%, #eaf5ff 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 900;
}

.section-blue .eyebrow {
  color: var(--gold-400);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: 0;
  color: inherit;
}

h1 {
  font-size: clamp(2.55rem, 6.5vw, 4.85rem);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.7rem);
  margin-bottom: 18px;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  margin-bottom: 10px;
}

.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--muted);
  max-width: 760px;
}

.section-blue .lead {
  color: rgba(255, 255, 255, 0.78);
}

.hero {
  min-height: 91svh;
  display: grid;
  align-items: end;
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 112px 0 48px;
  isolation: isolate;
  background: var(--blue-950);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: image-set(
      url("../img/hero-graduacao-1920.webp") type("image/webp"),
      url("../img/hero-graduacao-1920.jpg") type("image/jpeg")
    )
    center right / cover no-repeat;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 24, 48, 0.9) 0%, rgba(4, 24, 48, 0.7) 42%, rgba(4, 24, 48, 0.16) 78%),
    linear-gradient(0deg, rgba(4, 24, 48, 0.88) 0%, rgba(4, 24, 48, 0) 42%);
}

.hero-ribbon {
  position: absolute;
  left: -14vw;
  right: -14vw;
  bottom: 0;
  height: 110px;
  z-index: -1;
  background:
    linear-gradient(120deg, transparent 0 28%, rgba(243, 195, 69, 0.88) 28% 32%, transparent 32% 58%, rgba(12, 123, 216, 0.78) 58% 63%, transparent 63%),
    rgba(255, 255, 255, 0.04);
  transform: skewY(-2deg);
  transform-origin: left bottom;
}

.hero-content {
  max-width: 750px;
}

.hero-logo {
  width: min(230px, 68vw);
  margin-bottom: 22px;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.25));
  display: none;
}

.hero h1 {
  text-wrap: balance;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions,
.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg,
.button .wa-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.button[data-whatsapp-message]:not(:has(.wa-icon))::before,
button[type="submit"]:not(:has(.wa-icon))::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("../img/whatsapp.svg") center / contain no-repeat;
  mask: url("../img/whatsapp.svg") center / contain no-repeat;
}

.wa-icon {
  display: inline-block;
  width: 21px;
  height: 21px;
  background: currentColor;
  -webkit-mask: url("../img/whatsapp.svg") center / contain no-repeat;
  mask: url("../img/whatsapp.svg") center / contain no-repeat;
  vertical-align: -0.14em;
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-400), #f7db7c);
  color: #09203b;
  box-shadow: 0 14px 38px rgba(217, 155, 17, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.button-blue {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(7, 93, 168, 0.24);
}

.button-light {
  background: var(--white);
  color: var(--blue-900);
  border-color: var(--line);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(7, 28, 52, 0.18);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 42px;
  max-width: 840px;
}

.proof-pill {
  min-height: 76px;
  padding: 12px 13px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.proof-pill strong {
  display: block;
  font-size: 1.08rem;
  color: var(--gold-400);
}

.proof-pill span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.intro-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-34px);
  margin-bottom: -34px;
  border-radius: 8px;
  overflow: hidden;
}

.intro-item {
  background: var(--white);
  padding: 24px;
  min-height: 176px;
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--blue-900);
  background: linear-gradient(135deg, var(--gold-100), var(--blue-100));
  margin-bottom: 18px;
}

.icon-badge svg {
  width: 25px;
  height: 25px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.course-card,
.step-card,
.faq-item,
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(7, 28, 52, 0.08);
  color: var(--ink);
}

.card,
.course-card,
.step-card {
  padding: 24px;
}

.card p,
.course-card p,
.step-card p,
.intro-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.course-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--blue-500), var(--gold-400));
}

.course-card:hover {
  transform: translateY(-4px);
  transition: transform 180ms ease;
}

.course-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: var(--blue-900);
  background: var(--blue-100);
  font-size: 0.78rem;
  font-weight: 900;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 229, 244, 0.76);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame.landscape {
  aspect-ratio: 4 / 3;
}

.media-frame.portrait {
  aspect-ratio: 4 / 5;
}

.media-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 13px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.91);
  color: var(--blue-950);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(7, 28, 52, 0.12);
}

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

.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.feature-list svg {
  width: 24px;
  height: 24px;
  color: var(--gold-600);
  margin-top: 1px;
}

.steps {
  counter-reset: step;
}

.step-card {
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue-900);
  color: var(--gold-400);
  font-weight: 950;
  margin-bottom: 18px;
}

.mec-band {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 36px;
  align-items: center;
}

.seal-wrap {
  display: grid;
  place-items: center;
}

.mec-seal {
  width: min(330px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--blue-900);
  background:
    radial-gradient(circle at center, #ffffff 0 53%, transparent 54%),
    repeating-conic-gradient(from 0deg, var(--gold-400) 0 8deg, var(--gold-600) 8deg 16deg);
  filter: drop-shadow(0 24px 44px rgba(7, 28, 52, 0.18));
}

.mec-seal::before,
.mec-seal::after {
  content: "";
  position: absolute;
  bottom: -76px;
  width: 84px;
  height: 150px;
  background: var(--blue-700);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 50% 75%, 22% 100%);
  z-index: -1;
}

.mec-seal::before {
  left: 74px;
  transform: rotate(14deg);
}

.mec-seal::after {
  right: 74px;
  transform: rotate(-14deg);
}

.mec-seal-inner {
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--white);
  border: 8px solid var(--gold-400);
  box-shadow: inset 0 0 0 6px var(--white), inset 0 0 0 9px var(--gold-600);
  padding: 24px;
}

.mec-seal strong {
  display: block;
  font-size: clamp(3.2rem, 15vw, 5.3rem);
  line-height: 0.9;
  color: #3f70b3;
}

.mec-seal span {
  display: block;
  font-weight: 950;
  text-transform: uppercase;
  line-height: 1.05;
}

.highlight-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.highlight {
  border-left: 4px solid var(--gold-400);
  padding: 14px 14px 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.highlight strong {
  display: block;
  color: var(--gold-400);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 28px auto 0;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 900;
  color: var(--blue-900);
}

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

.faq-item summary::after {
  content: "+";
  color: var(--gold-600);
  font-size: 1.35rem;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 24px;
  align-items: start;
}

.contact-panel {
  padding: 26px;
}

.contact-card {
  display: grid;
  gap: 16px;
}

.contact-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-point:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-point svg {
  width: 24px;
  height: 24px;
  color: var(--gold-600);
  flex: 0 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 850;
  color: var(--blue-900);
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fbfdff;
  color: var(--ink);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(12, 123, 216, 0.14);
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 12px 0 0;
}

.page-hero {
  padding: 132px 0 70px;
  background:
    linear-gradient(135deg, rgba(7, 28, 52, 0.94), rgba(7, 93, 168, 0.88)),
    url("../img/hero-graduacao-1280.jpg") center / cover no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: -12vw;
  right: -12vw;
  bottom: -42px;
  height: 92px;
  background: var(--white);
  transform: rotate(-2deg);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--gold-400);
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(7, 28, 52, 0.96), rgba(5, 21, 39, 1)),
    #051527;
  color: rgba(255, 255, 255, 0.82);
  padding: 44px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(180px, 0.65fr) minmax(220px, 0.75fr);
  gap: 42px;
  align-items: start;
}

.footer-logo {
  width: 218px;
  height: 80px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
  filter: brightness(1.28);
}

.site-footer p {
  max-width: 440px;
  margin-bottom: 0;
}

.footer-title {
  color: var(--white);
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px;
  padding-top: 18px;
  padding-right: 156px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #14b85a;
  border: 3px solid rgba(229, 255, 237, 0.96);
  box-shadow: 0 18px 46px rgba(20, 184, 90, 0.34), 0 0 0 1px rgba(20, 184, 90, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation: waFloat 3s ease-in-out infinite, waGlow 2.2s ease-in-out infinite;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(20, 184, 90, 0.42), 0 0 0 1px rgba(20, 184, 90, 0.28);
}

.whatsapp-float::before,
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  border: 2px solid rgba(20, 184, 90, 0.52);
  animation: waRipple 1.9s ease-out infinite;
  pointer-events: none;
}

.whatsapp-float::after {
  inset: -18px;
  border-color: rgba(20, 184, 90, 0.28);
  animation-delay: 0.95s;
}

.whatsapp-float svg,
.whatsapp-float .wa-icon {
  width: 31px;
  height: 31px;
  position: relative;
  z-index: 1;
  background: currentColor;
  animation: waBeat 1.9s ease-in-out infinite;
}

.floating-label {
  position: absolute;
  right: 50%;
  bottom: 76px;
  transform: translateX(50%);
  white-space: nowrap;
  background: var(--white);
  color: var(--blue-900);
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(7, 28, 52, 0.14);
  opacity: 1;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  animation: waLabel 3s ease-in-out infinite;
}

.whatsapp-float:hover .floating-label,
.whatsapp-float:focus-visible .floating-label {
  opacity: 1;
  transform: translateX(50%) translateY(-4px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 580ms ease, transform 580ms ease;
}

.hero .reveal,
.page-hero .reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    transform: scale(0.84);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

@keyframes waRipple {
  0% {
    transform: scale(0.76);
    opacity: 0.82;
  }
  72% {
    opacity: 0.18;
  }
  100% {
    transform: scale(1.42);
    opacity: 0;
  }
}

@keyframes waFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes waGlow {
  0%,
  100% {
    box-shadow: 0 18px 46px rgba(20, 184, 90, 0.34), 0 0 0 1px rgba(20, 184, 90, 0.24);
  }
  50% {
    box-shadow: 0 20px 58px rgba(20, 184, 90, 0.52), 0 0 0 1px rgba(20, 184, 90, 0.34);
  }
}

@keyframes waBeat {
  0%,
  72%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  82% {
    transform: scale(1.12) rotate(-5deg);
  }
  92% {
    transform: scale(1.04) rotate(4deg);
  }
}

@keyframes waLabel {
  0%,
  100% {
    transform: translateX(50%) translateY(0);
  }
  50% {
    transform: translateX(50%) translateY(-4px);
  }
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.055);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: 1fr auto 1fr;
  }

  .brand {
    grid-column: 2;
    justify-self: center;
  }

  .brand img {
    width: 162px;
  }

  .desktop-nav,
  .nav-actions .button {
    display: none;
  }

  .hamburger {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .hero {
    min-height: 92svh;
    padding-top: 104px;
  }

  .hero::before {
    background-image: image-set(
      url("../img/hero-graduacao-820.webp") type("image/webp"),
      url("../img/hero-graduacao-820.jpg") type("image/jpeg")
    );
    background-position: 61% center;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(4, 24, 48, 0.5) 0%, rgba(4, 24, 48, 0.84) 42%, rgba(4, 24, 48, 0.94) 100%),
      linear-gradient(90deg, rgba(4, 24, 48, 0.72), rgba(4, 24, 48, 0.2));
  }

  .hero-proof,
  .intro-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .mec-band,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-logo {
    width: 190px;
    height: 70px;
  }

  .hero-proof {
    gap: 8px;
  }

  .intro-grid {
    transform: none;
    margin-bottom: 0;
    box-shadow: none;
  }

  .section {
    padding: 68px 0;
  }

  .mec-seal {
    margin-bottom: 76px;
  }
}

@media (max-width: 620px) {
  .container,
  .nav-wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  .brand img {
    width: 148px;
  }

  .hero {
    min-height: 91svh;
    align-items: center;
    padding-top: 96px;
    padding-bottom: 34px;
  }

  .hero-logo {
    display: none;
  }

  .hero-content {
    text-align: center;
    width: 100%;
  }

  h1 {
    font-size: clamp(1.55rem, 6.8vw, 2rem);
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .hero h1,
  .hero .lead {
    max-width: calc(100vw - 28px);
    margin-left: auto;
    margin-right: auto;
  }

  .hero .lead {
    font-size: 0.96rem;
  }

  .hero .eyebrow {
    max-width: 320px;
    margin-inline: auto;
    font-size: 0.68rem;
    line-height: 1.35;
    letter-spacing: 0.05em;
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .hero-actions,
  .split-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
  }

  .highlight-row {
    grid-template-columns: 1fr;
  }

  .proof-pill {
    min-height: 86px;
    text-align: left;
  }

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

  .floating-label {
    display: none;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-float .wa-icon {
    width: 28px;
    height: 28px;
  }

  .footer-bottom {
    display: grid;
    padding-right: 0;
  }
}
