:root {
  --brand-blue: #005be0;
  --brand-red: #e20a14;
  --brand-green: #52a800;
  --brand-orange: #ff8500;
  --white: #ffffff;
  --ink: #0b0f14;
  --muted: #5a6472;
  --surface: #f5f7fb;
  --border: #e6eaf2;
  --footer: #0b1626;
  --font: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 14px 30px rgba(11, 15, 20, 0.08);
  --header-height: 86px;
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

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

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

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

p {
  text-wrap: pretty;
}

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

.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;
  z-index: 9999;
  left: 16px;
  top: 16px;
  transform: translateY(-180%);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition);
}

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

:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--border);
  box-shadow: 0 10px 30px rgba(11, 15, 20, 0.06);
}

@supports (backdrop-filter: blur(16px)) {
  .site-header {
    backdrop-filter: blur(16px);
  }
}

.header-inner {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 166px;
  height: 62px;
  overflow: hidden;
  text-decoration: none;
}

.brand img {
  width: 168px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav > a:not(.button) {
  position: relative;
  padding-block: 12px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.main-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 7px;
  height: 2px;
  background: var(--brand-blue);
  transition: right var(--transition);
}

.main-nav > a:not(.button):hover::after,
.main-nav > a:not(.button).is-active::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span[aria-hidden="true"] {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-of-type(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-of-type(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-of-type(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid var(--brand-blue);
  border-radius: var(--radius-pill);
  background: var(--brand-blue);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 91, 224, 0.2);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 42px;
  padding: 9px 20px;
  font-size: 0.94rem;
}

.button-secondary {
  background: var(--white);
  color: var(--brand-blue);
}

.button-secondary:hover {
  background: #eef5ff;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 76px) 0 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 11% 18%, rgba(0, 91, 224, 0.09), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -180px;
  bottom: -180px;
  border-radius: 50%;
  background: rgba(255, 133, 0, 0.11);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.92fr);
  align-items: center;
  gap: 72px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--brand-blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #9fc7ff;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.22rem);
  line-height: 1.65;
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20px 18px 24px -22px;
  border-radius: 32px;
  background: var(--brand-blue);
  transform: rotate(-2deg);
}

.hero-media img,
.hero-media video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(11, 15, 20, 0.17);
}

.hero-badge {
  position: absolute;
  right: -24px;
  bottom: 34px;
  max-width: 310px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.hero-badge span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.hero-shape {
  position: absolute;
  pointer-events: none;
}

.hero-shape-circle {
  width: 64px;
  height: 64px;
  top: 160px;
  right: 8%;
  border-radius: 50%;
  background: var(--brand-orange);
  transform: rotate(8deg);
}

.hero-shape-rectangle {
  width: 42px;
  height: 86px;
  left: 3%;
  bottom: 110px;
  background: linear-gradient(90deg, var(--brand-red) 0 48%, var(--brand-blue) 48% 100%);
  transform: rotate(-12deg);
}

.section {
  padding-block: 88px;
}

.section-surface {
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 80px;
}

.section-copy h2,
.section-heading h2,
.values-intro h2,
.support-section h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.section-copy p,
.section-heading > p,
.support-section > .container > div > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-copy p {
  max-width: 640px;
}

.photo-composition {
  position: relative;
  min-height: 520px;
}

.photo-main {
  position: absolute;
  inset: 0 0 auto auto;
  width: 76%;
  height: 82%;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow-card);
}

.photo-detail {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48%;
  height: 47%;
  object-fit: cover;
  border: 10px solid var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}

.shape-stamp {
  position: absolute;
  right: 4%;
  bottom: -22px;
  display: grid;
  grid-template-columns: repeat(2, 44px);
  grid-template-rows: repeat(2, 44px);
  gap: 8px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transform: rotate(4deg);
}

.shape {
  display: block;
}

.shape.circle {
  border-radius: 50%;
  background: var(--brand-blue);
}

.shape.rectangle {
  width: 30px;
  justify-self: center;
  background: var(--brand-orange);
  transform: rotate(8deg);
}

.shape.square {
  background: linear-gradient(180deg, var(--brand-red) 0 48%, var(--brand-blue) 48% 100%);
  transform: rotate(-8deg);
}

.shape.triangle {
  width: 0;
  height: 0;
  align-self: center;
  justify-self: center;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-bottom: 43px solid var(--brand-green);
  transform: rotate(7deg);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: 56px;
  margin-bottom: 42px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
  max-width: 760px;
}

.section-heading > p {
  margin-bottom: 4px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.activity-card {
  min-height: 306px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(11, 15, 20, 0.045);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.activity-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 91, 224, 0.3);
  box-shadow: var(--shadow-card);
}

.activity-card h3 {
  margin: 22px 0 10px;
  font-size: 1.25rem;
  font-weight: 800;
}

.activity-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.activity-icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.activity-icon span {
  position: absolute;
  display: block;
}

.icon-circo span:first-child {
  width: 25px;
  height: 25px;
  top: 11px;
  left: 11px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.icon-circo span:last-child {
  width: 24px;
  height: 36px;
  right: 11px;
  bottom: 9px;
  background: linear-gradient(90deg, var(--brand-orange) 0 50%, var(--brand-blue) 50% 100%);
  transform: rotate(10deg);
}

.icon-danca span:first-child {
  width: 12px;
  height: 40px;
  left: 25px;
  top: 11px;
  border-radius: 999px;
  background: var(--brand-red);
  transform: rotate(28deg);
}

.icon-danca span:last-child {
  width: 34px;
  height: 12px;
  left: 17px;
  top: 30px;
  border-radius: 999px;
  background: var(--brand-green);
  transform: rotate(-25deg);
}

.icon-literatura span:first-child,
.icon-literatura span:last-child {
  width: 24px;
  height: 36px;
  top: 14px;
  background: var(--brand-blue);
}

.icon-literatura span:first-child {
  left: 8px;
  border-radius: 4px 0 0 4px;
  transform: skewY(8deg);
}

.icon-literatura span:last-child {
  right: 8px;
  border-radius: 0 4px 4px 0;
  background: var(--brand-orange);
  transform: skewY(-8deg);
}

.icon-aprendizagem span:first-child {
  width: 35px;
  height: 35px;
  top: 14px;
  left: 14px;
  background: var(--brand-red);
  transform: rotate(-8deg);
}

.icon-aprendizagem span:last-child {
  width: 0;
  height: 0;
  right: 6px;
  bottom: 5px;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 28px solid var(--brand-green);
  transform: rotate(10deg);
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.purpose-card {
  position: relative;
  min-height: 410px;
  padding: 42px;
  border-radius: 24px;
  overflow: hidden;
}

.purpose-card::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -88px;
  bottom: -86px;
  border-radius: 50%;
}

.purpose-mission {
  background: var(--brand-blue);
  color: var(--white);
}

.purpose-mission::after {
  background: rgba(255, 255, 255, 0.11);
}

.purpose-vision {
  background: var(--brand-orange);
  color: var(--ink);
}

.purpose-vision::after {
  background: rgba(11, 15, 20, 0.08);
}

.purpose-label {
  display: inline-block;
  margin-bottom: 56px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.purpose-card h3 {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin-bottom: 22px;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.purpose-card p {
  position: relative;
  z-index: 2;
  max-width: 590px;
  margin-bottom: 0;
  font-size: 1.03rem;
}

.values-section {
  background: var(--footer);
  color: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 82px;
}

.values-intro {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.values-intro h2 {
  max-width: 540px;
}

.values-intro img {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
  border-radius: 22px;
  margin-top: 36px;
}

.values-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.values-list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.values-list article > span {
  color: #9fc7ff;
  font-weight: 700;
}

.values-list h3 {
  margin-bottom: 6px;
  font-size: 1.25rem;
}

.values-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.support-section {
  background: linear-gradient(135deg, #f7fbff 0%, #eef5ff 100%);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 90px;
  align-items: center;
}

.support-section h2 {
  max-width: 720px;
}

.support-section .button {
  margin-top: 18px;
}

.support-options {
  border-top: 1px solid var(--border);
}

.support-options article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.support-options article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-orange);
  color: var(--ink);
  font-weight: 800;
}

.support-options h3 {
  margin-bottom: 4px;
  font-size: 1.18rem;
}

.support-options p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding-top: 70px;
  background: #08111f;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  gap: 76px;
  padding-bottom: 54px;
}

.footer-logo-box {
  width: 190px;
  padding: 0;
  background: transparent;
}

.footer-logo-box img {
  width: 190px;
}

.footer-brand p {
  max-width: 420px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav,
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-footer h2 {
  margin-bottom: 10px;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 42px;
  }

  .hero-media img,
  .hero-media video {
    aspect-ratio: 4 / 5.2;
  }

  .about-grid {
    gap: 50px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid,
  .support-grid {
    gap: 52px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 76px;
  }

  .brand {
    width: 142px;
    height: 54px;
  }

  .brand img {
    width: 144px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 18px 20px 28px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--white);
    box-shadow: 0 16px 28px rgba(11, 15, 20, 0.08);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform var(--transition), visibility var(--transition);
  }

  .main-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .main-nav > a:not(.button) {
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
  }

  .main-nav > a:not(.button)::after {
    display: none;
  }

  .main-nav .button {
    margin-top: 18px;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 52px) 0 78px;
  }

  .hero-grid,
  .about-grid,
  .values-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 58px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-media {
    width: min(100%, 610px);
    margin-inline: auto;
  }

  .hero-media img,
  .hero-media video {
    aspect-ratio: 4 / 3.2;
  }

  .hero-badge {
    right: 18px;
  }

  .hero-shape-circle {
    right: 5%;
    top: 120px;
  }

  .section {
    padding-block: 72px;
  }

  .about-grid {
    gap: 52px;
  }

  .photo-composition {
    min-height: 520px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .purpose-card {
    min-height: 350px;
  }

  .values-intro {
    position: static;
  }

  .values-intro img {
    max-height: 430px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 42px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  .button-group {
    align-items: stretch;
    flex-direction: column;
  }

  .button-group .button {
    width: 100%;
  }

  .hero-media::before {
    inset: -12px 8px 18px -10px;
  }

  .hero-media img,
  .hero-media video {
    aspect-ratio: 4 / 4.4;
    border-radius: 22px;
  }

  .hero-badge {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: -26px 14px 0;
  }

  .hero-shape-circle {
    width: 44px;
    height: 44px;
    right: -8px;
  }

  .hero-shape-rectangle {
    display: none;
  }

  .photo-composition {
    min-height: 410px;
  }

  .photo-main {
    width: 86%;
    height: 78%;
  }

  .photo-detail {
    width: 58%;
    height: 42%;
    border-width: 7px;
  }

  .shape-stamp {
    right: 0;
    grid-template-columns: repeat(2, 34px);
    grid-template-rows: repeat(2, 34px);
    padding: 12px;
  }

  .shape.triangle {
    border-left-width: 18px;
    border-right-width: 18px;
    border-bottom-width: 32px;
  }

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

  .activity-card {
    min-height: auto;
  }

  .purpose-card {
    min-height: 390px;
    padding: 30px;
  }

  .purpose-label {
    margin-bottom: 42px;
  }

  .support-grid {
    gap: 46px;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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