:root {
  --preto: #050505;
  --preto-2: #0d0b08;
  --card: #110e09;
  --borda: rgba(212, 175, 55, .22);
  --ouro: #d4af37;
  --ouro-claro: #f7e08a;
  --ouro-escuro: #a87a1e;
  --texto: #ece6d6;
  --texto-suave: #a59d8a;
  --erro: #ff7a6b;
  --grad-ouro: linear-gradient(100deg, #a87a1e 0%, #f7e08a 30%, #d4af37 50%, #fff3c4 62%, #b8862b 100%);
  --raio: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--preto);
  color: var(--texto);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

#glitter {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
main, .rodape, .hero { position: relative; z-index: 1; }

/* ================= HERO ================= */
.hero { height: 340vh; }
.hero__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
  --v: 0; --t: 0; --c: 0; --h: 1;
}
.hero__halo {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 45% 40% at 50% 42%, rgba(212,175,55, calc(.08 + var(--v) * .22)), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(168,122,30,.18), transparent 70%);
  transition: background .2s;
}
.hero__logo {
  position: relative;
  width: min(78vw, 440px, 58vh);
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(18px, 4vh, 36px);
  transform: translateY(calc((1 - var(--c)) * 4vh));
}
.logo-v-wrap { position: relative; width: 58%; }
.logo-v-fantasma {
  position: absolute; inset: 0; width: 100%;
  opacity: calc(.09 * (1 - var(--v)));
  filter: blur(2px) brightness(1.4);
  animation: respira 3s ease-in-out infinite;
}
@keyframes respira { 50% { opacity: calc(.16 * (1 - var(--v))); } }
.logo-v {
  position: relative;
  width: 100%;
  clip-path: inset(calc((1 - var(--v)) * 100%) -20% -5% -20%);
  filter: blur(calc((1 - var(--v)) * 14px)) drop-shadow(0 0 calc(var(--v) * 28px) rgba(247,224,138,.45));
  transform: scale(calc(1.25 - var(--v) * .25));
  will-change: clip-path, filter, transform;
}
/* faixa de brilho que corre por dentro da logo */
.logo-v .shine {
  position: absolute; inset: 0;
  -webkit-mask: url("/img/logo-v.webp") center / contain no-repeat;
          mask: url("/img/logo-v.webp") center / contain no-repeat;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.95) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%;
  background-position: 150% 0;
  mix-blend-mode: screen;
  opacity: 0;
}
.hero__sticky.revelada .logo-v .shine { animation: brilho 3.6s ease-in-out .2s infinite; }
@keyframes brilho {
  0% { background-position: 150% 0; opacity: 1; }
  45%, 100% { background-position: -60% 0; opacity: 1; }
}
.logo-texto {
  width: 100%;
  clip-path: inset(-10% calc((1 - var(--t)) * 100%) -10% 0);
  opacity: calc(.3 + var(--t) * .7);
  letter-spacing: 0;
  filter: drop-shadow(0 0 calc(var(--t) * 18px) rgba(247,224,138,.35));
}
.hero__chamada {
  margin: 0; text-align: center; white-space: nowrap;
  font-family: "Cinzel", serif; font-weight: 400;
  font-size: clamp(14px, 2.4vw, 20px);
  letter-spacing: .5em; text-transform: uppercase;
  color: var(--texto);
  opacity: var(--c);
  transform: translateY(calc((1 - var(--c)) * 30px));
}
.hero__chamada em {
  font-style: normal;
  background: var(--grad-ouro); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: ouro-corre 4s linear infinite;
}
.hero__hint {
  position: absolute; bottom: 6vh; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--ouro);
  opacity: var(--h);
}
.mouse {
  width: 22px; height: 36px; border: 1.5px solid var(--ouro); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.mouse b { width: 3px; height: 7px; border-radius: 2px; background: var(--ouro-claro); animation: rodinha 1.6s ease-in-out infinite; }
@keyframes rodinha { 0% { transform: translateY(0); opacity: 1; } 80%,100% { transform: translateY(12px); opacity: 0; } }
@keyframes ouro-corre { to { background-position: 200% center; } }

/* ================= BLOCOS ================= */
.bloco { padding: clamp(80px, 14vh, 150px) 20px; }
.bloco__inner { max-width: 980px; margin: 0 auto; }
.bloco--vaga {
  background: linear-gradient(180deg, transparent, rgba(212,175,55,.05) 30%, rgba(212,175,55,.05) 70%, transparent);
}
.kicker {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 500; letter-spacing: .45em; text-transform: uppercase;
  color: var(--ouro);
  display: flex; align-items: center; gap: 14px;
}
.kicker::before { content: ""; width: 42px; height: 1px; background: var(--grad-ouro); }
.titulo {
  margin: 0 0 28px;
  font-family: "Cinzel", serif; font-weight: 400;
  font-size: clamp(30px, 5.4vw, 58px); line-height: 1.12;
  text-wrap: balance;
}
.ouro {
  background: var(--grad-ouro); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: ouro-corre 5s linear infinite;
}
.texto { max-width: 680px; font-size: clamp(15px, 1.8vw, 17px); color: var(--texto-suave); }
.texto strong { color: var(--texto); font-weight: 600; }

.destaques {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.destaques li {
  padding: 28px 26px; border: 1px solid var(--borda); border-radius: var(--raio);
  background: linear-gradient(160deg, rgba(212,175,55,.07), rgba(0,0,0,0) 60%);
}
.destaques__n { font-family: "Cinzel", serif; color: var(--ouro); font-size: 14px; letter-spacing: .2em; }
.destaques strong { display: block; margin: 8px 0 6px; font-family: "Cinzel", serif; font-weight: 600; font-size: 19px; color: var(--ouro-claro); }
.destaques p { margin: 0; font-size: 14px; color: var(--texto-suave); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin: 48px 0 44px; }
.card {
  position: relative; padding: 30px 30px 26px; border-radius: var(--raio);
  background: var(--card); border: 1px solid var(--borda); overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-ouro);
}
.card h3 { margin: 0 0 14px; font-family: "Cinzel", serif; font-weight: 600; font-size: 20px; color: var(--ouro-claro); }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid rgba(212,175,55,.08); font-size: 15px; }
.card li:last-child { border-bottom: 0; }
.card li::before { content: "✦"; position: absolute; left: 0; color: var(--ouro); font-size: 12px; top: 11px; }

/* ================= BOTÃO ================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 42px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 13px/1 "Montserrat", sans-serif; letter-spacing: .28em; text-transform: uppercase;
  color: #1a1204; text-decoration: none;
  background: var(--grad-ouro); background-size: 220% auto;
  box-shadow: 0 10px 30px -10px rgba(212,175,55,.6), inset 0 1px 0 rgba(255,255,255,.5);
  transition: background-position .6s, transform .2s, box-shadow .3s;
  overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent);
  transform: skewX(-20deg); animation: varre 3.2s ease-in-out infinite;
}
@keyframes varre { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.btn:hover { background-position: right center; transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(247,224,138,.75), inset 0 1px 0 rgba(255,255,255,.5); }
.btn:focus-visible { outline: 2px solid var(--ouro-claro); outline-offset: 4px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ================= FORMULÁRIO (estilo Google Forms) ================= */
.form-wrap { max-width: 680px; margin: 0 auto; }
.form-head, .q, .sucesso {
  background: var(--card); border: 1px solid var(--borda); border-radius: var(--raio);
  margin-bottom: 14px; position: relative;
}
.form-head { padding: 0 32px 26px; overflow: hidden; border-top: 0; }
.form-head::before { content: ""; display: block; height: 10px; margin: 0 -32px 26px; background: var(--grad-ouro); background-size: 200% auto; animation: ouro-corre 5s linear infinite; }
.form-head__logo { width: 120px; margin: 0 0 14px; filter: drop-shadow(0 0 16px rgba(212,175,55,.3)); }
.form-head h2 { margin: 0 0 6px; font-family: "Cinzel", serif; font-weight: 600; font-size: clamp(26px, 4vw, 34px); color: var(--ouro-claro); }
.form-head p { margin: 0; color: var(--texto-suave); font-size: 15px; }
.form-head .obrig { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(212,175,55,.12); font-size: 13px; }
.obrig span, .q label > span, .q legend > span { color: var(--erro); }

.q { padding: 26px 32px 22px; border-left: 3px solid transparent; transition: border-color .3s, box-shadow .3s; }
.q:focus-within { border-left-color: var(--ouro); box-shadow: 0 0 0 1px rgba(212,175,55,.25), 0 12px 40px -20px rgba(212,175,55,.5); }
.q.invalida { border-left-color: var(--erro); }
fieldset.q { min-width: 0; margin-inline: 0; }
.q > label:not(.radio):not(.check), .q legend { display: block; font-size: 16px; font-weight: 500; color: var(--texto); margin-bottom: 16px; padding: 0; }
.q legend { float: left; width: 100%; }
.q legend + * { clear: both; }

.q input[type="text"], .q input[type="tel"], .q input[type="date"] {
  width: 100%; max-width: 420px; padding: 8px 0 9px;
  font: 400 16px "Montserrat", sans-serif; color: var(--texto);
  background: transparent; border: 0; border-bottom: 1px solid rgba(236,230,214,.25);
  outline: none; transition: border-color .25s;
  background-image: linear-gradient(var(--ouro), var(--ouro)); background-repeat: no-repeat;
  background-size: 0 2px; background-position: 50% 100%;
  transition: background-size .35s ease, border-color .25s;
  border-radius: 0;
}
.q input::placeholder { color: rgba(165,157,138,.6); }
.q input:focus { background-size: 100% 2px; border-bottom-color: transparent; }
.q input[type="date"] { max-width: 220px; color-scheme: dark; }
.q input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(76%) sepia(46%) saturate(560%) hue-rotate(5deg); cursor: pointer; }

.radio, .check { display: flex; align-items: center; gap: 14px; padding: 9px 0; cursor: pointer; font-size: 15px; }
.radio input, .check input { position: absolute; opacity: 0; pointer-events: none; }
.radio i, .check i {
  flex: none; width: 20px; height: 20px; border: 2px solid rgba(236,230,214,.45);
  display: grid; place-items: center; transition: border-color .2s, box-shadow .2s;
}
.radio i { border-radius: 50%; }
.check i { border-radius: 4px; }
.radio i::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad-ouro); transform: scale(0); transition: transform .2s; }
.check i::after { content: "✓"; color: #1a1204; font-size: 13px; font-weight: 700; transform: scale(0); transition: transform .2s; }
.radio input:checked + i { border-color: var(--ouro); box-shadow: 0 0 12px rgba(212,175,55,.45); }
.radio input:checked + i::after { transform: scale(1); }
.check input:checked + i { border-color: var(--ouro); background: var(--grad-ouro); box-shadow: 0 0 12px rgba(212,175,55,.45); }
.check input:checked + i::after { transform: scale(1); }
.radio input:focus-visible + i, .check input:focus-visible + i { outline: 2px solid var(--ouro-claro); outline-offset: 3px; }
.q--lgpd .check { align-items: flex-start; color: var(--texto-suave); font-size: 14px; line-height: 1.55; }
.q--lgpd .check i { margin-top: 1px; }

.erro { display: block; min-height: 0; color: var(--erro); font-size: 13px; margin-top: 6px; }
.erro:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.acoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.limpar { background: none; border: 0; color: var(--ouro); font: 500 14px "Montserrat", sans-serif; cursor: pointer; padding: 10px 4px; }
.limpar:hover { color: var(--ouro-claro); text-decoration: underline; }
.form-status { min-height: 1.5em; margin: 14px 0 0; font-size: 14px; color: var(--erro); }

.sucesso { padding: 52px 32px; text-align: center; animation: surge .7s cubic-bezier(.2,.8,.2,1); }
.sucesso__icone { font-size: 46px; color: var(--ouro-claro); text-shadow: 0 0 24px var(--ouro); animation: pulsa 2s ease-in-out infinite; }
.sucesso h2 { font-family: "Cinzel", serif; font-weight: 600; color: var(--ouro-claro); margin: 10px 0; }
.sucesso p { color: var(--texto-suave); max-width: 440px; margin: 0 auto 20px; }
@keyframes surge { from { opacity: 0; transform: translateY(20px) scale(.97); } }
@keyframes pulsa { 50% { transform: scale(1.15); opacity: .8; } }

/* ================= RODAPÉ ================= */
.rodape { padding: 60px 20px 40px; text-align: center; border-top: 1px solid rgba(212,175,55,.12); }
.rodape img { width: 180px; margin: 0 auto 16px; opacity: .85; }
.rodape p { margin: 0; font-size: 12px; letter-spacing: .08em; color: var(--texto-suave); }

/* ================= REVELAR AO ROLAR ================= */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.visivel { opacity: 1; transform: none; }

@media (max-width: 560px) {
  .form-head { padding: 0 20px 22px; }
  .form-head::before { margin: 0 -20px 22px; }
  .q { padding: 22px 20px 18px; }
  .acoes { flex-direction: column-reverse; align-items: stretch; }
  .btn { width: 100%; }
  .hero__chamada { letter-spacing: .3em; }
}

@media (prefers-reduced-motion: reduce) {
  .hero { height: 100vh; }
  .hero__sticky { --v: 1 !important; --t: 1 !important; --c: 1 !important; --h: 0 !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* perguntas extras */
.q textarea, .q select {
  width: 100%; max-width: 520px; padding: 10px 12px;
  font: 400 15px "Montserrat", sans-serif; color: var(--texto);
  background: rgba(255,255,255,.03); border: 1px solid rgba(236,230,214,.2); border-radius: 8px; outline: none;
  transition: border-color .25s;
}
.q textarea { resize: vertical; min-height: 80px; }
.q select { max-width: 320px; cursor: pointer; }
.q select option { background: #151109; }
.q textarea:focus, .q select:focus { border-color: var(--ouro); }
