/* ============================================================
   EMPODEREI — estilo
   Feminino + poderoso: aubergine escuro, magenta→violeta, dourado.
   Display: Fraunces · Corpo: Manrope
   ============================================================ */

:root {
  --ink:      #0B0410;
  --ink-2:    #150726;
  --plum:     #1E0B33;
  --card:     rgba(30, 12, 52, 0.55);
  --line:     rgba(244, 195, 107, 0.16);

  --magenta:  #FF2E8B;
  --magenta-2:#F72585;
  --violet:   #9D4EDD;
  --violet-2: #6D28D9;
  --gold:     #F4C36B;
  --gold-2:   #E9A94B;

  --cream:    #F6ECFF;
  --muted:    #B9A3D6;

  --grad: linear-gradient(100deg, var(--magenta) 0%, var(--violet) 55%, var(--violet-2) 100%);
  --grad-gold: linear-gradient(100deg, var(--gold) 0%, var(--magenta) 120%);

  --shell: min(1180px, 92vw);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
::selection { background: var(--magenta); color: #fff; }

/* ---------- Fundo aurora ---------- */
.aura { position: fixed; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(140% 120% at 50% -10%, var(--ink-2) 0%, var(--ink) 55%); }
.aura__blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; mix-blend-mode: screen; }
.aura__blob--1 { width: 55vw; height: 55vw; left: -10vw; top: -12vw; background: radial-gradient(circle, var(--magenta), transparent 65%); animation: drift1 22s var(--ease) infinite alternate; }
.aura__blob--2 { width: 48vw; height: 48vw; right: -12vw; top: 8vh; background: radial-gradient(circle, var(--violet), transparent 65%); animation: drift2 26s var(--ease) infinite alternate; }
.aura__blob--3 { width: 40vw; height: 40vw; left: 30vw; top: 55vh; background: radial-gradient(circle, var(--gold), transparent 62%); opacity: 0.22; animation: drift3 30s var(--ease) infinite alternate; }
.aura__dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.aura__grain {
  position: absolute; inset: 0; opacity: 0.05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift1 { to { transform: translate(6vw, 4vh) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-5vw, 6vh) scale(1.08); } }
@keyframes drift3 { to { transform: translate(-4vw, -5vh) scale(1.15); } }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px max(4vw, calc((100vw - var(--shell)) / 2));
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), backdrop-filter 0.4s;
}
.nav.is-stuck { background: rgba(11, 4, 16, 0.72); backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.nav__mark { font-family: "Fraunces", serif; font-weight: 900; font-size: 1.25rem; letter-spacing: 0.02em; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__brand { display: inline-flex; align-items: center; }
.nav__logo { height: 38px; width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(244, 195, 107, 0.3)); }
.nav.is-stuck .nav__logo { height: 32px; transition: height 0.4s var(--ease); }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 0.9rem; font-weight: 600; color: var(--muted); text-decoration: none; transition: color 0.25s; }
.nav__links a:hover { color: var(--cream); }

/* ---------- Botões ---------- */
.btn {
  --pad: 15px 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 0.98rem;
  padding: var(--pad); border: none; border-radius: 100px; cursor: pointer;
  text-decoration: none; color: #fff; position: relative; isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad); box-shadow: 0 10px 30px -8px rgba(255, 46, 139, 0.55); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: var(--grad-gold); opacity: 0; transition: opacity 0.35s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255, 46, 139, 0.7); }
.btn--primary:hover::after { opacity: 1; }
.btn--nav { --pad: 11px 20px; font-size: 0.9rem; background: var(--grad); box-shadow: 0 8px 22px -10px rgba(157, 78, 221, 0.7); }
.btn--block { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; }
.hero__butterflies { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__inner {
  position: relative; z-index: 2; width: var(--shell); margin-inline: auto;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(24px, 5vw, 70px); align-items: center;
}
.hero__content { max-width: 620px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding: 9px 18px; border: 1px solid var(--line); border-radius: 100px;
  background: rgba(30, 12, 52, 0.4); backdrop-filter: blur(6px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 12px var(--magenta); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.hero__logo { display: block; height: clamp(46px, 6vw, 68px); width: auto; margin: 26px 0 20px; filter: drop-shadow(0 8px 24px rgba(244, 195, 107, 0.35)); }

.hero__title { font-family: "Fraunces", serif; font-weight: 900; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.98; letter-spacing: -0.02em; }
.hero__line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__line .w { display: inline-block; }
.hero__grad {
  background: linear-gradient(100deg, var(--gold) 0%, var(--magenta) 50%, var(--violet) 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sweep 7s var(--ease) infinite;
}
@keyframes sweep { 50% { background-position: 100% 0; } }

.hero__lead { max-width: 520px; margin: 22px 0 0; font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: #E5D6F5; }
.hero__lead em { font-family: "Fraunces", serif; font-style: italic; color: var(--gold); }

.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.hero__trust { font-size: 0.88rem; color: var(--muted); }
.hero__trust b { color: var(--gold); font-family: "Fraunces", serif; font-size: 1.05rem; }

/* Contagem regressiva */
.count { margin-top: 40px; display: flex; gap: clamp(12px, 2.4vw, 28px); }
.count__cell { display: flex; flex-direction: column; align-items: flex-start; min-width: 58px; }
.count__cell b {
  font-family: "Fraunces", serif; font-weight: 700; font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-variant-numeric: tabular-nums; line-height: 1;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.count__cell span { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.count__over { margin-top: 36px; color: var(--gold); font-weight: 600; }

/* Visual do hero (retrato + brilho + selos) */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero__ring {
  position: absolute; width: min(94%, 460px); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 200deg, var(--magenta), var(--violet), var(--gold), var(--magenta));
  filter: blur(46px); opacity: 0.5; animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__portrait {
  position: relative; z-index: 1; width: 100%; max-width: 440px; height: auto; object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(11, 4, 16, 0.55));
  -webkit-mask-image: linear-gradient(#000 78%, transparent 99%); mask-image: linear-gradient(#000 78%, transparent 99%);
}
.hero__badge {
  position: absolute; z-index: 3; font-weight: 700; font-size: 0.82rem; padding: 10px 16px; border-radius: 100px;
  background: rgba(21, 7, 38, 0.72); border: 1px solid var(--line); backdrop-filter: blur(10px); color: var(--cream);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.7);
}
.hero__badge--1 { top: 14%; left: -2%; animation: float1 6s var(--ease) infinite; }
.hero__badge--2 { bottom: 16%; right: -2%; animation: float2 7s var(--ease) infinite; }
.hero__badge::before { content: "✦"; color: var(--gold); margin-right: 7px; }
@keyframes float1 { 50% { transform: translateY(-14px); } }
@keyframes float2 { 50% { transform: translateY(12px); } }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(244, 195, 107, 0.4); border-radius: 100px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 4px; background: var(--gold); transform: translateX(-50%); animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 60% { transform: translate(-50%, 14px); opacity: 0.2; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(21, 7, 38, 0.4); }
.marquee__track { display: flex; gap: 34px; white-space: nowrap; width: max-content; animation: scrollx 34s linear infinite; }
.marquee__track span { font-family: "Fraunces", serif; font-weight: 600; font-size: clamp(1.3rem, 3vw, 2.2rem); color: rgba(246, 236, 255, 0.55); }
.marquee__track .sep { color: var(--gold); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Layout de seções ---------- */
.trilhas, .instituto, .inscricao, .palestras, .galeria { width: var(--shell); margin-inline: auto; padding: clamp(80px, 12vh, 140px) 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { max-width: 720px; margin-inline: auto; text-align: center; }
.section-sub { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
h2 { font-family: "Fraunces", serif; font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.015em; }

/* ---------- Cards de trilha ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  position: relative; padding: 34px 30px; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0; transition: opacity 0.4s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.card:hover { transform: translateY(-6px); }
.card:hover::before { opacity: 1; }
.card__idx {
  display: inline-block; font-family: "Fraunces", serif; font-style: italic; font-weight: 500;
  font-size: 1.05rem; line-height: 1.05; color: var(--gold); margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.card h3 { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.5rem; line-height: 1.15; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Palestrantes ---------- */
.palestras { padding-bottom: clamp(40px, 6vh, 70px); }
.palestras__banner {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 40px 90px -50px rgba(157, 78, 221, 0.7); position: relative;
}
.palestras__banner::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 60px rgba(11, 4, 16, 0.5);
}
.palestras__banner img { display: block; width: 100%; height: auto; }

/* ---------- Galeria ---------- */
.galeria__grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-auto-rows: 1fr; gap: 18px; }
.galeria__item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.galeria__item--tall { grid-row: span 2; }
.galeria__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.galeria__item:hover img { transform: scale(1.05); }

/* Filmstrip (dois trilhos de fotos em direções opostas) */
.filmstrip { position: relative; display: flex; flex-direction: column; gap: 18px; margin-top: 10px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.filmstrip__row { display: flex; gap: 18px; width: max-content; will-change: transform; }
.filmstrip__row[data-marquee="left"] { animation: strip-left 42s linear infinite; }
.filmstrip__row[data-marquee="right"] { animation: strip-right 42s linear infinite; }
.filmstrip:hover .filmstrip__row { animation-play-state: paused; }
.filmstrip__row img {
  height: clamp(160px, 22vw, 300px); width: auto; border-radius: 16px; object-fit: cover;
  border: 1px solid var(--line); box-shadow: 0 20px 44px -26px rgba(0, 0, 0, 0.8);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.filmstrip__row img:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 30px 60px -24px rgba(157, 78, 221, 0.6); }
@keyframes strip-left { to { transform: translateX(-50%); } }
@keyframes strip-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- Números ---------- */
.stats {
  width: var(--shell); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 40px clamp(24px, 4vw, 48px); border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255, 46, 139, 0.1), rgba(109, 40, 217, 0.12));
  border: 1px solid var(--line);
}
.stat { text-align: center; }
.stat b { display: block; font-family: "Fraunces", serif; font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- Instituto ---------- */
.instituto { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.instituto__media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 90px -50px rgba(157, 78, 221, 0.7); }
.instituto__media img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.instituto__year {
  position: absolute; bottom: 16px; left: 16px; font-family: "Fraunces", serif; font-style: italic; font-size: 1.05rem; color: var(--ink);
  background: var(--grad-gold); padding: 7px 16px; border-radius: 100px; box-shadow: 0 8px 20px -8px rgba(244, 195, 107, 0.6);
}
@keyframes spin { to { transform: rotate(360deg); } }
.instituto__text p { color: #DCC9F2; margin-top: 18px; max-width: 52ch; }
.instituto__text .reveal--muted { color: var(--muted); }
.instituto__text strong { color: var(--cream); }

/* ---------- Inscrição ---------- */
.inscricao { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
.inscricao__pitch h2 { margin-bottom: 18px; }
.inscricao__pitch p { color: var(--muted); max-width: 44ch; }
.inscricao__list { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.inscricao__list li { position: relative; padding-left: 30px; color: #DCC9F2; font-weight: 500; }
.inscricao__list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }

.inscricao__card {
  padding: clamp(26px, 3.5vw, 40px); border-radius: var(--radius);
  background: rgba(21, 7, 38, 0.7); border: 1px solid var(--line); backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -40px rgba(157, 78, 221, 0.6);
}
/* Barra de progresso do formulário */
.form__progress { height: 4px; border-radius: 4px; background: rgba(244, 195, 107, 0.14); overflow: hidden; margin-bottom: 26px; }
.form__progress span { display: block; height: 100%; width: 0%; border-radius: 4px; background: var(--grad-gold); transition: width 0.4s var(--ease); }

/* Grupos de campos */
.form__group { border: none; margin: 0 0 8px; padding: 0; }
.form__group legend { font-family: "Fraunces", serif; font-style: italic; font-size: 1.05rem; color: var(--gold); margin-bottom: 14px; padding: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 8px; }
.field__hint { display: block; margin-top: 6px; font-size: 0.75rem; color: rgba(185, 163, 214, 0.7); }
.field__err { display: block; margin-top: 6px; font-size: 0.76rem; font-weight: 600; color: #FF8FB4; min-height: 0.9em; }
.field input.is-invalid, .select select.is-invalid { border-color: #FF6FA3; box-shadow: 0 0 0 3px rgba(255, 111, 163, 0.16); }
.field input, .select select {
  width: 100%; padding: 14px 16px; border-radius: 12px; font: inherit; font-size: 0.98rem;
  color: var(--cream); background: rgba(11, 4, 16, 0.55); border: 1px solid var(--line);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input::placeholder { color: rgba(185, 163, 214, 0.5); }
.field input:focus, .select select:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(255, 46, 139, 0.18); }
.select { position: relative; }
.select::after { content: "▾"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--gold); pointer-events: none; }
.select select { appearance: none; }
.select select option { background: var(--plum); color: var(--cream); }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.consent input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--magenta); cursor: pointer; }
.consent a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

.btn__spin { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.form__msg { margin-top: 14px; font-size: 0.9rem; font-weight: 600; min-height: 1.2em; text-align: center; }
.form__msg.is-ok { color: #7CF3B0; }
.form__msg.is-err { color: #FF8FB4; }

/* ---------- Rodapé ---------- */
.foot { width: var(--shell); margin: 0 auto; padding: 60px 0 50px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; gap: 26px 40px; align-items: center; }
.foot__mark { font-family: "Fraunces", serif; font-weight: 900; font-size: 1.3rem; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot__brand p { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 22px; justify-content: flex-end; }
.foot__links a { font-size: 0.88rem; font-weight: 600; color: var(--muted); text-decoration: none; transition: color 0.25s; }
.foot__links a:hover { color: var(--gold); }
.foot__logos { grid-column: 1 / -1; background: #fff; border-radius: 16px; padding: 20px 28px; display: flex; justify-content: center; }
.foot__logos img { width: 100%; max-width: 760px; height: auto; }
.foot__contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.88rem; color: #DCC9F2; }
.foot__contact-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.foot__contact em { flex-basis: 100%; font-style: italic; color: var(--muted); font-size: 0.82rem; }
.foot__legal { grid-column: 1 / -1; font-size: 0.78rem; color: rgba(185, 163, 214, 0.6); line-height: 1.6; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #25D366; text-decoration: none;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6); transition: transform 0.3s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.wa-float:hover { transform: scale(1.08); }
.wa-float:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: 0.5; animation: wapulse 2.6s ease-out infinite; }
@keyframes wapulse { 0% { transform: scale(1); opacity: 0.5; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
@media (max-width: 560px) { .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; } .wa-float svg { width: 27px; height: 27px; } }

/* ---------- Reveal (animação de entrada) ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.is-in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }

/* ---------- Páginas de conteúdo (transparência / privacidade) ---------- */
.doc { width: min(820px, 92vw); margin: 0 auto; padding: 150px 0 90px; }
.doc__back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; margin-bottom: 32px; transition: color 0.25s; }
.doc__back:hover { color: var(--gold); }
.doc h1 { font-family: "Fraunces", serif; font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; margin-bottom: 10px; letter-spacing: -0.015em; }
.doc__sub { color: var(--muted); margin-bottom: 40px; }
.doc h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 40px 0 14px; }
.doc h3 { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.2rem; margin: 26px 0 8px; color: var(--gold); }
.doc p, .doc li { color: #DCC9F2; margin-bottom: 12px; }
.doc ul { padding-left: 22px; margin-bottom: 12px; }
.doc a.inline { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.doc .datacard {
  margin: 28px 0; padding: 26px 28px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.doc .datacard dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; }
.doc .datacard dt { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.doc .datacard dd { color: var(--cream); font-weight: 600; }
.doc__logos { background: #fff; border-radius: 16px; padding: 22px 28px; margin: 26px 0; }
.doc__logos img { display: block; width: 100%; max-width: 720px; height: auto; margin: 0 auto; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero { padding-top: 104px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 12px; }
  .hero__content { max-width: 620px; margin-inline: auto; text-align: center; }
  .hero__logo, .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__cta, .count { justify-content: center; }
  .count__cell { align-items: center; }
  .hero__visual { order: -1; min-height: 280px; }
  .hero__portrait { max-width: 280px; }
  .hero__badge--1 { left: 3%; } .hero__badge--2 { right: 3%; }
  .hero__scroll { display: none; }
}

@media (max-width: 560px) {
  .hero__portrait { max-width: 230px; }
  .hero__ring { filter: blur(34px); }
  .hero__badge { font-size: 0.72rem; padding: 8px 12px; }
  .count { gap: 12px; }
  .count__cell { min-width: 50px; }
  .hero__cta .btn { width: 100%; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .cards, .stats, .instituto, .inscricao, .grid-2, .galeria__grid { grid-template-columns: 1fr; }
  .galeria__item--tall { grid-row: auto; }
  .galeria__item img { aspect-ratio: 4 / 3; }
  .stats { gap: 28px; padding: 34px 24px; }
  .instituto__media { max-width: 320px; margin: 0 auto; }
  .foot { grid-template-columns: 1fr; }
  .foot__links { justify-content: flex-start; }
  .doc .datacard dl { grid-template-columns: 1fr; gap: 4px 0; }
  .doc .datacard dd { margin-bottom: 12px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .aura__blob, .hero__word, .marquee__track, .instituto__ring { animation: none; }
}
