/* Portal do Segurado — Site 01 · base clara: branco + preto, verde #3DDC97 como acento */

:root {
  --branco: #FFFFFF;
  --claro: #F4F8F5;          /* off-white com leve tom de verde */
  --ink: #0C110E;            /* preto da marca — texto e seções escuras */
  --ink-2: #10160F;
  --muted: #55645C;          /* cinza-verde para texto secundário */
  --borda: #E3EAE5;
  --verde: #3DDC97;          /* acento */
  --verde-escuro: #123324;
  --alerta: #C0533F;
  --offwhite: #F2F6F2;       /* texto sobre fundos escuros */
  --cinza-claro: #9FB2A8;    /* secundário sobre fundos escuros */
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Archivo", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--branco);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 840px; }
.center { text-align: center; margin-top: 48px; }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; }
.rv.d2 { transition-delay: .2s; }
.rv.d3 { transition-delay: .3s; }
.rv.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- barra de progresso ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--ink); z-index: 60;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--borda);
  padding: 12px 32px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .01em; font-size: 1.05rem; color: var(--ink); }
.brand b { color: var(--verde); font-weight: 700; }
.mark { width: 26px; height: 26px; fill: var(--ink); }
.mark .g { fill: var(--verde); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .92rem; color: var(--muted); }
.nav-links a { white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  color: var(--branco) !important; background: var(--ink);
  padding: 9px 18px; border-radius: 999px; font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(12, 17, 14, .25); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--branco);
  font-weight: 700; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(12, 17, 14, .3); }
.btn .arrow { color: var(--verde); transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn.big { font-size: 1.1rem; padding: 18px 34px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 600;
  padding: 15px 24px; border-radius: 999px;
  border: 1px solid rgba(12, 17, 14, .3);
  transition: border-color .2s ease, background .2s ease;
}
.btn-ghost:hover { border-color: var(--ink); background: var(--claro); }

/* ---------- kicker ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-size: .82rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.kicker .tick { width: 26px; height: 2px; background: var(--verde); display: inline-block; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 96px;
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: -240px; right: -180px;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 220, 151, .16), transparent 65%);
  pointer-events: none;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.6vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 22px 0 26px;
}
.hero h1 em { font-style: italic; box-shadow: inset 0 -0.34em rgba(61, 220, 151, .35); }
.hero-sub { max-width: 620px; font-size: 1.12rem; color: var(--muted); }
.hero-sub b { color: var(--ink); font-weight: 700; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 10px 34px;
  list-style: none; margin-top: 44px;
  font-size: .92rem; color: var(--muted);
}
.hero-proof li { position: relative; padding-left: 18px; }
.hero-proof li::before { content: ""; position: absolute; left: 0; top: .52em; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); }
.hero-proof b { color: var(--ink); }

/* ---------- faixa de fatos (preto) ---------- */
.strip { overflow: hidden; padding: 16px 0; background: var(--ink); }
.strip-track { display: flex; gap: 56px; width: max-content; animation: strip 36s linear infinite; }
.strip-track span { white-space: nowrap; font-size: .95rem; color: var(--cinza-claro); }
.strip-track em { color: var(--verde); font-style: normal; font-weight: 700; }
@keyframes strip { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ---------- seções ---------- */
.section { padding: 104px 0; }
.section.alt { background: var(--claro); border-top: 1px solid var(--borda); border-bottom: 1px solid var(--borda); }
.section-head { margin-bottom: 52px; max-width: 720px; }
.section-head .no {
  font-family: var(--serif); font-size: .95rem; color: var(--muted);
  display: block; margin-bottom: 10px; letter-spacing: .2em;
}
.section-head .no::after { content: ""; display: inline-block; width: 30px; height: 2px; background: var(--verde); margin-left: 12px; vertical-align: middle; }
.section-head h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  line-height: 1.15; letter-spacing: -.01em;
}
.section-head h2 em { box-shadow: inset 0 -0.3em rgba(61, 220, 151, .35); }
.section-head .desc { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

/* ---------- seção escura (preto) ---------- */
.section.dark { background: var(--ink); color: var(--offwhite); }
.section.dark .section-head .no { color: var(--cinza-claro); }
.section.dark .section-head h2 { color: var(--branco); }
.section.dark .section-head h2 em { box-shadow: none; color: var(--verde); }
.section.dark .section-head .desc { color: var(--cinza-claro); }

/* ---------- áreas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.area {
  position: relative; display: flex; flex-direction: column;
  background: var(--branco); border: 1px solid var(--borda);
  border-radius: 18px; padding: 30px 26px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.area:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 14px 34px rgba(12, 17, 14, .1); }
.area .tag {
  align-self: flex-start; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
  background: rgba(61, 220, 151, .16); color: #14724B;
}
.area .tag.alerta { background: rgba(192, 83, 63, .12); color: var(--alerta); }
.area h3 { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; line-height: 1.25; margin-bottom: 10px; }
.area p { font-size: .95rem; color: var(--muted); flex: 1; }
.area p b { color: var(--ink); }
.area .go { margin-top: 18px; font-size: .9rem; font-weight: 700; color: var(--ink); }
.area .go::after { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--verde); margin-left: 8px; vertical-align: middle; transition: width .2s ease; }
.area:hover .go::after { width: 30px; }

/* ---------- passos (sobre a seção preta) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--ink-2); border: 1px solid rgba(242, 246, 242, .12);
  border-radius: 18px; padding: 34px 28px;
}
.step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--verde); color: var(--ink);
  font-weight: 800; font-size: 1.15rem; margin-bottom: 18px;
}
.step h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; color: var(--branco); }
.step p { font-size: .95rem; color: var(--cinza-claro); }
.step p b { color: var(--offwhite); }
.section.dark .btn { background: var(--branco); color: var(--ink); }
.section.dark .btn:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .5); }

/* ---------- quiz ---------- */
.quiz-shell {
  background: var(--branco); border: 1px solid var(--borda);
  border-radius: 22px; padding: 40px; max-width: 760px; margin: 0 auto;
  box-shadow: 0 18px 44px rgba(12, 17, 14, .07);
}
.quiz-progress { display: flex; gap: 8px; margin-bottom: 28px; }
.quiz-progress i { height: 4px; flex: 1; border-radius: 2px; background: var(--borda); transition: background .3s ease; }
.quiz-progress i.done { background: var(--verde); }
.quiz-q { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin-bottom: 22px; line-height: 1.3; }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opt {
  text-align: left; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--claro); border: 1px solid var(--borda);
  border-radius: 12px; padding: 15px 18px; cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.quiz-opt:hover { border-color: var(--ink); background: var(--branco); transform: translateX(3px); }
.quiz-result { display: none; }
.quiz-result.show { display: block; }
.quiz-result .verdict { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.25; margin-bottom: 14px; }
.quiz-result .verdict em { box-shadow: inset 0 -0.3em rgba(61, 220, 151, .35); }
.quiz-result .explain { color: var(--muted); margin-bottom: 26px; }
.quiz-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.quiz-restart {
  background: none; border: none; color: var(--muted); font-family: var(--sans);
  font-size: .9rem; cursor: pointer; padding: 8px;
}
.quiz-restart:hover { color: var(--ink); }

/* ---------- o portal ---------- */
.lawyer { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.lawyer-mark { color: var(--ink); }
.lawyer-mark svg { width: 100%; max-width: 220px; }
.lede { font-size: 1.25rem; line-height: 1.5; margin-bottom: 18px; }
.lede b { box-shadow: inset 0 -0.3em rgba(61, 220, 151, .35); }
.prose { color: var(--muted); margin-bottom: 16px; max-width: 640px; }
.prose a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--verde); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--borda); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: 1.18rem; font-weight: 600; color: var(--ink);
  padding: 22px 4px;
}
.faq-q .ic { color: var(--verde); font-size: 1.4rem; font-weight: 400; transition: transform .3s ease; flex-shrink: 0; }
.faq-item.open .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 4px 24px; color: var(--muted); max-width: 700px; }
.faq-a b { color: var(--ink); }

/* ---------- CTA final (preto) ---------- */
.final {
  padding: 120px 0;
  text-align: center;
  background: radial-gradient(ellipse at 50% 130%, rgba(61, 220, 151, .16), transparent 60%), var(--ink);
  color: var(--offwhite);
}
.final .kicker { color: var(--offwhite); }
.final h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12;
  margin: 22px 0 20px; color: var(--branco);
}
.final h2 em { color: var(--verde); }
.final > .wrap > p { max-width: 560px; margin: 0 auto; color: var(--cinza-claro); }
.final .btn { margin-top: 40px; background: var(--branco); color: var(--ink); }
.final .btn:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .5); }
/* especificidade precisa vencer `.final > .wrap > p`, senão a margem some */
.final > .wrap > p.micro { margin-top: 24px; font-size: .85rem; color: var(--cinza-claro); }

/* ---------- rodapé (branco) ---------- */
.footer { padding: 56px 0 40px; background: var(--branco); border-top: 1px solid var(--borda); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-id { margin-top: 14px; font-size: .88rem; color: var(--muted); line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: .92rem; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--borda); font-size: .8rem; color: var(--muted); max-width: 760px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--branco);
  font-weight: 700; font-size: .95rem;
  padding: 13px 20px; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(12, 17, 14, .35);
  transition: transform .2s ease;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 20px; height: 20px; fill: var(--verde); }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .lawyer { grid-template-columns: 1fr; gap: 24px; }
  .lawyer-mark svg { max-width: 120px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }

  /* nav enxuta: marca à esquerda, pílula curta à direita */
  .nav { padding: 12px 18px; }
  .nav.scrolled { padding: 10px 18px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 8px 15px; font-size: .85rem; }
  .so-desktop { display: none; }          /* "Falar no " some, fica só "WhatsApp" */
  .brand { font-size: .98rem; gap: 8px; }
  .mark { width: 22px; height: 22px; }

  /* hero */
  .hero { padding: 116px 0 64px; }
  .hero h1 { font-size: clamp(2.05rem, 8.6vw, 2.6rem); margin: 18px 0 20px; }
  .hero-sub { font-size: 1.04rem; }
  .hero-ctas { gap: 10px; margin-top: 30px; }
  .hero-ctas .btn, .hero-ctas .btn-ghost { width: 100%; justify-content: center; }
  .hero-proof { gap: 8px 0; margin-top: 34px; flex-direction: column; }

  /* seções */
  .section { padding: 66px 0; }
  .section-head { margin-bottom: 36px; }
  .areas-grid { grid-template-columns: 1fr; }
  .area { padding: 26px 22px; }
  .step { padding: 28px 24px; }
  .center { margin-top: 36px; }
  .center .btn { width: 100%; justify-content: center; }

  /* quiz */
  .quiz-shell { padding: 26px 20px; border-radius: 18px; }
  .quiz-q { font-size: 1.3rem; }
  .quiz-ctas { gap: 12px; }
  .quiz-ctas .btn { width: 100%; justify-content: center; }
  .quiz-restart { width: 100%; text-align: center; }

  /* FAQ: pergunta e "+" sem se espremer */
  .faq-q { font-size: 1.06rem; gap: 14px; padding: 20px 2px; }

  /* CTA final: respiro entre botão e linha de apoio */
  .final { padding: 84px 0; }
  .final .btn.big { width: 100%; justify-content: center; font-size: 1rem; padding: 17px 22px; margin-top: 32px; }
  .final > .wrap > p.micro { margin-top: 22px; line-height: 1.6; }

  /* rodapé */
  .footer { padding: 44px 0 34px; }
  .footer-grid { flex-direction: column; gap: 30px; }
  .legal { margin-top: 32px; }

  /* WhatsApp flutuante vira botão redondo — não cobre mais o conteúdo */
  .wa-float {
    right: 16px; bottom: 16px;
    width: 54px; height: 54px; padding: 0;
    justify-content: center; gap: 0;
    background: var(--verde); color: var(--ink);
    box-shadow: 0 8px 22px rgba(12, 17, 14, .3);
  }
  .wa-float svg { width: 26px; height: 26px; fill: var(--ink); }
}

/* telas bem estreitas */
@media (max-width: 380px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 10px 14px; }
  .brand span { font-size: .92rem; }
  .hero h1 { font-size: 1.95rem; }
}

/* ============================================================
   AJUSTES DO SITE 02
   1. identificação profissional no rodapé (exigência da OAB)
   2. menu do celular (no Site 01 os links sumiam sem alternativa)
   3. alvos de toque com no mínimo 44px, como manda a acessibilidade
   ============================================================ */

/* --- 1. rodapé com responsável técnico --- */
.footer-oab { min-width: 220px; }
.footer-rot {
  display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.oab-nome { font-weight: 700; font-size: .95rem; color: var(--ink); margin: 0; }
.oab-num  { font-size: .88rem; color: var(--ink); margin: 2px 0 10px; }
.oab-esc  { font-size: .85rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* --- 2. menu do celular --- */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px;
}
.nav-toggle span {
  display: block; height: 2px; width: 22px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 62px 0 auto 0; z-index: 90; background: var(--branco);
  border-bottom: 1px solid var(--borda); box-shadow: 0 16px 40px rgba(12, 17, 14, .10);
  display: flex; flex-direction: column; padding: 8px 20px 18px;
}
.menu-mobile[hidden] { display: none; }
.menu-mobile a {
  display: flex; align-items: center; min-height: 48px;   /* alvo de toque folgado */
  font-size: 1.02rem; color: var(--ink); border-bottom: 1px solid var(--borda);
}
.menu-mobile a:last-child { border-bottom: 0; }

/* --- 3. alvos de toque no celular --- */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
}
@media (max-width: 680px) {
  .footer-links a { min-height: 44px; display: flex; align-items: center; }
  .footer-grid { gap: 28px; }
  .nav-cta { min-height: 44px; display: inline-flex; align-items: center; }
}
