/* Site do EFIVIA Escola — a vitrine em efivia.com.br.

   Página estática, sem etapa de build: o nginx entrega esta pasta como está.
   O sistema em si mora em escola.efivia.com.br; daqui só se chega a ele
   pelos botões "Entrar". */

:root {
  --navy: #0d2139;
  --navy-2: #153a58;
  --cyan: #34b1cd;
  --cyan-dark: #168eac;
  --cyan-soft: #e0f7fa;
  --ink: #0d2139;
  --muted: #516a82;
  --line: #dce9ef;
  --surface: #ffffff;
  --surface-soft: #f4fafc;
  --shadow: 0 18px 44px rgba(13, 33, 57, 0.1);
  --shadow-soft: 0 10px 26px rgba(13, 33, 57, 0.08);
  --radius-lg: 2.125rem;
  --radius-md: 1.5rem;
  --header-height: 5.5rem;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

/* Sem isto a altura do atributo height vale em px e a imagem estica. */
img {
  height: auto;
}

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

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

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

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

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

.container {
  width: min(80rem, calc(100% - 3rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--navy);
  border-radius: 0.75rem;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid #ffb957;
  outline-offset: 4px;
}

.eyebrow {
  margin-bottom: 1.25rem;
  color: #0b7893;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section {
  padding-block: 6.5rem;
}

.section-heading {
  max-width: 58rem;
  margin: 0 auto 3.75rem;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 0.875rem;
}

.section-heading h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 3.2vw, 2.625rem);
  letter-spacing: -0.035em;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.125rem;
}

.button {
  display: inline-flex;
  min-height: 3.625rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.55rem;
  border: 2px solid transparent;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan-dark), #0c708a);
  box-shadow: 0 10px 24px rgba(52, 177, 205, 0.25);
}

.button--primary:hover {
  box-shadow: 0 14px 30px rgba(52, 177, 205, 0.34);
}

.button--secondary {
  color: var(--navy);
  background: #fff;
  border-color: #bfd9e2;
}

.button--secondary:hover {
  border-color: var(--cyan);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e6eef3;
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 22px rgba(13, 33, 57, 0.08);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 13.5rem;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: block;
  padding-block: 0.5rem;
  color: #30475e;
  font-size: 0.95rem;
  font-weight: 650;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

/* Entrar: a porta para o sistema, para quem já usa. */
.button--nav {
  min-height: 3rem;
  margin-left: 1.25rem;
  padding-inline: 1.6rem;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #335e76);
  border-radius: 0.95rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  margin-left: auto;
  padding: 0.65rem;
  border: 0;
  border-radius: 0.8rem;
  color: var(--navy);
  background: var(--surface-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 0.3rem 0;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 46rem;
  overflow: hidden;
  background: linear-gradient(130deg, #f8fbff 0%, #edfbfd 58%, #faf4ff 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 46rem;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(31rem, 1fr);
  gap: 3.6rem;
  padding-block: 4.6rem 5.5rem;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 222, 239, 0.4), rgba(90, 222, 239, 0));
  pointer-events: none;
}

.hero-orb--one {
  top: -9rem;
  right: -4rem;
  width: 34rem;
  height: 34rem;
}

.hero-orb--two {
  bottom: -10rem;
  left: -10rem;
  width: 31rem;
  height: 31rem;
  opacity: 0.55;
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.7rem;
  padding: 0.45rem 0.9rem;
  background: #ddf6fa;
  border-radius: 999px;
}

.hero-copy .eyebrow span {
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.65rem;
  background: var(--cyan);
  border-radius: 50%;
}

.hero h1 {
  margin-bottom: 1.8rem;
  font-size: clamp(3rem, 4.25vw, 3.5rem);
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 39rem;
  margin-bottom: 1.9rem;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.55;
}

.hero blockquote {
  max-width: 37.2rem;
  margin-bottom: 2.55rem;
  padding: 1.35rem 1.7rem;
  color: #28445d;
  background: #fff;
  border: 1px solid #dbe9ef;
  border-left: 6px solid var(--cyan);
  border-radius: 0 1.125rem 1.125rem 0;
  box-shadow: var(--shadow-soft);
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 650;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-media {
  position: relative;
  padding-bottom: 6rem;
}

.concept-preview {
  position: relative;
  margin: 0;
  padding: 1.25rem;
  background: #fff;
  border-radius: 2.25rem;
  box-shadow: var(--shadow);
}

.concept-preview img {
  width: 100%;
  border-radius: 1.9rem;
}

.concept-preview figcaption,
.sheet figcaption {
  position: absolute;
  right: 1.3rem;
  bottom: -0.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  color: #60778c;
  background: #fff;
  border: 1px solid #dce8ed;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.concept-preview figcaption span,
.sheet figcaption span {
  width: 0.72rem;
  height: 0.72rem;
  margin-right: 0.55rem;
  background: var(--cyan);
  border-radius: 50%;
}

.clarity-note {
  position: absolute;
  right: 1.2rem;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.clarity-note > span:last-child {
  display: flex;
  color: #60788d;
  font-size: 0.9rem;
  flex-direction: column;
}

.clarity-note strong {
  color: var(--navy);
  font-size: 1rem;
}

.check-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  color: var(--cyan);
  background: var(--cyan-soft);
  border-radius: 50%;
  place-items: center;
}

.check-icon svg {
  width: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

/* Benefits */
.benefits {
  padding-block: 6.7rem 6.9rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.feature-card {
  min-height: 15.3rem;
  padding: 1.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.icon-badge {
  display: grid;
  width: 3.7rem;
  height: 3.7rem;
  color: var(--navy);
  background: var(--cyan-soft);
  border-radius: 50%;
  place-items: center;
}

.icon-badge svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.feature-card h3 {
  margin: 1.25rem 0 0.7rem;
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}

.feature-card p {
  max-width: 22rem;
  margin-bottom: 0;
  color: var(--muted);
}

/* About */
.about {
  padding-block: 5.9rem;
  background: #f5f9fb;
}

.about-panel {
  display: grid;
  min-height: 28rem;
  align-items: center;
  padding: 4.4rem 3.25rem;
  background: linear-gradient(135deg, #edfafd, #f5f1ff);
  border: 1px solid #dceaf0;
  border-radius: var(--radius-lg);
  grid-template-columns: 1.02fr 0.98fr;
  gap: 4rem;
}

.about-copy h2 {
  margin-bottom: 1.7rem;
  font-size: clamp(2.2rem, 3.2vw, 2.7rem);
  letter-spacing: -0.04em;
}

.about-copy > p:not(.eyebrow) {
  max-width: 39rem;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.inline-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  color: #64798d;
  font-weight: 700;
  list-style: none;
}

.inline-checks li {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.inline-checks span {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  color: #fff;
  background: var(--cyan-dark);
  border-radius: 50%;
  font-size: 0.82rem;
  place-items: center;
}

.devices {
  position: relative;
  min-height: 23.5rem;
}

.desktop-device {
  position: absolute;
  top: 0;
  left: 0;
  width: 88%;
  padding: 1.1rem;
  background: #fff;
  border: 3px solid #d4e3ea;
  border-radius: 1.6rem;
  box-shadow: var(--shadow-soft);
}

.desktop-screen {
  display: grid;
  min-height: 14.2rem;
  overflow: hidden;
  background: #f0f7fa;
  border-radius: 1rem;
  grid-template-columns: 5.4rem 1fr;
}

.desktop-screen aside {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  padding-block: 1rem;
  background: var(--navy);
  flex-direction: column;
}

.desktop-screen aside > i {
  width: 2rem;
  height: 0.3rem;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.mini-brand {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.8rem;
  overflow: hidden;
  background: #fff;
  border-radius: 50%;
  place-items: center;
}

.mini-brand img {
  width: 2.1rem;
  height: 2.1rem;
  object-fit: contain;
}

.screen-content {
  padding: 1.5rem;
}

.screen-title {
  display: block;
  width: 48%;
  height: 1.25rem;
  margin-bottom: 1.3rem;
  background: #d6e6ed;
  border-radius: 999px;
}

.screen-wide {
  display: block;
  height: 4.4rem;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid #dbe7ec;
  border-radius: 1rem;
}

.screen-wide b,
.screen-wide i {
  display: block;
  height: 0.65rem;
  border-radius: 999px;
}

.screen-wide b {
  width: 62%;
  margin-bottom: 0.75rem;
  background: #8cdce8;
}

.screen-wide i {
  width: 84%;
  background: #d7e4ea;
}

.screen-cards {
  display: grid;
  margin-top: 1rem;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.screen-cards i {
  height: 4rem;
  background: #fff;
  border: 1px solid #dbe7ec;
  border-radius: 0.9rem;
}

.desktop-stand {
  position: absolute;
  bottom: -1.15rem;
  left: 50%;
  width: 7rem;
  height: 0.7rem;
  background: #b9ccd6;
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-device {
  position: absolute;
  z-index: 2;
  top: 8rem;
  right: 0;
  width: 8rem;
  min-height: 14.3rem;
  padding: 1rem 0.72rem 0.8rem;
  background: #fff;
  border: 3px solid #d4e3ea;
  border-radius: 1.55rem;
  box-shadow: var(--shadow-soft);
}

.phone-screen {
  display: flex;
  min-height: 11rem;
  gap: 0.65rem;
  padding: 1.15rem 0.7rem;
  background: #eef6f9;
  border-radius: 0.75rem;
  flex-direction: column;
}

.phone-screen b,
.phone-screen span {
  display: block;
  height: 0.6rem;
  background: #cfe1e8;
  border-radius: 999px;
}

.phone-screen b {
  width: 65%;
  background: #81d7e4;
}

.phone-screen span:first-of-type {
  height: 2.8rem;
  background: #fff;
  border-radius: 0.65rem;
}

.phone-screen span:nth-of-type(3) {
  width: 72%;
}

.phone-screen em {
  display: block;
  height: 1.4rem;
  margin-top: auto;
  background: var(--cyan);
  border-radius: 999px;
}

.phone-device > i {
  display: block;
  width: 0.8rem;
  height: 0.8rem;
  margin: 0.55rem auto 0;
  background: #bfd1da;
  border-radius: 50%;
}

/* Centrada sob o computador: à direita, o celular a cobria. */
.devices > p {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 88%;
  margin: 0;
  text-align: center;
  color: #667c91;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Solutions */
.solutions {
  padding-block: 6.5rem 8rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.82fr) minmax(20rem, 1fr);
  gap: 2.5rem;
}

.featured-solution {
  display: flex;
  padding: 2rem;
  background: #f8fcfd;
  border: 1px solid var(--line);
  border-radius: 1.9rem;
  box-shadow: var(--shadow-soft);
  flex-direction: column;
}

.module-label {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.42rem 0.82rem;
  align-self: flex-start;
  color: #0b7893;
  background: #ddf6fa;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.featured-solution > h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(2rem, 3.2vw, 2.55rem);
  letter-spacing: -0.04em;
}

.featured-solution > p {
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* A folha é saída de verdade do motor — escola e professora fictícias,
   questões do banco já revisadas —, recortada no alto da página 1. */
.sheet {
  position: relative;
  margin: 0 0 2rem;
  padding: 1.5rem 1.5rem 0;
  overflow: hidden;
  background: linear-gradient(160deg, #e2f3f8, #eef0fb);
  border-radius: 1.4rem;
}

.sheet img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  object-position: top;
  border-radius: 0.35rem 0.35rem 0 0;
  box-shadow: 0 14px 34px rgba(13, 33, 57, 0.16);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}

.sheet figcaption {
  right: 1.2rem;
  bottom: 1.1rem;
}

.feature-checks {
  display: grid;
  margin: auto 0 0;
  padding: 0;
  color: #30475e;
  font-size: 0.95rem;
  font-weight: 650;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.6rem;
  list-style: none;
}

.feature-checks li {
  position: relative;
  padding-left: 2rem;
}

.feature-checks li::before {
  position: absolute;
  top: 0.05rem;
  left: 0;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  color: #fff;
  background: var(--cyan-dark);
  border-radius: 50%;
  content: "✓";
  font-size: 0.8rem;
  place-items: center;
}

.solution-list {
  display: grid;
  align-content: stretch;
  grid-template-rows: repeat(5, 1fr);
  gap: 1.25rem;
}

.solution-card {
  display: flex;
  min-height: 7.25rem;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.solution-card .icon-badge {
  width: 3.5rem;
  height: 3.5rem;
  flex: 0 0 auto;
}

.solution-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

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

/* How it works */
.how {
  padding-block: 6.5rem 7.5rem;
  background: var(--surface-soft);
}

.steps {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 4.2rem;
  list-style: none;
}

.step-card {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 21.25rem;
  padding: 1.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.65rem;
  box-shadow: var(--shadow-soft);
  flex-direction: column;
}

.step-card:not(:last-child)::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -4.55rem;
  width: 4.7rem;
  height: 1.2rem;
  background-image: linear-gradient(to right, #9bd1dc 50%, transparent 50%);
  background-position: center;
  background-size: 0.8rem 0.18rem;
  background-repeat: repeat-x;
  content: "";
}

.step-card:not(:last-child)::before {
  position: absolute;
  top: calc(50% - 0.27rem);
  right: -4.4rem;
  width: 0.8rem;
  height: 0.8rem;
  border-top: 3px solid #9bd1dc;
  border-right: 3px solid #9bd1dc;
  content: "";
  transform: rotate(45deg);
}

.step-number {
  display: grid;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.25rem;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  font-size: 1.7rem;
  font-weight: 800;
  place-items: center;
}

.step-number--cyan {
  background: var(--cyan-dark);
}

.step-card h3 {
  min-height: 3.2rem;
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
}

.step-card p {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.step-summary {
  display: flex;
  min-height: 3.7rem;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  padding: 0.9rem 1rem;
  color: #63798d;
  background: #edf8fa;
  border-radius: 1rem;
  font-size: 0.82rem;
  font-weight: 750;
}

.step-summary svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: var(--navy);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

/* Why EFIVIA */
.why {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.why .container {
  position: relative;
  z-index: 2;
}

.why-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.why-orb--one {
  top: -9rem;
  right: -5rem;
  width: 38rem;
  height: 38rem;
  background: rgba(52, 177, 205, 0.13);
}

.why-orb--two {
  bottom: -17rem;
  left: -8rem;
  width: 35rem;
  height: 35rem;
  background: rgba(52, 177, 205, 0.08);
}

.section-heading--light {
  max-width: 70rem;
  margin-bottom: 3.9rem;
}

.section-heading--light img {
  width: 4.5rem;
  margin: 0 auto 1.25rem;
}

.section-heading--light .eyebrow {
  color: var(--cyan);
}

.section-heading--light h2 {
  margin-bottom: 0;
  color: #fff;
}

.why-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  gap: 1.55rem 3.75rem;
  list-style: none;
}

.why-grid li {
  display: flex;
  min-height: 7rem;
  align-items: center;
  gap: 1.15rem;
  padding: 1.4rem 1.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 1.4rem;
}

.why-grid li > span {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  color: #fff;
  background: var(--cyan-dark);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  flex: 0 0 auto;
  place-items: center;
}

.why-grid strong,
.why-grid small {
  display: block;
}

.why-grid strong {
  margin-bottom: 0.22rem;
  font-size: 1.15rem;
}

.why-grid small {
  color: #bfd0de;
  font-size: 0.89rem;
}

/* CTA */
.final-cta {
  padding-block: 7rem;
}

.cta-panel {
  position: relative;
  display: flex;
  min-height: 22.2rem;
  align-items: center;
  overflow: hidden;
  padding: 4.5rem 4rem;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), #103b59 60%, #1b9fbc);
  border-radius: 2.4rem;
  box-shadow: var(--shadow);
}

.cta-copy {
  position: relative;
  z-index: 2;
  width: min(52rem, 73%);
}

.cta-panel .eyebrow {
  margin-bottom: 1rem;
  color: #78dce9;
}

.cta-panel h2 {
  margin-bottom: 2.4rem;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  letter-spacing: -0.035em;
}

.button--white {
  color: var(--navy);
  background: #fff;
}

.button--outline {
  color: #fff;
  border-color: #80d9e7;
  background: transparent;
}

.button--outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cta-symbol {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 5.5rem;
  width: 14rem;
  height: 13rem;
  object-fit: contain;
  transform: translateY(-50%);
}

.cta-orb {
  position: absolute;
  right: 1.8rem;
  bottom: -7.5rem;
  width: 19rem;
  height: 19rem;
  background: rgba(200, 156, 241, 0.12);
  border-radius: 50%;
}

/* Footer */
.site-footer {
  padding: 6.1rem 0 0;
  color: var(--muted);
  background: #f4f8fa;
}

.footer-grid {
  display: grid;
  padding-bottom: 5rem;
  grid-template-columns: 1.45fr 0.72fr 0.8fr 0.83fr;
  gap: 4.5rem;
}

.footer-brand img {
  width: 15rem;
  margin-bottom: 1.8rem;
}

.footer-brand p {
  max-width: 23rem;
  margin-bottom: 0;
}

.site-footer h2 {
  margin-bottom: 1.25rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.site-footer nav a {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-bottom: 0.6rem;
}

.site-footer nav a:hover {
  color: var(--cyan-dark);
}

.footer-contact a {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.footer-contact a:hover {
  color: var(--cyan-dark);
}

.footer-contact svg {
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.1rem;
  fill: none;
  stroke: var(--cyan-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  flex: 0 0 auto;
}

/* o rótulo pequeno em cima, o número ou o endereço embaixo */
.footer-contact small {
  display: block;
  color: #7a8ea0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2rem;
  border-top: 1px solid #d7e3e9;
  font-size: 0.86rem;
  font-weight: 650;
}

.footer-bottom p {
  margin: 0;
}

/* A empresa assina o produto: EFIVIA é a marca-mãe, EFIVIA Escola o campo. */
.footer-maker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-maker img {
  width: 6.5rem;
}

/* Subtle motion */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

/* Tablet */
@media (max-width: 75rem) {
  .header-inner {
    gap: 1.25rem;
  }

  .main-nav ul {
    gap: 1.15rem;
  }

  .button--nav {
    margin-left: 0.4rem;
    padding-inline: 1rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(27rem, 0.95fr);
    gap: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 4.4vw, 3.25rem);
  }

  .about-panel {
    gap: 2rem;
  }

  .why-grid {
    gap: 1.4rem;
  }
}

@media (max-width: 64rem) {
  :root {
    --header-height: 4.75rem;
  }

  .container {
    width: min(80rem, calc(100% - 2.25rem));
  }

  .brand img {
    width: 11.5rem;
  }

  /* No celular o menu vira gaveta, mas Entrar continua à vista:
     é por aqui que a professora chega ao sistema. */
  .nav-toggle {
    display: block;
    order: 3;
    margin-left: 0.6rem;
  }

  .button--nav {
    order: 2;
    min-height: 2.75rem;
    margin-left: auto;
    padding-inline: 1.1rem;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    visibility: hidden;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(13, 33, 57, 0.12);
    opacity: 0;
    transition: max-height 250ms ease, opacity 180ms ease, visibility 180ms ease;
  }

  .main-nav.is-open {
    max-height: calc(100vh - var(--header-height));
    visibility: visible;
    opacity: 1;
  }

  .main-nav ul {
    display: flex;
    width: min(80rem, calc(100% - 2.25rem));
    margin-inline: auto;
    padding-block: 1rem 1.5rem;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    padding: 0.9rem 0.5rem;
    font-size: 1rem;
  }

  .main-nav a::after {
    right: auto;
    width: 2.25rem;
  }

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

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 5rem 5.5rem;
  }

  .hero-copy {
    max-width: 47rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 7vw, 4rem);
  }

  .hero-media {
    max-width: 48rem;
    margin: 1rem auto 0;
  }

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

  .about-panel {
    grid-template-columns: 1fr;
  }

  .about-copy {
    max-width: 44rem;
  }

  .devices {
    width: min(100%, 41rem);
    min-height: 24rem;
    margin: 1rem auto 0;
  }

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

  .solution-list {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .solution-card:last-child {
    grid-column: 1 / -1;
  }

  .steps {
    gap: 1.4rem;
  }

  .step-card:not(:last-child)::after,
  .step-card:not(:last-child)::before {
    display: none;
  }

  .step-card {
    padding: 1.45rem;
  }

  .why-grid {
    gap: 1.3rem;
  }

  .cta-copy {
    width: 78%;
  }

  .cta-symbol {
    right: 2rem;
    width: 11rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
  }

  .footer-contact {
    grid-column: 2 / 4;
  }
}

/* Mobile */
@media (max-width: 47.5rem) {
  .container {
    width: min(40rem, calc(100% - 1.5rem));
  }

  .section {
    padding-block: 4.5rem;
  }

  .section-heading {
    margin-bottom: 2.6rem;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 9vw, 2.45rem);
  }

  .header-inner {
    gap: 0.75rem;
  }

  .brand img {
    width: 9.7rem;
  }

  .main-nav ul {
    width: min(40rem, calc(100% - 1.5rem));
  }

  .hero-grid {
    padding-block: 3.8rem 4.5rem;
    gap: 2.7rem;
  }

  .hero-copy .eyebrow {
    font-size: 0.73rem;
    letter-spacing: 0.09em;
  }

  .hero h1 {
    margin-bottom: 1.4rem;
    font-size: clamp(2.55rem, 12vw, 3.45rem);
  }

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

  .hero blockquote {
    font-size: 1rem;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .hero-media {
    padding-bottom: 7.3rem;
  }

  .concept-preview {
    padding: 0.65rem;
    border-radius: 1.55rem;
  }

  .concept-preview img {
    border-radius: 1.2rem;
  }

  .concept-preview figcaption {
    right: 0.7rem;
    bottom: -1rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.63rem;
  }

  .clarity-note {
    right: auto;
    bottom: 0;
    left: 0;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feature-card {
    min-height: 0;
    padding: 1.55rem;
  }

  .about {
    padding-block: 3.75rem;
  }

  .about-panel {
    min-height: 0;
    padding: 2.4rem 1.35rem;
    border-radius: 1.7rem;
  }

  .about-copy h2 {
    font-size: 2.15rem;
  }

  .inline-checks {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .devices {
    min-height: 20.5rem;
  }

  .desktop-device {
    width: 91%;
    padding: 0.6rem;
  }

  .desktop-screen {
    min-height: 11rem;
    grid-template-columns: 3.8rem 1fr;
  }

  .desktop-screen aside {
    gap: 0.65rem;
  }

  .mini-brand {
    width: 2rem;
    height: 2rem;
  }

  .mini-brand img {
    width: 1.6rem;
    height: 1.6rem;
  }

  .screen-content {
    padding: 1rem;
  }

  .screen-wide {
    height: 3.5rem;
    padding: 0.8rem;
  }

  .screen-cards i {
    height: 3rem;
  }

  .phone-device {
    top: 5.7rem;
    width: 6.2rem;
    min-height: 11.4rem;
    padding: 0.65rem 0.48rem;
  }

  .phone-screen {
    min-height: 8.8rem;
    padding: 0.8rem 0.5rem;
  }

  .devices > p {
    width: 91%;
    font-size: 0.68rem;
  }

  .solutions {
    padding-bottom: 5rem;
  }

  .featured-solution {
    padding: 1.35rem;
    border-radius: 1.5rem;
  }

  .sheet {
    padding: 0.9rem 0.9rem 0;
    border-radius: 1rem;
  }

  .sheet figcaption {
    right: 0.65rem;
    bottom: 0.65rem;
    font-size: 0.62rem;
  }

  .feature-checks {
    grid-template-columns: 1fr;
  }

  .solution-list {
    grid-template-columns: 1fr;
  }

  .solution-card:last-child {
    grid-column: auto;
  }

  .solution-card {
    min-height: 0;
    padding: 1.2rem;
  }

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

  .step-card {
    min-height: 19rem;
  }

  .step-card h3 {
    min-height: 0;
  }

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

  .why-grid li {
    min-height: 0;
    padding: 1.25rem;
  }

  .cta-panel {
    min-height: 35rem;
    align-items: flex-start;
    padding: 2.7rem 1.35rem;
    border-radius: 1.8rem;
  }

  .cta-copy {
    width: 100%;
  }

  .cta-panel h2 {
    font-size: 2.2rem;
  }

  .cta-symbol {
    top: auto;
    right: 50%;
    bottom: 1.8rem;
    width: 9rem;
    height: 8.4rem;
    transform: translateX(50%);
  }

  .footer-grid {
    padding-bottom: 3rem;
    grid-template-columns: 1fr 1fr;
    gap: 2.7rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.65rem;
  }
}

@media (max-width: 25rem) {
  .brand img {
    width: 8.8rem;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .section-heading h2,
  .about-copy h2,
  .cta-panel h2 {
    font-size: 1.9rem;
  }

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

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }
}

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

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