/* =========================================================
   Gerusa Strunkis — Viabilização cirúrgica
   Ideia central: o fio dourado (ECG) que atravessa a página
   e vira a linha do tempo da jornada cirúrgica.
   ========================================================= */
:root {
  --bordo: #6a1f24;
  --bordo-escuro: #4c1519;
  --vinho: #2a0b0f;
  --rose: #d6a2a6;
  --rose-claro: #f0dcdd;
  --papel: #f8f4ef;
  --papel-2: #efe6dc;
  --branco: #fffcf8;
  --ouro: #d4a55e;
  --ouro-claro: #e6c58f;
  --ouro-texto: #855d26; /* dourado legível sobre o papel (AA) */
  --tinta: #241517;
  --tinta-2: #5a4547;
  --linha: #e2d5c8;

  --display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --texto: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* escala tipográfica (terça maior, base 17px) */
  --t-0: 0.82rem;
  --t-1: 1rem;
  --t-2: 1.2rem;
  --t-3: 1.7rem;
  --t-4: clamp(2rem, 4vw, 2.7rem);
  --t-5: clamp(2.5rem, 5.6vw, 3.8rem);
  --t-6: clamp(2.9rem, 7.6vw, 5.6rem);

  --largura: 1200px;
  --gutter: 20px;
  --raio-foto: 220px 220px 14px 14px; /* arco: eco do monograma e das janelas do brand board */
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--papel); color: var(--tinta);
  font-family: var(--texto); font-size: 16px; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0 0 0.4em; line-height: 1.04; letter-spacing: -0.005em; }
h1 { font-size: var(--t-6); }
h2 { font-size: var(--t-5); color: var(--bordo); }
h3 { font-size: var(--t-3); color: var(--bordo); line-height: 1.2; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 var(--gutter); }
.bloco { padding: 72px 0; }
@media (min-width: 900px) { .bloco { padding: 120px 0; } }
.bloco--branco { background: var(--branco); }
.bloco--bordo { background: var(--bordo); color: var(--papel); }
.bloco--bordo h2, .bloco--bordo h3 { color: var(--papel); }
.intro { max-width: 40rem; color: var(--tinta-2); font-size: var(--t-2); line-height: 1.55; }
.bloco--bordo .intro { color: var(--rose-claro); }
.titulo-bloco { max-width: 52rem; margin-bottom: 48px; }
.titulo-bloco h2 { max-width: 18ch; }
.titulo-bloco--largo h2 { max-width: 24ch; }

/* ----- Botões ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 28px; border-radius: 6px; border: 1.5px solid transparent;
  font-family: var(--texto); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--ouro { background: var(--ouro); color: var(--vinho); }
.btn--ouro:hover { background: var(--ouro-claro); }
.btn--bordo { background: var(--bordo); color: var(--papel); }
.btn--bordo:hover { background: var(--bordo-escuro); }
.btn--linha { border-color: var(--bordo); color: var(--bordo); background: transparent; }
.btn--linha:hover { background: var(--bordo); color: var(--papel); }
.btn--linha-clara { border-color: rgba(248, 244, 239, 0.55); color: var(--papel); background: transparent; }
.btn--linha-clara:hover { border-color: var(--ouro); color: var(--ouro); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.apoio { font-size: var(--t-0); opacity: 0.8; margin: 12px 0 0; }

/* ----- Marca (provisória, em texto, até chegar o arquivo da logo) ----- */
.marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.marca__mono {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  border: 1.2px solid var(--ouro); color: var(--ouro); font-family: var(--display); font-style: italic; font-size: 1.05rem;
}
.marca__nome { font-family: var(--display); font-size: 1.12rem; letter-spacing: 0.14em; line-height: 1; }
.marca__sub { display: block; font-size: 0.62rem; letter-spacing: 0.42em; color: var(--ouro); margin-top: 6px; }

.marca { gap: 14px; }
.marca__mono-img { height: 48px; width: auto; }
.marca__nome-img { height: 30px; width: auto; }
.rodape .marca__mono-img { height: 72px; }
.rodape .marca__nome-img { height: 42px; }
@media (max-width: 520px) { .marca { gap: 8px; } .marca__mono-img { height: 38px; } .marca__nome-img { height: 22px; } }

/* ----- Topo ----- */
.topo { position: sticky; top: 0; z-index: 40; color: var(--papel); transition: background-color .3s ease, box-shadow .3s ease; }
.topo .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.topo--solido { background: rgba(58, 14, 19, 0.94); box-shadow: 0 1px 0 rgba(212, 165, 94, 0.25); backdrop-filter: blur(10px); }
.nav { display: none; gap: 28px; font-size: 0.92rem; }
.nav a { text-decoration: none; opacity: 0.85; }
.nav a:hover { opacity: 1; color: var(--ouro); }
@media (min-width: 1000px) { .nav { display: flex; } }
.topo .btn { min-height: 42px; padding: 9px 16px; font-size: 0.88rem; }
@media (max-width: 520px) { .marca__nome { font-size: 0.92rem; letter-spacing: 0.08em; white-space: nowrap; } .marca__mono { width: 36px; height: 36px; font-size: 0.9rem; } .marca__sub { letter-spacing: 0.32em; } .topo .btn { padding: 9px 12px; } }
.pagina-landing .topo { margin-bottom: -76px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--vinho); color: var(--papel); padding: 112px 0 0; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 560px at 12% 0%, rgba(106, 31, 36, 0.95), transparent 70%),
              radial-gradient(700px 600px at 100% 100%, rgba(106, 31, 36, 0.7), transparent 70%);
}
.hero__grade { position: relative; display: grid; gap: 40px; align-items: end; }
@media (min-width: 960px) { .hero__grade { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.hero__texto { padding-bottom: 40px; }
@media (min-width: 960px) { .hero__texto { padding-bottom: 128px; } }
.hero h1 { color: var(--papel); max-width: 15ch; font-size: clamp(2.8rem, 5.6vw, 4.8rem); line-height: 1; hyphens: manual; }
.hero__lead { font-size: var(--t-2); color: var(--rose-claro); max-width: 34rem; line-height: 1.55; }
.hero__acoes { margin-top: 32px; }

.hero__foto { position: relative; margin: 0; align-self: stretch; min-height: 420px; }
.hero__foto img {
  width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 50% 30%;
  border-radius: var(--raio-foto); border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  filter: saturate(0.8) brightness(1.25) contrast(1.02);
}
@media (min-width: 960px) { .hero__foto img { min-height: 640px; } }
.hero__foto::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--raio-foto); border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(42, 11, 15, 0.7) 100%), rgba(106, 31, 36, 0.12);
  mix-blend-mode: multiply;
}
.credito { position: absolute; right: 10px; bottom: 8px; z-index: 2; font-size: 0.66rem; color: rgba(248, 244, 239, 0.7); }
.credito a { color: inherit; }

/* cartão de status sobre a foto: a jornada interrompida */
.status {
  position: absolute; z-index: 3; left: -12px; bottom: 96px; width: min(300px, 86%);
  background: var(--papel); color: var(--tinta); border-radius: 12px; padding: 18px 20px;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6);
}
@media (max-width: 959px) { .status { left: 16px; bottom: 72px; } }
.status ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.9rem; }
.status li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.35; }
.status .marcador { flex: none; width: 18px; height: 18px; border-radius: 50%; margin-top: 1px; }
.status .ok { background: var(--ouro); box-shadow: inset 0 0 0 5px var(--papel); border: 1.5px solid var(--ouro); }
.status .parou { background: var(--bordo); }
.status .espera { border: 1.5px dashed var(--tinta-2); }
.status li.alerta strong { color: var(--bordo); display: block; }
.status li.alerta span { font-size: 0.82rem; color: var(--tinta-2); }
.status li.aguarda { color: var(--tinta-2); }

/* o fio */
.fio-hero { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 2; height: 110px; pointer-events: none; }
.fio-hero path { fill: none; stroke: var(--ouro); stroke-width: 1.6; stroke-linejoin: round; stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: tracar 2.8s cubic-bezier(.6, .1, .3, 1) .2s forwards; }
@keyframes tracar { to { stroke-dashoffset: 0; } }

/* =========================================================
   JORNADA — o fio vira linha do tempo
   ========================================================= */
.jornada { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: passo; }
.jornada li { counter-increment: passo; position: relative; }
.jornada__n { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--ouro-texto); font-variant-numeric: lining-nums; }
.jornada__t { display: block; font-size: 0.98rem; line-height: 1.35; }
.jornada li.trava .jornada__t { color: var(--bordo); font-weight: 600; }

/* celular: vertical */
.jornada li { padding: 0 0 22px 44px; }
.jornada li::before { /* segmento */
  content: ""; position: absolute; left: 11px; top: 6px; bottom: -6px; width: 2px; background: var(--ouro);
  transform-origin: top; transform: scaleY(0); transition: transform .5s ease;
}
.jornada li:last-child::before { display: none; }
.jornada li::after { /* nó */
  content: ""; position: absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--papel); border: 2px solid var(--ouro);
}
.jornada li.trava::before { background: repeating-linear-gradient(180deg, var(--rose) 0 6px, transparent 6px 11px); }
.jornada li.trava::after { border-color: var(--bordo); background: var(--bordo); }
.jornada.desenhado li::before { transform: scaleY(1); }
.jornada.desenhado li:nth-child(n)::before { transition-delay: calc(var(--i) * 90ms); }

@media (max-width: 999px) { .jornada__t { display: inline; } .jornada__n { display: inline-block; min-width: 1.6em; } }
/* computador: horizontal, rótulos alternando acima e abaixo do fio */
@media (min-width: 1000px) {
  .jornada { display: grid; grid-template-columns: repeat(11, 1fr); height: 300px; }
  .jornada li { padding: 0; height: 100%; }
  .jornada li::before { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 2px; margin-top: -1px; transform-origin: left; transform: scaleX(0); }
  .jornada li:last-child::before { display: block; right: 50%; }
  .jornada li:first-child::before { left: 50%; }
  .jornada.desenhado li::before { transform: scaleX(1); }
  .jornada li.trava::before { background: repeating-linear-gradient(90deg, var(--rose) 0 7px, transparent 7px 12px); }
  .jornada li::after { left: 50%; top: 50%; margin: -8px 0 0 -8px; }
  .jornada__rotulo { position: absolute; left: 50%; transform: translateX(-50%); width: 150%; text-align: center; padding: 0 4px; }
  .jornada li:nth-child(odd) .jornada__rotulo { bottom: calc(50% + 22px); }
  .jornada li:nth-child(even) .jornada__rotulo { top: calc(50% + 22px); }
  .jornada li:nth-child(odd) .jornada__rotulo::after,
  .jornada li:nth-child(even) .jornada__rotulo::before { content: ""; display: block; width: 1px; height: 14px; background: var(--linha); margin: 6px auto; }
}
.jornada__legenda { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-size: var(--t-0); color: var(--tinta-2); }
.jornada__legenda span { display: inline-flex; align-items: center; gap: 8px; }
.jornada__legenda i { width: 28px; height: 2px; background: var(--ouro); display: inline-block; }
.jornada__legenda i.tracejado { background: repeating-linear-gradient(90deg, var(--rose) 0 6px, transparent 6px 10px); height: 2px; }
.observacao { margin-top: 32px; max-width: 46rem; color: var(--tinta-2); padding-left: 18px; border-left: 2px solid var(--ouro); }

/* ----- Obstáculos: lista tipográfica, não cartões ----- */
.obstaculos { display: grid; gap: 0 56px; margin: 72px 0 0; padding: 0; }
@media (min-width: 760px) { .obstaculos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .obstaculos { grid-template-columns: 1fr 1fr 1fr; } }
.obstaculos div { padding: 20px 0; border-top: 1px solid var(--linha); }
.obstaculos dt { font-family: var(--display); font-weight: 600; font-size: 1.6rem; color: var(--bordo); line-height: 1.2; }
.obstaculos dd { margin: 4px 0 0; color: var(--tinta-2); font-size: 0.95rem; }
.frase-forte { font-family: var(--display); font-weight: 600; font-size: var(--t-4); line-height: 1.22; color: var(--bordo); max-width: 30ch; margin: 72px 0 32px; }

/* =========================================================
   ATUAÇÃO — abas com foto
   ========================================================= */
.atuacao { display: grid; gap: 32px; }
.atuacao > * { min-width: 0; }
@media (min-width: 960px) { .atuacao { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; } }
.atuacao__foto { margin: 0; position: relative; border-radius: var(--raio-foto); overflow: hidden; }
@media (max-width: 959px) { .atuacao__foto { border-radius: 160px 160px 12px 12px; } }
.atuacao__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raio-foto); filter: saturate(0.7); }
@media (max-width: 959px) { .atuacao__foto img { aspect-ratio: 16 / 10; border-radius: 160px 160px 12px 12px; } }
.atuacao__foto::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(106, 31, 36, 0.22); mix-blend-mode: multiply; pointer-events: none; }
.atuacao__foto .credito { color: rgba(255, 255, 255, 0.8); }

.abas__lista { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 28px; scrollbar-width: none; border-bottom: 1px solid var(--linha); }
.abas__lista::-webkit-scrollbar { display: none; }
.aba {
  flex: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 12px 6px; margin-right: 14px; font: inherit; font-size: 0.98rem; font-weight: 600; color: var(--tinta-2); cursor: pointer;
}
.aba:hover { color: var(--bordo); }
.aba[aria-selected="true"] { color: var(--bordo); border-bottom-color: var(--ouro); }
.painel-aba h3 { font-size: var(--t-4); }
.painel-aba ul { list-style: none; padding: 0; margin: 20px 0 0; }
.painel-aba li { padding: 14px 0; border-top: 1px solid var(--linha); color: var(--tinta); }
.painel-aba li:last-child { border-bottom: 1px solid var(--linha); }
.painel-aba { animation: surgir .35s ease; }
@keyframes surgir { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* =========================================================
   TEMPO — régua de prazo sobre foto
   ========================================================= */
.tempo { position: relative; overflow: hidden; background: var(--vinho); color: var(--papel); }
.tempo__fundo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; filter: grayscale(1) contrast(1.1); }
.tempo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--vinho) 0%, rgba(42, 11, 15, 0.85) 45%, rgba(106, 31, 36, 0.55) 100%); z-index: 1; }
.tempo .container { position: relative; z-index: 2; }
.tempo h2 { color: var(--papel); max-width: 20ch; }
.tempo .intro { color: var(--rose-claro); }
.regua { margin-top: 56px; max-width: 860px; }
.regua__titulo { font-size: 0.95rem; color: var(--rose-claro); margin-bottom: 18px; }
.regua__trilho { position: relative; height: 56px; border-bottom: 1px solid rgba(248, 244, 239, 0.35); }
.regua__faixa {
  position: absolute; bottom: -1px; left: 40%; width: 40%; height: 34px; /* 60 a 120 de uma régua de 0 a 150 */
  background: linear-gradient(90deg, rgba(212, 165, 94, 0.25), rgba(212, 165, 94, 0.55)); border-top: 2px solid var(--ouro);
  display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--ouro-claro);
}
.regua__marcas { display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(248, 244, 239, 0.7); margin-top: 8px; font-variant-numeric: tabular-nums; }
.regua__nota { font-size: 0.82rem; color: var(--rose); margin-top: 18px; max-width: 46rem; }
.tempo__frase { font-family: var(--display); font-weight: 600; font-size: var(--t-4); line-height: 1.3; max-width: 28ch; margin-top: 48px; color: var(--papel); }
.tempo .credito { right: 14px; bottom: 10px; z-index: 3; }

/* =========================================================
   URGÊNCIA E GRATUIDADE
   ========================================================= */
.dupla { display: grid; gap: 40px; }
@media (min-width: 820px) { .dupla { grid-template-columns: 1fr 1fr; gap: 0; } .dupla > div + div { border-left: 1px solid var(--linha); padding-left: 56px; } .dupla > div:first-child { padding-right: 56px; } }
.dupla h3 { font-size: var(--t-4); }
.dupla p { color: var(--tinta-2); }
.dupla .ressalva { font-size: 0.9rem; color: var(--bordo); font-weight: 600; margin: 0; }

/* =========================================================
   SOBRE A ADVOGADA — retrato de corpo inteiro
   ========================================================= */
.sobre { display: grid; gap: 44px; align-items: center; }
.sobre > * { min-width: 0; }
@media (min-width: 900px) { .sobre { grid-template-columns: 0.8fr 1.2fr; gap: 80px; } }
.retrato { margin: 0; position: relative; max-width: 440px; width: 100%; justify-self: center; }
.retrato img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; border-radius: var(--raio-foto); }
.retrato::before { /* moldura dourada deslocada */
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--ouro); border-radius: var(--raio-foto); z-index: 0;
}
.retrato img, .retrato__vazio { position: relative; z-index: 1; }
.retrato__vazio {
  display: none; aspect-ratio: 2 / 3; border-radius: var(--raio-foto); background: linear-gradient(180deg, var(--bordo-escuro), var(--vinho));
  border: 1.5px dashed rgba(212, 165, 94, 0.7); color: var(--rose-claro); text-align: center; padding: 32px; flex-direction: column; justify-content: center; align-items: center; gap: 14px;
}
.retrato__vazio svg { width: 74px; height: 160px; color: rgba(212, 165, 94, 0.6); }
.retrato__vazio strong { color: var(--ouro); font-weight: 600; }
.retrato__vazio small { font-size: 0.8rem; opacity: 0.85; line-height: 1.45; }
.retrato--vazio img { display: none; }
.retrato--vazio .retrato__vazio { display: flex; }

.sobre__nome { font-size: var(--t-6); color: var(--papel); margin-bottom: 0.15em; }
.sobre__cargo { color: var(--ouro); font-size: var(--t-2); margin-bottom: 28px; }
.sobre__bio { color: var(--rose-claro); max-width: 36rem; }
.pendente-bio { border: 1px dashed rgba(212, 165, 94, 0.6); border-radius: 10px; padding: 16px 18px; color: var(--rose-claro); font-size: 0.92rem; }
.contatos { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; max-width: 34rem; }
.contatos li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(214, 162, 166, 0.25); font-size: 0.96rem; }
.contatos span { color: var(--rose); font-size: 0.86rem; }
.contatos a { color: var(--papel); text-underline-offset: 3px; text-decoration-color: rgba(212, 165, 94, 0.6); }
.contatos a:hover { color: var(--ouro); }

/* =========================================================
   ESPECIALIDADES — tipográfico
   ========================================================= */
.especialidades { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; column-gap: 48px; counter-reset: esp; }
@media (min-width: 640px) { .especialidades { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .especialidades { grid-template-columns: 1fr 1fr 1fr; } }
.especialidades li { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 1.9rem); letter-spacing: 0; font-weight: 600; line-height: 1.2; padding: 16px 0; border-top: 1px solid var(--linha); color: var(--tinta); }
.especialidades li.inicial { color: var(--bordo); font-style: italic; }
.especialidades li.inicial small { display: block; font-family: var(--texto); font-style: normal; font-size: 0.8rem; color: var(--ouro-texto); margin-top: 4px; letter-spacing: 0; }
.nota-esp { margin-top: 28px; color: var(--tinta-2); max-width: 44rem; }
.nota-esp em { color: var(--bordo); font-style: italic; font-family: var(--display); font-size: 1.1em; }

/* =========================================================
   PAPÉIS
   ========================================================= */
.papeis { display: grid; position: relative; }
@media (min-width: 860px) { .papeis { grid-template-columns: 1fr 1fr; } }
.papel { padding: 40px 28px; }
@media (min-width: 860px) { .papel { padding: 56px 52px; } }
.papel--medico { background: var(--papel); border-radius: 16px 16px 0 0; }
.papel--adv { background: var(--bordo); color: var(--papel); border-radius: 0 0 16px 16px; }
@media (min-width: 860px) { .papel--medico { border-radius: 16px 0 0 16px; } .papel--adv { border-radius: 0 16px 16px 0; } }
.papel h3 { font-size: var(--t-4); }
.papel--adv h3 { color: var(--ouro); }
.papel ul { list-style: none; padding: 0; margin: 20px 0 0; }
.papel li { padding: 11px 0; border-top: 1px solid var(--linha); }
.papel--adv li { border-top-color: rgba(214, 162, 166, 0.25); }
.papeis__fio { display: none; }
@media (min-width: 860px) {
  .papeis__fio { display: block; position: absolute; left: 50%; top: 50%; width: 180px; height: 60px; transform: translate(-50%, -50%); z-index: 2; }
  .papeis__fio path { fill: none; stroke: var(--ouro); stroke-width: 1.6; stroke-linejoin: round; }
}
.autonomia { margin: 32px auto 0; max-width: 46rem; text-align: center; color: var(--tinta-2); font-size: 0.95rem; }

/* =========================================================
   PERGUNTAS
   ========================================================= */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--linha); }
.faq details:last-child { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.25; color: var(--bordo); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--ouro-texto); transition: transform .25s ease; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { margin: 0; padding: 0 48px 26px 0; color: var(--tinta-2); max-width: 44rem; }

/* =========================================================
   CHAMADA FINAL
   ========================================================= */
.final { position: relative; overflow: hidden; background: var(--bordo); color: var(--papel); }
.final__fundo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; filter: grayscale(1) contrast(1.1); opacity: 0.55; }
.final::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 11, 15, 0.94) 0%, rgba(74, 20, 25, 0.78) 50%, rgba(106, 31, 36, 0.45) 100%); z-index: 1; mix-blend-mode: multiply; }
.final .container { position: relative; z-index: 2; }
.final h2 { color: var(--papel); max-width: 22ch; }
.final .intro { color: var(--rose-claro); margin-bottom: 36px; }
.final__acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.final .credito { z-index: 3; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.rodape { background: var(--vinho); color: var(--rose-claro); padding: 64px 0 28px; font-size: 0.93rem; }
.rodape__grade { display: grid; gap: 36px; }
@media (min-width: 860px) { .rodape__grade { grid-template-columns: 1.3fr 1fr 1fr; } }
.rodape h4 { font-family: var(--texto); font-size: 0.9rem; font-weight: 700; color: var(--ouro); margin: 0 0 12px; }
.rodape a { color: var(--papel); text-underline-offset: 3px; text-decoration-color: rgba(212, 165, 94, 0.5); }
.rodape a:hover { color: var(--ouro); }
.rodape address { font-style: normal; }
.rodape p { margin: 0 0 6px; }
.redes { display: flex; gap: 10px; margin-top: 14px; }
.redes a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(212, 165, 94, 0.5); display: grid; place-items: center; }
.redes svg { width: 18px; height: 18px; }
.rodape__legal { border-top: 1px solid rgba(214, 162, 166, 0.18); margin-top: 44px; padding-top: 20px; font-size: 0.8rem; color: var(--rose); }

/* ----- WhatsApp flutuante ----- */
.whats-flutuante {
  position: fixed; right: 16px; bottom: 16px; z-index: 50; display: none; align-items: center; gap: 8px;
  background: var(--papel); color: var(--bordo); border: 1px solid var(--linha); border-radius: 999px; padding: 10px 16px 10px 12px;
  font-size: 0.88rem; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -14px rgba(42, 11, 15, 0.6);
}
.whats-flutuante svg { width: 22px; height: 22px; }
.tem-whats .whats-flutuante { display: inline-flex; }
[data-whats] { display: none !important; }
.tem-whats [data-whats] { display: inline-flex !important; }
.tem-whats .contatos [data-whats], .tem-whats .rodape p [data-whats] { display: inline !important; }

@media (prefers-reduced-motion: reduce) {
  .fio-hero path { animation: none; stroke-dashoffset: 0; }
  .jornada li::before { transition: none; transform: none !important; }
  .painel-aba, .etapa.ativa { animation: none !important; }
}

/* =========================================================
   PÁGINA DO QUESTIONÁRIO
   ========================================================= */
.pq { min-height: 100vh; display: grid; background: var(--papel); }
@media (min-width: 1000px) { .pq { grid-template-columns: 0.85fr 1.15fr; } }
.pq__lado { position: relative; color: var(--papel); background: var(--vinho); overflow: hidden; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px var(--gutter) 24px; }
@media (min-width: 1000px) { .pq__lado { position: sticky; top: 0; height: 100vh; padding: 40px 56px 48px; } }
.pq__lado > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: saturate(0.6); }
.pq__lado::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 11, 15, 0.55) 0%, rgba(42, 11, 15, 0.35) 40%, rgba(42, 11, 15, 0.95) 100%), rgba(106, 31, 36, 0.3); }
.pq__lado > * { position: relative; z-index: 1; }
.pq__lado-topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pq__lado-topo a.link { color: var(--rose-claro); font-size: 0.88rem; text-underline-offset: 3px; }
.pq__citacao { display: none; font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 2.9vw, 2.8rem); line-height: 1.18; max-width: 16ch; margin: 0; }
@media (min-width: 1000px) { .pq__citacao { display: block; } }
.pq__lado .fio-pq { width: 100%; height: 60px; margin-top: 20px; display: none; }
@media (min-width: 1000px) { .pq__lado .fio-pq { display: block; } }
.pq__lado .fio-pq path { fill: none; stroke: var(--ouro); stroke-width: 1.5; }
.pq__lado .credito { position: absolute; z-index: 2; }

.pq__principal { padding: 32px var(--gutter) 40px; display: flex; flex-direction: column; }
@media (min-width: 1000px) { .pq__principal { padding: 72px 72px 40px; } }
.pq__conteudo { width: 100%; max-width: 620px; margin: 0 auto; flex: 1; }
.pq__conteudo h1 { font-size: clamp(2.1rem, 5.4vw, 3.1rem); color: var(--bordo); max-width: 16ch; }
.pq__conteudo h2 { font-size: clamp(1.8rem, 4.6vw, 2.3rem); }
.pq__rodape { text-align: center; font-size: 0.82rem; color: var(--tinta-2); margin-top: 40px; }
.pq__rodape a { color: var(--bordo); }

.intro-lista { list-style: none; padding: 0; margin: 28px 0 32px; }
.intro-lista li { padding: 14px 0; border-top: 1px solid var(--linha); color: var(--tinta); display: grid; grid-template-columns: 120px 1fr; gap: 12px; font-size: 0.96rem; }
.intro-lista li:last-child { border-bottom: 1px solid var(--linha); }
.intro-lista b { color: var(--bordo); font-weight: 700; }
@media (max-width: 480px) { .intro-lista li { grid-template-columns: 1fr; gap: 2px; } }
.link-discreto { display: inline-block; margin-top: 20px; font-size: 0.92rem; color: var(--tinta-2); text-underline-offset: 3px; }
.link-discreto:hover { color: var(--bordo); }

.progresso { margin-bottom: 32px; }
.progresso__info { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--tinta-2); margin-bottom: 10px; }
.progresso__info strong { color: var(--bordo); }
.progresso__barra { height: 3px; background: var(--papel-2); position: relative; }
.progresso__barra span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ouro); transition: width .45s ease; }
.progresso__barra span::after { content: ""; position: absolute; right: -5px; top: -4px; width: 11px; height: 11px; border-radius: 50%; background: var(--ouro); }

.etapa { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.etapa.ativa { display: block; animation: entrar .35s ease; }
@keyframes entrar { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

.campo { margin: 0 0 28px; border: 0; padding: 0; min-width: 0; }
.campo > label, .campo > legend { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 10px; color: var(--tinta); padding: 0; }
.campo .dica { display: block; font-weight: 400; font-size: 0.86rem; color: var(--tinta-2); margin-top: 2px; }
.opcional { font-weight: 400; color: var(--tinta-2); font-size: 0.86rem; }
.entrada {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--linha); border-radius: 8px;
  font: inherit; font-size: 16px; color: var(--tinta); background: var(--branco); transition: border-color .2s ease, box-shadow .2s ease;
}
.entrada:hover { border-color: var(--rose); }
.entrada:focus { outline: none; border-color: var(--bordo); box-shadow: 0 0 0 3px rgba(106, 31, 36, 0.14); }
select.entrada { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--bordo) 50%), linear-gradient(135deg, var(--bordo) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.linha-campos { display: grid; gap: 10px; grid-template-columns: 1fr 104px; }
.linha-registro { display: grid; gap: 10px; grid-template-columns: 96px 1fr 96px; }
.campo.erro .entrada { border-color: #a5261d; }
.msg-erro { display: none; color: #9b2219; font-size: 0.88rem; margin: 8px 0 0; }
.campo.erro .msg-erro { display: block; }

.opcoes { display: grid; gap: 8px; }
@media (min-width: 560px) { .opcoes--2 { grid-template-columns: 1fr 1fr; } }
.opcao { position: relative; }
.opcao input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opcao label {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--linha); border-radius: 8px;
  cursor: pointer; font-size: 0.96rem; line-height: 1.35; background: var(--branco); transition: border-color .15s ease, background-color .15s ease;
}
.opcao label::before { content: ""; flex: none; width: 20px; height: 20px; border: 1.5px solid var(--rose); border-radius: 5px; background: #fff; }
.opcao input[type="radio"] + label::before { border-radius: 50%; }
.opcao label:hover { border-color: var(--rose); }
.opcao input:checked + label { border-color: var(--bordo); background: #f6ebe9; }
.opcao input:checked + label::before {
  border-color: var(--bordo); background: var(--bordo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%23F8F4EF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.opcao input[type="radio"]:checked + label::before { background: var(--bordo); box-shadow: inset 0 0 0 4px #fff; }
.opcao input:focus-visible + label { outline: 3px solid var(--ouro); outline-offset: 2px; }

.consentimento { background: var(--branco); border: 1px solid var(--linha); border-radius: 10px; padding: 18px; margin-bottom: 24px; font-size: 0.9rem; color: var(--tinta-2); }
.consentimento p { margin: 0 0 12px; }
.consentimento a { color: var(--bordo); font-weight: 700; }
.check-simples { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; cursor: pointer; color: var(--tinta); }
.check-simples input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--bordo); flex: none; }
.consentimento.erro { border-color: #a5261d; }
.consentimento.erro .msg-erro { display: block; }

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

.navegacao { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap-reverse; }
.navegacao .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .navegacao .btn { flex: 0 0 auto; } }
.btn-voltar { background: none; border: 0; color: var(--tinta-2); font: inherit; font-size: 0.95rem; cursor: pointer; padding: 12px 4px; text-decoration: underline; text-underline-offset: 3px; }
.btn-voltar:hover { color: var(--bordo); }

.alerta-form { display: none; padding: 14px 16px; border-radius: 8px; font-size: 0.92rem; margin-bottom: 20px; }
.alerta-form.visivel { display: block; }
.alerta-form--erro { background: #fbeceb; color: #7d1c15; border: 1px solid #efc2bf; }
.alerta-form--esboco { background: #fbf1df; color: #6b4a14; border: 1px solid var(--ouro-claro); }

.carregando { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: girar .8s linear infinite; display: none; }
.enviando .carregando { display: inline-block; }
@keyframes girar { to { transform: rotate(360deg); } }

.sucesso h2 { max-width: 18ch; }
.sucesso .fio-ok { width: 180px; height: 48px; margin-bottom: 18px; }
.sucesso .fio-ok path { fill: none; stroke: var(--ouro); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: tracar 1.4s ease forwards; }
.sucesso .acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ===== Aviso de privacidade ===== */
.doc { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 72px; }
.doc h1 { font-size: var(--t-5); color: var(--bordo); }
.doc h2 { font-size: var(--t-3); margin-top: 1.8em; }
.doc li { margin-bottom: 6px; }
.doc .pendente { background: #fbf1df; border: 1px dashed var(--ouro); padding: 1px 6px; border-radius: 4px; font-size: 0.94em; }
.topo-simples { background: var(--vinho); color: var(--papel); }
.topo-simples .container { display: flex; justify-content: space-between; align-items: center; min-height: 76px; gap: 16px; }
.topo-simples a.link { color: var(--rose-claro); font-size: 0.9rem; }

/* =========================================================
   ASSESSORIA JURÍDICA AO CIRURGIÃO — segunda frente
   Mesma linguagem visual; o filete dourado no topo e o rótulo
   marcam a mudança de frente sem criar outra identidade.
   ========================================================= */
.assessoria { position: relative; border-top: 3px solid var(--ouro); }
.assessoria__topo { display: grid; gap: 28px; margin-bottom: 56px; }
@media (min-width: 960px) { .assessoria__topo { grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: end; } }
.assessoria__frente { color: var(--ouro-texto); font-size: 0.92rem; font-weight: 500; margin: 0 0 18px; padding-left: 18px; border-left: 2px solid var(--ouro); }
.assessoria h2 { max-width: 18ch; }
.assessoria__sub { font-family: var(--display); font-size: var(--t-3); line-height: 1.3; color: var(--bordo); margin: 20px 0 0; max-width: 30ch; }
.assessoria__texto p { color: var(--tinta-2); max-width: 36rem; }
.assessoria__texto p + p { margin-top: 1em; }

.servicos { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 700px) { .servicos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .servicos { grid-template-columns: repeat(6, 1fr); } .servico { grid-column: span 2; } .servico:nth-child(4) { grid-column: 1 / span 3; } .servico--periodica { grid-column: 4 / span 3; } }
.servico { background: var(--papel); border: 1px solid var(--linha); border-radius: 14px; padding: 32px 28px 24px; }
.servico h3 { font-size: var(--t-3); line-height: 1.2; color: var(--bordo); }
.servico ul { list-style: none; padding: 0; margin: 18px 0 0; }
.servico li { padding: 10px 0; border-top: 1px solid var(--linha); font-size: 0.95rem; color: var(--tinta); }
.servico--periodica { background: var(--bordo); border-color: var(--bordo); color: var(--papel); }
.servico--periodica h3 { color: var(--ouro); }
.servico--periodica li { color: var(--papel); border-top-color: rgba(214, 162, 166, 0.25); }
@media (min-width: 700px) and (max-width: 1099px) { .servico--periodica { grid-column: 1 / -1; } }

.assessoria__chamada { display: grid; gap: 24px; justify-items: start; margin-top: 64px; }
@media (min-width: 900px) { .assessoria__chamada { grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; } }
.assessoria__fio { width: 140px; height: 38px; }
.assessoria__fio path { fill: none; stroke: var(--ouro); stroke-width: 1.6; stroke-linejoin: round; }
.assessoria__frase { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.3; color: var(--bordo); max-width: 38ch; margin: 0; }
.topo .btn { white-space: nowrap; }
@media (max-width: 440px) { .so-largo { display: none; } }
.faq-grupo + .faq-grupo { margin-top: 64px; }
.faq-grupo h3 { font-size: var(--t-3); color: var(--tinta); margin-bottom: 8px; }
.contatos li > * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 400px) { .contatos li { grid-template-columns: 84px 1fr; gap: 12px; } }
