/* ==========================================================================
   Kontrolo BPO Financeiro
   --------------------------------------------------------------------------
   Ordem do arquivo:
     1. Tokens            6. Rodape
     2. Base e acesso     7. Secoes da home
     3. Layout            8. Paginas internas
     4. Componentes       9. Responsivo
     5. Cabecalho
   Regra de cor: o verde (--green) e exclusivo dos canais de WhatsApp.
   ========================================================================== */

/* 1. Tokens ============================================================== */

:root {
  --ink: #171717;
  --ink-soft: #0e0e0e;
  --orange: #f65b2a;
  --orange-light: #ff936f;
  --mist: #f4f4f2;
  --sand: #fff0eb;
  --line: #dededb;
  --line-dark: #4d4d4b;
  --muted: #6c6c69;
  --faint: #70706d;
  --muted-dark: #b6b6b3;
  --green: #25d366;

  --font-sans: Manrope, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;

  --shell: 1140px;
  --gutter: 48px;
}

/* 2. Base e acessibilidade =============================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* Explicito: sem isso o navegador em modo escuro pinta o fundo do canvas
     de preto e o cabecalho fica com a marca escura sobre preto. */
  background: #fff;
  color: var(--ink);
  color-scheme: light;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* Alvos de ancora nao podem ficar sob o cabecalho ao rolar. */
[id] {
  scroll-margin-top: 90px;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 14px 20px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* 3. Layout ============================================================== */

.container {
  width: min(var(--shell), calc(100% - var(--gutter)));
  margin-inline: auto;
}

.section {
  padding: 120px 0;
}

.section-mist {
  background: var(--mist);
}

.section-dark {
  background: var(--ink);
  color: #fff;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
}

.section-head h2 {
  max-width: 700px;
  margin: 0;
  font-size: 45px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.062em;
}

.section-head h2 em {
  font-weight: 400;
}

.section-head > p {
  max-width: 305px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.section-dark .section-head > p {
  color: var(--muted-dark);
}

/* 4. Componentes ========================================================= */

.kicker {
  margin: 0 0 17px;
  color: var(--orange);
  font: 500 11px var(--font-mono);
  letter-spacing: 0.11em;
}

.section-dark .kicker {
  color: var(--orange-light);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button i {
  font-size: 17px;
  font-style: normal;
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-orange {
  background: var(--orange);
  color: #fff;
}

.button-line {
  border: 1px solid var(--ink);
}

.button-white {
  background: #fff;
  color: var(--ink);
}

.button-whatsapp {
  background: var(--green);
  color: #fff;
  white-space: nowrap;
}

.button-whatsapp img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.simple-link {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.simple-link span {
  margin-left: 7px;
  font-size: 16px;
}

.simple-link:hover {
  color: var(--orange);
}

.section-dark .simple-link {
  color: #fff;
  border-color: #fff;
}

.section-dark .simple-link:hover {
  color: var(--orange-light);
}

/* Botao flutuante de WhatsApp, presente em todas as paginas. */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-radius: 30px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 25px #0003;
}

.whatsapp-float img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.whatsapp-float span {
  font-size: 11px;
  font-weight: 800;
}

/* 5. Cabecalho =========================================================== */

.notice {
  height: 34px;
  background: var(--ink);
  color: #fff;
  font: 10px var(--font-mono);
  letter-spacing: 0.08em;
}

.notice .container {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.notice a {
  opacity: 0.8;
}

.notice a:hover {
  opacity: 1;
}

.header {
  display: flex;
  height: 100px;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  display: block;
  width: 148px;
  height: 52px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
  font-weight: 800;
}

.nav-links > a:not(.button):hover,
.nav-links > a[aria-current="page"] {
  color: var(--orange);
}

.menu-toggle {
  display: none;
  padding: 7px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px;
  background: var(--ink);
}

/* 6. Rodape ============================================================== */

.site-footer {
  background: var(--ink-soft);
  color: #9a9a97;
  font-size: 12px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding: 66px 0 52px;
}

.footer-brand img {
  display: block;
  width: 138px;
  height: 48px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 260px;
  margin: 20px 0 0;
  line-height: 1.75;
}

.site-footer h3 {
  margin: 0 0 18px;
  color: #fff;
  font: 500 10px var(--font-mono);
  letter-spacing: 0.11em;
}

.footer-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.5;
}

.footer-list a:hover {
  color: var(--orange-light);
}

.footer-legal {
  padding: 22px 0 30px;
  border-top: 1px solid #262626;
  line-height: 1.9;
}

.footer-legal .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 28px;
  font-size: 11px;
}

.footer-legal strong {
  color: #cfcfcc;
  font-weight: 500;
}

/* Marcador visual dos dados institucionais ainda nao preenchidos. */
.pendente {
  color: #9a9a97;
  font-style: normal;
}

/* 7. Secoes da home ====================================================== */

/* 7.1 Hero --------------------------------------------------------------- */

.hero {
  padding: 64px 0;
  background: var(--mist);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  gap: 74px;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(39px, 5vw, 65px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.068em;
}

.hero h1 em {
  font-weight: 400;
}

.hero-copy > p:not(.kicker) {
  max-width: 530px;
  margin: 25px 0 30px;
  color: #555552;
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 27px;
  align-items: center;
}

.hero-reassure {
  margin: 28px 0 0;
  color: #6b6b68;
  font: 10px var(--font-mono);
  letter-spacing: 0.06em;
}

/* Painel ilustrativo de fluxo de caixa. */
.cash-panel {
  padding: 29px 31px;
  border-top: 3px solid var(--orange);
  background: #fff;
  box-shadow: 0 18px 38px #0000000b;
}

.cash-head {
  display: flex;
  justify-content: space-between;
  font: 10px var(--font-mono);
  letter-spacing: 0.07em;
}

.cash-head b {
  color: #696966;
  font-weight: 500;
}

.cash-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 25px 0 21px;
}

.cash-total small,
.cash-summary small {
  display: block;
  color: #80807d;
  font: 9px var(--font-mono);
  letter-spacing: 0.06em;
}

.cash-total strong {
  display: block;
  margin-top: 5px;
  font-size: 28px;
  letter-spacing: -0.06em;
}

.cash-total strong span {
  font-size: 15px;
}

.cash-total em {
  margin-bottom: 5px;
  color: #249359;
  font: 10px var(--font-mono);
  font-style: normal;
}

.cash-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cash-summary div {
  padding: 13px 0;
}

.cash-summary div + div {
  padding-left: 17px;
  border-left: 1px solid var(--line);
}

.cash-summary strong {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  letter-spacing: -0.03em;
}

.cash-chart {
  position: relative;
  height: 95px;
  margin-top: 16px;
  overflow: hidden;
}

.cash-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.chart-grid {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 30px, #ededeb 31px);
}

.cash-foot {
  display: flex;
  justify-content: space-between;
  color: #71716e;
  font-size: 10px;
}

.cash-foot i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.cash-foot small {
  color: var(--faint);
}

/* 7.2 Faixa de compromissos --------------------------------------------- */

.pledges {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.pledge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pledge-grid div {
  padding: 26px 26px 26px 0;
  border-right: 1px solid var(--line);
}

.pledge-grid div + div {
  padding-left: 26px;
}

.pledge-grid div:last-child {
  border-right: 0;
}

.pledge-grid b {
  display: block;
  margin-bottom: 7px;
  color: var(--orange);
  font: 500 10px var(--font-mono);
  letter-spacing: 0.09em;
}

.pledge-grid p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

/* 7.3 Beneficios (bloco escuro) ------------------------------------------ */

.benefits-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 55px;
}

.benefits-intro h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.062em;
}

.benefits-intro h2 em {
  font-weight: 400;
}

.benefits-intro > p {
  max-width: 360px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.75;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 53px;
  border-top: 1px solid var(--line-dark);
}

.benefit-grid article {
  min-height: 230px;
  padding: 24px 24px 5px 0;
  border-right: 1px solid var(--line-dark);
}

.benefit-grid article + article {
  padding-left: 24px;
}

.benefit-grid article:last-child {
  border: 0;
}

.benefit-grid span {
  color: var(--orange-light);
  font: 11px var(--font-mono);
}

.benefit-grid h3 {
  margin: 30px 0 11px;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 12px;
  line-height: 1.75;
}

.benefit-close {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
}

.benefit-close strong {
  color: var(--orange-light);
}

.benefit-close span {
  color: #d1d1ce;
}

.benefit-close .simple-link {
  margin-left: auto;
  white-space: nowrap;
}

/* 7.4 Servicos ----------------------------------------------------------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 57px;
  border-top: 1px solid var(--line);
}

.service-grid article {
  min-height: 235px;
  padding: 24px 24px 2px 0;
  border-right: 1px solid var(--line);
}

.service-grid article + article {
  padding-left: 24px;
}

.service-grid article:last-child {
  border-right: 0;
}

.service-grid b {
  color: var(--orange);
  font: 11px var(--font-mono);
}

.service-grid h3 {
  margin: 35px 0 9px;
  font-size: 17px;
  letter-spacing: -0.04em;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* 7.5 Seguranca e custodia ----------------------------------------------- */

.security {
  background: var(--sand);
}

.security-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: start;
}

.security-intro h2 {
  margin: 0;
  font-size: 43px;
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.062em;
}

.security-intro > p:not(.kicker) {
  max-width: 420px;
  margin: 24px 0 28px;
  color: #6a5c57;
  font-size: 14px;
  line-height: 1.75;
}

.security-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e7d2c9;
}

.security-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid #e7d2c9;
}

.security-list .mark {
  color: var(--orange);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.security-list h3 {
  margin: 0 0 6px;
  font-size: 15px;
  letter-spacing: -0.035em;
}

.security-list p {
  margin: 0;
  color: #6a5c57;
  font-size: 13px;
  line-height: 1.65;
}

.security-list .no .mark {
  color: #9a8c86;
}

/* 7.6 Comparativo de custo ---------------------------------------------- */

.compare-table {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  align-items: baseline;
}

.compare-row.head {
  padding: 16px 0;
  font: 500 10px var(--font-mono);
  letter-spacing: 0.09em;
  color: var(--muted);
}

.compare-row.head b:last-child {
  color: var(--orange);
}

.compare-row .label {
  color: var(--muted);
}

.compare-row .a {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.compare-row .b {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.compare-row.total {
  border-bottom: 0;
  padding: 24px 0 0;
  font-size: 16px;
}

.compare-row.total .b {
  color: var(--orange);
  font-size: 22px;
  letter-spacing: -0.05em;
}

.compare-note {
  margin: 20px 0 0;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.7;
}

/* 7.7 Planos ------------------------------------------------------------- */

.plans-head {
  margin-bottom: 47px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 31px;
  background: #fff;
}

.plan-label {
  margin: 0;
  color: var(--orange);
  font: 500 10px var(--font-mono);
  letter-spacing: 0.11em;
}

.plan h3 {
  max-width: 230px;
  margin: 20px 0;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.045em;
}

.price {
  margin: 4px 0 6px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.065em;
}

.price small {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font: 10px var(--font-mono);
  letter-spacing: 0.05em;
}

.price sup {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.price.custom {
  font-size: 29px;
}

.plan-scope {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.plan .button {
  margin-bottom: 24px;
}

.plan ul {
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 12px;
  line-height: 1.6;
}

.plan li {
  padding: 6px 0 6px 22px;
  position: relative;
}

.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}

.plan-featured {
  padding: 29px;
  border: 2px solid var(--orange);
}

.badge {
  position: absolute;
  right: 20px;
  top: 18px;
  color: var(--orange);
  font: 500 9px var(--font-mono);
  letter-spacing: 0.08em;
}

.plan-dark {
  background: var(--ink);
  color: #fff;
}

.plan-dark .price small,
.plan-dark .plan-scope {
  color: #a5a5a2;
}

.plan-dark ul {
  border-color: var(--line-dark);
}

/* Bloco do que nao esta incluso em nenhum plano. */
.plan-exclusions {
  margin-top: 34px;
  padding: 26px 30px;
  border-left: 3px solid var(--orange);
  background: #fff;
}

.plan-exclusions h3 {
  margin: 0 0 14px;
  font-size: 15px;
  letter-spacing: -0.035em;
}

.plan-exclusions ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 34px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.plan-exclusions li {
  padding-left: 20px;
  position: relative;
}

.plan-exclusions li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #b3b3b0;
}

.plan-disclaimer {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

/* 7.8 Como funciona ------------------------------------------------------ */

.process {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 100px;
}

.process-intro h2 {
  margin: 0;
  font-size: 43px;
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.065em;
}

.process-intro > p:not(.kicker) {
  margin: 24px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.process-list b {
  color: var(--orange);
  font: 11px var(--font-mono);
  letter-spacing: 0.06em;
}

.process-list h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -0.04em;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* 7.9 FAQ ---------------------------------------------------------------- */

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
  align-items: start;
}

.faq-intro h2 {
  margin: 0;
  font-size: 43px;
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.065em;
}

.faq-intro > p:not(.kicker) {
  margin: 22px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--orange);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:hover {
  color: var(--orange);
}

.faq-item .answer {
  max-width: 640px;
  margin: 0;
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.faq-item .answer p {
  margin: 0 0 12px;
}

.faq-item .answer p:last-child {
  margin-bottom: 0;
}

/* 7.10 Contato ----------------------------------------------------------- */

.contact {
  padding: 78px 0;
  background: var(--ink);
  color: #fff;
}

.contact-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
}

.contact-pitch h2 {
  max-width: none;
}

.contact h2 {
  max-width: 650px;
  margin: 0;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.065em;
}

.contact h2 + p {
  max-width: 540px;
  margin: 19px 0 0;
  color: #aaa;
  font-size: 13px;
  line-height: 1.7;
}

.contact-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  flex: none;
}

.contact-phone {
  font: 700 13px var(--font-mono);
  text-align: center;
}

.contact-phone small {
  display: block;
  margin-top: 4px;
  color: #929292;
  font: 10px var(--font-sans);
}

/* Canais diretos, ao lado do formulario curto da home. */
.contact-channels {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font: 700 13px var(--font-mono);
}

.contact-channels a:not(.button):hover {
  color: var(--orange-light);
}

.contact-channels small {
  margin-left: 8px;
  color: #929292;
  font: 10px var(--font-sans);
}

/* Formulario curto embutido na secao escura da home. */
.contact-form {
  padding: 32px 34px;
  background: #1f1f1f;
  border-top: 3px solid var(--orange);
}

.contact-form-title {
  margin: 0 0 22px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.contact-form .field {
  margin-bottom: 16px;
}

.contact-form .field label {
  color: #a5a5a2;
}

.contact-form .field input {
  border-color: #3a3a3a;
  background: #171717;
  color: #fff;
}

.contact-form .field input::placeholder {
  color: #6f6f6c;
}

.contact-form .field input:focus {
  border-color: var(--orange);
}

.contact-form .field-consent {
  margin-bottom: 20px;
}

.contact-form .field-consent label {
  color: #a5a5a2;
  font-size: 11px;
}

.contact-form .field-consent a {
  border-bottom: 1px solid currentColor;
}

.contact-form .button {
  width: 100%;
}

.contact-form-note {
  margin: 18px 0 0;
  color: #929292;
  font-size: 11px;
  line-height: 1.7;
}

.contact-form-note a {
  color: var(--orange-light);
  border-bottom: 1px solid currentColor;
}

.contact-form .form-status {
  margin: 0 0 18px;
  border-left-color: var(--orange);
  background: #2a2118;
  color: #e8e8e5;
}

.form-status.is-error {
  border-left-color: #e0483a;
  background: #fdecea;
}

.contact-form .form-status.is-error {
  background: #2e1a18;
}

/* 8. Paginas internas ==================================================== */

.page-hero {
  padding: 82px 0 74px;
  background: var(--mist);
}

.page-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.068em;
}

.page-hero .lead {
  max-width: 640px;
  margin: 26px 0 0;
  color: #555552;
  font-size: 16px;
  line-height: 1.8;
}

/* Coluna de texto corrido das paginas institucionais.
   O limite de largura vai nos filhos, e nao no container, para que a coluna
   comece na mesma margem esquerda do restante do site em vez de centralizar. */
.prose > * {
  max-width: 720px;
}

.prose h2 {
  margin: 52px 0 16px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 32px 0 10px;
  font-size: 16px;
  letter-spacing: -0.035em;
}

.prose p,
.prose li {
  color: #4f4f4d;
  font-size: 14px;
  line-height: 1.85;
}

.prose ul,
.prose ol {
  padding-left: 20px;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--ink);
}

.prose a {
  color: var(--orange);
  border-bottom: 1px solid currentColor;
}

.prose .updated {
  margin: 0 0 34px;
  color: var(--faint);
  font: 10px var(--font-mono);
  letter-spacing: 0.07em;
}

/* Cartoes de valores/metodo em "Quem somos". */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 50px;
}

.value-grid article {
  padding: 30px;
  background: #fff;
  border-top: 3px solid var(--orange);
}

.value-grid h3 {
  margin: 16px 0 10px;
  font-size: 17px;
  letter-spacing: -0.04em;
}

.value-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.value-grid b {
  color: var(--orange);
  font: 11px var(--font-mono);
}

/* Formulario de contato. */
.form-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.wide {
  grid-column: 1 / -1;
}

.field label {
  font: 500 10px var(--font-mono);
  letter-spacing: 0.09em;
  color: #55554f;
}

.field label span {
  color: var(--orange);
}

.field input,
.field select,
.field textarea {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
}

.field-consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
}

.field-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--orange);
}

.field-consent label {
  color: var(--muted);
  font: 12px var(--font-sans);
  line-height: 1.65;
  letter-spacing: 0;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.form-actions .note {
  margin: 0;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.6;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--orange);
  background: var(--sand);
  font-size: 13px;
  line-height: 1.6;
}

.form-status[hidden] {
  display: none;
}

/* Coluna lateral de canais diretos. */
.contact-cards {
  display: grid;
  gap: 14px;
}

.contact-card {
  padding: 26px 28px;
  background: var(--mist);
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: -0.035em;
}

.contact-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.contact-card .value {
  display: block;
  font: 700 15px var(--font-mono);
  letter-spacing: -0.02em;
}

.contact-card .value small {
  display: block;
  margin-top: 5px;
  color: var(--faint);
  font: 10px var(--font-sans);
}

/* Bloco "Onde estamos" com mapa. */
.map-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.map-info h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.062em;
}

.map-lead {
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.map-address {
  padding: 22px 26px;
  border-left: 3px solid var(--orange);
  background: #fff;
  font-size: 14px;
  font-style: normal;
  line-height: 1.75;
}

.map-address strong {
  display: block;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.map-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 26px 0;
}

.map-meta dt {
  margin-bottom: 6px;
  color: var(--orange);
  font: 500 10px var(--font-mono);
  letter-spacing: 0.09em;
}

.map-meta dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.map-frame {
  border-top: 3px solid var(--orange);
  background: #fff;
  box-shadow: 0 18px 38px #0000000b;
  line-height: 0;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* Estado inicial, antes de o visitante pedir o mapa. */
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 420px;
  padding: 32px;
  text-align: center;
  line-height: 1.6;
  /* Malha discreta, o mesmo gesto do grafico de fluxo de caixa. */
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: center;
}

.map-placeholder strong {
  max-width: 320px;
  font-size: 15px;
  letter-spacing: -0.03em;
}

.map-placeholder small {
  max-width: 340px;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.7;
}

.map-placeholder small a {
  border-bottom: 1px solid currentColor;
}

.map-pin {
  width: 18px;
  height: 18px;
  border: 5px solid var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 8px #f65b2a22;
}

/* 9. Responsivo ========================================================== */

@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .security-layout,
  .faq-layout,
  .form-layout,
  .map-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  :root {
    --gutter: 36px;
  }

  .container {
    width: min(100% - var(--gutter), 600px);
  }

  [id] {
    scroll-margin-top: 20px;
  }

  .notice .container {
    justify-content: center;
  }

  .notice span {
    display: none;
  }

  .header {
    height: 78px;
  }

  .brand img {
    width: 124px;
    height: 47px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    z-index: 4;
    top: 112px;
    left: 18px;
    right: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: #fff;
    box-shadow: 0 12px 25px #0002;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links > a:not(.button) {
    padding: 11px;
  }

  .nav-links .button {
    margin-top: 8px;
  }

  .hero {
    padding: 52px 0;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 37px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .hero-copy > p:not(.kicker) {
    font-size: 14px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 18px;
  }

  .cash-panel {
    padding: 25px;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    display: block;
  }

  .section-head h2 {
    font-size: 35px;
  }

  .section-head > p {
    margin: 18px 0 0;
  }

  .pledge-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pledge-grid div {
    padding: 18px 18px 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .pledge-grid div + div {
    padding-left: 18px;
  }

  .pledge-grid div:nth-child(2) {
    border-right: 0;
  }

  .pledge-grid div:nth-child(3) {
    padding-left: 0;
  }

  .pledge-grid div:nth-child(n + 3) {
    border-bottom: 0;
  }

  .benefits-intro {
    display: block;
  }

  .benefits-intro h2 {
    font-size: 35px;
  }

  .benefits-intro > p {
    margin-top: 19px;
  }

  .benefit-grid,
  .service-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 30px;
  }

  .benefit-grid article,
  .service-grid article {
    min-height: 0;
    padding: 18px 18px 26px 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit-grid article {
    border-bottom-color: var(--line-dark);
  }

  .benefit-grid article + article,
  .service-grid article + article {
    padding-left: 18px;
  }

  .benefit-grid article:nth-child(2),
  .service-grid article:nth-child(2) {
    border-right: 0;
  }

  .benefit-grid article:nth-child(3),
  .service-grid article:nth-child(3) {
    padding-left: 0;
  }

  .benefit-grid h3,
  .service-grid h3 {
    margin: 21px 0 8px;
  }

  .benefit-close {
    display: block;
  }

  .benefit-close strong,
  .benefit-close span {
    display: block;
    line-height: 1.6;
  }

  .benefit-close .simple-link {
    margin: 16px 0 0;
  }

  .security-intro h2,
  .process-intro h2,
  .faq-intro h2 {
    font-size: 34px;
  }

  .compare-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .compare-row.head {
    display: none;
  }

  .compare-row .label {
    font: 500 10px var(--font-mono);
    letter-spacing: 0.08em;
  }

  .compare-row .a::before {
    content: "Analista interno: ";
    color: var(--muted);
    font-weight: 400;
  }

  .compare-row .b::before {
    content: "Kontrolo: ";
    color: var(--muted);
    font-weight: 400;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .plans-head {
    margin-bottom: 29px;
  }

  .plan-exclusions ul {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact {
    padding: 58px 0;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact h2 {
    font-size: 34px;
  }

  .contact-form {
    padding: 26px 24px;
  }

  .contact-side {
    margin-top: 30px;
  }

  .page-hero {
    padding: 56px 0 50px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .form-grid,
  .map-meta {
    grid-template-columns: 1fr;
  }

  .map-info h2 {
    font-size: 32px;
  }

  .map-frame iframe,
  .map-placeholder {
    height: 320px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 48px 0 40px;
  }

  .whatsapp-float {
    right: 17px;
    bottom: 17px;
    padding: 14px;
    border-radius: 50%;
  }

  .whatsapp-float span {
    display: none;
  }
}
