/* Home V2 closing section: one question, two routes (team demo and agent).
   Built by site_edition/final_contact.py. The older #contato and
   .mix-final-cta rules (landing-sections, querio, fusion, text-contrast,
   mobile-refinement) style every button and paragraph in the section; the
   cards below restate their own type and controls with a stronger selector. */

html[data-querio-preview][data-fusion] #contato.fc-final .mix-final-cta-inner {
  max-width: 1080px !important;
  margin-inline: auto !important;
}

html[data-querio-preview][data-fusion] #contato.fc-final .fc-lead {
  max-width: 620px !important;
  margin: 20px auto 0 !important;
  text-wrap: balance;
}

#contato.fc-final .fc-routes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: stretch;
  margin-top: 40px;
  text-align: left;
}

/* Frame + card, the same double border the other home chapters use. */
#contato.fc-final .fc-route {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px 30px 26px;
  border: 1px solid #d6c6e3;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 0 9px color-mix(in srgb, #fff 42%, transparent), 0 0 0 10px #d6c6e3;
  margin: 10px;
}

html[data-querio-preview][data-fusion] #contato.fc-final .fc-route .fc-kicker {
  display: flex !important;
  align-items: center;
  gap: 10px;
  max-width: none !important;
  margin: 0 0 18px !important;
  color: #7a5f88 !important;
  font: 500 11px/1.2 "DM Mono", ui-monospace, monospace !important;
  letter-spacing: .08em !important;
  text-transform: uppercase;
}

#contato.fc-final .fc-kicker > span {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 20px;
  padding-inline: 5px;
  border: 1px solid #d9c8e6;
  border-radius: 3px;
  color: #6c2fb0;
  background: #f6f0fb;
  letter-spacing: .04em;
}

html[data-querio-preview][data-fusion] #contato.fc-final .fc-route h3 {
  margin: 0 !important;
  color: #33213d !important;
  font: 500 23px/1.25 Inter, Arial, sans-serif !important;
  letter-spacing: -.02em !important;
  text-wrap: balance;
}

html[data-querio-preview][data-fusion] #contato.fc-final .fc-route > p:not(.fc-kicker) {
  max-width: 44ch !important;
  margin: 12px 0 0 !important;
  color: #64506e !important;
  font: 400 15px/1.6 Inter, Arial, sans-serif !important;
}

#contato.fc-final .fc-route-foot {
  margin-top: auto;
  padding-top: 26px;
}

/* Route 1: the demo button keeps the section's dark, square call. */
html[data-querio-preview][data-fusion] #contato.fc-final .fc-team-button {
  margin: 0 !important;
  min-height: 46px !important;
  padding: 0 20px !important;
  gap: 14px !important;
  border-radius: 0 !important;
  background: #38273f !important;
  color: #fff !important;
  font: 600 14px/1 Inter, Arial, sans-serif !important;
}

html[data-querio-preview][data-fusion] #contato.fc-final .fc-note {
  justify-content: flex-start !important;
  align-items: flex-start !important;
  text-align: left !important;
  margin: 14px 0 0 !important;
}

/* The "or" between the two routes. */
#contato.fc-final .fc-or {
  position: relative;
  display: grid;
  place-items: center;
}

#contato.fc-final .fc-or::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  border-left: 1px dashed #c6b0d6;
}

#contato.fc-final .fc-or > span {
  position: relative;
  padding: 6px 0;
  color: #7a5f88;
  background: color-mix(in srgb, var(--soceo-violet-100, #ede4fb) 83%, var(--soceo-violet-400, #9c6bff));
  font: italic 400 19px/1 "Instrument Serif", Georgia, serif;
}

/* Route 2: the agent prompt. */
#contato.fc-final .fc-agent-marks {
  gap: 8px;
  margin-bottom: 12px;
}

#contato.fc-final .fc-agent-marks img {
  width: 18px;
  height: 18px;
}

#contato.fc-final .fc-command-row {
  min-height: 58px;
  gap: 10px;
  padding: 7px 7px 7px 14px;
  border-radius: 6px;
  background: #f3eff6;
}

html[data-querio-preview][data-fusion] #contato.fc-final .fc-command-row > code {
  font: 11px/1.6 "DM Mono", ui-monospace, monospace !important;
  color: #5c4b67 !important;
}

/* The copy button is a quiet secondary control, not the section's call. */
html[data-querio-preview][data-fusion] #contato.fc-final .ac-copy-button {
  margin: 0 !important;
  min-width: 92px !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  gap: 8px !important;
  border: 1px solid #e2d8ea !important;
  border-radius: 5px !important;
  background: #fff !important;
  color: #4c3b57 !important;
  box-shadow: none !important;
  font: 500 12px/1 Inter, Arial, sans-serif !important;
  transform: none !important;
}

html[data-querio-preview][data-fusion] #contato.fc-final .ac-copy-button:hover {
  background: #efe5f8 !important;
  color: #55208c !important;
}

html[data-querio-preview][data-fusion] #contato.fc-final .ac-copy-button[data-copied] {
  color: #6f36a4 !important;
  background: #eee5f7 !important;
}

html.mix-lp-anim #contato.fc-final .ac-copy-button::after {
  content: none !important;
}

html[data-querio-preview][data-fusion] #contato.fc-final .ac-copy-button span {
  color: inherit !important;
  transform: none !important;
}

@media (max-width: 900px) {
  #contato.fc-final .fc-routes {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 30px;
  }

  #contato.fc-final .fc-route {
    padding: 24px 20px 20px;
  }

  #contato.fc-final .fc-or {
    height: 40px;
  }

  #contato.fc-final .fc-or::before {
    top: 50%;
    bottom: auto;
    left: 18px;
    right: 18px;
    border-left: 0;
    border-top: 1px dashed #c6b0d6;
  }

  #contato.fc-final .fc-or > span {
    padding: 0 10px;
  }

  html[data-querio-preview][data-fusion] #contato.fc-final .fc-route h3 {
    font-size: 20px !important;
  }

  html[data-querio-preview][data-fusion] #contato.fc-final .fc-route > p:not(.fc-kicker) {
    font-size: 14px !important;
  }

  html[data-querio-preview][data-fusion] #contato.fc-final .fc-command-row > code {
    font-size: 10px !important;
    overflow-wrap: anywhere;
  }
}

/* Nova id (03/12/2026, a pedido do Pueblo): o fechamento tem a cara da
   primeira dobra da home, claro, para descolar do rodapé azul-marinho logo
   abaixo. Mesma receita do hero: papel #faf8fb com a grade fina de 32 px,
   a constelação de pontos nas bordas, título Bricolage escuro e, desenhados
   pelo editorial-layout.js, a órbita à esquerda, a rede à direita e as
   linhas que abraçam o bloco e descem para o rodapé. Sem serifa. */
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final {
  isolation: isolate;
  overflow: hidden;
  background-color: #faf8fb !important;
  background-image: linear-gradient(#c3b4cf1b 1px, transparent 1px), linear-gradient(90deg, #c3b4cf1b 1px, transparent 1px) !important;
  background-size: 32px 32px !important;
  background-position: 50% 0 !important;
  color: #221c2d !important;
  padding: 92px 42px 118px !important;
}
/* The hero's constellation, still: dots at the edges, clear around the text. */
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(52, 60, 237, .34) 1.3px, transparent 2.2px),
    radial-gradient(circle at 70% 65%, rgba(21, 21, 23, .25) 1px, transparent 1.8px),
    radial-gradient(circle at 45% 82%, rgba(52, 60, 237, .22) 1px, transparent 1.7px) !important;
  background-size: 150px 150px, 190px 190px, 230px 230px !important;
  -webkit-mask-image: radial-gradient(ellipse at 50% 42%, transparent 30%, #000 74%);
  mask-image: radial-gradient(ellipse at 50% 42%, transparent 30%, #000 74%);
  opacity: .6 !important;
  animation: none !important;
}
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .mix-final-cta-inner { position: relative; z-index: 1; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .mix-section-eyebrow { color: #61506c !important; font: 500 11px/1.4 "DM Mono", ui-monospace, monospace !important; letter-spacing: .08em !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .mix-section-eyebrow::before { display: none !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home][data-fusion-home] #contato.fc-final h2 { font-size: 56px !important; line-height: 1.04 !important; letter-spacing: -.035em !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home][data-fusion-home] #contato.fc-final h2, html[data-querio-preview][data-fusion] [data-soceo-agent-home][data-fusion-home] #contato.fc-final h2 .fusion-sans { color: #221c2d !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home][data-fusion-home] #contato.fc-final h2 em { color: #372640 !important; font-style: normal !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-lead { color: #5d5263 !important; font-size: 18px !important; line-height: 1.8 !important; }

/* The two routes: panel cards with the hero buttons' double ring. */
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-routes { margin-top: 50px; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-route {
  border: 1px solid #ddd2e4;
  border-radius: 4px;
  background: #fffefd;
  box-shadow: 0 0 0 6px rgba(255, 254, 253, .72), 0 0 0 7px #e6dcea, 0 26px 48px -34px rgba(41, 33, 57, .42);
}
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-route .fc-kicker { color: #6728d4 !important; }
/* Two alternatives, not a sequence: no 01 / 02. */
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-kicker > span { display: none; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home][data-fusion-home] #contato.fc-final .fc-route h3 {
  color: #292139 !important;
  font: 600 24px/1.2 "Bricolage Grotesque", Inter, Arial, sans-serif !important;
  letter-spacing: -.025em !important;
}
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-route > p:not(.fc-kicker) { color: #62576e !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-team-button {
  border-radius: 0 !important;
  background: #111c3b !important;
  color: #fff !important;
  outline: 1px solid #111c3b !important;
  outline-offset: 3px !important;
  transition: background-color .18s ease;
}
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-team-button:hover { background: #22305c !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-team-button:focus-visible,
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .ac-copy-button:focus-visible { outline: 2px solid #6728d4 !important; outline-offset: 3px !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-note,
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-note span { color: #62576e !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-command-row { background: #eee8f4; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-command-row > code,
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .ac-command-prefix { color: #62576e !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .ac-copy-button { border-color: #d8cfe0 !important; background: #fffefd !important; color: #292139 !important; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .ac-copy-button:hover { background: #fffefd !important; border-color: #b4a2c3 !important; color: #6728d4 !important; }

/* "ou": the site's mono label on a light dashed rule, no serif. */
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-or::before { border-left-color: #d8cfe0; border-top-color: #d8cfe0; }
html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-or > span {
  padding: 8px 0;
  background: #faf8fb;
  color: #8b7d96 !important;
  font: 500 12px/1 "DM Mono", ui-monospace, monospace;
  letter-spacing: .06em;
}

@media (max-width: 900px) {
  html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final { padding: 64px 20px 84px !important; }
  html[data-querio-preview][data-fusion] [data-soceo-agent-home][data-fusion-home] #contato.fc-final h2 { font-size: 38px !important; }
  html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-lead { font-size: 16px !important; }
  html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-routes { margin-top: 34px; }
  html[data-querio-preview][data-fusion] [data-soceo-agent-home] #contato.fc-final .fc-or > span { padding: 0 10px; }
  html[data-querio-preview][data-fusion] [data-soceo-agent-home][data-fusion-home] #contato.fc-final .fc-route h3 { font-size: 21px !important; }
}
