/* ==========================================================================
   Aplicacao para a Leitura de Padrao -- Julie Mentora

   Identidade inspirada em l.luzdaserra.com.br/acelerador: grafite #131316 com
   ruido fino por cima, titulos centralizados em degrade branco para cinza,
   badges em pilula, CTA em degrade dourado com a seta num circulo escuro,
   card #18181B de canto arredondado e borda branca a 8%.

   Folha independente: nao carrega styles.css nem quiz.css, que pertencem ao
   mundo claro e de canto reto das paginas de aula.
   Escrito mobile-first. 95% das leads chegam pelo Meta, no celular.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:          #131316;
  --surface:     #18181b;
  --line:        rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .12);
  --field:       rgba(255, 255, 255, .02);

  --text:        #ffffff;
  --text-soft:   #b8b8b8;
  --text-mute:   #9a9a9e;
  --text-faint:  #6b6b6e;

  --gold:        #e5ac4c;
  --gold-light:  #f6e3b4;
  --gold-grad:   linear-gradient(to right, #f6e3b4 0%, #edd494 50%, #d9b85c 100%);
  --title-grad:  linear-gradient(180deg, #ffffff 24%, #878789 100%);
  --on-gold:     #1f2123;

  --radius-card: 16px;
  --radius-item: 14px;
  --radius-field: 10px;

  --wrap:   820px;
  --gutter: 1.25rem;

  --font: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
          system-ui, Helvetica, Arial, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

/* --- reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
strong, b { font-weight: 600; color: var(--text); }

::selection { background: rgba(229, 172, 76, .35); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Ruido fino por cima de tudo, como na referencia. SVG gerado aqui, sem
   copiar a textura deles. */
.ap-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- estrutura ------------------------------------------------------------ */

.ap-wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ap-sec { padding-block: clamp(3rem, 9vh, 5.5rem); }

.ap-sec + .ap-sec { border-top: 1px solid var(--line); }

/* --- badge ---------------------------------------------------------------- */

.ap-top {
  display: flex;
  justify-content: center;
  padding: 1.25rem var(--gutter) 0;
}

.ap-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem 1rem;
  border-radius: 999px;
  background-color: #19191c;
  background-image:
    linear-gradient(184deg, rgba(13, 13, 14, 0) 2%, rgba(13, 13, 14, .4) 112%),
    radial-gradient(52% 250% at 25% -105%, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0));
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .25), inset -1px -1px 0 #0d0d0e;
}

.ap-top .ap-badge .ap-gold {
  text-transform: uppercase;
  letter-spacing: .18em;
}

.ap-badge__play { color: var(--gold-light); }

.ap-gold {
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- tipografia ----------------------------------------------------------- */

.ap-title {
  font-weight: 500;
  font-size: clamp(1.875rem, 7.5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  text-align: center;
  text-wrap: balance;
  background: var(--title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* evita cortar descendentes no clip do degrade */
  padding-bottom: .06em;
}

.ap-title--hero { font-size: clamp(2.25rem, 9vw, 4.25rem); max-width: 14ch; }

.ap-lede {
  margin-top: 1rem;
  max-width: 38ch;
  font-size: clamp(.9375rem, 2.6vw, 1.0625rem);
  line-height: 1.45;
  color: var(--text-soft);
  text-align: center;
  text-wrap: pretty;
}

@media (min-width: 40rem) { .ap-lede { max-width: 52ch; } }

.ap-note {
  margin-top: .85rem;
  font-size: .75rem;
  line-height: 1.3;
  color: #ababab;
  text-align: center;
}

/* Texto corrido: alinhado a esquerda, como o bloco "O que vai acontecer". */
.ap-prose {
  width: 100%;
  max-width: 760px;
  margin-top: clamp(2.5rem, 6vh, 3.5rem);
  font-size: .9375rem;
  line-height: 1.65;
  color: #ababab;
}

.ap-prose > * + * { margin-top: 1.1rem; }

.ap-quote {
  border-left: 2px solid rgba(229, 172, 76, .5);
  padding-left: 1rem;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gold-light);
}

/* Rotulo curto acima de uma lista dentro do texto corrido. */
.ap-kicker-text {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Cenas: o leitor precisa se reconhecer, entao cada uma ganha linha propria
   com o filete dourado do destaque. */
.ap-scenes {
  display: grid;
  gap: .65rem;
}

.ap-scenes li {
  padding: .9rem 1rem;
  border-left: 2px solid rgba(229, 172, 76, .5);
  background: rgba(255, 255, 255, .02);
  border-radius: 0 10px 10px 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #e7e7e7;
}

/* Passos numerados: "o que" fazer, um de cada vez. */
.ap-steps {
  counter-reset: passo;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .75rem;
}

.ap-steps li {
  counter-increment: passo;
  display: flex;
  align-items: baseline;
  gap: .85rem;
  color: #d4d4d4;
}

.ap-steps li::before {
  content: counter(passo);
  flex: none;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(229, 172, 76, .5);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gold-light);
  transform: translateY(-.1rem);
}

.ap-how .ap-cards { margin-top: 2rem; }

/* O que ela ja tentou: etiquetas riscadas de leve, para ler como
   "ja passou por isso", sem desmerecer nenhuma. */
.ap-tried {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.ap-tried li {
  padding: .35rem .8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .8125rem;
  color: var(--text-mute);
  text-decoration: line-through;
  text-decoration-color: rgba(229, 172, 76, .45);
}

/* Cenas do desejo: mesmo formato das cenas da dor, com o filete cheio. */
.ap-desire { margin-top: 2.5rem; }

.ap-scenes--desire li {
  border-left-color: var(--gold);
  background: rgba(229, 172, 76, .05);
  color: #f1e6cc;
}

.ap-mex {
  font-size: .9375rem;
  color: #d4d4d4;
}

.ap-mex__tag {
  display: block;
  margin-bottom: .35rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Convocacao da marca logo acima do ultimo botao. */
.ap-call {
  margin-bottom: 1.25rem;
  font-size: clamp(1.25rem, 4.6vw, 1.625rem);
  font-weight: 500;
  letter-spacing: -.02em;
  text-align: center;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ap-prose .ap-quote + .ap-kicker-text { margin-top: 2.25rem; }

/* --- CTA ------------------------------------------------------------------ */

.ap-act {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.ap-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 3.25rem;
  padding: .375rem .5rem .375rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--gold-grad);
  color: var(--on-gold);
  font: inherit;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: filter 180ms ease, transform 180ms var(--ease-out);
}

@media (min-width: 40rem) { .ap-cta { min-height: 3.5rem; } }

@media (hover: hover) {
  .ap-cta:hover { filter: brightness(1.06); }
}

.ap-cta:active { transform: translateY(1px); }

.ap-cta__icon {
  display: grid;
  place-items: center;
  width: 2.375rem;
  height: 2.375rem;
  flex: none;
  border-radius: 999px;
  background: var(--on-gold);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .72), 0 1px 2px rgba(0, 0, 0, .16);
  outline: 1px solid rgba(255, 255, 255, .12);
  outline-offset: -1px;
}

.ap-cta--block { width: 100%; }

@media (min-width: 30rem) { .ap-cta--block { width: auto; } }

.ap-cta:disabled { opacity: .5; cursor: not-allowed; }

/* --- card de aplicacao ---------------------------------------------------- */

.ap-card {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-top: 2.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.25rem;
}

@media (min-width: 40rem) { .ap-card { padding: 1.75rem; } }
@media (min-width: 64rem) { .ap-card { padding: 2.25rem; } }

/* Durante as perguntas o resto da pagina sai de cena: a referencia leva a lead
   para uma rota so de perguntas; aqui o card assume a tela sem trocar de URL. */
body.is-applying .ap-hero,
body.is-applying .ap-block,
body.is-applying .ap-apply__head { display: none; }

body.is-applying .ap-apply { border-top: 0; padding-top: 1.5rem; }
body.is-applying .ap-card { margin-top: 0; }
body.is-applying .ap-progress { position: sticky; top: .5rem; }

.ap-apply__head {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ap-apply__head .ap-title { margin-top: 1.25rem; }

/* --- progresso ------------------------------------------------------------ */

/* Fixo no topo so durante as perguntas; no contato, com a pagina inteira em
   volta, ele ficaria flutuando sobre o texto ao rolar. */
.ap-progress {
  position: relative;
  z-index: 3;
  margin-bottom: 1.5rem;
  padding: .75rem .875rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(19, 19, 22, .96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.ap-progress__label {
  margin-bottom: .5rem;
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-mute);
}

.ap-progress__label b { color: var(--text); font-weight: 600; }

.ap-progress__bar {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.ap-progress__fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gold);
  transition: width 500ms var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  .ap-progress__fill { transition: none; }
}

/* --- etapa ---------------------------------------------------------------- */

.ap-step { animation: ap-in 300ms var(--ease-out) both; }
.ap-step--out { animation: ap-out 160ms var(--ease-out) both; }

@keyframes ap-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@keyframes ap-out {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .ap-step, .ap-step--out { animation: none; }
}

.apf__title {
  font-size: clamp(1.125rem, 4.6vw, 1.625rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--text);
  text-wrap: balance;
}

/* --- campos --------------------------------------------------------------- */

.apf__field { margin-top: 1.25rem; }
.apf__title + .apf__field { margin-top: 1.5rem; }

.apf__label {
  display: block;
  margin-bottom: .4rem;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
}

.apf__label i { font-style: normal; color: var(--gold); }

/* 16px no campo: abaixo disso o iOS da zoom no foco. */
.apf__input,
.apf__textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--field);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-field);
  padding: .8rem 1rem;
  outline: none;
  transition: border-color 160ms ease;
}

.apf__textarea {
  min-height: 8rem;
  resize: vertical;
  line-height: 1.5;
}

.apf__input:focus,
.apf__textarea:focus { border-color: var(--gold); }

.apf__input::placeholder,
.apf__textarea::placeholder { color: var(--text-faint); }

/* Autofill do Chrome pinta o campo de claro; devolve o fundo escuro. */
.apf__input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 100px var(--surface) inset;
  caret-color: var(--text);
}

.ap-phone {
  display: flex;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-field);
  background: var(--field);
  transition: border-color 160ms ease;
}

.ap-phone:focus-within { border-color: var(--gold); }

.ap-phone__ddi {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding-inline: .9rem;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-soft);
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.ap-phone .apf__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
}

.apf__consent {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-top: 1.4rem;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--text-soft);
  cursor: pointer;
}

.apf__consent input {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin: .15rem 0 0;
  accent-color: var(--gold);
}

/* Honeypot: fora da tela, fora do foco. */
.apf__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.apf__error {
  margin-top: .9rem;
  font-size: .875rem;
  color: #f19a8c;
}

/* --- opcoes (radio) ------------------------------------------------------- */

.apf__options {
  display: grid;
  gap: .75rem;
  margin-top: 1.5rem;
}

.apf__option {
  display: flex;
  align-items: center;
  gap: .85rem;
  width: 100%;
  min-height: 3.25rem;
  padding: .875rem;
  text-align: start;
  font: inherit;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  background: var(--field);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-item);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

@media (min-width: 40rem) { .apf__option { padding: 1rem; gap: 1rem; } }

@media (hover: hover) {
  .apf__option:hover { border-color: rgba(255, 255, 255, .28); }
}

.apf__option[aria-checked="true"] {
  border-color: var(--gold);
  background: rgba(229, 172, 76, .08);
}

.apf__marker {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--text-faint);
  border-radius: 999px;
  transition: border-color 160ms ease;
}

.apf__marker::after {
  content: "";
  width: .625rem;
  height: .625rem;
  border-radius: 999px;
  background: var(--gold);
  transform: scale(0);
  transition: transform 200ms var(--ease-out);
}

.apf__option[aria-checked="true"] .apf__marker { border-color: var(--gold); }
.apf__option[aria-checked="true"] .apf__marker::after { transform: scale(1); }

/* --- escala 0 a 10 -------------------------------------------------------- */

.ap-scale {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}

.ap-scale__btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .75);
  background: var(--field);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

@media (hover: hover) {
  .ap-scale__btn:hover { border-color: var(--gold); color: #fff; }
}

.ap-scale__btn[aria-checked="true"] {
  border-color: var(--gold);
  background: rgba(229, 172, 76, .12);
  color: #fff;
}

.ap-scale__ends {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 33.5rem;
  margin-top: .75rem;
  font-size: .75rem;
  color: var(--text-mute);
}

/* --- navegacao da etapa --------------------------------------------------- */

.ap-nav {
  display: flex;
  flex-direction: column-reverse;
  gap: .75rem;
  margin-top: 1.75rem;
}

@media (min-width: 30rem) {
  .ap-nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.apf__back {
  align-self: flex-start;
  padding: .625rem 1.25rem;
  font: inherit;
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 160ms ease;
}

@media (min-width: 30rem) { .apf__back { align-self: auto; } }

@media (hover: hover) {
  .apf__back:hover { background: rgba(255, 255, 255, .04); }
}

.ap-nav__note {
  margin-top: .9rem;
  font-size: .75rem;
  color: #ababab;
}

/* --- obrigado ------------------------------------------------------------- */

.ap-done { text-align: center; padding-block: 1.5rem; }

.ap-done__title {
  font-size: clamp(2.25rem, 9vw, 3.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.03em;
  background: var(--title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  outline: none;
}

.ap-done__text {
  margin-top: .85rem;
  font-size: clamp(1rem, 3.6vw, 1.1875rem);
  line-height: 1.45;
  color: var(--text-soft);
}

/* --- cards "o que a Leitura olha" ---------------------------------------- */

.ap-cards {
  display: grid;
  gap: .875rem;
  width: 100%;
  max-width: 980px;
  margin-top: 2.5rem;
}

@media (min-width: 40rem) { .ap-cards { grid-template-columns: repeat(3, 1fr); } }

.ap-cards__item {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-item);
}

.ap-cards__name {
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.018em;
  color: var(--gold);
}

.ap-cards__desc {
  font-size: .6875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* --- rodape --------------------------------------------------------------- */

.ap-foot {
  border-top: 1px solid var(--line);
  padding-block: 2rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
}

.ap-foot .ap-wrap { align-items: flex-start; max-width: calc(760px + var(--gutter) * 2); }

.ap-foot__name { font-size: .875rem; font-weight: 600; }

.ap-foot__fine {
  margin-top: .75rem;
  font-size: .75rem;
  line-height: 1.6;
  color: var(--text-mute);   /* #6b6b6e da referencia fica abaixo de 4.5:1 aqui */
}

/* ==========================================================================
   Blocos da página de vendas ROOTS (2026-10-08)
   ========================================================================== */

.ap-eyebrow {
  margin-bottom: 1rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold);
}

.ap-lede--soft { color: var(--text-mute); }
.ap-lede--sub { margin-top: 2.5rem; color: var(--text); font-weight: 500; }

.ap-tagline {
  margin-top: 1.5rem;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-align: center;
  color: var(--gold-light);
}

/* Destaques em pílula */
.ap-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: 2rem;
  max-width: 760px;
}

.ap-chips li {
  padding: .45rem .9rem;
  border: 1px solid rgba(229, 172, 76, .35);
  border-radius: 999px;
  background: rgba(229, 172, 76, .06);
  font-size: .8125rem;
  color: var(--gold-light);
}

.ap-fine {
  font-size: .8125rem;
  line-height: 1.55;
  color: var(--text-mute);
}

.ap-block .ap-title { max-width: 22ch; }

/* Cards com texto corrido (metodologia, benefícios, entregáveis) */
.ap-cards--text .ap-cards__item { gap: .65rem; }
.ap-cards--text .ap-cards__name { font-size: 1.25rem; line-height: 1.2; }
.ap-cards__num {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--text-mute);
}
.ap-cards__text {
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--text-soft);
}

/* Lista "para quem é" */
.ap-checks { display: grid; gap: .65rem; }
.ap-checks li {
  position: relative;
  padding-left: 1.85rem;
  color: #e7e7e7;
}
.ap-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: rgba(229, 172, 76, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 7 11l5-6' fill='none' stroke='%23e5ac4c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / .8rem no-repeat;
}

/* Comparativo sem direcionamento x com a ROOTS */
.ap-compare {
  display: grid;
  gap: .875rem;
  width: 100%;
  max-width: 980px;
  margin-top: 2.5rem;
}
@media (min-width: 46rem) { .ap-compare { grid-template-columns: 1fr 1fr; } }

.ap-compare__col {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-item);
  background: var(--surface);
}
.ap-compare__col--com { border-color: rgba(229, 172, 76, .45); background: rgba(229, 172, 76, .05); }
.ap-compare__head { margin-bottom: 1rem; font-weight: 600; color: var(--text); }
.ap-compare__list { display: grid; gap: .6rem; }
.ap-compare__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .9375rem;
  line-height: 1.5;
  color: #d4d4d4;
}
.ap-compare__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.ap-compare__list--sem li { color: var(--text-mute); }
.ap-compare__list--sem li::before { content: "\00D7"; color: var(--text-faint); }

/* Linha do tempo das fases */
.ap-timeline {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  width: 100%;
  max-width: 760px;
  display: grid;
  gap: 1rem;
}
.ap-timeline li {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius-item) var(--radius-item) 0;
  background: var(--surface);
}
.ap-timeline__tag {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.ap-timeline strong { font-size: 1.0625rem; font-weight: 600; color: var(--text); }
.ap-timeline li > span:last-child { font-size: .9375rem; line-height: 1.6; color: var(--text-soft); }
.ap-timeline + .ap-prose { margin-top: 1.5rem; }

/* Bônus */
.ap-bonus {
  display: grid;
  gap: .875rem;
  width: 100%;
  max-width: 980px;
  margin-top: 2.5rem;
}
@media (min-width: 52rem) { .ap-bonus { grid-template-columns: repeat(3, 1fr); } }
.ap-bonus li {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-item);
  background: var(--surface);
}
.ap-bonus__tag {
  align-self: flex-start;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: var(--gold-grad);
  color: var(--on-gold);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ap-bonus strong { font-size: 1.125rem; font-weight: 600; color: var(--gold); }
.ap-bonus__sub { font-size: .875rem; color: var(--text); }
.ap-bonus em { font-size: .875rem; color: var(--gold-light); }
.ap-bonus li > span:last-child { font-size: .875rem; line-height: 1.55; color: var(--text-soft); }

/* Empilhamento da oferta */
.ap-offer {
  width: 100%;
  max-width: 640px;
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid rgba(229, 172, 76, .45);
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(229, 172, 76, .10), rgba(229, 172, 76, 0) 70%),
    var(--surface);
}
.ap-offer__name {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-align: center;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ap-offer__sub { margin-top: .35rem; font-size: .875rem; text-align: center; color: var(--text-soft); }
.ap-offer__group {
  margin-top: 1.5rem;
  margin-bottom: .6rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.ap-offer__list { display: grid; gap: .45rem; }
.ap-offer__list li { position: relative; padding-left: 1.5rem; font-size: .9375rem; color: #e7e7e7; }
.ap-offer__list li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.ap-offer__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.ap-offer__label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); }
.ap-offer__value { font-size: clamp(2.25rem, 9vw, 3rem); font-weight: 600; letter-spacing: -.02em; color: var(--text); }
.ap-offer__terms { max-width: 46ch; font-size: .8125rem; line-height: 1.5; color: var(--text-mute); }
.ap-offer .ap-act { margin-top: 1.5rem; }

/* Perguntas frequentes */
.ap-faq { width: 100%; max-width: 760px; margin-top: 2rem; display: grid; gap: .65rem; }
.ap-faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-item);
  background: var(--surface);
}
.ap-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.ap-faq summary::-webkit-details-marker { display: none; }
.ap-faq summary::after { content: "+"; flex: none; font-size: 1.25rem; color: var(--gold); transition: transform 200ms var(--ease-out); }
.ap-faq details[open] summary::after { transform: rotate(45deg); }
.ap-faq details p { padding: 0 1.25rem 1.2rem; font-size: .9375rem; line-height: 1.6; color: var(--text-soft); }

/* Ilustracoes explicativas (arvore, jornada, linha do tempo). SVG inline,
   no mesmo grafite e dourado da pagina. Explicam; nao enfeitam. */
.ap-figure {
  width: 100%;
  max-width: 420px;
  margin: 2.25rem auto 0;
}
.ap-figure--wide { max-width: 560px; }
.ap-figure svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--font);
  overflow: visible;
}
.ap-figure figcaption {
  margin-top: .85rem;
  font-size: .8125rem;
  text-align: center;
  color: var(--text-mute);
}
.ap-figure + .ap-cards,
.ap-figure + .ap-timeline { margin-top: 2rem; }

/* ==========================================================================
   Versao V3 (estrutura Mentoria Shortcut): primeira dobra em 2 colunas,
   dores em cards com check, aplicacao em 2 passos.
   ========================================================================== */

.ap-v3hero { padding-top: clamp(2rem, 6vh, 4rem); }
.ap-v3hero__grid { gap: 1.5rem; }
@media (min-width: 60rem) {
  .ap-v3hero__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    max-width: calc(1080px + var(--gutter) * 2);
  }
}
.ap-v3hero__text { display: flex; flex-direction: column; align-items: flex-start; }
.ap-v3hero__text .ap-lede { text-align: left; margin-left: 0; }
.ap-v3hero__visual { margin-top: 0; }
@media (max-width: 59.99rem) { .ap-v3hero__visual { max-width: 300px; margin-top: 1rem; } .ap-v3hero__visual figcaption { display: none; } }

.ap-eyebrow--line {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-align: left;
}
.ap-eyebrow--line::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--gold);
}

.ap-v3title {
  font-size: clamp(2.5rem, 11vw, 4.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: var(--text);
  text-wrap: balance;
}
.ap-v3title__soft { color: var(--text-mute); }
.ap-v3title__gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ap-act--left { align-items: flex-start; }
.ap-act--left .ap-note { text-align: left; }

/* Dores em cards com check */
.ap-checkcards {
  display: grid;
  gap: .75rem;
  width: 100%;
  max-width: 640px;
  margin-top: 2rem;
}
.ap-checkcard {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-item);
  background: var(--surface);
  font-size: 1rem;
  line-height: 1.5;
  color: #e7e7e7;
}
.ap-checkcard__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--gold-grad);
  color: var(--on-gold);
}

/* Passos da aplicacao */
.ap-v3steps {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 1.5rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-faint);
}
.ap-v3steps li { display: flex; align-items: center; gap: .5rem; }
.ap-v3steps li.is-on { color: var(--text); }
.ap-v3steps__dot { width: .5rem; height: .5rem; border-radius: 999px; background: var(--text-faint); }
.ap-v3steps li.is-on .ap-v3steps__dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(229, 172, 76, .18); }

/* Card do passo 2 */
.ap-v3next {
  width: 100%;
  max-width: var(--wrap);
  margin-top: 1rem;
  padding: 1.5rem;
  border: 1px dashed rgba(229, 172, 76, .45);
  border-radius: var(--radius-card);
  background: rgba(229, 172, 76, .04);
  text-align: center;
}
.ap-v3next__tag { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ap-v3next__title { margin-top: .5rem; font-size: 1.0625rem; font-weight: 600; color: var(--text); }
.ap-v3next__text { margin-top: .5rem; font-size: .875rem; line-height: 1.55; color: var(--text-soft); }
body.is-applying .ap-v3next { display: none; }

/* ==========================================================================
   MOBILE FIRST (2026-10-13)
   Auditoria em 360x740: texto de apoio e rotulos abaixo de 14px, caixa da
   LGPD pequena para o dedo, botoes estreitos e o CTA sumindo ao rolar.
   Regras base para o celular; a partir de 30rem volta o desenho de desktop.
   Vale para as quatro versoes (A, B, C, V3) por igual.
   ========================================================================== */

/* Leitura: nada de texto util abaixo de 13px no celular */
.ap-lede { font-size: clamp(1rem, 2.6vw, 1.0625rem); }
.ap-note,
.ap-nav__note { font-size: .8125rem; line-height: 1.45; }
.ap-progress__label { font-size: .8125rem; }
.apf__label { font-size: .875rem; margin-bottom: .45rem; }
.apf__consent { font-size: .875rem; gap: .75rem; }
.apf__consent input { width: 1.375rem; height: 1.375rem; margin-top: .05rem; }
.ap-v3steps { font-size: .875rem; }
.ap-v3next__tag { font-size: .75rem; }
.ap-eyebrow { letter-spacing: .12em; }
@media (min-width: 30rem) { .ap-eyebrow { letter-spacing: .16em; } }

/* Botoes: largura total no celular, faceis para o polegar */
.ap-act { width: 100%; }
.ap-act .ap-cta {
  width: 100%;
  justify-content: space-between;
  min-height: 3.5rem;
}
@media (min-width: 30rem) {
  .ap-act { width: auto; }
  .ap-act .ap-cta { width: auto; justify-content: center; }
}

/* Arvore menor no celular, para nao empurrar o conteudo */
@media (max-width: 29.99rem) {
  .ap-figure:not(.ap-figure--wide) { max-width: 300px; }
  .ap-v3hero__visual { max-width: 240px; }
}

/* Barra fixa com o CTA no celular: aparece quando o botao do topo sai da tela
   e some quando a aplicacao esta visivel ou em andamento. */
.ap-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(19, 19, 22, 0), rgba(19, 19, 22, .92) 35%);
  transform: translateY(110%);
  transition: transform 260ms var(--ease-out);
  pointer-events: none;
}
.ap-sticky.is-on { transform: none; pointer-events: auto; }
.ap-sticky .ap-cta { width: 100%; justify-content: space-between; min-height: 3.25rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
body.is-applying .ap-sticky { display: none; }
@media (min-width: 48rem) { .ap-sticky { display: none; } }
@media (prefers-reduced-motion: reduce) { .ap-sticky { transition: none; } }
