/* Seções da landing Ser Professor (tokens em base.css) */
.sp-section-title { font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 900; line-height: 1.05; letter-spacing: -.025em; color: var(--sp-green); text-wrap: balance; }

/* Topo: texto à esquerda, o emblema num disco que repete o banner, galhos saindo pela borda */
.sp-hero {
  position: relative; max-width: var(--sp-max); margin: 0 auto; min-height: min(100svh, 980px);
  padding: 128px var(--sp-gutter) 72px; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; gap: 24px;
}
.sp-hero__copy { grid-column: 1 / 8; grid-row: 1; position: relative; z-index: 2; }
.sp-hero__title { font-size: clamp(2.6rem, 5.6vw, 5.4rem); font-weight: 900; line-height: 1.02; letter-spacing: -.03em; color: var(--sp-ink); }
.sp-line { display: block; }
.sp-hero__lede { max-width: 34em; margin-top: 36px; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.65; color: var(--sp-muted); }
.sp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 36px; }
.sp-hero__art { grid-column: 7 / 13; grid-row: 1; position: relative; display: grid; place-items: center; min-height: 560px; }
.sp-hero__branches, .sp-closing__branch--r { -webkit-mask-image: linear-gradient(to right, transparent, #000 22%); mask-image: linear-gradient(to right, transparent, #000 22%); }
.sp-closing__branch--l { -webkit-mask-image: linear-gradient(to left, transparent, #000 22%); mask-image: linear-gradient(to left, transparent, #000 22%); }
.sp-hero__branches { position: absolute; right: calc(-1 * var(--sp-gutter) - 40px); top: 50%; width: auto; height: 132%; max-width: none; transform: translateY(-50%); }
.sp-hero__disc {
  position: relative; width: min(100%, 520px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; align-content: center; gap: 10px; background: var(--sp-paper);
  box-shadow: 0 0 0 14px rgba(255, 250, 241, .55), 0 0 0 15px var(--sp-ring), 0 40px 70px -40px rgba(92, 70, 30, .45);
}
.sp-hero__emblem { width: 70%; height: auto; }
.sp-hero__motto { font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 600; color: var(--sp-slate); letter-spacing: .01em; }
.sp-fall { position: absolute; inset: 0; pointer-events: none; display: none; }
.sp-motion .sp-fall { display: block; }
.sp-fall__leaf { position: absolute; top: 0; left: 0; width: 34px; height: 60px; filter: drop-shadow(0 6px 6px rgba(92, 70, 30, .18)); color: var(--c); opacity: 0; }
.sp-fall__leaf:last-child { width: 30px; height: 28px; }

/* Faixa corrida com os verbos do texto */
.sp-marquee { background: var(--sp-green-deep); color: var(--sp-cream); overflow: hidden; padding: 26px 0; }
.sp-marquee__track { display: flex; width: max-content; animation: sp-marquee 42s linear infinite; }
.sp-marquee:hover .sp-marquee__track { animation-play-state: paused; }
.sp-marquee__row { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px); }
.sp-marquee__row li { font-size: clamp(1.4rem, 2.8vw, 2.4rem); font-weight: 800; letter-spacing: -.015em; white-space: nowrap; }
.sp-marquee__row svg { width: 26px; height: 40px; color: var(--c); }
@keyframes sp-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sp-marquee__track { animation: none; } }

/* Manifesto: a frase acende palavra por palavra na rolagem (landing.js); sem JS ela já aparece inteira */
.sp-manifesto { padding: clamp(72px, 9vw, 140px) var(--sp-gutter); }
.sp-manifesto__pin { max-width: 1160px; margin: 0 auto; }
.sp-manifesto__text { font-size: clamp(1.85rem, 4.3vw, 4rem); font-weight: 800; line-height: 1.22; letter-spacing: -.025em; color: var(--sp-green-deep); text-wrap: pretty; }
.sp-manifesto__text em { font-style: normal; }
.sp-mark { font-style: normal; background: linear-gradient(transparent 62%, rgba(227, 167, 54, .55) 62%, rgba(227, 167, 54, .55) 92%, transparent 92%); }
.sp-pill {
  display: inline-block; width: 2.3em; height: 1.05em; margin: 0 .08em; border-radius: 999px; vertical-align: -.12em;
  background: var(--sp-paper) var(--img) no-repeat; box-shadow: inset 0 0 0 2px rgba(63, 74, 53, .14);
}
.sp-pill--leaves { background-size: 260% auto; background-position: 30% 9%; background-color: #f7efdc; }
.sp-pill--hands { background-size: 150% auto; background-position: 50% 96%; }

/* Grade sem buracos: 4 colunas x 2 linhas = 4 (destaque) + 1 + 1 + 2 */
.sp-bento { max-width: var(--sp-max); margin: 0 auto; padding: clamp(24px, 4vw, 56px) var(--sp-gutter) clamp(72px, 9vw, 140px); }
.sp-bento__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); grid-auto-flow: dense; gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.sp-card {
  position: relative; overflow: hidden; border-radius: 16px; padding: clamp(24px, 2.6vw, 40px);
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
}
.sp-card--hero { grid-column: span 2; grid-row: span 2; }
.sp-card--wide { grid-column: span 2; }
.sp-card--terra { background: var(--sp-terra); color: #fff; }
.sp-card--mustard { background: var(--sp-mustard); color: var(--sp-green-deep); }
.sp-card--sage { background: var(--sp-sage); color: #1d2418; }
.sp-card--green { background: var(--sp-green); color: var(--sp-cream); }
.sp-card__leaf { position: absolute; z-index: -1; top: -14%; right: -6%; width: 46%; height: auto; aspect-ratio: 40 / 72; color: var(--c); transform: rotate(-28deg); transition: transform 1s var(--sp-ease); }
.sp-card--hero .sp-card__leaf { width: 52%; top: -10%; right: -8%; }
.sp-card--wide .sp-card__leaf { width: 22%; top: -38%; right: 4%; }
.sp-card:hover .sp-card__leaf { transform: rotate(-16deg) translateY(4%); }
.sp-card__title { font-size: clamp(1.45rem, 2.2vw, 2.1rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.sp-card--hero .sp-card__title { font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: 1.02; }
.sp-card__verb { display: block; font-weight: 600; font-size: .58em; letter-spacing: 0; opacity: .9; margin-bottom: .25em; }
.sp-card--hero .sp-card__verb { font-size: .42em; }

/* Fechamento: o disco do banner com os galhos dos dois lados */
.sp-closing { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 160px) var(--sp-gutter); display: grid; place-items: center; }
.sp-closing__branch { position: absolute; top: 50%; height: 116%; width: auto; max-width: none; transform: translateY(-50%); }
.sp-closing__branch--l { left: -40px; }
.sp-closing__branch--r { right: -40px; }
.sp-closing__disc {
  position: relative; z-index: 1; width: min(640px, 100%); aspect-ratio: 1; border-radius: 50%; padding: 9%;
  display: grid; place-content: center; justify-items: center; gap: 22px; text-align: center; background: var(--sp-paper);
  box-shadow: 0 0 0 16px rgba(255, 250, 241, .6), 0 0 0 17px var(--sp-ring), 0 40px 70px -40px rgba(92, 70, 30, .45);
}
.sp-closing__title { font-size: clamp(2.3rem, 4.6vw, 4rem); font-weight: 900; line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
.sp-closing__text { max-width: 22em; font-size: clamp(1.0625rem, 1.5vw, 1.3rem); color: var(--sp-muted); text-wrap: balance; }

.sp-footer { background: var(--sp-green-deep); color: var(--sp-cream); padding: 48px var(--sp-gutter) calc(48px + env(safe-area-inset-bottom)); }
.sp-footer__inner { max-width: var(--sp-max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.sp-brand--light .sp-brand__name b { color: var(--sp-cream); }
.sp-brand--light .sp-brand__name i { color: var(--sp-salmon); }
.sp-brand--light .sp-brand__mark { background: var(--sp-paper); border-radius: 50%; padding: 4px; }
.sp-footer__motto { color: #cfd3bf; }
.sp-footer__links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.sp-footer__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: #e9e6d6; font-weight: 600; text-decoration: none; }
.sp-footer__links a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 1024px) {
  .sp-hero__copy { grid-column: 1 / 9; }
  .sp-hero__art { grid-column: 6 / 13; }
  .sp-bento__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .sp-hero { grid-template-columns: 1fr; padding-top: 96px; min-height: 0; gap: 8px; }
  .sp-hero__copy, .sp-hero__art { grid-column: 1; grid-row: auto; }
  .sp-hero__art { order: -1; min-height: 0; padding: 16px 0 12px; }
  .sp-hero__disc { width: min(66vw, 330px); box-shadow: 0 0 0 10px rgba(255, 250, 241, .55), 0 0 0 11px var(--sp-ring), 0 30px 50px -30px rgba(92, 70, 30, .4); }
  .sp-hero__branches { height: 100%; right: calc(-1 * var(--sp-gutter) - 60px); }
  .sp-hero__lede { margin-top: 22px; }
  .sp-hero__actions { margin-top: 26px; }
  .sp-closing__branch { height: 64%; top: 0; transform: none; opacity: .85; }
  .sp-closing__branch--l { left: -90px; }
  .sp-closing__branch--r { right: -90px; top: auto; bottom: 0; }
  .sp-closing__disc { aspect-ratio: auto; border-radius: 28px; padding: 44px 24px; }
  .sp-footer__links { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .sp-bento__grid { grid-template-columns: 1fr; grid-auto-rows: minmax(150px, auto); }
  .sp-card--hero, .sp-card--wide { grid-column: auto; grid-row: auto; }
  .sp-card--hero { min-height: 260px; }
  .sp-card--wide .sp-card__leaf { width: 38%; top: -24%; }
  .sp-hero__actions .sp-btn { width: 100%; }
  .sp-hero__actions { justify-content: center; }
}
