/* =========================================================
   Júlia M. Porto — Psicóloga Clínica | Landing Page
   Identidade: #7A0F0F (vinho) · #F5F3F1 (off-white) · #000000
   Tipografia: Playfair Display (títulos) + Jost (corpo)
   ========================================================= */

:root {
  --wine: #7A0F0F;
  --wine-dark: #5c0b0b;
  --wine-soft: #9a2a2a;
  --cream: #F5F3F1;
  --cream-deep: #ece7e3;
  --ink: #161214;
  --black: #000000;
  --muted: #6b6360;
  --line: #e2dad5;
  --white: #ffffff;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;

  --container: 1140px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -24px rgba(122, 15, 15, 0.28);
  --shadow-soft: 0 10px 30px -18px rgba(0, 0, 0, 0.25);
  --transition: 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
em { font-style: italic; color: var(--wine); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
}
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn-primary {
  background: var(--wine);
  color: var(--cream);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--wine-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--wine);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--wine); }
.btn[hidden] { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 243, 241, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--wine); }
.brand-mark { display: flex; align-items: center; }
.brand-mark img { height: 46px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); font-weight: 600; }
.brand-role {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(40px, 7vw, 90px) 0;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(122, 15, 15, 0.06), transparent 60%),
    var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero-copy h1 { margin-bottom: 22px; }
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 34ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero-note { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.02em; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-badges li {
  position: relative;
  font-size: 0.85rem;
  color: var(--ink);
  padding-left: 20px;
}
.hero-badges li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--wine);
  transform: translateY(-50%);
}
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%;
  border-radius: 220px 220px var(--radius) var(--radius);
  object-fit: cover;
  aspect-ratio: 3 / 3.6;
  box-shadow: var(--shadow);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1.5px solid var(--wine);
  border-radius: 220px 220px var(--radius) var(--radius);
  z-index: -1;
  opacity: 0.5;
}
.hero-photo-tag {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  background: var(--cream);
  color: var(--wine);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

/* ---------- Sections base ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-lead { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }

/* ---------- Dores ---------- */
.section-pains { background: var(--white); }
.pains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pain-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: var(--transition);
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: transparent; }
.pain-card h3 { color: var(--wine); margin-bottom: 10px; font-family: var(--serif); }
.pain-card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Quote band ---------- */
.quote-band {
  background: var(--wine);
  color: var(--cream);
  padding: clamp(50px, 7vw, 80px) 0;
  text-align: center;
}
.quote-band blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  line-height: 1.4;
  max-width: 880px;
  margin: 0 auto 18px;
}
.quote-author { letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem; opacity: 0.85; }

/* ---------- Sobre ---------- */
.section-about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.about-photo img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}
.about-copy p { color: var(--muted); margin-top: 16px; max-width: 56ch; }
.about-copy strong { color: var(--ink); font-weight: 600; }
.about-list { list-style: none; margin: 26px 0 0; display: grid; gap: 12px; }
.about-list li { position: relative; padding-left: 30px; color: var(--ink); }
.about-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--wine);
  font-weight: 700;
}
.about-credential {
  margin-top: 26px !important;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine) !important;
}

/* ---------- Caminhos ---------- */
.section-paths { background: var(--white); }
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.path-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.path-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--cream-deep);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}
.path-card:hover .path-num { color: var(--wine); }
.path-card h3 { margin-bottom: 12px; }
.path-card p { color: var(--muted); }

/* ---------- Processo ---------- */
.section-process { background: var(--cream); }
.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.process-photo img {
  border-radius: var(--radius) var(--radius) 160px 160px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow);
}
.steps { list-style: none; margin: 30px 0; display: grid; gap: 24px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--muted); }

/* ---------- Para quem é ---------- */
.section-fit { background: var(--white); }
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.fit-card {
  border-radius: var(--radius);
  padding: 38px 34px;
  border: 1px solid var(--line);
}
.fit-card h3 { font-size: 1.4rem; margin-bottom: 20px; }
.fit-card ul { list-style: none; display: grid; gap: 14px; }
.fit-card li { position: relative; padding-left: 30px; color: var(--ink); }
.fit-yes { background: var(--cream); }
.fit-yes h3 { color: var(--wine); }
.fit-yes li::before {
  content: "✓"; position: absolute; left: 0; color: var(--wine); font-weight: 700;
}
.fit-no { background: var(--cream); }
.fit-no h3 { color: var(--muted); }
.fit-no li::before {
  content: "—"; position: absolute; left: 0; color: var(--muted); font-weight: 700;
}

/* ---------- Formulário ---------- */
.section-form {
  background:
    radial-gradient(60% 80% at 0% 100%, rgba(122, 15, 15, 0.06), transparent 60%),
    var(--cream);
}
.form-wrap { max-width: 720px; margin: 0 auto; }
.lead-form {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 46px);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.form-progress {
  height: 6px;
  background: var(--cream-deep);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}
.form-progress-bar {
  height: 100%;
  width: 11%;
  background: var(--wine);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.form-step-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.form-step { border: none; display: none; animation: fade 0.4s ease; }
.form-step.is-active { display: block; }
.form-step legend {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 22px;
  line-height: 1.3;
}
/* Subtítulo curto logo abaixo do título do formulário */
.form-intro {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: -14px 0 22px;
}
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Formulário dentro do hero (LP de terapia de casal) ---------- */
.hero-form { min-width: 0; }
.hero-form .lead-form { margin: 0; }
.hero-form .form-step legend { font-size: 1.5rem; }
/* No hero o formulário já é o foco: o botão ocupa a linha inteira */
.hero-form .form-nav { margin-top: 24px; }
@media (max-width: 900px) {
  /* copy em cima, formulário embaixo (não usa o order:-1 da foto) */
  .hero-form { max-width: 560px; margin: 8px auto 0; width: 100%; }
}

/* ---------- CTA final centralizado ---------- */
.section-cta { text-align: center; }
.section-cta .eyebrow { margin-bottom: 14px; }
.section-cta .section-lead { max-width: 54ch; margin: 14px auto 28px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  transition: var(--transition);
  resize: vertical;
}
.field textarea { border-radius: 18px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--wine);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(122, 15, 15, 0.1);
}

.options { display: grid; gap: 13px; }
.options-inline { grid-template-columns: 1fr 1fr; }
/* Botões de escolha (Sim/Não, Individual/De casal): o radio nativo fica oculto
   e a seleção é o próprio botão. Sem isso, o radio + textos de tamanhos
   diferentes ficavam desalinhados entre as duas colunas (aspecto "torto"). */
.options-inline .option {
  position: relative;
  justify-content: center;
  text-align: center;
  gap: 0;
  border-radius: 999px;
  padding: 15px;
  font-weight: 500;
}
.options-inline .option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.98rem;
}
.option:hover { border-color: var(--wine-soft); }
.option input { accent-color: var(--wine); width: 18px; height: 18px; flex: 0 0 auto; }
.option:has(input:checked) {
  border-color: var(--wine);
  background: rgba(122, 15, 15, 0.05);
  box-shadow: 0 0 0 2px rgba(122, 15, 15, 0.08);
}

/* Escala 0–10 (impacto / comprometimento) */
.options-scale { display: flex; flex-wrap: wrap; gap: 8px; }
.options-scale .option {
  position: relative;
  gap: 0;
  flex: 1 1 40px;
  min-width: 40px;
  justify-content: center;
  padding: 14px 0;
  border-radius: 12px;
  font-weight: 500;
}
.options-scale .option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.scale-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--muted);
}

.field-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.4;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}
.consent input { accent-color: var(--wine); margin-top: 3px; flex: 0 0 auto; }

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
}
.form-nav .btn { flex: 1; }
.form-error { color: var(--wine); font-size: 0.9rem; margin-top: 14px; min-height: 1.2em; text-align: center; }
.form-confidential {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}
.form-confidential svg { flex: 0 0 auto; color: var(--wine); opacity: 0.85; }
.form-confidential a { color: inherit; text-decoration: underline; }

/* ---------- Sucesso ---------- */
.form-success {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(34px, 5vw, 56px);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--line);
}
.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--cream);
  font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.form-success h3 { font-size: 1.7rem; margin-bottom: 12px; }
.form-success p { color: var(--muted); max-width: 46ch; margin: 0 auto 24px; }
.success-note { font-size: 0.88rem; margin-top: 22px; }

/* ---------- Página /pagamento (confirmação da sessão) ---------- */
.pay-main {
  padding: clamp(44px, 7vw, 90px) 0;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(122, 15, 15, 0.06), transparent 60%),
    var(--cream);
  min-height: 62vh;
}
.pay-wrap { max-width: 700px; margin: 0 auto; }
.pay-screen { display: none; animation: fade 0.4s ease; }
.pay-screen.is-active { display: block; }
.pay-head { text-align: center; margin-bottom: 36px; }
.pay-head h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  margin-bottom: 18px;
}
.pay-head p { color: var(--muted); max-width: 56ch; margin: 0 auto 12px; }
.pay-head p strong { color: var(--ink); font-weight: 600; }
.pay-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-soft);
}
.pay-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 46px);
  box-shadow: var(--shadow);
}
.pay-card h2 { font-size: 1.5rem; margin-bottom: 14px; }
.pay-text { color: var(--muted); }
.pay-benefits { list-style: none; display: grid; gap: 12px; margin: 22px 0; }
.pay-benefits li { position: relative; padding-left: 30px; color: var(--ink); }
.pay-benefits li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--wine);
  font-weight: 700;
}
.pay-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  background: rgba(122, 15, 15, 0.05);
  border: 1.5px dashed var(--wine-soft);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 22px 0 16px;
  color: var(--muted);
}
.pay-price strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--wine);
  line-height: 1;
}
.pay-note { font-size: 0.92rem; color: var(--muted); text-align: center; }
.pay-actions { display: grid; gap: 12px; margin-top: 26px; }
.pay-actions .btn { width: 100%; }
.pay-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}
.pay-disclaimer svg { flex: 0 0 auto; color: var(--wine); opacity: 0.85; }

/* Tela do Pix */
.pix-box { text-align: center; }
.pix-amount { font-size: 1.05rem; color: var(--muted); }
.pix-amount strong { font-family: var(--serif); font-size: 1.5rem; color: var(--wine); }
.pix-receiver { font-size: 0.9rem; color: var(--muted); margin-top: 4px; }
.pix-qr {
  width: min(240px, 70vw);
  height: auto;
  margin: 22px auto;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}
.pix-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.pix-code {
  width: 100%;
  font-family: "Consolas", "Menlo", monospace;
  font-size: 0.78rem;
  line-height: 1.5;
  word-break: break-all;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  resize: none;
}
.pix-code:focus { outline: none; border-color: var(--wine); }
.btn-copy { margin-top: 10px; width: 100%; }
.btn-copy.is-copied { border-color: var(--wine); background: rgba(122, 15, 15, 0.05); }
.pix-steps {
  text-align: left;
  margin: 24px 0 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}
.pix-steps strong { color: var(--ink); }

/* Botão "Já paguei" bloqueado até o fim da contagem */
.btn-locked {
  pointer-events: none;
  opacity: 0.55;
  box-shadow: none;
}

/* Orientações após "Já paguei" */
.pos-pagamento {
  margin-top: 24px;
  padding: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  animation: fade 0.4s ease;
}
.pos-pagamento h3 { color: var(--wine); margin-bottom: 10px; }
.pos-pagamento p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.pos-pagamento .wa-link strong { color: var(--wine); white-space: nowrap; }

/* ---------- Página /agendamento (chat com a assistente) ---------- */
.chat-main {
  padding: clamp(32px, 6vw, 72px) 0;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(122, 15, 15, 0.06), transparent 60%),
    var(--cream);
}
.chat-wrap { max-width: 620px; margin: 0 auto; }
.chat-page-head { text-align: center; margin-bottom: 30px; }
.chat-page-head h1 { font-size: clamp(1.55rem, 4vw, 2.3rem); margin-bottom: 12px; }
.chat-page-head p { color: var(--muted); max-width: 46ch; margin: 0 auto; }

/* Faixa de confiança (conteúdo estático, visível sem JS).
   .trust-strip: páginas de formulário comum · .chat-trust: página /agendamento (chat) */
.trust-strip,
.chat-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  padding: 0;
  font-size: 0.84rem;
  color: var(--muted);
}
.trust-strip { margin: 0 auto 28px; }
.chat-trust { margin: -14px 0 26px; }
.trust-strip li,
.chat-trust li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.trust-strip li::before,
.chat-trust li::before {
  content: "✓";
  color: var(--wine);
  font-weight: 600;
}

.chat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chat-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--wine);
  color: var(--cream);
}
.chat-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  border: 2px solid rgba(245, 243, 241, 0.4);
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-id { display: flex; flex-direction: column; line-height: 1.3; }
.chat-name { font-weight: 500; font-size: 1.02rem; }
.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(245, 243, 241, 0.85);
}
.chat-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8fe3b0;
  animation: chat-pulse 2s infinite;
}
@keyframes chat-pulse {
  0% { box-shadow: 0 0 0 0 rgba(143, 227, 176, 0.45); }
  70% { box-shadow: 0 0 0 6px rgba(143, 227, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(143, 227, 176, 0); }
}

.chat-body {
  height: clamp(360px, 62vh, 600px);
  overflow-y: auto;
  padding: 22px 18px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

.chat-day {
  align-self: center;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--cream-deep);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.msg {
  max-width: 84%;
  padding: 12px 16px;
  font-size: 0.97rem;
  line-height: 1.5;
  border-radius: 18px;
  animation: msg-in 0.3s ease;
}
.msg-in {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  color: var(--ink);
}
.msg-out {
  align-self: flex-end;
  background: var(--wine);
  color: var(--cream);
  border-bottom-right-radius: 6px;
  box-shadow: var(--shadow-soft);
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.msg-typing { display: inline-flex; align-items: center; gap: 5px; padding: 15px 18px; }
.msg-typing .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: chat-dot 1.1s infinite;
}
.msg-typing .dot:nth-child(2) { animation-delay: 0.15s; }
.msg-typing .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
  animation: msg-in 0.3s ease;
}
.chat-quick button {
  font-family: var(--sans);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--wine);
  background: var(--white);
  border: 1.5px solid var(--wine);
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: var(--transition);
}
.chat-quick button:hover { background: var(--wine); color: var(--cream); }

.chat-inputbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.chat-inputbar[hidden] { display: none; }
.chat-inputbar input {
  flex: 1;
  min-width: 0;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 13px 20px;
  transition: var(--transition);
}
.chat-inputbar input:focus {
  outline: none;
  border-color: var(--wine);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(122, 15, 15, 0.1);
}
.chat-inputbar input:disabled { opacity: 0.65; }
.chat-send {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--wine);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.chat-send:hover { background: var(--wine-dark); }
.chat-send:disabled { opacity: 0.45; cursor: default; pointer-events: none; }
.chat-send svg { width: 20px; height: 20px; }

.chat-done {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--wine);
  font-weight: 500;
  animation: msg-in 0.3s ease;
}
.chat-done[hidden] { display: none; }
.chat-done-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--cream);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.chat-wrap .form-confidential { margin-top: 18px; }

@media (max-width: 600px) {
  .chat-body { height: clamp(320px, 56vh, 520px); padding: 18px 12px; }
  .msg { max-width: 90%; }
  .chat-page-head { margin-bottom: 22px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-mark { display: block; margin-bottom: 16px; }
.footer-mark img { height: 56px; width: auto; display: block; }
.footer-brand .brand-name { color: var(--cream); font-size: 1.5rem; }
.footer-brand .brand-role { color: rgba(245, 243, 241, 0.6); }
.footer-tag { max-width: 36ch; margin-top: 14px; color: rgba(245, 243, 241, 0.75); font-family: var(--serif); font-style: italic; }
.footer-meta { text-align: right; font-size: 0.9rem; color: rgba(245, 243, 241, 0.7); display: grid; gap: 6px; align-content: start; }
.footer-meta a { color: inherit; text-decoration: underline; }
.footer-copy { margin-top: 12px; font-size: 0.82rem; opacity: 0.7; }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { min-width: 0; }
  .hero-copy h1, .hero-sub { overflow-wrap: break-word; }
  .hero-photo { max-width: 420px; margin: 0 auto; order: -1; }
  .hero-sub { max-width: none; }
  .about-grid, .process-grid { grid-template-columns: minmax(0, 1fr); }
  .about-photo, .process-photo { max-width: 440px; margin: 0 auto; }
  .pains-grid, .paths-grid { grid-template-columns: 1fr 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .header-cta { display: none; }
  .pains-grid, .paths-grid, .options-inline { grid-template-columns: 1fr; }
  .hero { padding-bottom: 40px; }
  /* CTA + texto de apoio alinhados com o botão (largura total, centralizados) */
  .hero-cta { align-items: stretch; }
  .hero-cta .btn, .form-nav { width: 100%; }
  .hero-note { text-align: center; }
  .footer-inner { flex-direction: column; }
}

/* ---------- Página de Política de Privacidade (/privacidade) ---------- */
.legal-main { padding: clamp(44px, 7vw, 84px) 0; }
.legal-main .container { max-width: 760px; }
.legal-main h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 6px 0 8px; }
.legal-updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 30px; }
.legal-main h2 { font-size: 1.15rem; margin: 30px 0 10px; }
.legal-main p, .legal-main li { color: var(--muted); line-height: 1.75; }
.legal-main p + p { margin-top: 10px; }
.legal-main ul { padding-left: 20px; margin: 10px 0; }
.legal-main li { margin-bottom: 6px; }
.legal-main a { color: var(--wine); }
.legal-main code { font-size: 0.85em; background: var(--cream-deep); padding: 1px 5px; border-radius: 4px; }

/* Honeypot anti-spam: fora da tela e fora da ordem de tabulacao. Nenhuma
   pessoa ve ou preenche; robos de formulario preenchem tudo e se denunciam. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
