/* A. Rocha Advocacia — Direito Previdenciário
   Mobile-first, sem build step. */

:root {
  --navy-deep: #1f344b;     /* azul-marinho da marca, tom escuro (cabeçalho e rodapé) */
  --navy: #2c4561;          /* cor oficial */
  --navy-700: #233a53;
  --navy-800: #1b2e44;
  --navy-900: #122235;
  --silver: #c9d0d8;
  --silver-2: #e3e8ee;
  --silver-3: #9aa6b3;
  --bg-alt: #f3f5f8;
  --line: #dfe4ea;
  --text: #1c2632;
  --muted: #4f5d6c;
  --wa: #0f7b40;
  --wa-hover: #0b6634;
  --wa-float: #1faa55;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18, 34, 53, .06), 0 8px 24px rgba(18, 34, 53, .06);
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

:focus-visible { outline: 3px solid #7fb2ff; outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.4rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.25 var(--sans); text-decoration: none; text-align: center;
  transition: background-color .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(15, 123, 64, .28); }
.btn-wa:hover { background: var(--wa-hover); transform: translateY(-1px); }
.btn-lg { min-height: 60px; padding: 1rem 1.8rem; font-size: 1.0625rem; width: 100%; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(201, 208, 216, .32);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-seal { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.brand { gap: 10px; }
.brand-wordmark { width: 148px; height: auto; }
.header-cta {
  margin-left: auto; display: inline-flex; align-items: center; gap: .45rem;
  color: #fff; background: var(--wa); text-decoration: none;
  font-weight: 600; font-size: .9rem; padding: .5rem .9rem; border-radius: 999px; min-height: 40px;
}
.header-cta:hover { background: var(--wa-hover); }
.header-cta .icon { width: 1.1em; height: 1.1em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(111, 146, 186, .28), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 55%, var(--navy-900) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--silver), transparent); opacity: .55;
}
.hero-inner { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--silver); margin-bottom: 1.1rem;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.1rem, 7.6vw, 3.5rem); letter-spacing: -.01em; line-height: 1.1;
  margin-bottom: 1.25rem; text-wrap: balance;
}
.hero-lead { font-size: 1.08rem; color: #dfe6ee; max-width: 38rem; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-direction: column; gap: 18px; align-items: stretch; margin-bottom: 1.75rem; }
.hero-secondary { color: #fff; font-weight: 500; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.5); }
.hero-secondary:hover { text-decoration-color: #fff; }
.hero-meta {
  font-size: .85rem; color: var(--silver); margin: 0;
  padding-top: 1rem; border-top: 1px solid rgba(201, 208, 216, .22);
}
.hero-visual { display: none; }
.seal-halo {
  position: relative; width: min(360px, 100%); margin: 0 auto; aspect-ratio: 1;
  border-radius: 50%; padding: 18px;
  background: radial-gradient(circle, rgba(255,255,255,.12), rgba(255,255,255,0) 70%);
}
.seal-halo::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid rgba(201, 208, 216, .35);
}
.seal-halo img { width: 100%; height: auto; border-radius: 50%; box-shadow: 0 30px 60px rgba(0,0,0,.35); }

/* ---------- Seções ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 780px; margin-bottom: 36px; }
.kicker {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); margin-bottom: .75rem; display: flex; align-items: center; gap: .6rem;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--silver-3); }
.section h2 {
  font-family: var(--serif); font-weight: 600; color: var(--navy-900);
  font-size: clamp(1.75rem, 5.4vw, 2.5rem); margin-bottom: 1rem; text-wrap: balance;
}
.section-lead { color: var(--muted); font-size: 1.08rem; margin: 0; }

.grid-2, .grid-3 { display: grid; gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
}
.card h3 {
  font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--navy-900);
  margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem;
}
.icon-title { color: var(--navy); width: 1.1em; height: 1.1em; }
.card p { color: var(--muted); margin: 0; }
.card p strong, .check-list strong { color: var(--text); font-weight: 600; }
.card-rule { border-top: 3px solid var(--navy); }
.card-wide { margin-top: 20px; }

.check-list li {
  position: relative; padding-left: 32px; margin-bottom: .7rem; color: var(--muted);
}
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%;
  background: #e8edf3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232c4561' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/14px no-repeat;
}
.check-list-2col { display: grid; gap: .7rem 32px; }
.check-list-2col li { margin: 0; }

.note {
  margin-top: 24px; padding: 18px 20px; border-radius: var(--radius);
  background: #eef2f7; border-left: 4px solid var(--navy); color: var(--text);
}
.note p { margin: 0; }
.section-cta { margin-top: 32px; display: flex; }
.section-cta .btn { width: 100%; }

/* ---------- Como funciona ---------- */
.section-dark {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-deep)); color: #e6ecf2;
}
.section-dark .kicker { color: var(--silver); }
.section-dark h2 { color: #fff; }
.steps { display: grid; gap: 18px; counter-reset: none; }
.step {
  position: relative; padding: 20px 20px 20px 84px; border-radius: var(--radius); min-height: 88px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(201, 208, 216, .16);
}
.step-num {
  position: absolute; left: 20px; top: 20px;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font: 600 1.4rem/1 var(--serif); color: var(--navy-900);
  background: linear-gradient(135deg, #f4f6f9, #b9c2cd 55%, #e6eaef);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.6);
}
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: #fff; margin-bottom: .5rem; }
.step p { margin: 0; color: #c7d1dc; font-size: 1rem; }

/* ---------- Sobre ---------- */
.about { display: grid; gap: 28px; align-items: center; }
.about-seal { width: 112px; }
.about-seal img { border-radius: 50%; box-shadow: 0 16px 40px rgba(18, 34, 53, .25); }
.about-oab {
  font-weight: 600; color: var(--navy); letter-spacing: .03em; margin-top: -.4rem; margin-bottom: 1.2rem;
}
.about-text > p:not(.kicker):not(.about-oab) { color: var(--muted); }
.about-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 1.4rem; }
.about-links a {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; color: var(--navy);
  text-decoration: none; word-break: break-word;
}
.about-links a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(18,34,53,.04);
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-weight: 600; color: var(--navy-900); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--navy); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq-body { padding: 16px 20px 20px; color: var(--muted); }
.faq-body p { margin: 0; }

/* ---------- CTA final ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(201,208,216,.18), transparent 70%),
    var(--navy);
  color: #fff; text-align: center; padding: 60px 0;
}
.cta-band h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 5.4vw, 2.4rem); margin-bottom: .75rem; }
.cta-band p { color: #dbe3ec; max-width: 36rem; margin: 0 auto 1.75rem; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; max-width: 420px; margin: 0 auto; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-deep); border-top: 1px solid rgba(201, 208, 216, .32); color: #c3cad3; font-size: .95rem; padding: 52px 0 104px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 36px; }
.footer-seal { width: 56px; height: 56px; border-radius: 50%; }
.footer-wordmark { width: 240px; height: auto; }
.footer-area { margin: 0; color: var(--silver-3); font-size: .9rem; }
.footer-cols { display: grid; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid rgba(201,208,216,.16); }
.footer-title {
  font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--silver);
  margin-bottom: .9rem;
}
.footer-cols p { margin-bottom: .9rem; }
.footer-list li { margin-bottom: .55rem; }
.footer-list a { color: #dde3ea; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; word-break: break-word; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-list .icon { width: 1.05em; height: 1.05em; color: var(--silver-3); }
.disclaimer {
  margin: 28px 0 10px; font-size: .9rem; color: #c3cad3; line-height: 1.6;
  padding: 14px 16px; border: 1px solid rgba(201,208,216,.2); border-radius: 10px;
}
.copyright { margin: 0; font-size: .82rem; color: #b8c1cc; }

/* ---------- Botão flutuante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 999px;
  background: var(--wa-float); color: #fff; text-decoration: none; font-weight: 600;
  box-shadow: 0 10px 28px rgba(0,0,0,.28), 0 0 0 4px rgba(255,255,255,.9);
  transition: transform .2s, background-color .2s;
}
.wa-float:hover { transform: translateY(-2px); background: var(--wa); }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Breakpoints ---------- */
@media (max-width: 359px) {
  .header-cta span { display: none; }
  .header-cta { padding: .5rem .65rem; }
}

@media (min-width: 600px) {
  .container { padding: 0 28px; }
  .brand-wordmark { width: 210px; }
  .brand-seal { width: 40px; height: 40px; }
  .brand { gap: 12px; }
  .btn-lg { width: auto; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
  .section-cta .btn { width: auto; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { padding: 26px 24px; }
  .step-num { position: static; margin-bottom: 16px; width: 48px; height: 48px; }
  .check-list-2col { grid-template-columns: 1fr 1fr; }
  .cta-actions { flex-direction: row; justify-content: center; max-width: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .section { padding: 96px 0; }
  .hero-inner { grid-template-columns: 1.35fr 1fr; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
  .hero-visual { display: block; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .card { padding: 32px 30px; }
  .about { grid-template-columns: 260px 1fr; gap: 64px; }
  .about-seal { width: 260px; }
  .footer-cols { grid-template-columns: 1.3fr 1fr 1fr; }
  .site-footer { padding-bottom: 56px; }
}

@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .header-inner { min-height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Política de Privacidade ---------- */
.page-hero {
  color: #fff; padding: 44px 0 40px;
  background:
    radial-gradient(700px 360px at 85% 10%, rgba(111, 146, 186, .26), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 60%, var(--navy-900) 100%);
}
.page-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 7vw, 3.2rem); margin-bottom: .6rem; }
.page-hero-meta { margin: 0; color: var(--silver); font-size: .95rem; }
.legal { padding-top: 40px; }
.legal-intro { font-size: 1.08rem; color: var(--text); margin-bottom: 28px; }
.toc {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 36px;
}
.section .toc-title {
  font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
  margin-bottom: .8rem;
}
.toc ol { list-style: decimal; padding-left: 1.3rem; display: grid; gap: .3rem; font-size: .98rem; }
.toc a { color: var(--navy); text-underline-offset: 3px; }
.legal-block { padding-top: 8px; margin-bottom: 30px; }
.section .legal-block h2 {
  font-size: clamp(1.45rem, 4.6vw, 1.85rem); margin-bottom: .8rem;
  padding-bottom: .5rem; border-bottom: 1px solid var(--line);
}
.legal-num { color: var(--silver-3); margin-right: .15em; }
.legal-block h3 { font: 600 1.05rem/1.35 var(--sans); color: var(--navy-900); margin: 1.4rem 0 .6rem; }
.legal-block p, .legal-list li { color: #3d4a58; }
.legal-block a { word-break: break-word; }
.legal-list { list-style: disc; padding-left: 1.3rem; margin: 0 0 1rem; }
.legal-list li { margin-bottom: .5rem; padding-left: .2rem; }
.legal-list li::marker { color: var(--navy); }
.legal-list strong, .legal-block p strong { color: var(--text); font-weight: 600; }
@media (min-width: 900px) {
  .page-hero { padding: 72px 0 64px; }
  .legal { padding-top: 64px; }
  .toc ol { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

/* ---------- Impressão / PDF ---------- */
@media print {
  @page { size: A4; margin: 12mm 11mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  html { scroll-padding-top: 0; }
  body { font-size: 10.5pt; line-height: 1.55; }
  .wa-float, .skip-link { display: none !important; }
  .site-header { position: static; }
  .btn, .btn-wa { box-shadow: none; transform: none; }
  .hero-inner { padding-top: 30px; padding-bottom: 40px; gap: 28px; }
  .hero-visual { display: block; }
  .seal-halo { width: 200px; padding: 10px; }
  .seal-halo img { box-shadow: 0 14px 30px rgba(0,0,0,.35); }
  .section { padding: 30px 0; }
  .cta-band { padding: 34px 0; }
  .site-footer { padding: 24px 0 16px; }
  .footer-brand { margin-bottom: 18px; gap: 10px; }
  .footer-seal { width: 44px; height: 44px; }
  .footer-cols { padding-bottom: 16px; gap: 20px; }
  .disclaimer { margin: 16px 0 8px; padding: 10px 14px; }
  .section-head { margin-bottom: 20px; }
  .card, .step, .note, .faq details, .footer-cols > div, .disclaimer, .toc, .about,
  .check-list li, .legal-list li, .section-cta, .cta-inner, .keep, .section-head,
  .site-footer, .cta-band { break-inside: avoid; }
  h1, h2, h3, .kicker, .section-head, .legal-block h3 { break-after: avoid; }
  .legal-block p { orphans: 3; widows: 3; }
  .legal-block { break-inside: avoid; }
  /* FAQ: mostrar todas as respostas no PDF */
  .faq details::details-content { content-visibility: visible; display: block; }
  .faq summary .icon { display: none; }
  .faq summary { border-bottom: 1px solid var(--line); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .card { padding: 20px 18px; box-shadow: none; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .step { padding: 18px 16px; }
  .step h3 { font-size: 1.15rem; }
  .step p { font-size: .9rem; }
  .section-dark { break-inside: avoid; }
  .about { grid-template-columns: 150px 1fr; gap: 32px; }
  .about-seal { width: 150px; }
  .footer-cols { grid-template-columns: 1.25fr 1.25fr 1fr; }
  .site-footer { font-size: 9.5pt; }
  .footer-list a { word-break: normal; }
  .page-hero { padding: 36px 0 30px; }
  .legal { padding-top: 26px; }
  .toc ol { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}
