/* Método Agnis – Grupo Prioritário (captura + confirmação) */

:root {
  --bg: #0f0e0c;
  --papel: #f2ece1;
  --tinta: #16130e;
  --ouro: #e0b44c;
  --ouro-claro: #f3d88f;
  --ouro-escuro: #8a6414;
  --texto: #f2ede4;
  --texto-2: #d6cfc3;
  --suave: #a39b8f;
  --display: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--texto);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong { font-weight: 600; color: var(--texto); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: -.01em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--ouro); }
svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rotulo {
  margin: 0;
  font: 500 11.5px/1.5 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ouro);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--ouro);
  color: var(--tinta);
  font: 600 16px/1.2 var(--sans);
  letter-spacing: -.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn svg { transition: transform .25s ease; }
.btn:hover { background: var(--ouro-claro); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 2px solid var(--ouro-claro); outline-offset: 3px; }
.btn[disabled] { cursor: progress; opacity: .7; }

.btn-wpp svg { width: 24px; height: 24px; stroke: none; fill: currentColor; }

/* ---------- Formulário ---------- */
.form-lead {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: 22px;
  background: var(--ouro);
  color: var(--tinta);
}
.campo + .campo { margin-top: 12px; }
.campo__rotulo { display: block; font: 400 22px/1.1 var(--display); letter-spacing: -.01em; }
.campo__input {
  width: 100%;
  padding: 6px 0 9px;
  border: 0;
  border-bottom: 1.5px solid rgba(22, 19, 14, .35);
  border-radius: 0;
  background: transparent;
  color: var(--tinta);
  font: 500 19px/1.3 var(--sans);
  letter-spacing: -.01em;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.campo__input::placeholder { color: rgba(22, 19, 14, .42); opacity: 1; }
.campo__input:focus { outline: none; border-bottom-color: var(--tinta); }
.campo__fone { display: flex; align-items: baseline; gap: 10px; border-bottom: 1.5px solid rgba(22, 19, 14, .35); transition: border-color .2s; }
.campo__fone:focus-within { border-bottom-color: var(--tinta); }
.campo__fone span { font: 500 19px/1.3 var(--sans); color: rgba(22, 19, 14, .55); }
.campo__fone .campo__input { border-bottom: 0; }
.campo__erro { margin: 6px 0 0; font-size: 13.5px; line-height: 1.3; color: #7a1f0c; }
.campo__erro:empty { display: none; }
.campo.is-invalido .campo__input, .campo.is-invalido .campo__fone { border-bottom-color: #7a1f0c; }
.form-lead .btn { width: 100%; margin-top: 20px; padding: 0 18px; background: var(--tinta); color: var(--ouro-claro); }
.form-lead .btn:hover { background: #2a241b; }
.micro { margin: 12px 0 0; font-size: 13.5px; line-height: 1.4; color: rgba(22, 19, 14, .72); }
.form__alerta { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--tinta); color: var(--ouro-claro); font-size: 14px; }

/* ---------- Hero ---------- */
.hero { display: flex; flex-direction: column; padding-bottom: 64px; }
.hero__conteudo { display: contents; }
.hero__conteudo > * { margin-left: var(--gutter); margin-right: var(--gutter); }
.hero__topo { order: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.hero__logo { width: 108px; }
.hero__topo .rotulo { text-align: right; font-size: 10.5px; }
.hero__foto { order: 1; position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.hero__titulo { order: 2; margin-top: 22px; font-size: clamp(36px, 9.8vw, 64px); }
.hero__titulo em { display: block; }
.hero__sub { order: 3; margin-top: 18px; margin-bottom: 0; font-size: 17px; color: var(--texto-2); }
.hero__turma { order: 5; margin-top: 26px; font-size: 16px; color: var(--suave); }
.hero__turma p { margin-bottom: .7em; }
.hero .form-lead { order: 4; margin-top: 22px; }

/* ---------- Faixa ---------- */
.faixa { overflow: hidden; padding: 26px 0; }
.faixa__trilho { display: flex; width: max-content; animation: faixa 60s linear infinite; }
.faixa__trilho p { margin: 0; padding-right: .9em; white-space: nowrap; font: 400 34px/1 var(--display); color: var(--texto); }
.faixa__trilho i { color: var(--ouro); padding: 0 .35em; }
@keyframes faixa { to { transform: translateX(-50%); } }

/* ---------- Seções claras ---------- */
.s-desejo, .s-clareza { background: var(--papel); color: var(--tinta); }
.s-desejo em, .s-clareza em { color: var(--ouro-escuro); }
.s-desejo { padding: 84px 0 72px; }
.titulo-grande { font-size: clamp(40px, 10.4vw, 92px); }
.titulo-grande em { display: block; }
.desejo__grid { display: grid; gap: 36px; margin-top: 48px; }
.desejo__foto { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; }
.desejo__foto img { width: 100%; height: 100%; object-fit: cover; }
.desejo__texto p { font-size: 18.5px; line-height: 1.6; color: #3b352c; }
.desejo__texto .desejo__frase { margin: 30px 0 0; font: 400 clamp(32px, 7.6vw, 48px)/1.04 var(--display); color: var(--tinta); letter-spacing: -.01em; }
.desejo__frase em { font-style: italic; }

.s-clareza { padding: 24px 0 96px; }
.clareza__titulo { font-size: clamp(34px, 8vw, 52px); }
.clareza { display: grid; gap: 18px; margin: 32px 0 0; padding: 0; list-style: none; }
.clareza li { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 18px; }
.clareza img { width: 84px; height: 84px; object-fit: cover; border-radius: 6px; }
.clareza span { font-size: 18px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.clareza span::first-letter { text-transform: uppercase; }

/* ---------- Virada (bloco dourado) ---------- */
.s-virada { padding: 88px 0 96px; background: var(--ouro); color: var(--tinta); }
.virada__pre { margin-bottom: 18px; font-size: 18px; font-weight: 500; }
.virada__frase { margin: 0 0 28px; max-width: 13ch; font: 400 clamp(46px, 12vw, 116px)/.95 var(--display); letter-spacing: -.015em; }
.virada__pos { margin: 0; max-width: 30em; font-size: 19px; }

/* ---------- Bastidores ---------- */
.s-bastidores { padding: 88px 0 72px; }
.bastidores__topo p { margin: 24px 0 0; max-width: 36em; font-size: 18.5px; color: var(--texto-2); }
.galeria {
  display: flex;
  gap: 12px;
  margin: 44px calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.galeria::-webkit-scrollbar { display: none; }
.galeria figure { flex: 0 0 76%; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; scroll-snap-align: start; }
.galeria img { width: 100%; height: 100%; object-fit: cover; }
.galeria figure:first-child img { object-position: 50% 45%; }

.fechamento { display: flex; flex-direction: column; align-items: flex-start; margin-top: 72px; }
.fechamento__frase { text-wrap: balance; margin: 0 0 30px; font: italic 400 clamp(48px, 12.4vw, 128px)/.95 var(--display); color: var(--ouro); letter-spacing: -.015em; }
.fechamento .btn { width: 100%; }
.fechamento .rotulo { margin-top: 16px; color: var(--suave); }

/* ---------- Rodapé ---------- */
.rodape { padding: 26px 0 30px; background: #1c1915; color: var(--suave); font-size: 13.5px; }
.rodape__grid { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.rodape p { margin: 0; line-height: 1.7; }
.rodape a { color: var(--texto-2); text-decoration: none; }
.rodape a:hover { color: var(--ouro); }
.rodape .sep { margin: 0 .5em; }
.rodape__credito { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; }
.rodape__credito a { display: block; line-height: 0; border-radius: 4px; opacity: .8; transition: opacity .25s ease; }
.rodape__credito a:hover { opacity: 1; }
.rodape__credito a:focus-visible { outline: 2px solid var(--ouro); outline-offset: 4px; }
.rodape__credito img { width: auto; height: 16px; }

/* ---------- CTA fixo (mobile) ---------- */
.cta-fixo {
  position: fixed;
  left: 12px; right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 40;
  transform: translateY(160%);
  transition: transform .35s ease;
}
.cta-fixo.is-visivel { transform: none; }
.cta-fixo .btn { width: 100%; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }

/* ---------- Modal (bottom sheet no mobile) ---------- */
.modal {
  width: 100%;
  max-width: 100%;
  max-height: 92dvh;
  margin: auto 0 0;
  padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
  border: 0;
  border-radius: 24px 24px 0 0;
  background: var(--ouro);
  color: var(--tinta);
}
.modal::backdrop { background: rgba(8, 7, 6, .72); }
.modal[open] { animation: subir .3s ease; }
@keyframes subir { from { transform: translateY(40px); opacity: 0; } }
.modal .rotulo { color: var(--tinta); padding-right: 48px; }
.modal .form-lead { padding: 0; margin-top: 18px; border-radius: 0; }
.modal__fechar {
  position: absolute; top: 12px; right: 12px;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 0; border-radius: 50%;
  background: rgba(22, 19, 14, .1);
  color: var(--tinta);
  cursor: pointer;
}
.modal__fechar:hover { background: rgba(22, 19, 14, .18); }
@keyframes surgir { from { transform: translateY(16px); opacity: 0; } }

/* ---------- Animação de entrada ---------- */
.js [data-revelar] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-revelar].is-visivel { opacity: 1; transform: none; }

/* ---------- Confirmação ---------- */
.ty__topo { max-width: 820px; margin-left: 0; padding-top: 28px; padding-bottom: 80px; }
.ty__logo { width: 108px; margin-bottom: 64px; }
.ty__topo .rotulo { margin-bottom: 18px; }
.ty__titulo { margin-bottom: 28px; font-size: clamp(50px, 13vw, 104px); }
.ty__titulo em { display: block; }
.ty__topo > p:not(.rotulo) { max-width: 34em; font-size: 18.5px; color: var(--texto-2); }
.ty__topo .btn-wpp { width: 100%; margin-top: 16px; }

.ty__bastidores { display: grid; gap: 32px; padding-bottom: 88px; }
.ty__foto { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; }
.ty__foto img { width: 100%; height: 100%; object-fit: cover; }
.ty__texto > .ty__frase { margin-bottom: 22px; font: 400 clamp(38px, 9.4vw, 60px)/1 var(--display); letter-spacing: -.01em; color: var(--texto); }
.ty__frase em { display: block; font-style: italic; color: var(--ouro); }
.ty__texto > p { font-size: 18px; color: var(--texto-2); }
.ty__texto > .ty__acompanhe { margin: 8px 0 12px; font: italic 400 36px/1 var(--display); color: var(--ouro); }

.enquete-wrap { padding: 0 var(--gutter) 64px; }
/* mesmo cartão dourado do formulário da página de captura */
.enquete {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 22px 28px;
  border-radius: 22px;
  background: var(--ouro);
  color: var(--tinta);
}
.enquete__titulo { margin-bottom: 22px; font-size: clamp(44px, 11vw, 72px); }
.enquete__opcoes { display: flex; flex-direction: column; gap: 10px; }
.opcao {
  position: relative;
  display: flex; align-items: center;
  min-height: 60px;
  padding: 14px 24px;
  border: 1.5px solid rgba(22, 19, 14, .35);
  border-radius: 999px;
  font-size: 17px; font-weight: 500; line-height: 1.3;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.opcao:hover { border-color: var(--tinta); }
.opcao input { position: absolute; opacity: 0; pointer-events: none; }
.opcao:has(input:checked) { background: var(--tinta); border-color: var(--tinta); color: var(--ouro-claro); }
.opcao:has(input:focus-visible) { outline: 2px solid var(--tinta); outline-offset: 3px; }
.enquete__ok { min-height: 1.4em; margin: 16px 0; font-size: 15px; font-weight: 500; color: var(--tinta); }
.enquete .btn-wpp { width: 100%; background: var(--tinta); color: var(--ouro-claro); }
.enquete .btn-wpp:hover { background: #2a241b; }

.aviso {
  position: fixed; left: 50%; bottom: 20px; z-index: 60;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--texto);
  color: var(--tinta);
  font-size: 14.5px;
  transform: translate(-50%, calc(100% + 40px));
  visibility: hidden;
  transition: transform .3s ease, visibility .3s;
}
.aviso.is-visivel { transform: translate(-50%, 0); visibility: visible; }

@media (max-width: 420px) {
  .form-lead .btn svg { display: none; }
  .form-lead .btn { font-size: 15.5px; }
}

/* ---------- Tablet ---------- */
@media (min-width: 700px) {
  :root { --gutter: 40px; }
  .form-lead { padding: 28px 30px 24px; }
  .campo__rotulo { font-size: 27px; }
  .galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 56px 0 0; padding: 0; overflow: visible; }
  .galeria figure:nth-child(2) { margin-top: 72px; }
  .clareza { grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
  .fechamento .btn { width: auto; }
  .ty__topo .btn-wpp, .enquete .btn-wpp { width: auto; }
  .enquete { padding: 56px 48px 44px; }
  .enquete__opcoes { flex-direction: row; flex-wrap: wrap; }
  .cta-fixo { left: 50%; right: auto; width: min(520px, calc(100% - 24px)); transform: translate(-50%, 160%); }
  .cta-fixo.is-visivel { transform: translate(-50%, 0); }
  .modal { width: min(560px, calc(100% - 32px)); margin: auto; padding: 28px 30px 26px; border-radius: 24px; }
  .modal[open] { animation-name: surgir; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1000px) {
  body { font-size: 18px; }
  .cta-fixo { display: none; }
  .hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); padding-bottom: 0; }
  .hero__conteudo { display: block; padding: 28px clamp(40px, 5vw, 88px) 88px; }
  .hero__conteudo > * { margin-left: 0; margin-right: 0; }
  .hero__topo { padding: 0 0 52px; }
  .hero__logo { width: 132px; }
  .hero__topo .rotulo { font-size: 11.5px; }
  .hero__foto { order: 2; position: sticky; top: 0; align-self: start; height: min(100vh, 1100px); height: min(100svh, 1100px); aspect-ratio: auto; }
  .hero__titulo { margin-top: 0; font-size: clamp(52px, 4.9vw, 80px); }
  .hero__sub { max-width: 32em; font-size: 19px; }
  .hero__turma { max-width: 36em; margin-top: 30px; }
  .hero .form-lead { max-width: 600px; margin-top: 30px; }

  .faixa { padding: 34px 0; }
  .faixa__trilho p { font-size: 46px; }

  .s-desejo { padding: 140px 0 110px; }
  .desejo__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 88px; align-items: end; margin-top: 88px; }
  .desejo__texto p { font-size: 20px; }

  .s-clareza { padding: 20px 0 140px; }
  .clareza { grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 44px; }
  .clareza li { display: block; }
  .clareza img { width: 100%; height: auto; aspect-ratio: 3 / 4; margin-bottom: 18px; }
  .clareza span { display: block; font-size: 18px; }

  .s-virada { padding: 150px 0 160px; }
  .virada__pos { font-size: 21px; }

  .s-bastidores { padding: 150px 0 120px; }
  .bastidores__topo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: end; }
  .bastidores__topo p { margin: 0; }
  .fechamento { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 48px; margin-top: 120px; }
  .fechamento__frase { flex-basis: 100%; }
  .fechamento .rotulo { margin-top: 0; }

  .ty__topo { padding-top: 40px; padding-bottom: 120px; }
  .ty__bastidores { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 88px; align-items: center; padding-bottom: 120px; }
  .enquete { padding: 72px 80px 64px; }
  .enquete-wrap { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .faixa__trilho { animation: none; }
  .js [data-revelar] { opacity: 1; transform: none; }
}
