/* ==========================================================================
   Salário-maternidade — landing page
   Ordem: fontes → tokens → base → componentes → seções → animações
   ========================================================================== */

/* ---------- Fontes (self-hosted, subset latin com acentos) ---------- */
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/eb-garamond-v33-latin.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/eb-garamond-v33-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-v20-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --ivory: #F7F3EC;
  --sand: #EFE7DB;
  --paper: #FFFDF9;
  --line: #E4DACB;
  --line-soft: #EDE5D9;

  --ink: #16242A;
  --text: #3C4A4F;
  --muted: #5B6563;

  --petrol: #0F3D45;
  --petrol-600: #134B55;
  --petrol-800: #0A2C33;
  --petrol-tint: #E3ECEA;

  --rose: #C29380;
  --rose-ink: #8E5A47;
  --rose-light: #E2BFAE;

  --on-dark: #F7F3EC;
  --on-dark-muted: rgba(247, 243, 236, .76);

  --font-serif: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: clamp(26px, 4vw, 40px);

  --shadow-sm: 0 1px 2px rgba(15, 61, 69, .04), 0 6px 18px -10px rgba(15, 61, 69, .12);
  --shadow: 0 22px 44px -26px rgba(15, 61, 69, .32);
  --shadow-lg: 0 44px 90px -44px rgba(10, 44, 51, .5);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --gutter: clamp(20px, 5vw, 48px);
  --max: 1200px;
  --header-h: 64px;
}

@media (min-width: 640px) {
  :root { --header-h: 76px; }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 960px) {
  body { font-size: 1.0625rem; }
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -.012em;
  text-wrap: balance;
}

h1 em, h2 em, h3 em {
  color: var(--petrol);
  font-style: italic;
}

h2 {
  font-size: clamp(2.15rem, 1.55rem + 2.5vw, 3.5rem);
  line-height: 1.06;
}

h3 {
  font-size: clamp(1.4rem, 1.3rem + .45vw, 1.65rem);
  font-weight: 500;
  line-height: 1.2;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }

::selection { background: var(--petrol); color: var(--on-dark); }

:focus-visible {
  outline: 2px solid var(--rose-ink);
  outline-offset: 3px;
}

.on-dark :focus-visible { outline-color: var(--rose-light); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  background: var(--petrol);
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* Placeholder: dado a ser preenchido pela advogada (fica visível de propósito) */
.ph {
  padding: 0 .22em;
  border-radius: 4px;
  background: rgba(194, 147, 128, .18);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* Painéis que respiram mais perto da borda no celular */
.container--inset { width: min(100% - 24px, var(--max)); }
@media (min-width: 640px) {
  .container--inset { width: min(100% - 2 * var(--gutter), var(--max)); }
}

.section {
  position: relative;
  padding-block: clamp(80px, 11vw, 144px);
}

.section--ivory { background: var(--ivory); }
.section--paper { background: var(--paper); }

.on-dark { color: var(--on-dark-muted); }
.on-dark h2,
.on-dark h3 { color: var(--on-dark); }
.on-dark h2 em,
.on-dark h3 em { color: var(--rose-light); }

/* ---------- Tipografia de apoio ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.25rem;
  color: var(--rose-ink);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::before,
.eyebrow--center::after {
  content: "";
  flex: none;
  align-self: flex-start;
  width: 28px;
  height: 1px;
  margin-top: .62em;
  background: currentColor;
  opacity: .7;
}
.on-dark .eyebrow { color: var(--rose-light); }

.lead {
  color: var(--text);
  font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem);
  line-height: 1.65;
}
.on-dark .lead { color: var(--on-dark); }

.icon { flex: none; width: 1.25em; height: 1.25em; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  color: var(--petrol);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow span {
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-arrow .icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform .45s var(--ease);
}
@media (hover: hover) {
  .link-arrow:hover span { background-position: 100% 100%; background-size: 0 1px; }
  .link-arrow:hover .icon--down { transform: translateY(3px); }
  .link-arrow:hover .icon--right { transform: translateX(4px); }
}

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--petrol);
  --btn-fg: var(--on-dark);
  --btn-bd: transparent;
  --btn-shadow: 0 18px 34px -20px rgba(10, 44, 51, .75);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  min-height: 54px;
  padding: .8rem 1.6rem;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  box-shadow: var(--btn-shadow);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color .45s var(--ease),
    color .45s var(--ease),
    border-color .45s var(--ease),
    box-shadow .45s var(--ease),
    transform .45s var(--ease);
}

/* Reflexo sutil ao passar o mouse */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .2) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
  pointer-events: none;
}

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover::after { transform: translateX(120%); }
}
.btn:active { transform: translateY(0) scale(.99); }

.btn--icon { padding-left: .45rem; padding-right: 1.7rem; }

.btn__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(247, 243, 236, .13);
}
.btn__icon .icon { width: 1.3rem; height: 1.3rem; }

.btn--primary:hover {
  --btn-bg: var(--petrol-800);
  --btn-shadow: 0 24px 42px -20px rgba(10, 44, 51, .8);
}

.btn--light {
  --btn-bg: var(--on-dark);
  --btn-fg: var(--petrol);
  --btn-shadow: 0 18px 40px -20px rgba(0, 0, 0, .55);
}
.btn--light .btn__icon { background: var(--petrol); color: var(--on-dark); }
.btn--light:hover { --btn-bg: #FFFFFF; }
.btn--light::after { background: linear-gradient(110deg, transparent 30%, rgba(194, 147, 128, .2) 50%, transparent 70%); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--petrol);
  --btn-bd: rgba(15, 61, 69, .24);
  --btn-shadow: none;
}
.btn--outline:hover {
  --btn-bg: var(--petrol);
  --btn-fg: var(--on-dark);
  --btn-bd: var(--petrol);
}

.btn--sm { gap: .55rem; min-height: 44px; padding: .5rem 1.15rem; font-size: .9rem; }
.btn--lg { min-height: 60px; font-size: 1.04rem; }
.btn--xl { min-height: 68px; font-size: 1.08rem; }
.btn--lg.btn--icon,
.btn--xl.btn--icon { padding-left: .5rem; padding-right: 1.9rem; }
.btn--xl .btn__icon { width: 50px; height: 50px; }

.section-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: clamp(40px, 5vw, 56px);
}

@media (max-width: 639px) {
  .btn:not(.btn--sm) { gap: .7rem; font-size: .97rem; }
  .btn--icon,
  .btn--lg.btn--icon,
  .btn--xl.btn--icon { padding-right: 1.3rem; }
  .section-cta .btn,
  .lawyer__body .btn,
  .notice .btn { width: 100%; }
}

/* ---------- Cabeçalhos de seção ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-top: 1.25rem; }

.split-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.split-head__text { display: grid; gap: 1rem; max-width: 560px; }

@media (min-width: 900px) {
  .split-head {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: end;
  }
}

/* ---------- Card ---------- */
.card {
  position: relative;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .6s var(--ease);
}
.section--paper .card { background: var(--ivory); }

@media (hover: hover) {
  .card:hover {
    border-color: var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
  }
}

.tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 1.5rem;
  padding: .4rem .85rem;
  border: 1px solid rgba(142, 90, 71, .3);
  border-radius: 999px;
  color: var(--rose-ink);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247, 243, 236, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(228, 218, 203, .9);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark { flex: none; width: 36px; height: 36px; color: var(--petrol); }
.brand__text { display: grid; min-width: 0; }
.brand__name {
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.brand__tag {
  color: var(--muted);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.7;
  text-transform: uppercase;
}

.site-header__cta { flex: none; }

@media (max-width: 639px) {
  .site-header__cta { width: 44px; padding: 0; }
  .site-header__cta-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(28px, 7vw, 88px)) 0 clamp(64px, 8vw, 112px);
  background:
    radial-gradient(55% 45% at 90% 10%, rgba(226, 191, 174, .5), transparent 70%),
    radial-gradient(45% 40% at 0% 100%, rgba(15, 61, 69, .07), transparent 70%),
    var(--ivory);
}

.hero__arches {
  position: absolute;
  top: calc(var(--header-h) - 10px);
  right: -38%;
  z-index: -1;
  width: 100vw;
  max-width: 760px;
  height: auto;
  aspect-ratio: 1;
  color: var(--rose);
  opacity: .14;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 72%);
  mask-image: linear-gradient(to bottom, #000 40%, transparent 72%);
}

.hero__grid { display: grid; gap: 32px; align-items: center; }

.hero__title {
  font-size: clamp(2.6rem, 1.55rem + 3.8vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.018em;
}

.hero__lead {
  max-width: 34rem;
  margin-top: 1.4rem;
  font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 2.2rem;
}

.trust {
  display: grid;
  gap: .7rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.4;
}
.trust li { display: flex; align-items: center; gap: .6rem; }
.trust .icon { width: 1.2rem; height: 1.2rem; color: var(--rose-ink); }

@media (max-width: 639px) {
  .hero__actions { gap: 6px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link-arrow { margin-inline: auto; }
}

@media (min-width: 640px) {
  .trust { display: flex; flex-wrap: wrap; gap: .8rem 1.75rem; }
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: clamp(48px, 6vw, 104px);
    min-height: min(calc(100svh - var(--header-h) - 160px), 700px);
  }
  .hero__arches {
    top: 50%;
    right: -8%;
    width: 60vw;
    opacity: .3;
    transform: translateY(-44%);
  }
}

/* ---------- Retrato (Hero + Conheça a advogada) ---------- */
.portrait {
  --arch: 50% 50% var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius);
  position: relative;
  margin: 0;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1px solid rgba(194, 147, 128, .6);
  border-radius: var(--arch);
  pointer-events: none;
}

.portrait__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--arch);
  background: linear-gradient(165deg, #EDE3D6 0%, #DDCEBD 55%, #CDB9A6 100%);
  box-shadow: var(--shadow-lg);
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

.portrait__card {
  position: absolute;
  bottom: 40px;
  left: -32px;
  display: grid;
  gap: 2px;
  min-width: 230px;
  max-width: 300px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 16px;
  background: rgba(255, 253, 249, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.portrait__kicker {
  color: var(--rose-ink);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.portrait__name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}
.portrait__oab { color: var(--muted); font-size: .82rem; }

.hero .portrait { width: 100%; max-width: 450px; margin-left: auto; }

/* Celular/tablet: retrato vira um selo compacto — a mensagem é a protagonista */
@media (max-width: 959px) {
  .hero .portrait {
    display: flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 8px 22px 8px 8px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
  }
  .hero .portrait::before { display: none; }
  .hero .portrait__frame {
    flex: none;
    width: 58px;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: none;
  }
  .hero .portrait__card {
    position: static;
    min-width: 0;
    max-width: none;
    padding: 0;
    border: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }
  .hero .portrait__name { font-size: 1.25rem; }
}

/* ==========================================================================
   GRADE DE CARDS (seção de valor)
   ========================================================================== */
.value-grid { display: grid; gap: 16px; }

@media (min-width: 640px) {
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1080px) {
  .value-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   3. QUEM PODE TER DIREITO
   ========================================================================== */
.profiles {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}
@media (min-width: 640px) {
  .profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .profiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.profile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 30px;
  background: var(--paper);
  transition: background-color .5s var(--ease);
}
@media (min-width: 640px) {
  .profile { padding: 36px 30px 38px; }
}

.profile::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 40px;
  height: 2px;
  background: var(--rose);
  transform: scaleX(.4);
  transform-origin: left;
  transition: transform .7s var(--ease-out);
}
@media (min-width: 640px) {
  .profile::before { left: 30px; }
}
@media (hover: hover) {
  .profile:hover { background: #FFFFFF; }
  .profile:hover::before { transform: scaleX(1); }
}

.profile__kicker {
  margin-bottom: .8rem;
  color: var(--rose-ink);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.profile h3 { margin-bottom: .6rem; font-size: clamp(1.45rem, 1.35rem + .3vw, 1.62rem); }
.profile p { font-size: .95rem; line-height: 1.65; }

.notice {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 24px;
  margin-top: 20px;
  padding: clamp(30px, 4.5vw, 52px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--petrol-600), var(--petrol) 55%, var(--petrol-800));
  box-shadow: var(--shadow);
}
.notice__arches {
  position: absolute;
  right: -80px;
  bottom: -230px;
  z-index: -1;
  width: 440px;
  height: 440px;
  color: #FFFFFF;
  opacity: .08;
}
.notice h3 {
  margin-bottom: .6rem;
  font-size: clamp(1.7rem, 1.35rem + 1.1vw, 2.2rem);
  font-weight: 500;
}
.notice p { max-width: 620px; }

@media (min-width: 900px) {
  .notice { grid-template-columns: 1fr auto; align-items: center; gap: 56px; }
}

/* ==========================================================================
   4. QUANTO POSSO RECEBER
   ========================================================================== */
.value-card { display: flex; flex-direction: column; }
.value-card h3 { margin-bottom: .7rem; }
.value-card p { font-size: .96rem; }

.value-range { display: grid; gap: .4rem; }
.value-range__label {
  color: var(--text);
  font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem);
  line-height: 1.5;
}
.value-range strong {
  color: var(--petrol);
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 1.7rem + 2.8vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.05;
}

/* ==========================================================================
   7. CONHEÇA A ADVOGADA
   ========================================================================== */
.lawyer { display: grid; gap: 40px; }

@media (min-width: 960px) {
  .lawyer {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    grid-template-areas: "media head" "media body";
    grid-template-rows: auto 1fr;
    column-gap: clamp(56px, 7vw, 112px);
    row-gap: 0;
  }
  .lawyer__head { grid-area: head; }
  .lawyer__media { grid-area: media; align-self: center; }
  .lawyer__body { grid-area: body; }
}

.lawyer__head h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }

.lawyer__media .portrait { max-width: 290px; margin-inline: auto; }
@media (min-width: 640px) {
  .lawyer__media .portrait { max-width: 400px; }
}
@media (max-width: 639px) {
  .lawyer__media .portrait::before { inset: -12px 12px 12px -12px; }
}

.lawyer__id {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 960px) {
  .lawyer__id { margin-top: 2.2rem; }
}

.lawyer__name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.5rem + .8vw, 2.1rem);
  font-weight: 600;
  line-height: 1.15;
}
.lawyer__role {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.lawyer__quote {
  margin-top: 1.6rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--rose);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.2rem + .45vw, 1.55rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
}

.facts {
  display: grid;
  gap: 1.1rem 2rem;
  margin: 2rem 0 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 360px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.facts dt {
  margin-bottom: .25rem;
  color: var(--rose-ink);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.facts dd { color: var(--ink); font-size: .95rem; font-weight: 500; line-height: 1.5; }

/* ==========================================================================
   11. CTA FINAL
   ========================================================================== */
.final {
  padding-block: 0 clamp(64px, 9vw, 120px);
  background: var(--ivory);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.final__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(60px, 9vw, 128px) clamp(24px, 6vw, 96px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(226, 191, 174, .22), transparent 70%),
    linear-gradient(160deg, var(--petrol-600), var(--petrol) 45%, var(--petrol-800));
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.final__arches {
  position: absolute;
  bottom: -52%;
  left: 50%;
  z-index: -1;
  width: min(900px, 160%);
  height: auto;
  aspect-ratio: 1;
  color: #FFFFFF;
  opacity: .07;
  transform: translateX(-50%);
}
.final__panel h2 {
  max-width: 15ch;
  margin-inline: auto;
  font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.25rem);
  line-height: 1.04;
}
.final__panel .lead {
  max-width: 34rem;
  margin: 1.4rem auto 2.4rem;
  color: var(--on-dark-muted);
}
.final__hint { margin-top: 1.1rem; color: rgba(247, 243, 236, .68); font-size: .9rem; }

@media (max-width: 639px) {
  .final__panel .btn { width: 100%; }
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.site-footer {
  padding: 56px 0 128px;
  border-top: 1px solid var(--line);
  background: var(--sand);
  color: var(--muted);
  font-size: .9rem;
}
@media (min-width: 960px) {
  .site-footer { padding-bottom: 48px; }
}

.site-footer__top {
  display: grid;
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) {
  .site-footer__top { grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; }
}
.site-footer__meta { font-style: normal; line-height: 1.7; }
.site-footer__legal { max-width: 880px; margin-top: 28px; font-size: .82rem; line-height: 1.75; }
.site-footer__map {
  display: grid;
  gap: 24px;
  margin-top: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) {
  .site-footer__map {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
  }
}
.map {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
}
@media (min-width: 640px) {
  .map { aspect-ratio: 16 / 9; }
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.site-footer__map-info { display: grid; gap: .5rem; justify-items: start; color: var(--text); }
.site-footer__map-title {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.2;
}

.site-footer__phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}
.site-footer__phone .icon { width: 1.2rem; height: 1.2rem; color: var(--petrol); }
.site-footer__phone:hover { color: var(--petrol); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 18px;
}
.site-footer__copy { font-size: .8rem; }
.site-footer__privacy {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: .8rem;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.site-footer__privacy:hover { color: var(--ink); }
.site-footer__credit {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  color: inherit;
  font-size: .8rem;
  text-decoration: none;
  transition: color .35s var(--ease);
}
.site-footer__credit img { width: auto; height: 26px; transition: opacity .35s var(--ease), transform .35s var(--ease); }
@media (hover: hover) {
  .site-footer__credit:hover { color: var(--ink); }
  .site-footer__credit:hover img { opacity: .85; transform: translateY(-1px); }
}

/* ==========================================================================
   WhatsApp fixo (mobile)
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--consent-offset, 0px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 56px;
  padding: 7px 20px 7px 7px;
  border-radius: 999px;
  background: var(--petrol);
  box-shadow: 0 20px 40px -16px rgba(10, 44, 51, .7), inset 0 0 0 1px rgba(255, 255, 255, .06);
  color: var(--on-dark);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 20px, 0) scale(.96);
  transition: bottom .45s var(--ease-out), opacity .45s var(--ease-out), transform .55s var(--ease-out), visibility 0s linear .55s;
  -webkit-tap-highlight-color: transparent;
}
.wa-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.wa-float__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
}
.wa-float__icon .icon { width: 22px; height: 22px; }
.wa-float.is-visible .wa-float__icon { animation: ring 1.8s var(--ease) .5s 2; }

@media (min-width: 960px) {
  .wa-float { display: none; }
}

/* ==========================================================================
   AVISO DE COOKIES E PRIVACIDADE
   ========================================================================== */
.consent {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: 12px;
  z-index: 70;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, .97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg), 0 10px 30px -14px rgba(10, 44, 51, .3);
  color: var(--text);
  font-size: .88rem;
  line-height: 1.55;
}
.consent[hidden] { display: none; }
.js .consent:not([hidden]) { animation: rise .9s var(--ease-out) 1.2s both; }
.consent__actions { display: flex; gap: 8px; }
.consent__actions .btn { flex: 1; }
.consent__link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--petrol);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

@media (min-width: 640px) {
  .consent {
    right: auto;
    bottom: 24px;
    left: 24px;
    max-width: 540px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
  }
  .consent__actions .btn { flex: none; }
}

.privacy {
  width: min(640px, calc(100% - 24px));
  max-height: min(88vh, 900px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.privacy::backdrop {
  background: rgba(10, 44, 51, .45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.privacy[open] { animation: rise .5s var(--ease-out) both; }
.privacy__inner { position: relative; padding: clamp(28px, 5vw, 44px); }
.privacy h2 { margin-bottom: 1rem; padding-right: 3rem; font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.4rem); }
.privacy h3 { margin: 1.6rem 0 .4rem; font-size: 1.25rem; }
.privacy p { font-size: .95rem; }
.privacy__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.privacy__close:hover { border-color: var(--petrol); color: var(--petrol); }
.privacy__actions {
  display: grid;
  gap: 12px;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.privacy__status { color: var(--ink); font-weight: 600; }
.privacy__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.privacy__buttons[hidden] { display: none; }

/* ==========================================================================
   ANIMAÇÕES
   ========================================================================== */
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes drop {
  from { opacity: 0; transform: translate3d(0, -12px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes unveil {
  from { clip-path: inset(100% 0 0 0); transform: scale(1.04); }
  to { clip-path: inset(0 0 0 0); transform: none; }
}
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* Entrada da primeira dobra */
.js .site-header { animation: drop .9s var(--ease-out) both; }
.js .anim {
  animation: rise 1.1s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 110ms + 80ms);
}
.js .hero .portrait__frame { animation: unveil 1.5s var(--ease-out) .25s both; }
.js .hero .portrait::before { animation: fade 1.6s var(--ease) .8s both; }
.js .hero .portrait__card { animation: rise 1s var(--ease-out) 1s both; }

@media (max-width: 959px) {
  .js .hero .portrait { animation: rise 1s var(--ease-out) .6s both; }
  .js .hero .portrait__frame,
  .js .hero .portrait__card { animation: none; }
}

/* Revelação ao rolar (o JS adiciona .is-visible e depois remove o atributo) */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
