/* =========================================================
   Rosa & Mello Advogados · redesign ALOCO (nov/2026)
   Mobile-first · sem dependências · respeita reduced-motion
   ========================================================= */

@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-latin.woff2") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/opensans-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* marca */
  --gold: #D5BD45;
  --gold-soft: #E7D78C;
  --gold-ink: #7A6718;        /* dourado para texto sobre fundo claro (AA) */
  --charcoal: #2C2A2A;
  --ink: #161515;
  --ink-2: #1E1C1C;
  --navy: #00305B;
  --navy-deep: #001a33;
  --ivory: #F4F0E6;
  --paper: #F7F4EE;
  --paper-2: #EFEAE0;
  --text-dark: #2C2A2A;
  --muted-dark: #5E5952;
  --muted-light: #B8B1A5;
  --line-dark: rgb(44 42 42 / .14);
  --line-light: rgb(244 240 230 / .14);
  --wa: #25D366;

  /* tipo */
  --f-display: "Raleway", "Segoe UI", system-ui, sans-serif;
  --f-text: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --fs-hero: clamp(2.35rem, 1.3rem + 4.6vw, 5rem);
  --fs-h2: clamp(1.85rem, 1.25rem + 2.4vw, 3.1rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .4vw, 1.35rem);
  --fs-lead: clamp(1.05rem, .98rem + .35vw, 1.25rem);
  --fs-body: 1rem;

  /* espaço e forma */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(80px, 11vw, 144px);
  --r-sm: 4px; --r-md: 10px; --r-lg: 18px;
  --header-h: 76px;

  /* movimento */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dur: 320ms;
  --dur-reveal: 900ms;
  --stagger: 90ms;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font: 400 var(--fs-body)/1.65 var(--f-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--ink); }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 12px; top: 12px; transform: translateY(-200%); z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; transition: transform .2s; }
.skip:focus { transform: none; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 .78rem/1 var(--f-display); letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .eyebrow--light, .sheet .eyebrow { color: var(--gold); }
.h2 {
  font: 600 var(--fs-h2)/1.12 var(--f-display); letter-spacing: -.015em;
  text-wrap: balance; max-width: 20ch;
}
.h2 em, .hero__title em { font-style: normal; color: var(--gold); }
.section--light .h2 em, .section--paper .h2 em { color: var(--gold-ink); }
.rule { display: block; width: 64px; height: 2px; background: var(--gold); margin: 28px 0; transform-origin: left; }
.rule--center { margin-inline: auto; transform-origin: center; }

/* ---------- botões ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: var(--r-sm);
  font: 600 .95rem/1 var(--f-display); letter-spacing: .02em;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { --h: 44px; padding: 0 16px; font-size: .88rem; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); box-shadow: 0 10px 30px -10px rgb(213 189 69 / .55); }
.btn--ghost { color: var(--ivory); border: 1px solid rgb(244 240 230 / .38); background: rgb(22 21 21 / .18); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--outline { color: var(--gold); border: 1px solid rgb(213 189 69 / .6); }
.btn--outline:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--wa { background: var(--charcoal); color: var(--ivory); }
.btn--wa .ico { color: var(--wa); }
.btn--wa:hover { background: var(--ink); }
.btn--line { color: var(--text-dark); border: 1px solid var(--line-dark); }
.btn--line:hover { border-color: var(--charcoal); }
.ico--arrow { transition: transform var(--dur) var(--ease-out); }
.btn:hover .ico--arrow, .who:hover .ico--arrow, .map__ext:hover .ico--arrow { transform: translateX(4px); }

/* ---------- barra de progresso ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform: scaleX(0); transform-origin: left; }

/* ---------- cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), height .4s var(--ease-out);
}
.header::before { /* vidro */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgb(22 21 21 / .9); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-light); transition: opacity .4s var(--ease-out);
}
.header.is-scrolled::before { opacity: 1; }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.header__logo { display: flex; align-items: center; min-height: 48px; }
.header__logo img { height: 50px; width: auto; transition: height .4s var(--ease-out); }
.header.is-scrolled .header__logo img { height: 44px; }
.nav { display: none; margin-left: auto; }
.nav__list { display: flex; gap: 6px; list-style: none; padding: 0; }
.nav__list a {
  position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 12px;
  font: 600 .86rem/1 var(--f-display); letter-spacing: .04em; color: rgb(244 240 230 / .82);
  transition: color var(--dur);
}
.nav__list a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__list a:hover, .nav__list a[aria-current="true"] { color: var(--ivory); }
.nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.header__cta { display: none; }
.burger { margin-left: auto; width: 48px; height: 48px; display: grid; place-content: center; gap: 7px; border-radius: 50%; }
.burger span { display: block; width: 24px; height: 1.5px; background: var(--ivory); transition: transform .45s var(--ease-out), width .45s var(--ease-out); }
.burger span:last-child { width: 16px; justify-self: end; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { width: 24px; transform: translateY(-4.25px) rotate(-45deg); }

/* menu mobile em tela cheia */
.menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: radial-gradient(120% 80% at 100% 0%, rgb(0 48 91 / .55), transparent 60%), var(--ink);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io), visibility 0s linear .7s; visibility: hidden;
}
.menu[hidden] { display: flex; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
.menu__nav ol { list-style: none; padding: 0; }
.menu__nav li { overflow: hidden; border-bottom: 1px solid var(--line-light); }
.menu__nav a { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; font: 600 clamp(1.6rem, 7vw, 2.2rem)/1.1 var(--f-display); transform: translateY(110%); transition: transform .6s var(--ease-out), color var(--dur); }
.menu__nav small { font: 600 .75rem/1 var(--f-display); color: var(--gold); letter-spacing: .1em; }
.menu.is-open .menu__nav a { transform: none; transition-delay: calc(.22s + var(--k, 0) * 60ms); }
.menu__nav a:hover { color: var(--gold); }
.menu__foot { display: grid; gap: 16px; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s var(--ease-out); }
.menu.is-open .menu__foot { opacity: 1; transform: none; transition-delay: .55s; }
.menu__foot p { color: var(--muted-light); font-size: .85rem; text-align: center; }
body.menu-open { overflow: hidden; }
body.menu-open .header::before { opacity: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; min-height: 100svh; display: grid; grid-template-rows: 1fr auto;
  padding-top: calc(var(--header-h) + 40px); overflow: hidden; background: var(--navy-deep);
}
.hero__media, .hero__shade { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.js .hero__media img { transform: scale(1.12); transition: transform 2.4s var(--ease-out); }
.is-loaded .hero__media img { transform: scale(1.02); }
.hero__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(22 21 21 / .65) 0%, rgb(22 21 21 / 0) 26%),
    linear-gradient(0deg, rgb(22 21 21 / .96) 0%, rgb(22 21 21 / .55) 38%, rgb(0 26 51 / .25) 70%),
    linear-gradient(90deg, rgb(0 26 51 / .55), transparent 70%);
}
.hero__content { align-self: end; padding-bottom: clamp(28px, 6vh, 64px); }
.hero__title { font: 700 var(--fs-hero)/1.02 var(--f-display); letter-spacing: -.025em; margin-bottom: 24px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { max-width: 34rem; font-size: var(--fs-lead); color: rgb(244 240 230 / .86); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { flex: 1 1 220px; }
.hero__facts {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--line-light); padding-top: 0; padding-bottom: calc(20px + env(safe-area-inset-bottom));
}
.hero__facts li { padding: 18px 0; display: grid; gap: 4px; }
.hero__facts li + li { padding-left: 18px; border-left: 1px solid var(--line-light); }
.hero__facts li:last-child { display: none; }
.hero__facts strong { font: 700 1.6rem/1 var(--f-display); color: var(--gold); }
.hero__facts span { font-size: .8rem; color: var(--muted-light); line-height: 1.35; }
.hero__scroll { display: none; }

/* entrada do hero: coreografia escalonada */
.js .hero__in { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(.25s + var(--d) * 110ms); }
.js .hero__title .hero__in { opacity: 1; transform: translateY(105%); transition-duration: 1.1s; }
.is-loaded .hero__in, .is-loaded .hero__title .hero__in { opacity: 1; transform: none; }

/* ---------- seções ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--light { background: var(--paper); color: var(--text-dark); }
.section--paper { background: var(--paper-2); color: var(--text-dark); }
.section--dark { background: var(--ink-2); color: var(--ivory); }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--center { text-align: center; }
.section__head--center .h2 { margin-inline: auto; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section__lead { max-width: 40rem; margin-top: 20px; font-size: var(--fs-lead); color: var(--muted-light); }
.section--light .section__lead { color: var(--muted-dark); }

/* escritório */
.about__grid { display: grid; gap: 56px; align-items: center; }
.about__media { position: relative; }
.frame { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 40px 80px -40px rgb(22 21 21 / .45); will-change: transform; }
.frame picture { position: absolute; inset: -7% 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.about__media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: var(--r-md); z-index: -1; }
.about__badge { position: absolute; left: -1px; bottom: 24px; background: var(--charcoal); color: var(--ivory); padding: 16px 20px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .8rem; line-height: 1.4; display: grid; }
.about__badge strong { font: 700 1.05rem/1.2 var(--f-display); color: var(--gold); }
.about__text p:not(.eyebrow) { color: var(--muted-dark); max-width: 36rem; }
.about__text p + p { margin-top: 16px; }
.pillars { display: grid; gap: 1px; margin-top: clamp(64px, 9vw, 112px); background: var(--line-dark); border-block: 1px solid var(--line-dark); }
.pillar { background: var(--paper); padding: 32px 4px; display: grid; gap: 10px; align-content: start; transition: background-color var(--dur); }
.pillar__ico { width: 34px; height: 34px; color: var(--gold-ink); margin-bottom: 8px; transition: transform .5s var(--ease-out); }
.pillar h3 { font: 700 var(--fs-h3)/1.25 var(--f-display); }
.pillar p { color: var(--muted-dark); font-size: .95rem; }
.pillar:hover .pillar__ico { transform: translateY(-4px); }

/* áreas */
.areas { overflow: hidden; }
.areas::before { /* monograma como marca d'água */
  content: ""; position: absolute; right: -6%; top: 8%; width: min(46vw, 560px); aspect-ratio: 1.6; opacity: .03;
  background: url("../img/monograma-claro.png") center / contain no-repeat; pointer-events: none;
}
.area-list { display: grid; border-top: 1px solid var(--line-light); }
.area-list li { border-bottom: 1px solid var(--line-light); }
.area {
  position: relative; isolation: isolate; width: 100%; min-height: 76px; display: grid; grid-template-columns: 34px 30px 1fr 24px; align-items: center; gap: 14px;
  padding: 18px 8px; text-align: left; overflow: hidden;
}
.area::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(213 189 69 / .14), rgb(213 189 69 / .02)); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-out); }
.area__n { font: 600 .78rem/1 var(--f-display); color: var(--muted-light); letter-spacing: .08em; transition: color var(--dur); }
.area__ico { width: 28px; height: 28px; color: var(--gold); transition: transform .5s var(--ease-out); }
.area__name { font: 600 clamp(1.08rem, .98rem + .5vw, 1.4rem)/1.2 var(--f-display); transition: transform .5s var(--ease-out), color var(--dur); }
.area__go { width: 22px; height: 22px; color: var(--gold); transform: rotate(-45deg); opacity: .6; transition: transform .5s var(--ease-out), opacity var(--dur); }
.area:hover::before, .area:focus-visible::before { transform: scaleX(1); }
.area:hover .area__name, .area:focus-visible .area__name { transform: translateX(6px); color: var(--gold-soft); }
.area:hover .area__go, .area:focus-visible .area__go { transform: none; opacity: 1; }
.area:hover .area__n { color: var(--gold); }
.area:hover .area__ico { transform: scale(1.08) rotate(-4deg); }
.areas__note { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; border: 1px solid var(--line-light); border-radius: var(--r-md); background: rgb(244 240 230 / .02); }
.areas__note p { font: 600 1.1rem/1.35 var(--f-display); }

/* advogados */
.team__grid { display: grid; gap: 32px; max-width: 980px; margin-inline: auto; }
.lawyer { background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 1px 0 var(--line-dark), 0 30px 60px -40px rgb(22 21 21 / .35); display: grid; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.lawyer:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line-dark), 0 40px 70px -40px rgb(22 21 21 / .5); }
.lawyer__photo { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; background: #e9e4da; }
.lawyer__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, rgb(22 21 21 / .35), transparent); opacity: .7; transition: opacity .5s; }
.lawyer__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(.85) contrast(1.02); transform: scale(1.02); transition: filter .7s var(--ease-out), transform 1.2s var(--ease-out); }
.lawyer:hover .lawyer__photo img, .lawyer:focus-within .lawyer__photo img { filter: none; transform: scale(1.06); }
.lawyer:hover .lawyer__photo::after { opacity: 0; }
.lawyer__body { padding: 28px 24px 26px; position: relative; }
.lawyer__body::before { content: ""; position: absolute; top: 0; left: 24px; width: 48px; height: 2px; background: var(--gold); transform: translateY(-1px); transition: width .6s var(--ease-out); }
.lawyer:hover .lawyer__body::before { width: calc(100% - 48px); }
.lawyer__role { font: 700 .74rem/1 var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.lawyer__name { font: 700 clamp(1.35rem, 1.2rem + .6vw, 1.7rem)/1.2 var(--f-display); margin: 10px 0 6px; color: var(--text-dark); }
.lawyer__oab { color: var(--muted-dark); font-size: .9rem; margin-bottom: 22px; }
.lawyer__actions { display: grid; gap: 10px; }

/* dúvidas */
.faq__grid { display: grid; gap: 24px; }
.qa { border-bottom: 1px solid var(--line-dark); }
.qa:first-child { border-top: 1px solid var(--line-dark); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 18px 0; font: 600 1.08rem/1.35 var(--f-display); color: var(--text-dark); }
.qa summary::-webkit-details-marker { display: none; }
.qa__ico { position: relative; width: 28px; height: 28px; flex: none; border: 1px solid var(--line-dark); border-radius: 50%; transition: background-color var(--dur), border-color var(--dur); }
.qa__ico::before, .qa__ico::after { content: ""; position: absolute; inset: 50% 8px auto; height: 1.5px; margin-top: -.75px; background: var(--text-dark); transition: transform .4s var(--ease-out); }
.qa__ico::after { transform: rotate(90deg); }
.qa[open] .qa__ico { background: var(--gold); border-color: var(--gold); }
.qa[open] .qa__ico::after { transform: rotate(0); }
.qa summary:hover .qa__ico { border-color: var(--gold-ink); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.qa[open] .qa__a { grid-template-rows: 1fr; }
.qa__a > p { overflow: hidden; color: var(--muted-dark); padding-right: 48px; }
.qa[open] .qa__a > p { padding-bottom: 22px; }
.qa__a a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }

/* contato */
.contact { background: radial-gradient(90% 70% at 0% 100%, rgb(0 48 91 / .35), transparent 60%), var(--ink-2); }
.contact__grid { display: grid; gap: 40px; }
.info { display: grid; gap: 4px; }
.info__item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-light); }
.info__item > .ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; border: 1px solid rgb(213 189 69 / .4); color: var(--gold); }
.info__item h3 { font: 700 .74rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 4px 0 8px; }
.info__item p { color: rgb(244 240 230 / .86); }
.info__item a { border-bottom: 1px solid rgb(244 240 230 / .25); transition: border-color var(--dur), color var(--dur); }
.info__item a:hover { color: var(--gold); border-color: var(--gold); }
.map { position: relative; margin-top: 28px; border-radius: var(--r-md); overflow: hidden; min-height: 220px; border: 1px solid var(--line-light);
  background:
    linear-gradient(rgb(244 240 230 / .05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgb(244 240 230 / .05) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(60% 80% at 50% 50%, rgb(0 48 91 / .55), var(--ink));
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }
.map__load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--ivory); }
.map__load .ico { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--gold); color: var(--ink); box-shadow: 0 0 0 10px rgb(213 189 69 / .15); transition: box-shadow .5s var(--ease-out); }
.map__load:hover .ico { box-shadow: 0 0 0 16px rgb(213 189 69 / .12); }
.map__load span { font: 700 1rem/1 var(--f-display); margin-top: 8px; }
.map__load small { color: var(--muted-light); font-size: .8rem; }
.map__ext { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-sm); background: rgb(22 21 21 / .82); font-size: .8rem; font-weight: 600; }
.form { background: var(--paper); color: var(--text-dark); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); display: grid; gap: 16px; align-content: start; box-shadow: 0 50px 100px -50px rgb(0 0 0 / .8); }
.form__title { font: 700 1.5rem/1.2 var(--f-display); }
.form__hint { color: var(--muted-dark); font-size: .92rem; margin-top: -8px; margin-bottom: 4px; }
.field { position: relative; }
.field-row { display: grid; gap: 16px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 56px; padding: 24px 16px 8px; border-radius: var(--r-sm);
  border: 1px solid var(--line-dark); background: #fff; color: var(--text-dark); font: 400 1rem/1.4 var(--f-text);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field select { padding: 0 44px 0 16px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%235E5952' stroke-width='1.8' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; color: var(--muted-dark); }
.field select:valid:not([data-empty]) { color: var(--text-dark); }
.field textarea { resize: vertical; min-height: 128px; padding-top: 28px; }
.field label { position: absolute; left: 17px; top: 18px; color: var(--muted-dark); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease-out), color .3s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-ink); box-shadow: 0 0 0 3px rgb(213 189 69 / .3); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.78); color: var(--gold-ink); }
.field .is-invalid { border-color: #b3261e; }
.form__error { color: #b3261e; font-size: .9rem; font-weight: 600; }
.form__actions { display: grid; gap: 10px; margin-top: 4px; }
.form .btn--outline { color: var(--text-dark); border-color: var(--line-dark); }
.form .btn--outline:hover { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }

/* rodapé */
.footer { background: var(--ink); color: var(--muted-light); padding-top: clamp(64px, 8vw, 96px); font-size: .92rem; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
.footer__brand img { width: 170px; margin-bottom: 18px; }
.footer h3 { font: 700 .74rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer a { transition: color var(--dur); }
.footer a:hover { color: var(--gold); }
.footer__base { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-block: 24px calc(96px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-light); font-size: .82rem; }
.footer__top { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--ivory); min-height: 44px; }

/* barra de ação no celular */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 8px; border-radius: 14px;
  background: rgb(22 21 21 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-light);
  transform: translateY(140%); transition: transform .6s var(--ease-out);
}
.dock.is-visible { transform: none; }
.dock__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 10px; font: 600 .92rem/1 var(--f-display); color: var(--ivory); background: rgb(244 240 230 / .06); }
.dock__btn--wa { background: var(--gold); color: var(--ink); }

/* escolha do sócio (dialog) */
.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 100%; background: transparent; color: var(--ivory); overflow: visible; }
.sheet::backdrop { background: rgb(10 10 10 / .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.sheet[open]::backdrop { opacity: 1; }
.sheet__card { position: relative; background: var(--ink-2); border: 1px solid var(--line-light); border-radius: 22px 22px 0 0; padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .5s var(--ease-out); }
.sheet.is-in .sheet__card { transform: none; }
.sheet__title { font: 700 1.5rem/1.2 var(--f-display); margin-bottom: 8px; }
.sheet__topic { color: var(--muted-light); margin-bottom: 4px; }
.sheet__topic strong { color: var(--gold); font-weight: 600; }
.sheet__opts { display: grid; gap: 10px; margin-top: 20px; }
.who { display: grid; grid-template-columns: 56px 1fr 24px; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; border-radius: 14px; border: 1px solid var(--line-light); background: rgb(244 240 230 / .03); transition: border-color var(--dur), background-color var(--dur); }
.who:hover, .who:focus-visible { border-color: var(--gold); background: rgb(213 189 69 / .07); }
.who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.who strong { display: block; font: 700 1rem/1.3 var(--f-display); }
.who small { color: var(--muted-light); font-size: .82rem; }
.who .ico { color: var(--gold); }
.sheet__close { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-content: center; }
.sheet__close span { display: block; width: 18px; height: 1.5px; background: var(--ivory); grid-area: 1 / 1; transform: rotate(45deg); }
.sheet__close span + span { transform: rotate(-45deg); }
.sheet__close:hover { background: rgb(244 240 230 / .08); }

/* ---------- revelação por scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger)); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .rule.reveal { opacity: 1; transform: scaleX(0); transition: transform 1.1s var(--ease-out) .15s; }
.js .rule.reveal.is-in { transform: scaleX(1); }
.js .about__media.reveal { transform: translateY(40px) scale(.98); }
.js .about__media.reveal.is-in { transform: none; }

@media (max-width: 479px) { .eyebrow { letter-spacing: .16em; font-size: .72rem; } .hero .eyebrow::before { width: 18px; } }

/* =================== TABLET ≥ 640 =================== */
@media (min-width: 640px) {
  .hero__facts { grid-template-columns: repeat(3, 1fr); }
  .hero__facts li:last-child { display: grid; }
  .hero__actions .btn { flex: 0 0 auto; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar { padding: 36px 28px; }
  .team__grid { grid-template-columns: 1fr 1fr; }
  .lawyer__actions { grid-template-columns: 1fr; }
  .form__actions { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1.4fr 1fr; }
  .sheet { margin: auto; max-width: 480px; }
  .sheet__card { border-radius: 22px; padding: 36px; transform: translateY(24px) scale(.97); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s; }
  .sheet.is-in .sheet__card { opacity: 1; }
}

/* =================== DESKTOP ≥ 1024 =================== */
@media (min-width: 1024px) {
  :root { --header-h: 92px; }
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger, .menu, .dock { display: none !important; }
  .header__logo img { height: 56px; }
  .header.is-scrolled { --header-h: 76px; height: 76px; }
  .header.is-scrolled .header__logo img { height: 44px; }

  .hero__content { padding-bottom: 72px; }
  .hero__lead { margin-bottom: 40px; }
  .hero__facts { padding-bottom: 28px; }
  .hero__facts li { padding: 26px 0; }
  .hero__facts li + li { padding-left: 32px; }
  .hero__facts strong { font-size: 2rem; }
  .hero__facts span { font-size: .88rem; }
  .hero__scroll { display: block; position: absolute; right: var(--gutter); bottom: 168px; width: 26px; height: 44px; border: 1.5px solid rgb(244 240 230 / .5); border-radius: 14px; }
  .hero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: scrollcue 2.2s var(--ease-io) infinite; }

  .about__grid { grid-template-columns: 5fr 6fr; gap: clamp(64px, 8vw, 120px); }
  .pillars { grid-template-columns: repeat(4, 1fr); }

  .area-list { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 56px; border-top: 0; }
  .area-list li:nth-child(1), .area-list li:nth-child(5) { border-top: 1px solid var(--line-light); }
  .area { min-height: 96px; grid-template-columns: 44px 34px 1fr 28px; gap: 18px; padding: 24px 16px; }

  .team__grid { gap: 40px; }
  .lawyer { grid-template-columns: 1fr; }
  .lawyer__actions { grid-template-columns: auto 1fr; }

  .faq__grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .faq__grid .section__head { position: sticky; top: 120px; margin-bottom: 0; }

  .contact__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .map { min-height: 260px; }

  .footer__grid { grid-template-columns: 1.6fr 1fr 1.3fr 1.2fr; }
  .footer__base { padding-bottom: 28px; }
}

@media (min-width: 1280px) {
  .lawyer__actions { grid-template-columns: auto 1fr; }
}

@keyframes scrollcue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80%, 100% { transform: translateY(16px); opacity: 0; } }

/* =================== MOVIMENTO REDUZIDO =================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .hero__in, .hero__title .hero__in { opacity: 1 !important; transform: none !important; }
  .js .rule.reveal { transform: none !important; }
  .hero__media img { transform: none !important; }
  .frame { transform: none !important; }
}
