/* =========================================================
   Jefferson Santos · Advocacia Imobiliária
   Estilos do site (landing + agendar)
   ========================================================= */

:root {
  /* Marinho */
  --navy: #0A1B36;
  --navy-900: #071428;
  --navy-800: #13284A;
  --navy-700: #16294A;
  --navy-hover: #1B3258;
  --navy-line: #1C2D4B;
  --navy-line-2: #24395E;

  /* Dourado */
  --gold: #C9A05E;
  --gold-hover: #D9B677;
  --gold-light: #E0BF84;
  --gold-text: #8A6526;      /* dourado legível sobre fundo claro */
  --gold-text-sand: #7D5B22; /* dourado legível sobre areia */
  --highlight: #F1E4C6;

  /* Claros */
  --paper: #F7F6F2;
  --paper-2: #F8F6F1;
  --sand: #ECE5D8;
  --white: #FFFFFF;

  /* Texto */
  --ink: #141B2B;
  --ink-soft: #39404F;
  --muted: #4A5163;
  --muted-2: #5B6275;
  --placeholder: #767D8C;
  --on-dark: #F8F6F1;
  --on-dark-muted: #C5CDDA;
  --on-dark-muted-2: #B7C0D0;

  /* Linhas */
  --line: #D6D9E0;
  --line-soft: #E4E6EB;
  --line-input: #C8CCD6;
  --outline-btn: #8C97AB;

  --error: #9F2D20;
  --whatsapp: #25D366;

  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --container: 1200px;
  --gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }

::selection { background: var(--highlight); color: var(--navy); }

a { color: var(--gold-text); }
a:hover { color: var(--navy); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-text);
  outline-offset: 3px;
}
.inv a:focus-visible,
.inv button:focus-visible { outline-color: var(--gold-light); }

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

/* Blocos que entram deslizando de lado não podem alargar a página */
main, .rodape { overflow-x: hidden; }
@supports (overflow: clip) {
  main, .rodape { overflow-x: clip; }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 4px;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Tipografia ---------- */
.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.inv .eyebrow { color: var(--gold); }

.h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-wrap: balance;
}

.lead-muted { margin: 0; color: var(--muted); text-wrap: pretty; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 4px;
  border: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 120ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn svg { flex-shrink: 0; }

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-hover); color: var(--navy); }

.btn-outline {
  background: transparent;
  color: var(--on-dark);
  border: 1.5px solid var(--outline-btn);
}
.btn-outline:hover { background: var(--navy-800); border-color: var(--gold-light); color: var(--on-dark); }

.btn-navy { background: var(--navy); color: var(--on-dark); }
.btn-navy:hover { background: var(--navy-hover); color: var(--on-dark); }

.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-md { min-height: 48px; padding: 12px 22px; font-size: 15px; }

.link-underline {
  color: var(--gold-text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-l { transition: color 160ms ease; }
.nav-l:hover { color: var(--gold-light) !important; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--on-dark);
  text-decoration: none;
  padding: 4px 0;
}
.logo:hover { color: var(--on-dark); }
.logo svg { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; gap: 4px; }
.logo-nome {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
}
.logo-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.logo-lema {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--on-dark-muted);
}
.logo-folha, .logo-arco { transition: stroke 240ms ease; }
.logo:hover .logo-folha, .logo:hover .logo-arco { stroke: var(--gold-light); }

/* ---------- Cabeçalho ---------- */
.site-header { border-bottom: 1px solid var(--navy-line); }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  font-size: 15px;
  font-weight: 600;
}
.header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
}
.header-cta { gap: 0.28em; }
.header-nav a.nav-l {
  display: inline-block;
  color: var(--on-dark);
  text-decoration: none;
  padding: 12px 0;
}

/* ---------- Topo / Hero ---------- */
.topo { background: var(--navy); color: var(--on-dark); }

.hero { position: relative; overflow: hidden; }
.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 64px 48px;
  padding-top: 112px;
  padding-bottom: 96px;
}
.hero-text {
  flex: 1 1 520px;
  min-width: 0;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-eyebrow { color: var(--gold); }
.hero h1 {
  margin: 24px 0 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--on-dark);
  text-wrap: balance;
}
/* Título do topo: cada palavra numa máscara, e a assinatura sob "assinar." */
.hero-titulo .p {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.14em 0.03em 0.1em;
  margin: -0.14em -0.03em -0.1em;
}
.hero-titulo .p > span { display: inline-block; }
.assinar { position: relative; display: inline-block; }
.assinatura {
  position: absolute;
  left: -4%;
  width: 104%;
  bottom: -0.2em;
  height: 0.32em;
  overflow: visible;
  pointer-events: none;
}
.assinatura path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.hero-lead {
  margin: 28px 0 0;
  max-width: 34em;
  font-size: 19px;
  line-height: 1.6;
  color: var(--on-dark-muted);
  text-wrap: pretty;
}
.hero-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-selos {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-dark-muted);
}
.hero-selos li { display: inline-flex; align-items: center; gap: 8px; }

.hero-foto-wrap {
  flex: 0 1 448px;
  min-width: 0;
  width: 100%;
  position: relative;
}
.hero-foto-fundo {
  position: absolute;
  top: 28px; left: 28px; right: 0; bottom: 0;
  background: var(--navy-700);
  border-radius: 6px 220px 6px 6px;
}
.hero-foto-haste {
  position: absolute;
  left: calc(50% + 8px);
  top: 100%;
  width: 6px;
  height: 120px;
  background: var(--navy-700);
}
.hero-foto-arco {
  position: absolute;
  left: 100%;
  top: 54%;
  overflow: visible;
}
.hero-foto {
  position: relative;
  margin: 0 28px 28px 0;
  aspect-ratio: 4 / 5;
  border-radius: 6px 220px 6px 6px;
  overflow: hidden;
  background: var(--navy-700);
}
.hero-foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}

/* ---------- Faixa de diferenciais ---------- */
.faixa { background: var(--sand); }
.faixa ul {
  list-style: none;
  margin: 0 auto;
  padding-top: 36px;
  padding-bottom: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px 32px;
}
.faixa li { display: flex; gap: 14px; align-items: flex-start; }
.faixa-icone {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.faixa-texto { display: flex; flex-direction: column; gap: 2px; }
.faixa-texto strong { font-size: 16px; font-weight: 700; }
.faixa-texto span { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ---------- Seções ---------- */
.secao { padding-top: 112px; padding-bottom: 112px; }
.secao-paper { background: var(--paper); }
.secao-white { background: var(--white); }
.secao-sand { background: var(--sand); }

.secao-stack { display: flex; flex-direction: column; gap: 56px; }

.secao-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 48px;
}
.secao-head > div { display: flex; flex-direction: column; gap: 14px; }

/* Como funciona */
.passos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.passo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 26px;
}
.traco {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}
.passo-num {
  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 1;
  color: var(--gold-text);
}
.passo h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 25px;
  line-height: 1.2;
  color: var(--navy);
}
.passo p { margin: 0; font-size: 16px; color: var(--muted); }

.aviso {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--sand);
  border-radius: 8px;
  padding: 18px 24px;
  font-size: 16px;
  line-height: 1.5;
}
.aviso svg { flex-shrink: 0; }

/* Áreas */
.areas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease, border-color 160ms ease, background-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -28px rgba(10, 27, 54, 0.45);
    border-color: var(--line-input);
    background: var(--white);
  }
}
.card-icone {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.card h3 {
  margin: 6px 0 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  color: var(--navy);
}
.card p { margin: 0; font-size: 16px; color: var(--muted); }

/* Sobre */
.sobre {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px 72px;
}
.sobre-head {
  flex: 1 1 360px;
  min-width: 0;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sobre-head .eyebrow { color: var(--gold-text-sand); }
.assinatura { margin-top: 24px; display: flex; align-items: center; gap: 16px; }
.avatar {
  flex-shrink: 0;
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: var(--navy-700);
  box-shadow: 0 0 0 2px var(--sand), 0 0 0 3.5px var(--gold);
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.assinatura-texto { display: flex; flex-direction: column; gap: 2px; }
.assinatura-nome {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.1;
  color: var(--navy);
}
.assinatura-cargo { font-size: 15px; color: var(--muted); }
.sobre-texto {
  flex: 1.3 1 480px;
  min-width: 0;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 18px;
  line-height: 1.65;
}
.sobre-texto p { margin: 0; text-wrap: pretty; }
.marca-texto {
  padding: 0 4px;
  background: linear-gradient(var(--highlight), var(--highlight)) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Dúvidas */
.duvidas {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px 72px;
}
.duvidas-head {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.duvidas-head .lead-muted { margin-top: 8px; max-width: 24em; }
.duvidas-ctas {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.duvidas-ctas .link-underline { font-size: 15px; padding: 12px 0; }

.faq { flex: 2 1 520px; min-width: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  color: var(--ink);
  transition: color 160ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary:hover,
.faq-item[open] summary { color: var(--gold-text); }
.faq-item summary h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: inherit;
}
.faq-item summary svg {
  flex-shrink: 0;
  transition: transform 240ms var(--ease-out);
}
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item summary svg path { fill: none; stroke: var(--gold-text); stroke-width: 1.75; stroke-linecap: round; }
.faq-resposta {
  margin: 0;
  padding: 0 48px 26px 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Contato */
.contato {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-dark);
}
.contato-arco { position: absolute; right: -90px; bottom: -2px; }
.contato-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 56px 72px;
  padding-top: 104px;
  padding-bottom: 104px;
}
.contato-texto {
  flex: 1 1 460px;
  min-width: 0;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.contato-texto .h2 { color: var(--on-dark); font-size: clamp(34px, 3.6vw, 52px); }
.contato-texto p.lead {
  margin: 0;
  max-width: 30em;
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-dark-muted);
  text-wrap: pretty;
}
.contato-texto .btn { margin-top: 12px; }

.canais {
  flex: 1 1 380px;
  min-width: 0;
  max-width: 480px;
  background: var(--navy-800);
  border: 1px solid var(--navy-line-2);
  border-radius: 10px;
  padding: 28px 32px 10px;
}
.canais .eyebrow { margin-bottom: 14px; }
.canais ul { list-style: none; margin: 0; padding: 0; }
.canais li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--navy-line-2);
}
.canal-icone {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid var(--navy-line-2);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.canal-texto { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.canal-rotulo { font-size: 13px; color: var(--on-dark-muted-2); }
.canal-valor {
  color: var(--on-dark);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.canal-valor-sm { font-size: 16px; line-height: 1.45; }

/* Rodapé */
.rodape { background: var(--navy-900); color: var(--on-dark-muted); }
.rodape-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 104px;
  font-size: 15px;
}
.rodape-topo {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px 48px;
}
.rodape .logo { gap: 14px; }
.rodape .logo-nome { font-size: 24px; }
.rodape nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.rodape nav a { color: var(--on-dark); text-decoration: none; display: inline-block; padding: 6px 0; }
.rodape-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--navy-line);
}
.rodape-info a { color: var(--on-dark); }
.rodape-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--on-dark-muted-2);
}
.rodape-legal p { margin: 0; }
.rodape-legal a { color: var(--gold-light); font-weight: 700; }
.rodape-legal svg { display: inline-block; vertical-align: -3px; margin-left: 6px; }

/* ---------- WhatsApp flutuante ---------- */
.zap {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  border-radius: 999px;
}
.zap-balao {
  position: relative;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  padding: 13px 20px;
  border-radius: 999px;
  box-shadow: 0 12px 30px -12px rgba(10, 27, 54, 0.45);
  white-space: nowrap;
  transition: transform 200ms var(--ease-out);
}
.zap-balao::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  width: 12px; height: 12px;
  margin-top: -6px;
  background: var(--white);
  transform: rotate(45deg);
  border-radius: 2px;
}
.zap-botao {
  position: relative;
  flex-shrink: 0;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(10, 27, 54, 0.55);
  transition: transform 200ms var(--ease-out), box-shadow 200ms ease;
}
.zap-onda {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .zap:hover .zap-botao { transform: scale(1.07); box-shadow: 0 16px 32px -10px rgba(10, 27, 54, 0.6); }
  .zap:hover .zap-balao { transform: translateX(-3px); }
}
.zap:active .zap-botao { transform: scale(0.95); }

/* Barra de progresso de leitura */
.progresso {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform-origin: 0 50%;
  z-index: 60;
}

/* =========================================================
   Página Agendar
   ========================================================= */
.pagina-agendar { background: var(--paper-2); min-height: 100vh; min-height: 100dvh; }

.agendar-header { background: var(--navy); color: var(--on-dark); }
.agendar-header .header-inner { padding-top: 14px; padding-bottom: 14px; }
.agendar-header .logo-nome { font-size: 20px; }
.agendar-header .logo-sub { font-size: 8.5px; color: var(--gold-light); }
.voltar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--on-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 0;
}

.agendar-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px 64px;
  padding-top: 64px;
  padding-bottom: 96px;
}
.agendar-intro {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.agendar-intro h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-wrap: balance;
}
.agendar-intro > p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); }
.agendar-passos {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.agendar-passos li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.5;
}
.agendar-passos .num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--on-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.agendar-passos .txt { padding-top: 3px; }
.nota-lgpd {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--sand);
  border-radius: 8px;
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.55;
  margin-top: 8px;
}
.nota-lgpd svg { flex-shrink: 0; }
.agendar-direto { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.agendar-direto a { font-weight: 700; }

.form-card {
  flex: 1.4 1 520px;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}

.form { display: flex; flex-direction: column; gap: 22px; }
.form-campos { display: flex; flex-wrap: wrap; gap: 22px 16px; }
.campo { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.campo label, .grupo legend { font-size: 14px; font-weight: 700; }
.campo label .opcional { font-weight: 500; color: var(--muted-2); }

.input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--line-input);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 16px; /* 16px evita zoom no iOS */
  color: var(--ink);
  background: var(--white);
  transition: border-color 160ms ease;
}
textarea.input {
  height: auto;
  min-height: 120px;
  padding: 14px 16px;
  line-height: 1.55;
  resize: vertical;
}
.input::placeholder { color: var(--placeholder); }
.input:focus { outline: 2px solid var(--gold-text); outline-offset: 1px; }
.input[aria-invalid="true"] { border-color: var(--error); }

.erro-campo { font-size: 13px; font-weight: 600; color: var(--error); }
.erro-campo[hidden] { display: none; }

.grupo { border: 0; margin: 0; padding: 0; min-width: 0; }
.grupo legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
  pointer-events: none;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 4px;
  border: 1.5px solid var(--line-input);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.chips-periodo .chip span { padding: 10px 18px; }
@media (hover: hover) and (pointer: fine) {
  .chip span:hover { border-color: var(--navy); }
}
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.chip input:focus-visible + span { outline: 2px solid var(--gold-text); outline-offset: 3px; }

.consentimento { display: flex; flex-direction: column; gap: 8px; }
.consentimento label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.consentimento input {
  width: 20px; height: 20px;
  margin: 1px 0 0;
  accent-color: var(--navy);
  flex-shrink: 0;
}
.consentimento .erro-campo { padding-left: 32px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-rodape {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
}
.form-rodape .btn { padding: 14px 26px; }
.form-dica { font-size: 14px; color: var(--muted-2); }
.form-alerta { font-size: 14px; font-weight: 600; color: var(--error); }
.form-alerta[hidden], .form-dica[hidden] { display: none; }

.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.btn .spinner {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: girar 700ms linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }

.falha {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #FBF1EF;
  border: 1px solid #E8C7C1;
  border-radius: 6px;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.55;
}
.falha[hidden] { display: none; }
.falha p { margin: 0; }
.falha .btn { align-self: flex-start; background: var(--whatsapp); color: #0B3B1D; }
.falha .btn:hover { background: #3BDB78; color: #0B3B1D; }

/* Confirmação */
.confirmacao {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 8px 0;
}
.confirmacao[hidden] { display: none; }
.confirmacao:focus { outline: none; }
.check {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.confirmacao h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--navy);
}
.confirmacao > p { margin: 0; max-width: 520px; font-size: 17px; line-height: 1.65; }
.resumo {
  margin: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 18px 20px;
}
.resumo div { display: flex; flex-direction: column; gap: 4px; }
.resumo dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.resumo dd { margin: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.separe { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }
.separe strong { font-weight: 700; }
.separe ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.separe li { display: flex; gap: 10px; align-items: center; }
.separe svg { flex-shrink: 0; }
.confirmacao-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 6px; }
.btn-texto {
  min-height: 44px;
  padding: 10px 4px;
  border: 0;
  background: none;
  color: var(--gold-text);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* 404 */
.pagina-404 {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--navy);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
}
.erro404 {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
  padding-top: 80px;
  padding-bottom: 120px;
}
.erro404 h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  max-width: 14em;
}
.erro404 p { margin: 0; max-width: 32em; color: var(--on-dark-muted); font-size: 18px; }

/* =========================================================
   Movimento (só com JS ativo: a classe .anima vai no <html>)
   ========================================================= */
@keyframes subir { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes abrirPorta { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes assentar { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes nota { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Entrada do topo */
.anima .entra { animation: subir 900ms var(--ease-out) both; }
.anima .e1 { animation-delay: 80ms; }
.anima .e2 { animation-delay: 200ms; }
.anima .e3 { animation-delay: 320ms; }
.anima .e4 { animation-delay: 440ms; }
.anima .e5 { animation-delay: 560ms; }
.anima .entra-foto { animation: abrirPorta 1100ms var(--ease-in-out) 250ms both; }
.anima .foto-img { animation: assentar 1800ms var(--ease-out) 250ms both; }
.anima .entra-fundo { animation: aparecer 900ms var(--ease-out) 800ms both; }

/* Resposta da dúvida */
.faq-item[open] .faq-resposta { animation: nota 360ms var(--ease-out); }

/* Revelar ao rolar: blocos inteiros */
.anima [data-reveal] { opacity: 0; transform: translateY(44px); transition: opacity 1000ms var(--ease-out), transform 1000ms var(--ease-out); }
.anima [data-reveal="zoom"] { transform: scale(0.94); }
.anima [data-reveal][data-shown] { opacity: 1; transform: none; }

/* Revelar ao rolar: grupos em cascata */
.anima [data-grupo] > * { opacity: 0; transform: translateY(36px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.anima [data-grupo="dir"] > * { transform: translateX(48px); }
.anima [data-grupo="zoom"] > * { transform: translateY(40px) scale(0.94); }
.anima [data-grupo][data-shown] > * { opacity: 1; transform: none; }
.anima [data-grupo] > *:nth-child(2) { transition-delay: 100ms; }
.anima [data-grupo] > *:nth-child(3) { transition-delay: 200ms; }
.anima [data-grupo] > *:nth-child(4) { transition-delay: 300ms; }
.anima [data-grupo] > *:nth-child(5) { transition-delay: 400ms; }
.anima [data-grupo] > *:nth-child(6) { transition-delay: 500ms; }

/* Títulos sobem de trás de uma máscara */
.anima [data-titulo] { clip-path: inset(100% -5% -30% -5%); transform: translateY(0.5em); transition: clip-path 1100ms var(--ease-out) 120ms, transform 1100ms var(--ease-out) 120ms; }
.anima [data-shown] [data-titulo] { clip-path: inset(-20% -5% -30% -5%); transform: none; }

/* Linhas douradas que se desenham */
.anima .traco { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1200ms var(--ease-in-out) 250ms; }
.anima [data-shown] .traco { transform: scaleX(1); }
.anima [data-grupo] > *:nth-child(2) .traco { transition-delay: 400ms; }
.anima [data-grupo] > *:nth-child(3) .traco { transition-delay: 550ms; }
.anima [data-grupo] > *:nth-child(4) .traco { transition-delay: 700ms; }

/* Ícones que entram com um leve salto */
.anima .pop { opacity: 0; transform: scale(0.4) rotate(-14deg); transition: opacity 400ms ease 300ms, transform 750ms cubic-bezier(0.34, 1.56, 0.64, 1) 300ms; }
.anima [data-shown] .pop { opacity: 1; transform: none; }
.anima [data-grupo] > *:nth-child(2) .pop { transition-delay: 400ms; }
.anima [data-grupo] > *:nth-child(3) .pop { transition-delay: 500ms; }
.anima [data-grupo] > *:nth-child(4) .pop { transition-delay: 600ms; }
.anima [data-grupo] > *:nth-child(5) .pop { transition-delay: 700ms; }
.anima [data-grupo] > *:nth-child(6) .pop { transition-delay: 800ms; }

/* Grifo dourado que se pinta no texto */
.anima .marca-texto { background-size: 0% 100%; transition: background-size 1300ms var(--ease-in-out) 700ms; }
.anima [data-shown] .marca-texto { background-size: 100% 100%; }

/* Logo: a porta se desenha e o nome aparece */
@keyframes tracar { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes letreiro { from { clip-path: inset(-20% 100% -30% 0); } to { clip-path: inset(-20% -4% -30% 0); } }
@keyframes surgir { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.logo-anim .logo-moldura, .logo-anim .logo-folha, .logo-anim .logo-arco { stroke-dasharray: 1 2; }
.logo-anim .logo-js { transform-box: fill-box; transform-origin: center; }
.anima .logo-anim .logo-moldura { animation: tracar 1300ms var(--ease-in-out) 150ms both; }
.anima .logo-anim .logo-folha { animation: tracar 450ms var(--ease-out) 1250ms both; }
.anima .logo-anim .logo-arco { animation: tracar 850ms var(--ease-in-out) 1550ms both; }
.anima .logo-anim .logo-js { animation: surgir 700ms var(--ease-out) 850ms both; }
.anima .logo-anim .logo-nome { animation: letreiro 1100ms var(--ease-in-out) 550ms both; }
.anima .logo-anim .logo-sub { animation: surgir 700ms var(--ease-out) 1300ms both; }
.anima .logo-anim .logo-lema { animation-delay: 1700ms; }
.anima [data-reveal] .logo-anim * { animation-play-state: paused; }
.anima [data-reveal][data-shown] .logo-anim * { animation-play-state: running; }

/* WhatsApp flutuante */
@keyframes zapEntra { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
@keyframes balao { from { opacity: 0; transform: translateX(14px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes onda { 0% { transform: scale(1); opacity: 0.55; } 70%, 100% { transform: scale(1.65); opacity: 0; } }
.anima .zap-botao { animation: zapEntra 650ms cubic-bezier(0.34, 1.56, 0.64, 1) 1600ms backwards; }
.anima .zap-balao { animation: balao 600ms var(--ease-out) 2600ms backwards; }
.anima .zap-onda { animation: onda 2800ms ease-out 3200ms infinite; }

/* Página Agendar */
.anima .confirmacao:not([hidden]) { animation: subir 600ms var(--ease-out) both; }

/* Barra de leitura e parallax da foto (navegadores com scroll-driven animations) */
@supports (animation-timeline: scroll()) {
  .progresso { display: block; animation: progresso linear both; animation-timeline: scroll(root); }
  .anima .parallax { animation: parallax linear both; animation-timeline: scroll(root); animation-range: 0px 900px; }
  @keyframes progresso { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes parallax { from { transform: none; } to { transform: translateY(-80px); } }
}

/* =========================================================
   Responsivo
   ========================================================= */
/* Entrada do texto do topo: só sem pedido de movimento reduzido */
@keyframes palavra { from { transform: translateY(108%); } to { transform: none; } }
@keyframes varrer { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -2% 0 0); } }
@keyframes revelar { to { clip-path: inset(-60% -6% -60% -6%); } }
@media (prefers-reduced-motion: no-preference) {
  .anima .hero-eyebrow { animation: varrer 800ms var(--ease-out) 80ms both; }
  .anima .hero-titulo .p > span { animation: palavra 850ms var(--ease-out) both; animation-delay: calc(220ms + var(--i) * 55ms); }
  /* A assinatura e os ✓ se revelam da esquerda para a direita (sem dash: nenhuma ponta aparece antes) */
  .anima .assinatura { clip-path: inset(-60% 106% -60% -6%); animation: revelar 900ms var(--ease-in-out) 1050ms forwards; }
  .anima .hero-lead { animation: subir 800ms var(--ease-out) 560ms both; }
  .anima .hero-ctas .btn { animation: subir 700ms var(--ease-out) both; }
  .anima .hero-ctas .btn:nth-child(1) { animation-delay: 700ms; }
  .anima .hero-ctas .btn:nth-child(2) { animation-delay: 770ms; }
  .anima .hero-selos li { animation: subir 600ms var(--ease-out) both; }
  .anima .hero-selos li:nth-child(1) { animation-delay: 880ms; }
  .anima .hero-selos li:nth-child(2) { animation-delay: 950ms; }
  .anima .hero-selos li:nth-child(3) { animation-delay: 1020ms; }
  .anima .hero-selos svg { clip-path: inset(-20% 106% -20% -6%); animation: revelar 400ms var(--ease-out) forwards; }
  .anima .hero-selos li:nth-child(1) svg { animation-delay: 1080ms; }
  .anima .hero-selos li:nth-child(2) svg { animation-delay: 1150ms; }
  .anima .hero-selos li:nth-child(3) svg { animation-delay: 1220ms; }
}

@media (max-width: 860px) {
  .secao { padding-top: 80px; padding-bottom: 80px; }
  .hero-inner { padding-top: 64px; padding-bottom: 72px; }
  .contato-inner { padding-top: 80px; padding-bottom: 80px; }
  .secao-stack { gap: 40px; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }

  /* Cabeçalho: logo + botão na primeira linha, links embaixo */
  .site-header .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; }
  .header-nav { display: contents; }
  .header-nav ul { grid-column: 1 / -1; grid-row: 2; gap: 0 20px; font-size: 14px; }
  .header-nav ul a.nav-l { padding: 10px 0; }
  .header-cta { grid-column: 2; grid-row: 1; }
  .header-cta .rotulo-longo { display: none; }

  .hero h1 { margin-top: 18px; }
  .hero-lead { font-size: 17px; margin-top: 22px; }
  .hero-ctas { margin-top: 32px; width: 100%; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-foto-wrap { flex-basis: 100%; max-width: 420px; }

  .areas { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .faq-resposta { padding-right: 0; }
  .canais { padding: 24px 20px 6px; }
  .contato-arco { width: 320px; height: 320px; right: -80px; }

  .form-card { padding: 24px 18px; }
  .form-rodape .btn { width: 100%; }
  .confirmacao h2 { font-size: 34px; }
  .agendar-main { padding-top: 40px; padding-bottom: 64px; }
}

/* Celular e tablet: a foto fica ao lado do título */
@media (max-width: 900px) {
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(112px, 40%);
    grid-template-areas:
      "eyebrow eyebrow"
      "titulo foto"
      "lead lead"
      "ctas ctas"
      "selos selos";
    gap: 0 20px;
    align-items: start;
  }
  .hero-text { display: contents; }
  .hero-eyebrow { grid-area: eyebrow; }
  .hero h1 { grid-area: titulo; align-self: center; margin-top: 22px; font-size: max(26px, 8.4vw); line-height: 1.08; } /* acompanha a altura da foto ao lado */
  .hero-foto-wrap { grid-area: foto; flex: none; max-width: none; margin-top: 22px; }
  .hero-lead { grid-area: lead; }
  .hero-ctas { grid-area: ctas; }
  .hero-selos { grid-area: selos; }
  .hero-foto { margin: 0 10px 10px 0; border-radius: 4px 38% 4px 4px / 4px 30% 4px 4px; }
  .hero-foto-fundo { top: 10px; left: 10px; border-radius: 4px 38% 4px 4px / 4px 30% 4px 4px; }
  .hero-foto-haste, .hero-foto-arco { display: none; }
  .anima .parallax { animation: none; }
}

@media (max-width: 640px) {
  .zap { right: 16px; bottom: 16px; }
  .zap-balao { display: none; }
}

@media (max-width: 380px) {
  .header-nav ul { gap: 0 16px; font-size: 13.5px; }
  .site-header .logo-nome { font-size: 19px; }
}

/* =========================================================
   Movimento reduzido
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anima .entra, .anima .entra-foto, .anima .entra-fundo { animation: aparecer 300ms ease both; }
  .anima .hero-titulo, .anima .hero-lead, .anima .hero-ctas, .anima .hero-selos { animation: aparecer 300ms ease both; }
  .anima .foto-img, .anima .parallax { animation: none; }
  .faq-item[open] .faq-resposta { animation: aparecer 200ms ease; }
  .anima [data-reveal], .anima [data-grupo] > * { transform: none; transition: opacity 300ms ease; }
  .anima [data-titulo] { clip-path: none; transform: none; transition: none; }
  .anima .logo-anim * { animation: none !important; }
  .anima .zap-botao, .anima .zap-balao { animation: aparecer 300ms ease backwards; }
  .zap-onda { display: none; }
  .anima .traco, .anima .pop { transform: none; transition: opacity 300ms ease; }
  .anima .marca-texto { background-size: 100% 100%; transition: none; }
  .card, .card:hover { transform: none; }
  .anima .confirmacao:not([hidden]) { animation: aparecer 300ms ease both; }
  .btn .spinner { animation-duration: 1.6s; }
}
