/* Jonathan Fernandes Advocacia */
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("../fonts/baskerville-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #f5f7fa;
  --ink: #0f182e;
  --navy: #0b1328;
  --navy-2: #0f1d3e;
  --navy-3: #1b2f55;
  --accent: #00459a;
  --steel: #3e6493;
  --muted: #586479;
  --line: #dde3ec;
  --mist: #e8ecf2;
  --green: #1fa34f;
  --green-d: #178a41;
  --r: 12px;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 8px); }
body { margin: 0; font: 400 1.0625rem/1.7 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--navy-2); line-height: 1.2; }
p { margin: 0 0 1rem; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(100% - 48px, 1180px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #6aa0ff; outline-offset: 3px; }

.eyebrow { font: 600 .74rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.eyebrow-line { display: flex; align-items: center; gap: 1rem; color: #aebde0; }
.eyebrow-line::before { content: ""; width: 44px; height: 1px; background: #6f84b3; }
.rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), #5a8fe0); margin: 1.4rem 0 1.6rem; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .85rem 1.6rem; border-radius: var(--r); border: 1px solid transparent; font: 600 1rem/1 var(--sans); text-decoration: none; color: #fff; background: var(--navy-2); cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); box-shadow: 0 8px 20px -8px rgba(31, 163, 79, .6); }
.btn-green:hover { background: var(--green-d); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { background: transparent; color: var(--navy-2); border-color: var(--navy-2); }
.btn-outline:hover { background: var(--navy-2); color: #fff; }
.btn-sm { min-height: 44px; padding: .65rem 1.15rem; font-size: .92rem; }
.btn-block { width: 100%; }
.link-line { font-weight: 600; color: var(--navy-2); text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: 2px; transition: border-color .2s; }
.link-line:hover { border-color: var(--accent); }

/* Cabeçalho */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(245, 247, 250, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .25s, background .25s; }
.site-header.scrolled { box-shadow: 0 10px 30px -14px rgba(11, 19, 40, .35); background: rgba(245, 247, 250, .96); }
.bar { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { text-decoration: none; flex: none; }
.logo { display: inline-flex; align-items: center; gap: .8rem; }
.logo svg { height: 44px; width: auto; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt b { font: 500 .94rem/1.25 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: #17237d; }
.logo-txt small { font: 500 .47rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: #586479; margin-top: .45rem; }
.logo-light .logo-txt b { color: #fff; }
.logo-light .logo-txt small { color: #a9b6d3; }
.menu { display: flex; align-items: center; gap: 2.5rem; }
.menu ul { display: flex; gap: 2rem; }
.menu ul a { font: 600 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: #3b4660; padding: .6rem 0; transition: color .2s; }
.menu ul a:hover { color: var(--accent); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--navy-2); border-radius: 2px; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: max(46rem, 100svh); display: flex; align-items: center; color: #fff; background: var(--navy) var(--hero) center / cover no-repeat; padding: calc(var(--head-h) + 3.5rem) 0 5rem; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(92deg, rgba(9,15,32,.95) 0%, rgba(10,17,36,.86) 38%, rgba(11,19,40,.52) 68%, rgba(11,19,40,.24) 100%), linear-gradient(rgba(10,17,36,.35), rgba(9,15,32,.9)); }
.hero-in { width: min(100% - 48px, 1180px); }
.hero h1 { color: #f8fafc; font-size: clamp(2.3rem, 5.2vw, 3.6rem); line-height: 1.18; letter-spacing: -.01em; max-width: 14em; }
.hero h1 mark { color: inherit; background: rgba(23, 56, 128, .75); padding: .02em .22em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-lead { max-width: 40rem; margin: 1.8rem 0 0; color: #cdd6ea; font-size: 1.1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .8rem 2.5rem; margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.14); font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #b7c3de; }
.hero-facts li { display: flex; align-items: center; gap: .65rem; }
.hero-facts svg { width: 18px; height: 18px; color: #8fb0e6; }
.hero .eyebrow, .hero h1, .hero-lead, .hero-cta, .hero-facts { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { animation-delay: .08s; } .hero-lead { animation-delay: .16s; } .hero-cta { animation-delay: .24s; } .hero-facts { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Seções */
.sec-head { max-width: 46rem; }
.sec-head h2, .about h2, .lawyer h2, .contact h2, .reviews h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -.01em; }
.sec-head > p:last-child { color: var(--muted); margin: 0; }

.areas { background: rgba(232, 236, 242, .5); padding: clamp(4rem, 8vw, 7rem) 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.card { display: flex; flex-direction: column; background: linear-gradient(160deg, var(--navy-2), #162648); color: #fff; border-radius: var(--r); padding: 2rem 1.6rem 1.6rem; box-shadow: 0 24px 40px -26px rgba(11, 19, 40, .7); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 46px -24px rgba(11, 19, 40, .8); }
.card-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: rgba(255,255,255,.08); color: #bcd0f5; margin-bottom: 1.6rem; }
.card-ic svg { width: 22px; height: 22px; }
.card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 1rem; }
.card h3 a { text-decoration: none; }
.card p { color: #b7c3de; font-size: .95rem; line-height: 1.65; flex: 1; }
.card-links { display: grid; gap: .6rem; margin-top: 1.2rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.12); }
.card-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .7rem 1rem; border-radius: 10px; font: 600 .78rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.card-btn svg { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.card-btn-more { color: #fff; border: 1px solid rgba(255,255,255,.35); }
.card-btn-more:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.card-btn-more:hover svg { transform: translateX(4px); }
.card-btn-wa { color: #fff; background: var(--green); border: 1px solid var(--green); }
.card-btn-wa:hover { background: var(--green-d); border-color: var(--green-d); transform: translateY(-1px); }

.steps-sec { padding: clamp(4rem, 8vw, 6rem) 0; }
.steps-sec h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(2rem, 5vw, 4rem); margin-top: 2.5rem; }
.steps li { counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font: 400 2.6rem/1 var(--serif); color: var(--steel); margin-bottom: 1rem; }
.steps h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.steps p { color: var(--muted); margin: 0; }

.about { position: relative; background: var(--navy); color: #fff; padding: clamp(4rem, 8vw, 7rem) 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(160deg, var(--navy), #13244a); background-size: 56px 56px, 56px 56px, 100% 100%; }
.about h2 { color: #fff; }
.about .eyebrow { color: #8fb0e6; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.about-text p { color: #c3cde3; }
.about-text strong { color: #fff; font-weight: 600; }
.about-text .btn { margin: .8rem 0 2.5rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.14); }
.values b { display: block; font: 600 .74rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #dbe5fb; margin-bottom: .6rem; }
.values span { display: block; color: #a9b6d3; font-size: .92rem; line-height: 1.55; }
.about-panel { position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: clamp(1.6rem, 3vw, 2.4rem); }
.about-panel .eyebrow { margin-bottom: 1.2rem; }
.about-mark { position: absolute; right: -18px; top: -18px; width: 170px; height: 170px; color: rgba(255,255,255,.06); pointer-events: none; }
.about-mark svg { width: 100%; height: 100%; }
.about-ways { list-style: none; margin: 0; padding: 0; counter-reset: w; position: relative; }
.about-ways li { counter-increment: w; display: grid; grid-template-columns: 2.4rem 1fr; column-gap: .6rem; padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.about-ways li::before { content: "0" counter(w); grid-row: 1 / 3; font: 400 1.5rem/1 var(--serif); color: #6f9be0; }
.about-ways b { font: 600 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: .3rem; }
.about-ways span { color: #a9b6d3; font-size: .95rem; line-height: 1.55; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.stats > div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 1.4rem 1.3rem; }
.stats strong { display: block; font: 400 2.2rem/1 var(--serif); color: #fff; margin-bottom: .8rem; }
.stats b { display: block; font: 600 .7rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #dbe5fb; margin-bottom: .5rem; }
.stats span { color: #a9b6d3; font-size: .88rem; line-height: 1.5; display: block; }

.lawyer { background: #fff; padding: clamp(4rem, 8vw, 7rem) 0; }
.lawyer-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.lawyer-sub { font: 600 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin: .9rem 0 0; }
.lawyer-text .lead-p { font-size: 1.15rem; color: var(--ink); font-weight: 500; }
.lawyer-text p { color: #3d485f; }
.follow { margin: 2rem 0 .8rem !important; font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted) !important; }
.social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; transition: background .2s, transform .2s; }
.social a:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.social-dark { margin-top: 0; }
.social-dark a { border-color: var(--line); color: var(--navy-2); }
.social-dark a:hover { background: var(--mist); }
.lawyer-fig { position: relative; margin: 0; position: sticky; top: calc(var(--head-h) + 24px); }
.lawyer-fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: 20px; background: var(--mist); box-shadow: 0 30px 60px -30px rgba(11,19,40,.55); }
.lawyer-fig figcaption { position: absolute; left: 1.25rem; bottom: 1.25rem; background: rgba(11,19,40,.88); backdrop-filter: blur(6px); color: #fff; padding: .9rem 1.2rem; border-radius: 12px; display: flex; flex-direction: column; line-height: 1.3; }
.lawyer-fig figcaption strong { font: 600 1.05rem/1.3 var(--sans); letter-spacing: .04em; }
.lawyer-fig figcaption span { font: 600 .66rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #a9b6d3; }

/* Avaliações do Google */
.reviews { padding: clamp(4rem, 8vw, 6.5rem) 0; overflow: hidden; }
.rv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: 2.5rem; }
.rv-score { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.rv-num { font: 400 3rem/1 var(--serif); color: var(--navy-2); }
.rv-stars { display: inline-flex; gap: 2px; color: #f4b400; }
.rv-stars svg { width: 16px; height: 16px; }
.rv-stars.big svg { width: 22px; height: 22px; }
.rv-count { font-weight: 500; color: var(--muted); }
.rv-marquee { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.rv-track { display: flex; width: max-content; animation: marquee 55s linear infinite; padding: .5rem 0 1.5rem; }
.rv-marquee:hover .rv-track, .rv-marquee:focus-within .rv-track { animation-play-state: paused; }
.rv-track li { flex: none; width: min(340px, 82vw); margin-right: 1.25rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.rv-card { height: 100%; margin: 0; display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; box-shadow: 0 18px 34px -26px rgba(11,19,40,.5); }
.rv-card blockquote { margin: 0; flex: 1; font-size: 1rem; line-height: 1.6; color: #2c3752; }
.rv-card figcaption { display: flex; align-items: center; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.rv-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-2); color: #fff; font: 600 1rem/1 var(--sans); flex: none; }
.rv-card figcaption b { display: block; font-weight: 600; line-height: 1.2; }
.rv-card small { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .8rem; margin-top: .2rem; }
.rv-card small svg { width: 14px; height: 14px; }
.rv-foot { margin-top: 1rem; text-align: center; }

.band { background: linear-gradient(140deg, #0f1d3e, #1b2f55); color: #fff; padding: clamp(2.5rem, 5vw, 3.75rem) 0; }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.band h2 { color: #f8fafc; font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: .5rem; }
.band p { margin: 0; color: #c3cde3; }

.contact { padding: clamp(4rem, 8vw, 7rem) 0; background: rgba(232,236,242,.4); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-lead { color: var(--muted); }
.contact-list { display: grid; gap: 1.1rem; margin: 1.8rem 0; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--accent); margin-top: .2rem; flex: none; }
.contact-list small { display: block; font: 600 .68rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 0 30px 50px -36px rgba(11,19,40,.5); }
.form h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font: 600 .68rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 69, 154, .15); }
.field textarea { resize: vertical; min-height: 110px; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 1.2rem 0; }
.check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.form-actions { display: grid; gap: .75rem; }
.form-note { font-size: .84rem; color: var(--muted); margin: .9rem 0 0; }
.form-status { margin: .6rem 0 0; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: #137a3a; } .form-status.err { color: #b3261e; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Rodapé */
.site-footer { background: var(--navy); color: #b4c0da; padding-top: 4.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3rem; }
.foot-id p { margin: 1.4rem 0 0; max-width: 30ch; font-size: .95rem; }
.foot-h { color: #fff; font: 600 .74rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.2rem; }
.foot-list { display: grid; gap: .65rem; font-size: .95rem; }
.foot-list a { text-decoration: none; }
.foot-list a:hover { color: #fff; }
.foot-notice { border-top: 1px solid rgba(255,255,255,.1); padding: 1.6rem 0 6.5rem; font-size: .84rem; color: #8d9ab8; }
.foot-notice p { margin: 0 0 .6rem; max-width: 90ch; }
.foot-notice a { text-decoration: underline; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; }

/* Animação de entrada ao rolar (só com JavaScript ativo) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .cards .reveal:nth-child(2), .js .steps .reveal:nth-child(2) { transition-delay: .08s; }
.js .cards .reveal:nth-child(3), .js .steps .reveal:nth-child(3) { transition-delay: .16s; }
.js .cards .reveal:nth-child(3n+2) { transition-delay: .08s; }
.js .cards .reveal:nth-child(3n+3) { transition-delay: .16s; }

/* Páginas de área (LP) */
.lp-hero { background: linear-gradient(160deg, var(--navy), #162648); color: #fff; padding: calc(var(--head-h) + 3rem) 0 clamp(3rem, 6vw, 5rem); }
.crumbs { display: flex; gap: .6rem; font-size: .9rem; color: #a9b6d3; margin-bottom: 2rem; }
.crumbs a { color: #a9b6d3; }
.lp-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.01em; max-width: 18ch; margin-bottom: 1.25rem; }
.lp-lead { max-width: 62ch; font-size: 1.15rem; color: #c3cde3; margin: 0 0 2rem; }
.lp-hero .hero-cta { margin-top: 0; align-items: center; }
.lp-hero .link-line { color: #fff; border-color: rgba(255,255,255,.3); }
.lp-topics { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.topic { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 1rem clamp(2rem, 6vw, 5rem); padding: 2.5rem 0; border-top: 1px solid var(--line); }
.topic:last-child { border-bottom: 1px solid var(--line); }
.topic h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.topic p { max-width: 66ch; color: #34405a; }
.topic p:last-child { margin: 0; }
.lp-docs { background: var(--navy); color: #fff; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.lp-docs h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.lp-docs p { color: #b9c4dc; max-width: 40ch; margin: 0; }
.lp-docs-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 5rem); }
.lp-docs li { padding: .95rem 0 .95rem 1.75rem; border-bottom: 1px solid rgba(255,255,255,.16); position: relative; }
.lp-docs li:first-child { border-top: 1px solid rgba(255,255,255,.16); }
.lp-docs li::before { content: ""; position: absolute; left: 0; top: 1.5rem; width: .7rem; height: 2px; background: #8fb0e6; }
.lp-faq { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.lp-faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 5rem); }
.lp-faq h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.lp-faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.lp-faq details:last-child { border-bottom: 1px solid var(--line); }
.lp-faq summary { cursor: pointer; font: 400 1.05rem/1.5 var(--serif); color: var(--navy-2); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--accent); }
.lp-faq details[open] summary::after { content: "\2212"; }
.lp-faq details p { margin: .8rem 0 0; color: var(--muted); max-width: 64ch; }
.lp-cta { background: linear-gradient(140deg, #0f1d3e, #1b2f55); padding: clamp(2.5rem, 5vw, 3.75rem) 0; }
.lp-cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.lp-cta h2 { color: #f8fafc; font-size: clamp(1.4rem, 2.6vw, 1.9rem); max-width: 26ch; }
.btn-light { background: var(--green); }
.lp-404 { padding: 9rem 0 6rem; }

/* Serviços mais procurados */
.lp-serv { background: rgba(232, 236, 242, .55); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.lp-serv h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.serv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.serv { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 2rem 1.7rem 1.7rem; overflow: hidden; box-shadow: 0 18px 34px -28px rgba(11,19,40,.5); transition: transform .3s, box-shadow .3s, border-color .3s; }
.serv::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent), #5a8fe0); transform: scaleX(.28); transform-origin: left; transition: transform .4s; }
.serv:hover { transform: translateY(-6px); border-color: #c4cfe2; box-shadow: 0 30px 46px -26px rgba(11,19,40,.55); }
.serv:hover::before { transform: scaleX(1); }
.serv-n { font: 400 2.4rem/1 var(--serif); color: var(--steel); margin-bottom: 1.1rem; }
.serv h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: .8rem; }
.serv p { color: var(--muted); font-size: .98rem; line-height: 1.65; flex: 1; }
.serv-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: .4rem 0 1.4rem; }
.serv-tags li { font: 600 .68rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: rgba(0, 69, 154, .08); padding: .45rem .7rem; border-radius: 999px; }
.serv-btn { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .7rem 1rem; border-radius: 10px; background: var(--green); color: #fff; text-decoration: none; font: 600 .82rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; transition: background .2s, transform .2s; }
.serv-btn svg { width: 16px; height: 16px; flex: none; }
.serv-btn svg:last-child { transition: transform .2s; }
.serv-btn:hover { background: var(--green-d); }
.serv-btn:hover svg:last-child { transform: translateX(4px); }
.js .serv-grid .reveal:nth-child(3n+2) { transition-delay: .08s; }
.js .serv-grid .reveal:nth-child(3n+3) { transition-delay: .16s; }
@media (max-width: 1000px) { .serv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .serv-grid { grid-template-columns: 1fr; } }

/* Responsivo */
@media (max-width: 1060px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu ul { gap: 1.3rem; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .menu { position: absolute; left: 0; right: 0; top: var(--head-h); flex-direction: column; align-items: stretch; gap: 1rem; background: #f5f7fa; padding: 1rem 24px 1.5rem; border-top: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(11,19,40,.4); display: none; }
  .menu.open { display: flex; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu ul a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .about-grid, .lawyer-grid, .contact-grid { grid-template-columns: 1fr; }
  .lawyer-fig { position: relative; top: 0; order: -1; max-width: 460px; }
  .topic, .lp-docs-grid, .lp-faq-grid { grid-template-columns: 1fr; }
  .topic { padding: 2rem 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-id { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --head-h: 72px; }
  .wrap, .hero-in { width: min(100% - 40px, 1180px); }
  .logo svg { height: 38px; }
  .logo-txt b { font-size: .8rem; }
  .hero { padding-bottom: 3.5rem; }
  .hero-cta .btn { width: 100%; }
  .hero-facts { flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
  .cards, .steps, .values, .stats, .field-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .band .btn, .lp-cta .btn { width: 100%; }
  .wa-float { right: 14px; bottom: 14px; }
}
@media (max-width: 640px) {
  html { -webkit-text-size-adjust: 100%; }
  body { font-size: 1rem; }
  .cards { gap: 1rem; }
  .card { padding: 1.4rem 1.25rem; }
  .card p { font-size: .95rem; }
  .card-links { margin-top: 1rem; padding-top: 1.1rem; }
  .card-ic { margin-bottom: 1.1rem; }
  .sec-head { margin-bottom: 1.8rem; }
  .js .reveal { transition-delay: 0s !important; }
  .lawyer-fig { max-width: none; }
  .lawyer-fig img { aspect-ratio: 1 / 1; object-position: 50% 8%; }
  .about-panel { padding: 1.4rem 1.2rem; }
  .about-mark { width: 120px; height: 120px; }
  .values { gap: 1.1rem; }
  .stats { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .stats > div { padding: 1rem .9rem; }
  .stats strong { font-size: 1.8rem; margin-bottom: .6rem; }
  .stats span { font-size: .82rem; line-height: 1.45; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .wrap, .hero-in { width: min(100% - 64px, 1180px); }
  .about-panel { max-width: 640px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .rv-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .rv-track li[aria-hidden="true"] { display: none; }
}

/* Para quem atendemos */
.lp-pub { background: #fff; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.lp-pub h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.pub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.pub { border-left: 3px solid var(--accent); background: var(--bg); border-radius: 0 12px 12px 0; padding: 1.6rem 1.5rem; }
.pub h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.pub p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .pub-grid { grid-template-columns: 1fr; } }

/* Páginas de texto (política, 404) */
.legal { padding: calc(var(--head-h) + 4rem) 0 5rem; }
.legal-in { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .6rem; }
.legal-date { color: var(--muted); margin-bottom: 2rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .7rem; }
.legal p { color: #34405a; }
.legal a:not(.btn) { color: var(--accent); }
