/* AMJ Advocacia — V7. Estrutura tradicional de site de advocacia (várias páginas),
   com a paleta, as fontes e a logo (Opção 7) da V4. */

@font-face {
  font-family: "Chivo";
  src: url("../assets/fonts/chivo-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../assets/fonts/source-serif-4-latin-var.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --paper: #f4f3f0;
  --white: #fbfbf9;
  --stone: #e9e8e4;
  --line: #d9d8d2;
  --navy: #0f1e45;
  --navy-deep: #0a1533;
  --slate: #4a5677;
  --royal: #1f3d99;
  --royal-deep: #172e78;
  --mist: #c3cceb;

  --font: "Chivo", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;

  --s-small: .9375rem;
  --s-body: clamp(1rem, .96rem + .15vw, 1.0625rem);
  --s-h3: clamp(1.1875rem, 1.1rem + .3vw, 1.375rem);
  --s-h2: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem);
  --s-h1: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem);

  --wrap: 75rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 6.5rem);
  --radius: 6px;
  --shadow: 0 1px 2px rgb(15 30 69 / .06), 0 8px 24px rgb(15 30 69 / .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font: 400 var(--s-body)/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
::selection { background: var(--mist); color: var(--navy); }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--white); padding: .6rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; }

.ico { width: 1.25rem; height: 1.25rem; flex: none; }
.ico-sm { width: 1rem; height: 1rem; }
.ico-lg { width: 2rem; height: 2rem; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .7rem 1.5rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 600 .9375rem/1.2 var(--font); letter-spacing: .01em; text-decoration: none;
  cursor: pointer; transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--royal); color: #fff; }
.btn-primary:hover { background: var(--royal-deep); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--mist); }
.btn-ghost-light { border-color: rgb(255 255 255 / .55); color: #fff; }
.btn-ghost-light:hover { background: rgb(255 255 255 / .1); border-color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- topo ---------- */
.topbar { background: var(--navy-deep); color: #dfe4f3; font-size: .8125rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.5rem; }
.topbar-info { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.topbar-info li, .topbar-info a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; }
.topbar-info a:hover { color: #fff; text-decoration: underline; }
.topbar .ico { width: 1rem; height: 1rem; color: var(--mist); }
.topbar-note { color: var(--mist); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow 200ms var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgb(15 30 69 / .08); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5rem; }
.brand { display: block; }
.brand img { width: auto; height: clamp(2.6rem, 4vw, 3.4rem); }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-list > li > a, .sub-toggle {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .8rem; border: 0; background: none; color: var(--navy);
  font: 500 .9375rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  border-radius: var(--radius);
}
.nav-list > li > a:hover, .sub-toggle:hover { color: var(--royal); }
.nav-list a[aria-current="page"], .has-sub.is-current > .sub-toggle { color: var(--royal); box-shadow: inset 0 -2px 0 var(--royal); border-radius: 0; }
.has-sub { position: relative; }
.sub-toggle .ico { transition: transform 200ms var(--ease); }
.sub-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + .5rem); left: 0; min-width: 16rem;
  padding: .5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 160ms;
}
.has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: .6rem .8rem; border-radius: 4px; text-decoration: none; font-size: .9375rem; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--stone); color: var(--royal); }
.menu-toggle { display: none; }

@media (hover: hover) and (min-width: 64.01em) {
  .has-sub:hover .sub { opacity: 1; visibility: visible; transform: none; }
  .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: .6rem; }
}

@media (max-width: 64em) {
  .topbar-info .topbar-hours, .topbar-note { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem .9rem;
    border: 1px solid var(--line); border-radius: var(--radius); background: none; color: var(--navy);
    font: 600 .9375rem/1 var(--font); cursor: pointer;
  }
  .header-in { flex-wrap: wrap; }
  html:not(.js) .menu-toggle { display: none; }
  .nav { width: 100%; padding-bottom: 1rem; }
  .js .nav {
    position: absolute; top: 100%; left: 0; right: 0; width: auto;
    padding: 1rem var(--gutter) 1.5rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100svh - 5rem); overflow-y: auto;
  }
  .nav {
    flex-direction: column; align-items: stretch; gap: 1rem;
  }
  .js .nav:not(.is-open) { display: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--stone); }
  .nav-list > li > a, .sub-toggle { width: 100%; justify-content: space-between; padding: .9rem .25rem; font-size: 1rem; }
  .nav-list a[aria-current="page"], .has-sub.is-current > .sub-toggle { box-shadow: none; }
  .sub { position: static; display: block; min-width: 0; padding: 0 0 .5rem .75rem; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; }
  .js .has-sub:not(.is-open) .sub { display: none; }
  .nav-cta { width: 100%; }
}
@media (max-width: 30em) {
  .topbar-info li:nth-child(2) { display: none; }
}

/* ---------- herói ---------- */
.hero, .page-hero, .cta-band { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg, .page-hero-bg, .cta-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before, .page-hero::before, .cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero::before { background: linear-gradient(90deg, rgb(10 21 51 / .92) 0%, rgb(10 21 51 / .78) 45%, rgb(10 21 51 / .35) 100%); }
.hero-bg { object-position: 60% 50%; }
.hero-in { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: clamp(32rem, 78svh, 44rem); padding-block: 5rem; }
.kicker { font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); margin-bottom: 1.25rem; }
.hero h1 { max-width: 15ch; font: 500 var(--s-h1)/1.06 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.lead { max-width: 40rem; margin-top: 1.5rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: #e6e9f2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

.page-hero::before { background: linear-gradient(90deg, rgb(10 21 51 / .93) 0%, rgb(10 21 51 / .8) 55%, rgb(10 21 51 / .5) 100%); }
.page-hero-in { padding-block: clamp(3.5rem, 8vw, 6rem); }
.page-hero h1 { margin-top: 1.25rem; font: 500 clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem)/1.08 var(--serif); letter-spacing: -.01em; }
.page-hero .lead { margin-top: 1rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .875rem; color: var(--mist); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.crumbs [aria-current] { color: #fff; }

/* ---------- destaques ---------- */
.highlights { background: var(--white); border-bottom: 1px solid var(--line); }
.highlights-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlights-list li { display: flex; gap: 1rem; padding: 2rem 1.5rem; }
.highlights-list li + li { border-left: 1px solid var(--line); }
.highlights-list li:first-child { padding-left: 0; }
.highlights-list .ico { color: var(--royal); }
.highlights h3 { font: 600 1rem/1.3 var(--font); }
.highlights p { margin-top: .35rem; font-size: .9375rem; line-height: 1.5; color: var(--slate); }
@media (max-width: 64em) {
  .highlights-list { grid-template-columns: repeat(2, 1fr); }
  .highlights-list li { padding: 1.5rem 1rem; }
  .highlights-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .highlights-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 36em) {
  .highlights-list { grid-template-columns: 1fr; }
  .highlights-list li { padding: 1.25rem 0; border-left: 0 !important; }
  .highlights-list li + li { border-top: 1px solid var(--line); }
}

/* ---------- seções ---------- */
.section { padding-block: var(--section); }
.eyebrow { display: flex; align-items: center; gap: .75rem; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--royal); }
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.section-title { font: 500 var(--s-h2)/1.12 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.eyebrow + .section-title { margin-top: .9rem; }
.section-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head > p:not(.eyebrow) { margin-top: 1rem; color: var(--slate); font-size: 1.0625rem; }
.section-head a { color: var(--royal); }
.section-head-light .eyebrow { color: var(--mist); }

/* sobre */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.about-fig { position: relative; }
.about-fig img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.about .about-fig::after { content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; z-index: -1; border: 1px solid var(--royal); border-radius: var(--radius); }
.about { position: relative; z-index: 0; }
.about-text > p:not(.eyebrow) { margin-top: 1.1rem; max-width: 36rem; color: #26304f; }
.about-text .section-title + p { margin-top: 1.5rem; }
.checks { margin: 1.75rem 0 2rem; display: grid; gap: .65rem; }
.checks li { display: flex; align-items: center; gap: .65rem; font-weight: 500; }
.checks .ico { color: var(--royal); }
@media (max-width: 52em) {
  .about-grid { grid-template-columns: 1fr; }
  .about .about-fig::after { inset: .75rem -.5rem -.75rem .75rem; }
}

/* áreas */
.areas { background: var(--white); }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.area-card a { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease); }
.area-card a:hover { border-color: var(--royal); box-shadow: var(--shadow); transform: translateY(-3px); }
.area-img { overflow: hidden; }
.area-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 500ms var(--ease); }
.area-card a:hover .area-img img { transform: scale(1.04); }
.area-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.area-body h3 { font: 600 var(--s-h3)/1.2 var(--serif); }
.area-body p { margin-top: .65rem; font-size: .9375rem; line-height: 1.55; color: var(--slate); flex: 1; }
.more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.25rem; font-weight: 600; font-size: .9375rem; color: var(--royal); }
.area-card a:hover .more .ico { transform: translateX(3px); }
.more .ico { transition: transform 200ms var(--ease); }
@media (max-width: 64em) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 36em) { .area-grid { grid-template-columns: 1fr; } }

/* passos */
.steps { background: var(--navy); color: #fff; }
.step-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.step-list li { padding: 2rem 1.75rem; border: 1px solid rgb(195 204 235 / .25); border-radius: var(--radius); background: rgb(255 255 255 / .03); }
.step-n { display: block; font: 500 2.75rem/1 var(--serif); color: var(--mist); }
.step-list h3 { margin-top: 1.5rem; font: 600 1.125rem/1.3 var(--font); }
.step-list p { margin-top: .6rem; font-size: .9375rem; line-height: 1.55; color: #cfd5e8; }
@media (max-width: 64em) { .step-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 36em) { .step-list { grid-template-columns: 1fr; } }

/* equipe */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.member-photo { aspect-ratio: 4 / 4.6; background: var(--stone); border-radius: var(--radius); overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.member h3 { margin-top: 1.25rem; font: 600 var(--s-h3)/1.25 var(--serif); }
.member-oab { margin-top: .35rem; color: var(--royal); font-weight: 500; font-size: .9375rem; }
@media (max-width: 52em) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 36em) { .team-grid { grid-template-columns: 1fr; } }

/* dúvidas */
.faq { background: var(--white); border-top: 1px solid var(--line); }
.faq-tint { background: var(--stone); border-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 7rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-tint .faq-item, .faq-tint .faq-item:first-child { border-color: #cfcec7; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font: 600 1.0625rem/1.4 var(--font);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--royal); }
.faq-mark { position: relative; width: 1.75rem; height: 1.75rem; flex: none; border: 1px solid var(--line); border-radius: 50%; }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: .7rem; height: 1.5px; background: currentColor; translate: -50% -50%; transition: rotate 200ms var(--ease); }
.faq-mark::after { rotate: 90deg; }
.faq-item[open] .faq-mark::after { rotate: 0deg; }
.faq-item p { padding: 0 3rem 1.5rem 0; color: #2c3657; max-width: 44rem; }
@media (max-width: 52em) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
}

/* faixa de chamada */
.cta-band::before { background: linear-gradient(90deg, rgb(15 30 69 / .95), rgb(15 30 69 / .82)); }
.cta-bg { object-position: 50% 40%; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem 3rem; flex-wrap: wrap; padding-block: clamp(3.5rem, 7vw, 5rem); }
.cta-band h2 { font: 500 clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem)/1.15 var(--serif); }
.cta-band p { margin-top: .6rem; color: #d6dbec; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* contato */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-grid > div:first-child > p:not(.eyebrow) { margin-top: 1rem; color: var(--slate); }
.info-list { display: grid; gap: 1.35rem; margin: 2rem 0; }
.info-list li { display: flex; gap: 1rem; }
.info-list .ico { width: 2.75rem; height: 2.75rem; padding: .7rem; border-radius: 50%; background: var(--stone); color: var(--royal); }
.info-list strong { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.info-list a, .info-list span { display: block; margin-top: .15rem; text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--royal); text-decoration: underline; }
.form-card { padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-title { font: 500 1.75rem/1.2 var(--serif); margin-bottom: 1.5rem; }
.form { display: grid; gap: 1.15rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .875rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: .7rem .9rem;
  border: 1px solid #c9c8c1; border-radius: var(--radius); background: var(--paper); color: var(--navy);
  font: 400 1rem/1.4 var(--font);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgb(31 61 153 / .18); background: #fff; }
.field [aria-invalid="true"] { border-color: #a3261f; }
.check { display: flex; align-items: flex-start; gap: .65rem; font-size: .875rem; line-height: 1.5; color: var(--slate); }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--royal); flex: none; }
.check a { color: var(--royal); }
.form .btn { justify-self: start; }
.form-error { color: #a3261f; font-size: .9375rem; font-weight: 500; }
.form-note { font-size: .8125rem; color: var(--slate); }
.contact .btn-outline { margin-top: .25rem; }
@media (max-width: 52em) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 36em) {
  .field-row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
}

/* ---------- páginas de área ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.prose > .section-title { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); }
.prose > .section-title:not(:first-child) { margin-top: 3.5rem; }
.prose > p { margin-top: 1.1rem; max-width: 42rem; color: #26304f; }
.prose > .section-title + p { margin-top: 1.35rem; }
.prose a { color: var(--royal); }
.prose-narrow { max-width: 46rem; }
.small { font-size: .875rem; color: var(--slate) !important; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.75rem; }
.service-list li { padding: 1.4rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--royal); border-radius: var(--radius); }
.service-list h3 { font: 600 1.0625rem/1.3 var(--font); }
.service-list p { margin-top: .45rem; font-size: .9375rem; line-height: 1.55; color: var(--slate); }
.deadline-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.75rem; }
.deadline-list li { padding: 1.5rem; background: var(--navy); color: #fff; border-radius: var(--radius); }
.deadline-list strong { display: block; font: 500 2rem/1.1 var(--serif); color: #fff; }
.deadline-list span { display: block; margin-top: .5rem; font-size: .9375rem; line-height: 1.5; color: #cfd5e8; }
.deadline-list + .small { margin-top: .9rem; }
.doc-list { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 2rem; margin-top: 1.5rem; }
.doc-list li { display: flex; gap: .65rem; align-items: flex-start; }
.doc-list .ico { margin-top: .3rem; color: var(--royal); }

.aside { position: sticky; top: 7rem; display: grid; gap: 1.25rem; }
.aside-card { padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.aside-card h2 { font: 500 1.5rem/1.2 var(--serif); }
.aside-card > p { margin-top: .6rem; font-size: .9375rem; }
.aside-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.aside-dark > p { color: #cfd5e8; }
.aside-dark .btn { width: 100%; margin: 1.35rem 0 .75rem; }
.aside-link { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; text-decoration: none; font-weight: 500; }
.aside-link:hover { text-decoration: underline; }
.aside-link .ico { color: var(--mist); }
.aside-list { margin-top: .9rem; }
.aside-list a { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.aside-list a:hover { color: var(--royal); }
.aside-list .ico { color: var(--royal); }

@media (max-width: 64em) {
  .with-aside { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 40em) {
  .service-list, .doc-list, .deadline-list, .aside { grid-template-columns: 1fr; }
}

/* ---------- escritório ---------- */
.values { background: var(--white); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.value-grid li { padding: 2rem 1.75rem; border-top: 3px solid var(--royal); background: var(--paper); border-radius: 0 0 var(--radius) var(--radius); }
.value-grid h3 { font: 600 1.375rem/1.2 var(--serif); }
.value-grid p { margin-top: .6rem; font-size: .9375rem; line-height: 1.55; color: var(--slate); }
.areas-mini { background: var(--stone); }
.area-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.area-links a { display: block; height: 100%; padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.area-links a:hover { border-color: var(--royal); box-shadow: var(--shadow); }
.area-links strong { display: block; font: 600 1.375rem/1.2 var(--serif); }
.area-links span { display: block; margin-top: .5rem; color: var(--slate); font-size: .9375rem; }
@media (max-width: 64em) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 40em) { .value-grid, .area-links { grid-template-columns: 1fr; } }

/* ---------- rodapé ---------- */
.site-footer { background: var(--navy-deep); color: #cfd5e8; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-block: 4.5rem 3.5rem; }
.footer-logo { width: 12rem; }
.footer-about p { margin-top: 1.25rem; max-width: 22rem; }
.footer-oab { display: grid; gap: .35rem; margin-top: 1.25rem; color: var(--mist); font-size: .875rem; line-height: 1.5; }
.footer-oab span { white-space: nowrap; }
.footer-title { font: 600 .8125rem/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1.25rem; }
.footer-list { display: grid; gap: .6rem; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; }
.footer-contact .ico { width: 1.1rem; height: 1.1rem; margin-top: .2rem; color: var(--mist); }
.footer-contact a, .footer-contact span { overflow-wrap: anywhere; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.5rem; border-top: 1px solid rgb(195 204 235 / .18); font-size: .875rem; }
.footer-bottom a:hover { color: #fff; }
.footer-credits { padding-bottom: 6rem; font-size: .75rem; line-height: 1.6; color: #8f9abb; }
.footer-credits a { color: inherit; }
@media (max-width: 64em) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36em) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-block: 3.5rem 2.5rem; } }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: clamp(1rem, 2vw, 1.5rem); bottom: clamp(1rem, 2vw, 1.5rem); z-index: 60;
  display: inline-flex; align-items: center; gap: .55rem; min-height: 3.25rem; padding: .75rem 1.25rem .75rem 1rem;
  border-radius: 999px; background: #1f7a4d; color: #fff; text-decoration: none; font-weight: 600; font-size: .9375rem;
  box-shadow: 0 8px 24px rgb(10 21 51 / .25); transition: background-color 180ms var(--ease), transform 180ms var(--ease);
}
.whats-float:hover { background: #17633e; transform: translateY(-2px); }
.whats-float .ico { width: 1.5rem; height: 1.5rem; }
@media (max-width: 36em) {
  .whats-float { padding: .85rem; }
  .whats-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; }
}
