/* =========================================================================
   BRAVO · v2 símbolo · teste: "Uma escola que [símbolo] nasce da prática."
   O símbolo é uma janela (mask) que cresce e abre a cena escura de partículas;
   depois a foto do set abre do centro com o texto da apresentação.
   ========================================================================= */
.sym { position: relative; height: 210svh; background: var(--light); }
.sym__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.sym__light { position: absolute; inset: 0; background: var(--light); }
.sym__word {
  position: absolute; top: 50%; margin-top: -0.55em; line-height: 1.1; white-space: nowrap;
  font-size: clamp(26px, 3.2vw, 52px); font-weight: 400; letter-spacing: -0.03em; color: #242925;
}
.sym__word--l { right: calc(50% + 7.5vmin + clamp(14px, 1.6vw, 28px)); }
.sym__word--r { left: calc(50% + 7.5vmin + clamp(14px, 1.6vw, 28px)); }

.sym__scene {
  position: absolute; inset: 0; background: #070A09; z-index: 1;
  -webkit-mask-image: url(../assets/icone-mask.svg); mask-image: url(../assets/icone-mask.svg);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 50% 50%; mask-position: 50% 50%;
  -webkit-mask-size: 15vmin auto; mask-size: 15vmin auto;
}
.sym__scene.is-open { -webkit-mask-image: none; mask-image: none; }
.sym__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sym__mini { position: absolute; left: 50%; top: 50%; width: clamp(44px, 4.4vw, 72px); height: auto; transform: translate(-50%, -50%); filter: invert(1) brightness(2); opacity: 0; pointer-events: none; }
.sym__big {
  position: absolute; z-index: 2; margin: 0; max-width: 7.5ch;
  font-size: clamp(56px, 10.5vw, 188px); font-weight: 400; letter-spacing: -0.055em; line-height: 0.9; color: #F4F4EF;
  opacity: 0; pointer-events: none;
}
.sym__big--l { left: var(--pad); top: calc(var(--navh) + 3vh); }
.sym__big--r { right: var(--pad); bottom: 4vh; text-align: right; }

.sym__media {
  position: absolute; left: 50%; top: 50%; z-index: 3; overflow: hidden; background: #070A09;
  width: 300px; height: 200px; transform: translate(-50%, -50%); border-radius: 24px; opacity: 0; visibility: hidden;
}
.sym__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sym__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,10,9,0.1) 0%, rgba(7,10,9,0.15) 45%, rgba(7,10,9,0.82) 100%); opacity: 0; }
.sym__about {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: clamp(24px, 4vw, 64px);
  display: flex; flex-direction: column; gap: clamp(12px, 2vh, 20px); opacity: 0; transform: translateY(24px);
  --fg: #F7F7F2; --mut: rgba(242,243,238,0.7);
}
.sym__about .t { max-width: 34ch; color: #F7F7F2; }
.sym__about .t .mut { color: rgba(242,243,238,0.55); }
.sym__about .wd { display: inline-block; opacity: 0.14; }
.sym__cap { color: rgba(242,243,238,0.55); }

.sym-end { height: 60vh; background: var(--light); }

@media (max-width: 640px) {
  .sym__word { font-size: 22px; }
  .sym__word--l, .sym__word--r { left: 0; right: 0; text-align: center; }
  .sym__word--l { margin-top: calc(-0.55em - 18vmin); }
  .sym__word--r { margin-top: calc(-0.55em + 18vmin); }
  .sym__big { font-size: clamp(44px, 15vw, 96px); }
}
@media (prefers-reduced-motion: reduce) {
  .sym { height: auto; }
  .sym__stage { position: relative; height: 100svh; }
  .sym__light { display: none; }
  .sym__scene { -webkit-mask-image: none; mask-image: none; }
  .sym__big, .sym__mini { opacity: 1; }
}

/* fim da sequência: a cena de partículas e o símbolo continuam como fundo; o texto entra por cima */
.sym__shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(20deg, rgba(7,10,9,0.9) 0%, rgba(7,10,9,0.55) 38%, rgba(7,10,9,0) 70%); opacity: 0; pointer-events: none; }
.sym__about { z-index: 3; }

/* ---------- texto final discreto (ref Superconscious): parágrafo pequeno no canto inferior
   esquerdo, os textões ficam na tela até o fim */
.sym__about { left: var(--pad); right: auto; bottom: 5vh; padding: 0; max-width: 46ch; gap: 0; }
.sym__para { margin: 0; font-size: clamp(15px, 1.12vw, 19px); line-height: 1.55; letter-spacing: -0.005em; color: rgba(244,244,239,0.86); }
.sym__shade { background: linear-gradient(35deg, rgba(7,10,9,0.78) 0%, rgba(7,10,9,0.35) 30%, rgba(7,10,9,0) 55%); }
@media (max-width: 640px) { .sym__about { bottom: auto; top: calc(var(--navh) + 30vh); max-width: none; right: var(--pad); } }
/* a sombra do parágrafo fica abaixo dos textões para não acinzentar "nasce da prática." */
.sym__shade { z-index: 1; }
.sym__big { z-index: 3; }

/* cena de luz e névoa: sem o mini símbolo branco (a forma iluminada já é o símbolo) */
.sym__mini { display: none; }

/* versão clara: fundo cinza do rodapé, textos escuros */
#symScene { background: #E3E3E3; }
.sym__big { color: #111311; }
.sym__para { color: rgba(17,19,17,0.8); }
.sym__shade { background: linear-gradient(35deg, rgba(227,227,227,0.85) 0%, rgba(227,227,227,0.4) 30%, rgba(227,227,227,0) 55%); }


/* Compact, readable first paint; extra scroll exists only after motion initializes. */
.sym:not(.sym--animated) { height:auto; }
.sym:not(.sym--animated) .sym__stage { position:relative; }
.sym:not(.sym--animated) .sym__light { display:none; }
.sym:not(.sym--animated) .sym__scene { mask-image:none; -webkit-mask-image:none; }
.sym:not(.sym--animated) .sym__big,
.sym:not(.sym--animated) .sym__premios,
.sym:not(.sym--animated) .sym__about { opacity:1; transform:none; }
@media(max-width:760px) {
  .sym.sym--animated { height:175svh; }
  #experiencia { padding-top:32px; }
}
