:root {
  --navy: #062b6f;
  --navy-dark: #041d4c;
  --blue: #0c63aa;
  --cyan: #2c9aca;
  --ink: #173858;
  --muted: #647d95;
  --line: #d9e5ee;
  --paper: #ffffff;
  --hero-image: url("https://s.educacaoadventista.org.br/escola/historico-unidades/zvbD88E6U4Cuz1J8pQPkMlicqofjdE23RS7B1hqp.png");
  --shadow: 0 18px 48px rgba(6,43,111,.15);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; }
html { background: #eef5f9; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
svg { display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-shell { min-height: 100dvh; display: grid; grid-template-rows: 86px minmax(0, 1fr) 46px; }

.topbar {
  position: relative;
  z-index: 10;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(207,222,234,.95);
  box-shadow: 0 4px 18px rgba(12,54,92,.045);
}
.topbar__inner { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo { display: block; width: 90px; height: auto; max-height: 76px; object-fit: contain; }
.topbar__right { display: flex; align-items: center; gap: 14px; color: #5d7690; font-size: 13px; font-weight: 700; }
.portal-label { color: var(--navy); }
.divider { width: 1px; height: 24px; background: #d7e4ed; }
.location { display: inline-flex; align-items: center; gap: 7px; }
.location svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; }

.hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #f4f9fc;
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: var(--hero-image);
  background-position: center 44%;
  background-size: cover;
  filter: saturate(.82) contrast(.92);
  transform: scale(1.02);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(247,251,254,.98) 0%, rgba(247,251,254,.95) 33%, rgba(247,251,254,.82) 62%, rgba(247,251,254,.72) 100%),
    linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.70) 100%);
}
.hero__content {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vh, 24px);
  padding-block: 20px;
}

.intro { text-align: center; max-width: 920px; }
.eyebrow {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 6px 11px;
  border: 1px solid rgba(12,99,170,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.intro h1 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(30px, 3.25vw, 47px);
  line-height: 1.06;
  letter-spacing: -1.6px;
  text-wrap: balance;
}
.intro h1 span { color: #0b6f99; }
.intro__lead {
  margin: 11px auto 0;
  max-width: 730px;
  color: #5d7590;
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.45;
}

.service-card {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid rgba(205,221,233,.96);
  border-radius: 22px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: transform .22s ease, box-shadow .22s ease;
}
.service-card:hover { transform: translateY(-2px); box-shadow: 0 23px 58px rgba(6,43,111,.18); }
.service-card__icon {
  height: 108px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 52% 46%, #e5f4fd 0 36%, #d8effb 37% 60%, #edf8fe 61% 100%);
  border: 1px solid #deedf6;
}
.service-card__icon svg { width: 72px; height: 72px; }
.service-card__icon .stroke { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.service-card__icon .accent { fill: none; stroke: var(--cyan); stroke-width: 4; stroke-linecap: round; }
.service-card__tag { display: block; margin-bottom: 4px; color: var(--blue); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; }
.service-card h2 { margin: 0 0 5px; color: var(--navy-dark); font-size: clamp(22px, 2.4vw, 29px); letter-spacing: -.6px; }
.service-card p { margin: 0; max-width: 540px; color: #617a92; font-size: 14px; line-height: 1.42; }
.primary-button {
  margin-top: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 11px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, #075b9d 0%, #0b76bb 100%);
  box-shadow: 0 9px 20px rgba(8,103,169,.23);
}
.primary-button:hover { filter: brightness(1.045); transform: translateY(-1px); }
.primary-button:focus-visible { outline: 3px solid rgba(44,154,202,.28); outline-offset: 3px; }
.primary-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.values { width: min(1060px, 100%); text-align: center; }
.values__title {
  margin: 0 0 8px;
  color: #55738e;
  font-size: 10.5px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}
.value {
  min-width: 0;
  min-height: 52px;
  padding: 8px 6px;
  border: 1px solid rgba(204,220,232,.90);
  border-radius: 13px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.value span { color: #3c8ab4; font-size: 8.5px; font-weight: 900; letter-spacing: .08em; }
.value strong { color: #536f88; font-size: 11px; line-height: 1.14; font-weight: 800; }

.footer { position: relative; z-index: 3; border-top: 1px solid #dce8f0; background: rgba(248,251,253,.98); }
.footer__inner { height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #70869b; font-size: 11px; }
.footer__credit { color: #536f88; }
.footer__credit strong { color: var(--navy); letter-spacing: .06em; }

@media (min-width: 901px) and (max-height: 760px) {
  .site-shell { grid-template-rows: 74px minmax(0, 1fr) 42px; }
  .topbar__inner { height: 74px; }
  .brand__logo { width: 76px; max-height: 66px; }
  .hero__content { gap: 12px; padding-block: 12px; }
  .intro h1 { font-size: clamp(27px, 3vw, 39px); }
  .intro__lead { margin-top: 7px; font-size: 14px; }
  .service-card { grid-template-columns: 100px 1fr; padding: 14px 20px; gap: 20px; }
  .service-card__icon { height: 92px; }
  .service-card__icon svg { width: 62px; height: 62px; }
  .service-card h2 { font-size: 24px; }
  .service-card p { font-size: 13px; }
  .primary-button { margin-top: 9px; min-height: 38px; font-size: 13px; }
  .values__title { margin-bottom: 5px; }
  .value { min-height: 44px; padding: 5px; }
  .footer__inner { height: 42px; }
}

@media (max-width: 900px) {
  .site-shell { min-height: 100dvh; display: flex; flex-direction: column; }
  .topbar__right .portal-label, .divider { display: none; }
  .hero { flex: 1; overflow: visible; }
  .hero__content { justify-content: flex-start; padding-block: 28px; }
  .values__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__inner { height: auto; min-height: 52px; padding-block: 12px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 26px, 1160px); }
  .site-shell { grid-template-rows: auto; }
  .topbar__inner { height: 74px; }
  .brand__logo { width: 74px; max-height: 64px; }
  .location { font-size: 11px; }
  .hero__photo { background-position: 62% center; }
  .hero__overlay { background: rgba(246,251,254,.92); }
  .intro h1 { font-size: 30px; letter-spacing: -1px; }
  .intro h1 br { display: none; }
  .service-card { grid-template-columns: 1fr; gap: 14px; padding: 18px; text-align: center; }
  .service-card__icon { width: 92px; height: 82px; margin: auto; }
  .service-card__icon svg { width: 58px; height: 58px; }
  .service-card p { margin-inline: auto; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { flex-direction: column; justify-content: center; gap: 3px; text-align: center; }
}
