/* Agende uma conversa, design system novo (01/10/2026). Casca das paginas
   claras (estrutura.css); aqui so o heroi com o formulario. */

/* ---------- heroi: texto e passos a esquerda, formulario a direita ------- */
.ag-grade { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 60rem) {
  .ag-grade { grid-template-columns: minmax(0, 1fr) minmax(0, 33rem); column-gap: clamp(3rem, 6vw, 6rem); align-items: start; }
}
.ag-texto { display: grid; justify-items: start; align-content: start; }
.ag-h1 {
  margin: 0; max-width: 14ch; text-wrap: balance;
  font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: 1.04;
}
.ag-h1 > span { display: block; }
.ag-lead { margin: clamp(1.25rem, 2.2vw, 1.75rem) 0 0; max-width: 32rem; }

/* sublinhado desenhado da esquerda para a direita, como nas solucoes */
.ag-h1 u {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 92% / 100% .055em;
}
@media (prefers-reduced-motion: no-preference) {
  .ag-h1 u { background-size: 0% .055em; animation: ag-sublinha .9s cubic-bezier(.65, 0, .35, 1) .45s forwards; }
}
@keyframes ag-sublinha { to { background-size: 100% .055em; } }

.ag-depois { margin-top: clamp(2.5rem, 4vw, 3.5rem); width: 100%; max-width: 32rem; }
.ag-depois .o-eyebrow { margin: 0 0 1rem; }
.ag-passos { list-style: none; margin: 0; padding: 0; display: grid; }
.ag-passo { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(28,28,28,.1); }
.ag-passo:last-child { border-bottom: 1px solid rgba(28,28,28,.1); }
.ag-passo__n {
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 8px;
  background: var(--os-branco); font-family: var(--octos-font-mono); font-weight: 400; font-size: 12px; letter-spacing: -.02em; color: var(--os-preto);
}
.ag-passo__t { margin: 0; font-weight: 500; font-size: 1rem; line-height: 1.4; color: var(--os-preto); }
.ag-passo__d { margin: .25rem 0 0; font-size: .9375rem; line-height: 1.5; color: var(--o-preto-m2); }

/* ---------- formulario --------------------------------------------------- */
.ag-painel {
  position: relative; scroll-margin-top: 6rem;
  padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 8px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -24px rgba(28,28,28,.22);
}
.ag-form { display: grid; gap: 1.25rem; }
.ag-form__cab { display: grid; gap: .375rem; margin-bottom: .25rem; }
.ag-form__tit { margin: 0; font-family: var(--octos-font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.02em; color: var(--os-preto); }
.ag-linha { display: grid; gap: 1.25rem; }
@media (min-width: 36rem) { .ag-linha { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ag-campo { display: grid; gap: .5rem; align-content: start; min-width: 0; }
.ag-campo > label {
  font-family: var(--octos-font-mono); font-weight: 400; font-size: 12px; line-height: 1.2;
  text-transform: uppercase; letter-spacing: -.02em; color: var(--o-preto-m2);
}
.ag-in {
  width: 100%; min-width: 0; height: 3rem; padding: 0 1rem; margin: 0;
  font-family: var(--octos-font-body); font-size: 1rem; color: var(--os-preto);
  background: var(--os-branco); border: 1px solid rgba(28,28,28,.14); border-radius: 8px;
  transition: border-color var(--octos-dur-base) var(--octos-ease), box-shadow var(--octos-dur-base) var(--octos-ease);
}
.ag-in::placeholder { color: #9A9A97; }
.ag-in:hover { border-color: rgba(28,28,28,.3); }
.ag-in:focus { outline: none; border-color: var(--os-preto); box-shadow: 0 0 0 3px rgba(28,28,28,.1); }
.ag-in[aria-invalid="true"] { border-color: #C8452B; box-shadow: 0 0 0 3px rgba(200,69,43,.12); }
.ag-in--texto { height: auto; min-height: 7rem; padding: .875rem 1rem; line-height: 1.5; resize: vertical; }
.ag-in--sel {
  -webkit-appearance: none; appearance: none; padding-right: 2.75rem; cursor: pointer;
  background: var(--os-branco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231C1C1C'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E") no-repeat right 1rem center / 12px;
}
.ag-in--sel:invalid { color: #9A9A97; }
.ag-tel { display: flex; min-width: 0; }
.ag-tel__ddi {
  display: grid; place-items: center; flex: none; padding: 0 .875rem;
  font-family: var(--octos-font-mono); font-weight: 400; font-size: 13px; letter-spacing: -.02em; color: var(--o-preto-m2);
  background: var(--os-fundo); border: 1px solid rgba(28,28,28,.14); border-right: 0; border-radius: 8px 0 0 8px;
}
.ag-tel .ag-in { border-radius: 0 8px 8px 0; }
.ag-dica { margin: 0; font-size: .8125rem; line-height: 1.4; color: #6E6E6B; }
.ag-check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: start; font-size: .875rem; line-height: 1.5; color: var(--o-preto-m2); cursor: pointer; }
.ag-check input { width: 1.125rem; height: 1.125rem; margin: .125rem 0 0; accent-color: var(--os-preto); }
.ag-erro { margin: 0; font-size: .875rem; color: #B23B22; }
.ag-enviar { justify-self: stretch; justify-content: center; }
.ag-feito { display: grid; gap: .75rem; }
.ag-feito p { margin: 0; color: var(--o-preto-m2); }
.ag-feito:focus { outline: none; }

/* ---------- na operacao -------------------------------------------------- */
.ag-ganhos { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .ag-ganhos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ag-ganho h3 { margin: 0 0 .75rem; font-family: var(--octos-font-display); font-weight: 500; font-size: 1.25rem; letter-spacing: -.02em; }
.ag-ganho p { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--o-preto-m2); }

/* o atributo hidden vence o display dos blocos acima */
.ag-form[hidden], .ag-feito[hidden], .ag-erro[hidden] { display: none; }
/* botao do formulario no preto da casa, como o do heroi dos comparativos */
.mn .ag-enviar { background: var(--os-preto); border-color: transparent; color: var(--os-branco); }
.mn .ag-enviar:hover { background: #333331; }
/* o heroi aqui e mais baixo que o dos comparativos: o formulario ja e alto */
.os-nav-flutua .mn-hero.ag-topo { padding-top: calc(var(--os-nav-h) + clamp(3rem, 7vw, 5.5rem)); }
.ag-lead { justify-self: start; }
/* rotulo simples: o .o-eyebrow ganha o enfeite de indice da marca */
.ag-rot { margin: 0 0 1rem; font-family: var(--octos-font-mono); font-weight: 400; font-size: 12px; line-height: 1.2; text-transform: uppercase; letter-spacing: -.02em; color: var(--o-preto-m2); }
/* o .os-hero .o-lead da marca centra o texto com margin-inline: auto */
.ag-topo .ag-lead { margin-inline: 0; }

/* ---------- grafismo so do lado direito (01/10/2026) --------------------- */
.mn-hero.ag-topo > .o-aurora.os-aurora {
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, transparent 38%, rgba(0,0,0,.5) 52%, #000 66%),
    linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,.4) 80%, transparent 100%);
          mask-image:
    linear-gradient(90deg, transparent 0%, transparent 38%, rgba(0,0,0,.5) 52%, #000 66%),
    linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,.4) 80%, transparent 100%);
}
.mn-hero.ag-topo > .o-aurora.os-aurora .os-dots--arc {
  width: 72%; left: auto; right: -14%; translate: none; top: -22%;
}
@media (max-width: 59.99rem) {
  .mn-hero.ag-topo > .o-aurora.os-aurora .os-dots--arc { width: 130%; right: -45%; top: -8rem; }
}

/* ---------- rodape escuro ------------------------------------------------ */
.mn.ag .mn-footer { background: #121212; border-top-color: rgba(255,255,255,.08); }
.mn.ag .mn-footer__logo { color: var(--os-branco); }
.mn.ag .mn-footer__row { border-top-color: rgba(255,255,255,.1); }
.mn.ag .mn-footer .mn-indice__tit, .mn.ag .mn-footer .mn-footer__txt { color: rgba(255,255,255,.5); }
.mn.ag .mn-footer .mn-indice li, .mn.ag .mn-footer .mn-indice a { color: rgba(255,255,255,.78); text-decoration: none; }
.mn.ag .mn-footer .mn-indice a:hover { color: var(--os-branco); }
/* maior e mais para a direita, sangrando pela borda (01/10/2026) */
.mn-hero.ag-topo > .o-aurora.os-aurora .os-dots--arc { width: 105%; right: -42%; top: -30%; }
.mn-hero.ag-topo > .o-aurora.os-aurora {
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, transparent 45%, rgba(0,0,0,.5) 58%, #000 72%),
    linear-gradient(180deg, #000 0%, #000 60%, rgba(0,0,0,.4) 82%, transparent 100%);
          mask-image:
    linear-gradient(90deg, transparent 0%, transparent 45%, rgba(0,0,0,.5) 58%, #000 72%),
    linear-gradient(180deg, #000 0%, #000 60%, rgba(0,0,0,.4) 82%, transparent 100%);
}
@media (max-width: 59.99rem) {
  .mn-hero.ag-topo > .o-aurora.os-aurora .os-dots--arc { width: 170%; right: -80%; top: -10rem; }
}
.mn-hero.ag-topo > .o-aurora.os-aurora .os-dots--arc { width: 125%; right: -58%; top: -8%; }
/* o arco e um anel: o lado esquerdo dele entra pela borda direita da tela e
   corre de cima a baixo do heroi; o resto do anel fica fora */
@media (min-width: 60rem) {
  .mn-hero.ag-topo > .o-aurora.os-aurora .os-dots--arc { width: 90vw; right: -66vw; top: -36vw; }
}
@media (min-width: 60rem) {
  .mn-hero.ag-topo > .o-aurora.os-aurora .os-dots--arc { width: 125vw; right: -101vw; top: -59vw; }
}
/* um pouco menor e um pouco mais para dentro */
@media (min-width: 60rem) {
  .mn-hero.ag-topo > .o-aurora.os-aurora .os-dots--arc { width: 108vw; right: -79vw; top: -48vw; }
}
