/* ===== Fonts ===== */
@font-face { font-family:'Cormorant Garamond'; src:url('../assets/fonts/CormorantGaramond-Medium.ttf') format('truetype'); font-weight:500; font-display:swap; }
@font-face { font-family:'Poppins'; src:url('../assets/fonts/Poppins-Regular.otf') format('opentype'); font-weight:400; font-display:swap; }
@font-face { font-family:'Abygaer'; src:url('../assets/fonts/Abygaer-Regular.otf') format('opentype'); font-weight:400; font-display:swap; }

/* ===== Design tokens ===== */
:root {
  --bordo: #55181D;
  --bordo-deep: #3E1015;
  --bordo-darkest: #2E0C10;
  --bege: #DDD2BA;
  --cream: #F4EFE6;
  --gold-label: #E4C88E;
  --gold-1: #C59B60;
  --gold-2: #F8EEB7;
  --gold-3: #FFE199;
  --gold-gradient: linear-gradient(135deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3));
  --bg-light: #FAF9F6;
  --bg-secondary: #F4EEE3;
  --body-grey: #5A4B47;
  --body-grey-soft: #8A7B76;
  --body-grey-soft2: #6B5B57;
  --bronze: #A9773C;
  --bronze-2: #9A5B40;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Poppins', system-ui, sans-serif;
}

/* ===== Reset / base ===== */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-light);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: #4E403D;
}
img { display: block; max-width: 100%; }
a { color: var(--bordo); text-decoration: none; }
a:hover { color: #7A2A30; }
ul { margin: 0; padding: 0; }
::selection { background: var(--bordo); color: var(--gold-3); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--bordo);
  color: var(--bege);
  padding: 12px 20px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ===== Shared layout helpers ===== */
.section-inner { max-width: 1200px; margin: 0 auto; padding: clamp(70px,9vw,120px) 24px; }
.section-inner--narrow { max-width: 1120px; }
.section-head { margin-bottom: 52px; max-width: 760px; }
.areas .section-head, .lawyers .section-head, .contact .section-head { max-width: 720px; }

.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.kicker--center { justify-content: center; }
.kicker__rule { height: 1px; width: 34px; }
.kicker__rule--bordo { background: var(--gold-1); }
.kicker__rule--bronze { background: var(--bronze); }
.kicker__rule--gold-l { background: linear-gradient(90deg, transparent, var(--gold-1), var(--gold-3)); }
.kicker__rule--gold-r { background: linear-gradient(90deg, var(--gold-3), var(--gold-1), transparent); }
.kicker__label { font-family: var(--font-body); font-variant-caps: all-small-caps; letter-spacing: .2em; font-size: 13px; }
.kicker__label--bronze2 { color: var(--bronze-2); }
.kicker__label--bronze { color: var(--bronze); }
.kicker__label--gold { color: var(--gold-label); }

.h2 { font-family: var(--font-display); font-weight: 500; color: var(--bordo); font-size: clamp(32px,4.2vw,52px); line-height: 1.1; margin: 0 0 18px; text-wrap: balance; }
.about .h2, .stats-head { margin-bottom: 0; }
.h2--cream { color: var(--cream); margin-bottom: 14px; }

.section-intro { font-family: var(--font-body); color: var(--body-grey); font-size: 17px; line-height: 1.7; margin: 0; max-width: 620px; text-wrap: pretty; }
.section-intro--cream { color: rgba(221,210,186,.8); font-size: 16px; margin: 0 auto; }
.reviews__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.lawyers .section-intro, .contact .section-intro { max-width: 600px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-variant-caps: all-small-caps;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  text-align: center;
  justify-content: center;
}
.btn-lg { padding: 16px 32px; font-size: 15px; letter-spacing: .08em; }
.btn-md { padding: 15px 34px; font-size: 13px; letter-spacing: .14em; }
.btn-md.btn-bordo-outline, .btn-md.btn-gold-outline { padding: 14px 33px; }

.btn-bordo { background: var(--bordo); color: var(--bege); box-shadow: 0 14px 34px rgba(85,24,29,.28); }
.btn-bordo:hover, .btn-bordo:focus-visible { background: var(--bordo-deep); color: var(--bege); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(85,24,29,.4), 0 0 0 2px var(--gold-1), 0 0 16px 2px rgba(197,155,96,.5); }

.btn-gold-outline { background: transparent; color: var(--gold-label); border-color: rgba(228,200,142,.55); box-shadow: none; }
.btn-gold-outline:hover, .btn-gold-outline:focus-visible { background: var(--gold-gradient); color: var(--bordo-deep); border-color: transparent; box-shadow: 0 0 24px 4px rgba(255,225,153,.55); }

.btn-bordo-outline { background: transparent; color: var(--bordo); border-color: var(--bordo); }
.btn-bordo-outline:hover, .btn-bordo-outline:focus-visible { background: var(--bordo); color: var(--bege); border-color: transparent; transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(85,24,29,.4), 0 0 0 2px var(--gold-1), 0 0 16px 2px rgba(197,155,96,.5); }

/* ===== Botões "estilo artefato" (aprovados em "Botões digitais — Aprovado") =====
   Primário  = preenchimento bordô sólido + texto bege + moldura gold mínima.
   Secundário = contorno bordô 1px, sem preenchimento.
   Hover (ambos): botão "salta" 2px + borda dourada em degradê de 3 tons
   (#C59B60 -> #F8EEB7 -> #FFE199), mais forte embaixo, média à direita,
   fina à esquerda e praticamente inexistente em cima. */
.btn-ac-primary,
.btn-ac-secondary {
  position: relative;
  border-radius: 3px;
  letter-spacing: .14em;
  transition: transform .28s cubic-bezier(.2,.72,.24,1), box-shadow .28s ease, background-color .28s ease, color .28s ease, border-color .28s ease;
}

/* Repouso — Primário: bordô sólido, texto bege, moldura gold mínima (não some no hero bordô) */
.btn-ac-primary {
  background: var(--bordo);
  color: var(--bege);
  border: 1px solid rgba(228,200,142,.34);
  box-shadow: 0 12px 30px -14px rgba(0,0,0,.5);
}

/* Repouso — Secundário: contorno bordô 1px, sem preenchimento */
.btn-ac-secondary {
  background: transparent;
  color: var(--bordo);
  border: 1px solid var(--bordo);
}

/* Hover / foco — a elevação + a borda dourada direcional (degradê 3 tons) */
.btn-ac-primary:hover, .btn-ac-primary:focus-visible,
.btn-ac-secondary:hover, .btn-ac-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow:
    0 3px 0 -1px rgba(255,225,153,.85),     /* #FFE199 — fio dourado colado embaixo */
    0 4px 10px -2px rgba(197,155,96,.55),   /* #C59B60 — base quente, embaixo */
    0 8px 18px -4px rgba(248,238,183,.55),  /* #F8EEB7 — brilho descendo (embaixo mais forte) */
    1px 5px 12px -5px rgba(248,238,183,.4), /* leve viés à direita */
    -1px 4px 11px -6px rgba(197,155,96,.26),/* esquerda mais fraca */
    0 -1px 5px -4px rgba(197,155,96,.1);    /* topo quase inexistente */
}

/* Primário no hover: bordô um pouco mais escuro (mantém contraste do texto bege) */
.btn-ac-primary:hover, .btn-ac-primary:focus-visible {
  background: var(--bordo-deep);
  color: var(--bege);
}

/* Secundário no hover: preenche bordô sólido, texto bege */
.btn-ac-secondary:hover, .btn-ac-secondary:focus-visible {
  background: var(--bordo);
  color: var(--bege);
}

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 60; background: var(--bordo-deep); border-bottom: 1px solid rgba(228,200,142,.18); }
.nav__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: flex; align-items: center; flex: 0 0 auto; }
.nav__logo-mark {
  display: block; height: 46px; width: 87px;
  background: var(--gold-gradient);
  -webkit-mask: url('../assets/logo-branca.png') no-repeat center/contain;
  mask: url('../assets/logo-branca.png') no-repeat center/contain;
}
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link { font-size: 14px; color: var(--bege); letter-spacing: .02em; padding: 6px 0; border-bottom: 1px solid transparent; transition: .25s; }
.nav__link:hover { color: var(--gold-3); border-bottom-color: var(--gold-1); }

.nav-wa { position: relative; display: flex; align-items: center; }
.nav-wa__pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px;
  border: 1px solid rgba(228,200,142,.55); border-radius: 3px; color: var(--gold-label);
  font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 14px; cursor: pointer;
}
.nav-wa__split { display: flex; gap: 8px; }
.nav-wa__btn { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.15; padding: 8px 16px; border: 1px solid transparent; border-radius: 3px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease; }
.nav-wa__btn--fill { background: var(--gold-gradient); color: var(--bordo-deep); }
.nav-wa__btn--fill:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(85,24,29,.55); color: var(--bordo-deep); }
.nav-wa__btn--outline { border-color: rgba(228,200,142,.55); color: var(--gold-label); }
.nav-wa__btn--outline:hover { background: var(--gold-gradient); color: var(--bordo-deep); border-color: transparent; transform: translateY(-2px); }
.nav-wa__btn-label { font-variant-caps: all-small-caps; letter-spacing: .14em; font-size: 13px; }
.nav-wa__btn-phone { font-size: 11px; opacity: .85; }

.nav__hamb { display: none; background: transparent; border: 1px solid rgba(228,200,142,.5); border-radius: 3px; padding: 9px 11px; cursor: pointer; }

.mobile-menu { background: var(--bordo); border-top: 1px solid rgba(228,200,142,.15); padding: 8px 24px 22px; }
.mobile-menu__link { display: block; padding: 13px 0; color: var(--bege); font-size: 16px; border-bottom: 1px solid rgba(228,200,142,.12); }
.mobile-menu__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 15px 34px; background: var(--gold-gradient); color: var(--bordo-deep); border-radius: 3px; font-variant-caps: all-small-caps; letter-spacing: .14em; font-size: 15px; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; background: transparent; }
.hero__inner {
  position: relative; max-width: 1200px; margin: 0 auto;
  padding: clamp(64px,8vw,112px) 24px;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px,5vw,64px); align-items: center;
}
.hero__col { text-align: left; }
.hero__emblem { display: flex; justify-content: center; align-items: center; }
.hero__emblem img { width: min(460px, 100%); height: auto; filter: drop-shadow(0 24px 50px rgba(0,0,0,.38)); }
.hero__kicker { display: flex; align-items: center; justify-content: flex-start; gap: 16px; margin-bottom: 28px; }
.hero .rule { height: 1px; width: 40px; }
.hero .rule--left { background: linear-gradient(90deg, transparent, var(--gold-1), var(--gold-3)); }
.hero .rule--right { background: linear-gradient(90deg, var(--gold-3), var(--gold-1), transparent); }
.hero .kicker-label { font-family: var(--font-body); font-variant-caps: all-small-caps; letter-spacing: .24em; font-size: 13px; color: var(--gold-label); }
.hero__title { font-family: var(--font-display); color: var(--cream); font-weight: 500; font-size: clamp(36px,4.6vw,58px); line-height: 1.08; margin: 0 0 26px; text-wrap: balance; }
.hero__title em { font-style: italic; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__body { font-family: var(--font-body); color: rgba(221,210,186,.82); font-size: clamp(15px,1.2vw,18px); line-height: 1.75; max-width: 560px; margin: 0 0 38px; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-start; }

/* "Fale com um advogado" com as duas opcoes de contato (mesmo padrao da barra) */
.hero-cta { position: relative; display: inline-flex; }
.hero-wa__menu {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 30;
  display: flex; flex-direction: column; gap: 8px;
  min-width: 252px; padding: 10px;
  background: var(--bordo-deep);
  border: 1px solid rgba(228,200,142,.3); border-radius: 6px;
  box-shadow: 0 22px 50px rgba(0,0,0,.45);
}
.hero-wa__menu[hidden] { display: none; }
.hero-wa__menu .nav-wa__btn { width: 100%; }

/* ===== Stats ===== */
.stats { position: relative; background: transparent; overflow: hidden; }
.stats__grid { position: relative; max-width: 1100px; margin: 0 auto; padding: clamp(48px,6vw,74px) 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 0; text-align: center; }
.stats__item { padding: 34px 28px; background: var(--bg-light); box-shadow: 0 22px 44px -16px rgba(46,12,16,.45); }
.stats__item--bordered { border-left: 1px solid rgba(85,24,29,.12); border-right: 1px solid rgba(85,24,29,.12); }
.stats__item:first-child { border-radius: 6px 0 0 6px; }
.stats__item:last-child { border-radius: 0 6px 6px 0; }
.stats__num { font-family: var(--font-display); font-weight: 500; font-size: clamp(46px,6vw,70px); line-height: 1; color: var(--bordo); }
.stats__label { margin-top: 10px; font-family: var(--font-body); font-variant-caps: all-small-caps; letter-spacing: .16em; font-size: 13px; color: var(--body-grey-soft2); }

/* ===== About ===== */
.about { background: var(--bg-light); scroll-margin-top: 88px; }
.about__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px,5vw,72px); align-items: start; }
.about__copy { font-family: var(--font-body); color: var(--body-grey); font-size: 16.5px; line-height: 1.8; }
.about__copy p { margin: 0 0 22px; }
.about__copy p:last-child { margin-bottom: 0; }
.about__copy strong { color: var(--bordo); font-weight: 400; }
.about__values { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid; border-image: linear-gradient(180deg, var(--gold-1), var(--gold-3)) 1; padding-left: 28px; }
.about__value { padding: 16px 0; border-bottom: 1px solid rgba(85,24,29,.1); }
.about__value--last { border-bottom: none; }
.about__value-title { font-family: var(--font-display); font-size: 27px; color: var(--bordo); line-height: 1.1; }
.about__value-caption { font-family: var(--font-body); font-size: 14px; color: var(--body-grey-soft); margin-top: 2px; }

/* ===== Areas ===== */
.areas { background: var(--bg-secondary); scroll-margin-top: 88px; }
.areas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.area-card { background: #fff; border: 1px solid rgba(85,24,29,.12); border-radius: 3px; padding: 36px 34px; transition: .35s; }
/* hover no card = mesmo "salto" + borda/sombra dourada do botao "Fale com um advogado" (fundo inalterado) */
.area-card:hover {
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow:
    0 3px 0 -1px rgba(255,225,153,.85),
    0 4px 10px -2px rgba(197,155,96,.55),
    0 8px 18px -4px rgba(248,238,183,.55),
    1px 5px 12px -5px rgba(248,238,183,.4),
    -1px 4px 11px -6px rgba(197,155,96,.26),
    0 -1px 5px -4px rgba(197,155,96,.1);
}
.area-card__head { display: flex; align-items: baseline; gap: 14px; }
.area-card__num { font-family: var(--font-display); font-size: 22px; color: var(--bronze); }
.area-card__title { font-family: var(--font-display); font-weight: 500; font-size: 28px; color: var(--bordo); margin: 0; }
.area-card__rule { display: block; height: 2px; width: 42px; background: linear-gradient(90deg, var(--gold-1), var(--gold-3)); margin: 16px 0 8px; }
.area-card__list { list-style: none; }
.area-card__list li { position: relative; font-family: var(--font-body); font-size: 14px; color: var(--body-grey); padding: 8px 0 8px 27px; border-bottom: 1px solid rgba(85,24,29,.08); line-height: 1.5; }
.area-card__list li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C59B60' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center/contain;
}
.area-card__list li.area-card__list-last { border-bottom: none; }

/* ===== Lawyers ===== */
.lawyers { background: var(--bg-light); scroll-margin-top: 88px; }
.lawyers__list { display: flex; flex-direction: column; gap: 26px; }
.lawyer-card { background: #fff; border: 1px solid rgba(85,24,29,.12); border-radius: 3px; overflow: hidden; display: grid; grid-template-columns: 290px 1fr; }
.lawyer-card__photo { position: relative; min-height: 360px; background: #EFE7DA; }
.lawyer-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.lawyer-card__body { padding: 40px 42px; }
.lawyer-card__body--centered { display: flex; flex-direction: column; justify-content: center; }
.lawyer-card__name { font-family: var(--font-display); font-weight: 500; font-size: 32px; color: var(--bordo); margin: 0 0 8px; line-height: 1.1; }
.lawyer-card__oab { font-family: var(--font-body); font-variant-caps: all-small-caps; letter-spacing: .12em; font-size: 13px; color: var(--bronze); margin-bottom: 20px; }
.lawyer-card__bio { font-family: var(--font-body); color: var(--body-grey); font-size: 15px; line-height: 1.72; margin: 0 0 26px; text-wrap: pretty; }
.lawyer-card__notice { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--bg-secondary); border-left: 2px solid var(--gold-1); border-radius: 2px; max-width: 440px; }
.lawyer-card__notice span { font-family: var(--font-body); font-size: 14px; color: var(--body-grey-soft2); line-height: 1.6; }
.lawyer-card__notice strong { color: var(--bordo); font-weight: 400; }

.lawyer-card--reverse { grid-template-columns: 1fr 290px; }
.lawyer-card--reverse .lawyer-card__photo { order: 2; }
.lawyer-card--reverse .lawyer-card__body { order: 1; }

.img-slot { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; background: repeating-linear-gradient(135deg, rgba(85,24,29,.05), rgba(85,24,29,.05) 10px, rgba(85,24,29,.09) 10px, rgba(85,24,29,.09) 20px); border: 1px dashed rgba(85,24,29,.25); }
.img-slot span { font-family: var(--font-body); font-size: 12.5px; color: var(--body-grey-soft); line-height: 1.5; padding: 12px; }

/* ===== Lawyer modal ===== */
.modal-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(40,10,13,.8); display: flex; align-items: flex-start; justify-content: center; padding: 5vh 18px; overflow-y: auto; }
.modal { position: relative; background: var(--bg-light); max-width: 760px; width: 100%; border-radius: 4px; box-shadow: 0 40px 110px rgba(0,0,0,.55); overflow: hidden; }
.modal__close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(228,200,142,.5); color: var(--cream); font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .25s; }
.modal__close:hover { background: rgba(255,255,255,.25); }
.modal__header { background: var(--bordo); padding: 40px 44px 34px; }
.modal__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px,3.4vw,38px); color: var(--cream); margin: 0 0 8px; line-height: 1.1; max-width: 560px; }
.modal__subtitle { font-family: var(--font-body); font-variant-caps: all-small-caps; letter-spacing: .14em; font-size: 13px; color: var(--gold-label); }
.modal__body { padding: 36px 44px 44px; }
.modal__label { font-family: var(--font-body); font-variant-caps: all-small-caps; letter-spacing: .16em; font-size: 13px; color: var(--bronze); margin: 0 0 14px; }
.modal__text { font-family: var(--font-body); color: var(--body-grey); font-size: 15px; line-height: 1.75; margin: 0 0 18px; }
.modal__text--last { margin-bottom: 0; }
.modal__timeline { list-style: none; margin: 0 0 30px; }
.modal__timeline li { font-family: var(--font-body); font-size: 14.5px; color: var(--body-grey); line-height: 1.6; padding: 11px 0 11px 20px; border-bottom: 1px solid rgba(85,24,29,.1); position: relative; }
.modal__timeline li::before { content: ''; position: absolute; left: 0; top: 16px; width: 6px; height: 6px; background: var(--gold-1); border-radius: 50%; }
.modal__timeline li.modal__timeline-last { border-bottom: none; }
.modal__timeline li strong { color: var(--bordo); font-weight: 400; }

/* ===== Reviews ===== */
.reviews { background: var(--bordo-deep); position: relative; overflow: hidden; scroll-margin-top: 88px; }
.reviews .section-inner { position: relative; }
.reviews__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
/* fundo opaco (mesmo tom da seção + leve clareado) para o pattern NÃO vazar pelo card */
.review-card { background: linear-gradient(rgba(250,249,246,.05), rgba(250,249,246,.05)), var(--bordo-deep); border: 1px solid rgba(228,200,142,.22); border-radius: 3px; padding: 32px 30px; }
.review-card__stars { display: flex; gap: 4px; margin-bottom: 18px; color: var(--gold-3); }
.review-card__quote { font-family: var(--font-display); font-size: 21px; line-height: 1.5; color: #EDE3CD; margin: 0 0 22px; font-style: italic; }
.review-card__author { font-family: var(--font-body); font-size: 13px; color: #B79E96; }

/* ===== Contact ===== */
.contact { background: var(--bg-light); scroll-margin-top: 88px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.unit-card { background: #fff; border: 1px solid rgba(85,24,29,.14); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; }
.unit-card__head { background: var(--bordo); padding: 26px 34px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.unit-card__label { font-family: var(--font-body); font-variant-caps: all-small-caps; letter-spacing: .14em; font-size: 12px; color: var(--gold-label); margin-bottom: 4px; }
.unit-card__city { font-family: var(--font-display); font-size: 30px; color: var(--cream); line-height: 1; }
.unit-card__symbol { height: 46px; width: auto; opacity: .8; }
.unit-card__body { padding: 30px 34px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.unit-card__row { display: flex; gap: 12px; }
.unit-card__row span:last-child { font-family: var(--font-body); font-size: 15px; color: var(--body-grey); line-height: 1.6; }
.unit-card__icon { color: var(--bronze); font-size: 15px; flex: 0 0 auto; margin-top: 2px; }
.unit-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.unit-card__actions .btn-md { font-size: 16px; }

/* ===== Footer ===== */
.footer { background: var(--bordo-darkest); color: #B79E96; }
.footer .section-inner { padding: 64px 24px 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(228,200,142,.15); }
.footer__logo {
  display: block; height: 72.5px; width: 137.5px; margin-bottom: 22px;
  background: var(--gold-gradient);
  -webkit-mask: url('../assets/logo-branca.png') no-repeat center/contain;
  mask: url('../assets/logo-branca.png') no-repeat center/contain;
}
.footer__tagline { font-family: var(--font-body); font-size: 14px; line-height: 1.7; color: rgba(183,158,150,.9); margin: 0; max-width: 330px; text-wrap: pretty; }
.footer__label { font-family: var(--font-body); font-variant-caps: all-small-caps; letter-spacing: .16em; font-size: 12px; color: var(--gold-label); margin-bottom: 18px; }
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links a { font-family: var(--font-body); font-size: 14px; color: #C9B4AD; }
.footer__links a:hover { color: var(--gold-3); }
.footer__unit { font-family: var(--font-body); font-size: 14px; color: #C9B4AD; line-height: 1.7; margin-bottom: 16px; }
.footer__unit--last { margin-bottom: 0; }
.footer__bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--font-body); font-size: 12.5px; color: rgba(183,158,150,.7); }

/* ===== Floating WhatsApp button ===== */
.fab-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: .3s; }
.fab-whatsapp:hover { transform: scale(1.08); }

/* ===== Scroll reveal ===== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.16,.8,.3,1), transform .8s cubic-bezier(.16,.8,.3,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamb { display: inline-flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero__col { text-align: center; }
  .hero__emblem { order: -1; }
  .hero__emblem img { width: min(340px, 74%); }
  .hero__kicker { justify-content: center; }
  .hero__ctas { justify-content: center; }
  .hero__body { max-width: none; margin-left: auto; margin-right: auto; }
  .stats__grid { grid-template-columns: 1fr; gap: 20px; }
  .stats__item--bordered { border: none; }
  .stats__item:first-child, .stats__item:last-child { border-radius: 6px; }
  .about__grid { grid-template-columns: 1fr; }
  .areas__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .lawyer-card { grid-template-columns: 1fr; }
  .lawyer-card__photo { min-height: 300px; }
  /* no empilhamento, a foto vem sempre antes da biografia (desfaz a inversão do card do Gustavo) */
  .lawyer-card--reverse .lawyer-card__photo { order: 1; }
  .lawyer-card--reverse .lawyer-card__body { order: 2; }
  .unit-card__symbol { display: none; }
}

/* ===== Marca-d'água AC (monograma) nas áreas escuras — exceto a barra do topo =====
   Tile sem emenda em layout diamante; a cor de fundo bordô de cada seção é preservada. */
.hero-band, .reviews, .footer {
  background-image: url('../assets/pattern-ac.png?v=6');
  background-repeat: repeat;
  background-size: 300px auto;
}
/* faixa única hero+stats: fundo bordô contínuo (pattern não reinicia no meio) */
.hero-band { background-color: var(--bordo); }

/* ===== Hero cinematográfico — deusa da justiça =====
   Estátua à esquerda; o céu à direita recebe o véu bordô e a logomarca completa,
   primeiro impacto de quem abre a página. A névoa deriva da direita para a
   esquerda e se dissipa diante da estátua. */
.hero--cine .hero__inner { grid-template-columns: 1fr; z-index: 2; padding-top: clamp(40px,4.5vw,60px); max-width: none; }
/* coluna centrada na linha do quadrante direito da página (75% da largura) */
.hero--cine .hero__col { max-width: 620px; margin-left: calc(75% - 298px); margin-right: auto; text-align: center; }
.hero--cine .hero__kicker { justify-content: center; }
.hero--cine .hero__ctas { justify-content: center; }
.hero--cine .hero__body { margin-left: auto; margin-right: auto; }
.hero--cine .hero__title { font-size: clamp(30px,3.6vw,46px); }

.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-photo {
  position: absolute; inset: 0;
  background: url('../assets/hero-justica-flip.jpg') left center / cover no-repeat;
  transform-origin: 22% 35%;
  animation: heroKenBurns 26s ease-in-out infinite alternate;
}
.hero__bg-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(85,24,29,.5) 0%, rgba(85,24,29,0) 24%, rgba(85,24,29,0) 70%, rgba(85,24,29,.62) 100%),
    linear-gradient(270deg, var(--bordo) 0%, rgba(85,24,29,.97) 30%, rgba(85,24,29,.82) 50%, rgba(85,24,29,.4) 66%, rgba(85,24,29,.08) 82%, rgba(85,24,29,0) 100%);
}

/* névoa: some antes de alcançar a estátua (máscara à esquerda + fade na animação) */
.hero__mist {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(24px); opacity: 0;
  background: radial-gradient(closest-side, rgba(255,238,214,.55), rgba(255,238,214,0) 72%);
  -webkit-mask-image: linear-gradient(270deg, #000 52%, transparent 94%);
  mask-image: linear-gradient(270deg, #000 52%, transparent 94%);
  animation: heroMist 22s linear infinite;
}
.hero__mist--1 { width: 46%; height: 60%; top: 6%;  right: -8%; --mist-peak: .5;  animation-duration: 24s; animation-delay: -6s; }
.hero__mist--2 { width: 38%; height: 46%; top: 42%; right: -14%; --mist-peak: .38; animation-duration: 30s; animation-delay: -16s; }
.hero__mist--3 { width: 30%; height: 38%; top: 22%; right: 2%;  --mist-peak: .3;  animation-duration: 19s; animation-delay: -11s; }

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}
@keyframes heroMist {
  0%   { transform: translateX(10vw) translateY(1%); opacity: 0; }
  16%  { opacity: var(--mist-peak, .45); }
  62%  { opacity: .16; }
  100% { transform: translateX(-44vw) translateY(-4%); opacity: 0; }
}

/* logomarca completa no alto da coluna: o nome do escritório é o primeiro impacto */
.hero__brand img { width: min(380px, 78%); height: auto; margin: 0 auto 10px; display: block; filter: drop-shadow(0 16px 36px rgba(0,0,0,.45)); }

@media (max-width: 860px) {
  .hero--cine .hero__col { margin-left: auto; margin-right: auto; }
  .hero--cine .hero__bg-photo { background-position: 30% center; }
  .hero--cine .hero__bg-scrim {
    background:
      linear-gradient(180deg, rgba(85,24,29,.86) 0%, rgba(85,24,29,.58) 42%, rgba(85,24,29,.84) 100%),
      linear-gradient(270deg, rgba(85,24,29,.55), rgba(85,24,29,.2));
  }
  .hero__brand img { width: min(320px, 82%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg-photo { animation: none; }
  .hero__mist { animation: none; opacity: .18; }
}
