/* Faculdade ITA Educacional — hero editorial (Veduc)
   Referências: Wispr Flow (tipografia serifada centralizada, CTA único)
   e Melius (arco 3D de imagens). */
:root {
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --creme: #FBF8F4;
}
html { scroll-padding-top: 96px; }

/* ---------- Topo em pílula flutuante ---------- */
.topbar {
  background: transparent; border-bottom: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  padding-top: 12px; box-shadow: none !important;
}
.topbar__inner {
  height: 64px; padding: 0 10px 0 16px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(109, 63, 142, .16);
  border-radius: 18px;
  transition: box-shadow .3s ease, background-color .3s ease;
}
.topbar.is-scrolled .topbar__inner { background: rgba(255, 255, 255, .94); box-shadow: 0 12px 32px -18px rgba(59, 32, 80, .45); }

/* ---------- Hero ---------- */
.hero2 {
  position: relative; overflow: hidden; text-align: center;
  margin-top: -76px; padding: 150px 0 0;
  background:
    radial-gradient(900px 480px at 50% -5%, rgba(137, 95, 170, .16), transparent 70%),
    radial-gradient(rgba(59, 32, 80, .09) 1px, transparent 1.3px) 0 0 / 22px 22px,
    var(--creme);
}
.hero2__head { max-width: 1140px; }
.hero2__eyebrow {
  font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--texto-suave); margin: 0 0 20px;
}
.hero2 h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 7.4vw, 6.3rem); line-height: .96; letter-spacing: -.025em;
  color: var(--roxo-noite); margin: 0;
}
.hero2 h1 em { display: block; font-style: italic; color: var(--roxo); letter-spacing: -.015em; }
.hero2__sub {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem); line-height: 1.6;
  color: var(--texto); max-width: 44ch; margin: 26px auto 0;
}
.hero2__cta { display: flex; justify-content: center; margin-top: 32px; }

/* CTA no estilo Wispr: lilás com contorno e sombra sólida */
.btn--hero {
  background: #EEE2F6; color: var(--roxo-noite);
  border: 1.5px solid var(--roxo-noite); border-radius: 12px;
  padding: 1em 1.8em; font-size: 1.05rem;
  box-shadow: 0 4px 0 var(--roxo-noite);
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease;
}
.btn--hero .ico { color: var(--wa); }
.btn--hero:hover { background: #E5D2F2; transform: translateY(-2px); box-shadow: 0 6px 0 var(--roxo-noite); }
.btn--hero:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--roxo-noite); }

.hero2__micro {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  font-size: .86rem; font-weight: 500; color: var(--texto-suave); margin: 18px 0 0;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); flex: none; animation: dotPulse 2.2s ease-out infinite; }
.hero2__note { position: relative; z-index: 1; text-align: center; margin: 0; padding: 4px 16px 26px; }

/* ---------- Arco 3D de fotos ---------- */
.arc { position: relative; height: 430px; margin-top: 44px; perspective: 1000px; perspective-origin: 50% 40%; }
.arc__track {
  position: absolute; left: 50%; top: 50%;
  display: flex; align-items: center; gap: 26px;
  transform: translate(-50%, -50%) rotateY(calc(var(--mx, 0) * 5deg));
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.arc__card {
  --w: 160px;
  flex: none; margin: 0;
  width: var(--w); height: calc(210px + var(--abs) * 48px);
  border-radius: 16px; overflow: hidden;
  background: #E9E3EE;
  box-shadow: 0 30px 60px -30px rgba(36, 19, 47, .55);
  transform: rotateY(calc(var(--a) * -15deg)) translateZ(calc(var(--abs) * 22px));
}
.arc__card--wide { --w: 320px; height: 204px; box-shadow: 0 40px 70px -30px rgba(36, 19, 47, .6); }
.arc__card img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 700px) {
  .hero2 { padding-top: 128px; }
  .hero2__sub { margin-top: 20px; }
  .arc { height: 300px; margin-top: 34px; perspective: 700px; }
  .arc__track { gap: 8px; }
  .arc__card { --w: 104px; height: calc(150px + var(--abs) * 30px); border-radius: 12px; transform: rotateY(calc(var(--a) * -16deg)) translateZ(calc(var(--abs) * 18px)); }
  .arc__card--wide { --w: 196px; height: 132px; }
}

/* ---------- Faixa em rolagem contínua ---------- */
.marquee { position: relative; z-index: 2; background: var(--roxo-noite); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.marquee li { display: flex; align-items: center; }
.marquee li::after { content: "✦"; color: var(--bege); font-size: .75rem; margin: 0 28px; }
.marquee a, .marquee span {
  font-family: var(--serif); font-size: 1.5rem; line-height: 1.2;
  color: #fff; text-decoration: none; white-space: nowrap;
  transition: color .2s ease;
}
.marquee em, .marquee a:hover { color: var(--bege); }

/* ---------- Animações ---------- */
html.js .arc__card {
  opacity: 0;
  animation: arcIn 1.2s cubic-bezier(.2, .7, .2, 1) forwards, arcFloat 6s ease-in-out infinite alternate;
  animation-delay: calc(.5s + var(--abs) * .12s), calc(1.9s + var(--abs) * .45s);
}
@keyframes arcIn { from { opacity: 0; translate: 0 44px; filter: blur(8px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes arcFloat { from { translate: 0 0; } to { translate: 0 -12px; } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html.js .arc__card { opacity: 1; animation: none; }
  .arc__track { transition: none; }
  .marquee__track { animation: none; width: auto; justify-content: center; }
  .marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .marquee ul[aria-hidden] { display: none; }
}

/* Ajustes finos */
.hero2__micro { display: block; text-wrap: balance; }
.hero2__micro .dot { display: inline-block; vertical-align: middle; margin: -2px 8px 0 0; }
@media (max-width: 700px) {
  .arc { height: 270px; margin-top: 22px; }
  .hero2__note { padding-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee a, .marquee span { font-size: 1.1rem; }
  .marquee li::after { margin: 0 14px; }
}
/* Ordem Melius: título → arco de fotos → subtítulo e CTA */
.hero2 { padding-top: 112px; }
.hero2__eyebrow { margin-bottom: 14px; }
.hero2 h1 { font-size: clamp(2.8rem, 6.2vw, 5.4rem); }
.arc { height: 380px; margin-top: 16px; }
.hero2__foot { padding-bottom: 48px; }
.hero2__sub { margin-top: 4px; }
.hero2__note { padding: 14px 16px 0; }
@media (max-width: 700px) {
  .hero2 { padding-top: 108px; }
  .arc { height: 250px; margin-top: 10px; }
  .hero2__foot { padding-bottom: 36px; }
}