/* =========================================================
   Müller & Gomes Advogados — sistema de design
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Cores — paleta oficial (manual da marca): Grafite #222629 · Azul-marinho #0F2744 · Vermelho #E10600 · Cinza claro #E9EAEC */
  --graphite-950: #1A1D20;
  --graphite-900: #222629;   /* oficial: fundo escuro principal, texto */
  --graphite-700: #3A4045;
  --navy-900: #0F2744;       /* oficial: apoio (seção Contato, ícones) */
  --navy-800: #16345A;
  --red-600: #E10600;        /* oficial: acento (linhas, botão principal, marcadores) */
  --red-700: #B80500;        /* hover do botão */
  --gray-50:  #F5F6F7;
  --gray-100: #E9EAEC;       /* oficial: fundos claros */
  --gray-200: #DCDEE1;
  --ink:      #222629;
  --muted:    #5C636B;
  --white:    #FFFFFF;
  --line-dark:  rgba(255,255,255,.12);
  --line-light: rgba(34,38,41,.12);

  /* Tipografia */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-sm:   .875rem;
  --fs-base: 1rem;
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  --fs-h3:   clamp(1.375rem, 1.2rem + .6vw, 1.625rem);
  --fs-h2:   clamp(2rem, 1.5rem + 2vw, 2.875rem);
  --fs-h1:   clamp(2.375rem, 1.5rem + 3.4vw, 4.25rem);

  /* Espaçamento (escala de 4px) */
  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4rem;
  --sp-9: 6rem;   --sp-10: 8rem;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
  --header-h: 76px;
  --measure: 60rem;   /* largura única dos textos introdutórios (~960px) */
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --shadow: 0 10px 30px -12px rgba(20,22,24,.35);
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
/* sem isso, o atributo height="1800" das fotos vira altura fixa e ignora o aspect-ratio */
img { height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--font-serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0; }
/* padrão único de quebra: evita palavra sozinha na última linha, sem encurtar as demais */
p, li, address, small { text-wrap: pretty; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--red-600); outline-offset: 3px; border-radius: 2px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 100;
  background: var(--graphite-950); color: var(--white); border: 2px solid var(--red-600); padding: var(--sp-2) var(--sp-4);
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: var(--sp-4); outline: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.125em; height: 1.125em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Tipos auxiliares ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.72); margin-bottom: var(--sp-5);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red-600); }
.eyebrow-dark { color: var(--graphite-900); }
.lead { font-size: var(--fs-lead); line-height: 1.7; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: inherit; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; padding: 0 var(--sp-5);
  font: 600 .9375rem/1 var(--font-sans); letter-spacing: .01em; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd);
  border-radius: var(--radius); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-gold  { --btn-bg: var(--red-600); --btn-fg: var(--white); --btn-bd: var(--red-600); }
.btn-gold:hover { --btn-bg: var(--red-700); --btn-bd: var(--red-700); }
.btn-ghost { --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.35); }
.btn-ghost:hover { --btn-bd: var(--white); --btn-bg: rgba(255,255,255,.06); }
.btn-sm { min-height: 40px; padding: 0 var(--sp-4); font-size: .875rem; }

/* WhatsApp — glifo oficial sempre em verde, branco ou preto (regra da marca) */
.wa-glyph { display: block; flex: none; width: 1.25em; height: 1.25em; fill: currentColor; }
.btn-wa { --btn-bg: var(--white); --btn-fg: var(--graphite-950); --btn-bd: var(--white); gap: var(--sp-3); }
.btn-wa .wa-glyph { color: #25D366; width: 1.375em; height: 1.375em; }
.btn-wa:hover { --btn-bg: var(--gray-100); --btn-bd: var(--gray-100); }
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white); box-shadow: 0 10px 28px -10px rgba(20,22,24,.55);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.wa-float .wa-glyph { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-2px); }
body.show-wa .wa-float { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
body.menu-locked .wa-float { opacity: 0; visibility: hidden; }
.no-js .wa-float { opacity: 1; visibility: visible; transform: none; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--white);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), transform .35s var(--ease);
}
/* esconde ao rolar para baixo, volta ao rolar para cima (JS) */
.site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(34,38,41,.96);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 6px 24px -16px rgba(0,0,0,.6);
}
/* O blur fica num pseudo-elemento: backdrop-filter no próprio header prendia o menu
   mobile (position: fixed) dentro dos 76px do cabeçalho — por isso só aparecia "Quem somos". */
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled:not(.menu-open) { background: transparent; }
  .site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(34,38,41,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    opacity: 0; transition: opacity .3s var(--ease);
  }
  .site-header.is-scrolled:not(.menu-open)::before { opacity: 1; }
}
.site-header.menu-open { background: var(--graphite-900); border-bottom-color: transparent; box-shadow: none; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); }

.brand { display: inline-flex; align-items: center; gap: var(--sp-3); text-decoration: none; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; flex: none; }
.brand-name { display: flex; flex-direction: column; font: 600 1.3125rem/1.05 var(--font-serif); letter-spacing: .01em; }
.brand-name small { font: 500 .6875rem/1.4 var(--font-sans); letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 3px; }

.site-nav { display: flex; align-items: center; gap: var(--sp-6); }
.nav-list { display: flex; gap: var(--sp-6); }
.nav-list a {
  position: relative; display: inline-block; padding: var(--sp-2) 0;
  font-size: .9375rem; font-weight: 500; text-decoration: none; color: rgba(255,255,255,.82);
  transition: color .2s var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--red-600); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="true"] { color: var(--white); }
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle { display: none; }
.nav-extra { display: none; }

/* Menu mobile */
@media (max-width: 899px) {
  .js .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 22px; height: 1.5px; background: currentColor; border-radius: 2px;
    transition: transform .25s var(--ease), opacity .2s var(--ease);
  }
  .nav-toggle-bar { position: relative; }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -7px; }
  .nav-toggle-bar::after  { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: translateY(-7px) rotate(-45deg); }

  /* Cabeçalho que se expande: o menu é o próprio cabeçalho aberto (mesma cor, sem divisória) */
  .js .site-nav {
    position: fixed; inset: 0; z-index: -1; height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: var(--sp-7);
    padding: calc(var(--header-h) + var(--sp-6)) var(--gutter) calc(var(--sp-6) + env(safe-area-inset-bottom));
    background: var(--graphite-900);
    overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; clip-path: inset(0 0 100% 0);
    transition: clip-path .45s cubic-bezier(.7,0,.2,1), visibility 0s linear .45s;
  }
  .js .site-header.menu-open .site-nav {
    visibility: visible; clip-path: inset(0 0 0 0);
    transition: clip-path .45s cubic-bezier(.7,0,.2,1), visibility 0s;
  }
  .js .nav-list { flex-direction: column; gap: 0; }
  .js .nav-list li { opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .js .site-header.menu-open .nav-list li { opacity: 1; transform: none; }
  .js .site-header.menu-open .nav-list li:nth-child(1) { transition-delay: .18s; }
  .js .site-header.menu-open .nav-list li:nth-child(2) { transition-delay: .23s; }
  .js .site-header.menu-open .nav-list li:nth-child(3) { transition-delay: .28s; }
  .js .site-header.menu-open .nav-list li:nth-child(4) { transition-delay: .33s; }
  .js .site-header.menu-open .nav-list li:nth-child(5) { transition-delay: .38s; }
  .js .nav-list a {
    display: block; padding: 1.125rem 0;
    font: 500 1.125rem/1.3 var(--font-sans); letter-spacing: .01em; color: rgba(255,255,255,.72);
    transition: color .2s var(--ease);
  }
  .js .nav-list a::after { display: none; }
  .js .nav-list li { border-bottom: 1px solid var(--line-dark); }
  .js .nav-list li:first-child { border-top: 1px solid var(--line-dark); }
  .js .nav-list a:hover, .js .nav-list a[aria-current="true"] { color: var(--white); }
  .js .nav-cta { display: none; }
  .js .nav-extra {
    display: block; opacity: 0; transition: opacity .3s var(--ease);
  }
  .js .site-header.menu-open .nav-extra { opacity: 1; transition-delay: .43s; }
  /* Redes sociais: só ícones, centralizados. Brancos por regra das marcas (WhatsApp/LinkedIn/Instagram). */
  .nav-social { display: flex; justify-content: center; gap: var(--sp-5); }
  .nav-social a {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    color: rgba(255,255,255,.85); transition: color .2s var(--ease), background-color .2s var(--ease);
  }
  .nav-social a:hover { color: var(--white); background: rgba(255,255,255,.08); }
  .nav-social svg { width: 22px; height: 22px; }
  .nav-social .social-fill { fill: currentColor; }
  .nav-social .social-stroke { fill: none; stroke: currentColor; stroke-width: 1.8; }
  .nav-social .social-stroke .dot { fill: currentColor; stroke: none; }

  /* Sem JS: menu vira linha rolável */
  .no-js .site-header { position: absolute; height: auto; padding-block: var(--sp-3); }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .site-nav { width: 100%; overflow-x: auto; gap: var(--sp-4); }
  .no-js .nav-list { gap: var(--sp-4); }
  .no-js .nav-cta, .no-js .nav-extra { display: none; }
}
body.menu-locked { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--white); background: var(--graphite-900);
  padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 5vw, 7rem));
  padding-bottom: clamp(4rem, 3rem + 5vw, 8rem);
  min-height: min(100svh, 920px);
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(15,39,68,.85), transparent 60%),
    radial-gradient(900px 700px at 0% 100%, rgba(15,39,68,.55), transparent 60%),
    linear-gradient(180deg, var(--graphite-900), var(--graphite-950));
}
.hero-bg::after {
  /* grade discreta */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
}
.hero-grid {
  display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
}
.hero-copy h1 { max-width: 20ch; text-wrap: balance; }
.hero-copy .lead { margin-top: var(--sp-5); max-width: var(--measure); text-wrap: pretty; color: rgba(255,255,255,.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-7); }

.hero-panel {
  border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, rgba(44,49,53,.92), rgba(34,38,41,.92));
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}
.panel-label { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: var(--sp-3); }
.panel-list li + li { border-top: 1px solid var(--line-dark); }
.panel-list a {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--sp-4);
  padding: var(--sp-5) 0; text-decoration: none;
}
.panel-num { font: 600 1.5rem/1 var(--font-serif); color: var(--red-600); min-width: 2ch; }
.panel-text strong { display: block; font: 600 1.375rem/1.2 var(--font-serif); color: var(--white); }
.panel-text small { display: block; margin-top: 4px; font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.45; }
.panel-arrow { color: var(--red-600); transition: transform .25s var(--ease); }
.panel-list a:hover .panel-arrow { transform: translateX(4px); }
.panel-list a:hover strong { color: var(--white); }
.panel-foot { margin-top: var(--sp-3); padding-top: var(--sp-4); border-top: 1px solid var(--line-dark); font-size: .8125rem; color: rgba(255,255,255,.55); }

@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 20ch; }
}
@media (max-width: 479px) {
  .hero-actions .btn { width: 100%; }
  .hero-panel { padding: var(--sp-5); }
  .brand-name { font-size: 1.1875rem; }
}

/* ---------- Seções (base) ---------- */
.section { padding-block: clamp(4rem, 3rem + 5vw, 8rem); }
.section-alt { background: var(--gray-100); }
.section h2 { color: var(--graphite-900); text-wrap: pretty; }
.placeholder { margin-top: var(--sp-4); color: var(--muted); }

/* ---------- Cabeçalho de seção (título + introdução) ---------- */
.section-head { max-width: var(--measure); margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head h2 { max-width: none; }
.section-intro { margin-top: var(--sp-4); color: var(--muted); font-size: var(--fs-lead); line-height: 1.7; max-width: var(--measure); text-wrap: pretty; }


/* ---------- Quem somos ---------- */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--sp-7) clamp(2rem, 1rem + 5vw, 5.5rem); align-items: center;
}
.about-photo { margin: 0; position: relative; }
.about-photo::before {
  /* moldura deslocada, detalhe discreto */
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--red-600); border-radius: var(--radius-lg); z-index: 0; opacity: .5;
}
.about-photo img, .photo-placeholder {
  position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; border-radius: var(--radius-lg);
}
.photo-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-2); text-align: center; padding: var(--sp-5);
  background: var(--gray-100); border: 1px solid var(--line-light); color: var(--muted);
}
.photo-brand {
  background: linear-gradient(145deg, var(--gray-100) 0%, var(--gray-200) 100%);
  border: 1px solid var(--line-light);
  box-shadow: inset 0 0 40px rgba(0,0,0,.03);
}
.photo-brand-logo { width: 72px; height: auto; opacity: .88; margin-bottom: var(--sp-2); }
.photo-brand-title { font: 600 1.5rem/1.2 var(--font-serif); color: var(--graphite-900); letter-spacing: -.01em; }
.photo-brand-sub { font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.about-text h2 { font-size: clamp(1.875rem, 1.4rem + 1.5vw, 2.5rem); }
.about-text .lead { margin-top: var(--sp-5); color: var(--graphite-900); }
.about-text .lead + p { margin-top: var(--sp-4); color: var(--muted); }

.highlights {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  border-top: 1px solid var(--line-light);
}
.highlight { padding: var(--sp-6) var(--sp-5) var(--sp-2) 0; }
.highlight + .highlight { padding-left: var(--sp-5); border-left: 1px solid var(--line-light); }
.highlight-icon { width: 28px; height: 28px; color: var(--graphite-900); stroke-width: 1.5; margin-bottom: var(--sp-4); }
.highlight h3 { font-size: 1.375rem; color: var(--graphite-900); margin-bottom: var(--sp-2); }
.highlight p { font-size: .9375rem; color: var(--muted); line-height: 1.6; }

/* ---------- Áreas de atuação ---------- */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); align-items: start; }
.area-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.area-card::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px;
  background: var(--red-600); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.area-card:hover, .area-card:focus-within, .area-card:target { border-color: rgba(225,6,0,.45); box-shadow: var(--shadow); }
.area-card:hover::before, .area-card:focus-within::before, .area-card:target::before { transform: scaleX(1); }
.area-head { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.area-icon-wrap {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-lg);
  background: var(--gray-100); color: var(--graphite-900); transition: background-color .25s var(--ease), color .25s var(--ease);
}
.area-card:hover .area-icon-wrap, .area-card:focus-within .area-icon-wrap { background: var(--graphite-900); color: var(--red-600); }
.area-icon { width: 24px; height: 24px; stroke-width: 1.4; }
.area-card h3 { font-size: clamp(1.5rem, 1.3rem + .4vw, 1.625rem); color: var(--graphite-900); text-wrap: balance; }
.area-card > p { color: var(--muted); }

.area-details { margin-top: var(--sp-5); border-top: 1px solid var(--line-light); }
.area-details summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4) 0; cursor: pointer; list-style: none;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite-900);
}
.area-details summary::-webkit-details-marker { display: none; }
.area-details summary .icon { color: var(--red-600); transition: transform .25s var(--ease); }
.area-details[open] summary .icon { transform: rotate(45deg); }
.check-list { padding-bottom: var(--sp-2); }
.check-list li { position: relative; padding: var(--sp-2) 0 var(--sp-2) var(--sp-5); font-size: .9375rem; color: var(--ink); line-height: 1.5; }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: calc(var(--sp-2) + .6em);
  width: 8px; height: 1px; background: var(--red-600);
}

.area-link {
  display: inline-flex; align-items: center; gap: var(--sp-2); align-self: flex-start;
  margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--line-light); width: 100%;
  font-weight: 600; font-size: .9375rem; color: var(--graphite-900); text-decoration: none;
}
.area-link .icon { color: var(--red-600); transition: transform .25s var(--ease); }
.area-link:hover .icon { transform: translateX(4px); }
.area-link:hover { color: var(--red-600); }

/* Como funciona */
.process { margin-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.process-title {
  font: 600 .8125rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: var(--sp-6);
}
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); list-style: none; margin: 0; padding: 0; counter-reset: none; }
.step { position: relative; display: flex; flex-direction: column; gap: var(--sp-4); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 20px; left: 52px; right: calc(-1 * var(--sp-5) + 12px);
  height: 1px; background: linear-gradient(to right, var(--red-600), rgba(225,6,0,.2));
}
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--red-600); color: var(--graphite-900); background: var(--gray-100);
  font: 600 1.125rem/1 var(--font-serif);
}
.step strong { display: block; font: 600 1.25rem/1.2 var(--font-serif); color: var(--graphite-900); margin-bottom: var(--sp-1); }
.step p { font-size: .9375rem; color: var(--muted); line-height: 1.55; }

/* ---------- Responsivo (Etapa 2) ---------- */
@media (max-width: 999px) {
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlight:nth-child(3) { padding-left: 0; border-left: 0; }
  .highlight:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--sp-6); }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 999px) {
  .areas { grid-template-columns: 1fr; max-width: 680px; }
}
@media (max-width: 899px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 680px; margin-right: 18px; }
}
@media (max-width: 767px) {
  .highlights { grid-template-columns: 1fr; }
  .highlight, .highlight + .highlight { padding: var(--sp-5) 0; border-left: 0; }
  .highlight + .highlight { border-top: 1px solid var(--line-light); }
  .highlight { display: grid; grid-template-columns: auto 1fr; column-gap: var(--sp-4); }
  .highlight-icon { grid-row: span 2; margin: 2px 0 0; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { flex-direction: row; padding-bottom: var(--sp-5); }
  .step:not(:last-child)::after { top: 44px; bottom: 4px; left: 20px; right: auto; width: 1px; height: auto; background: linear-gradient(to bottom, var(--red-600), rgba(225,6,0,.2)); display: block; }
  .step:nth-child(2)::after { display: block; }
  .step-num { flex: none; }
}

/* ---------- Equipe ---------- */
.btn-navy { --btn-bg: var(--graphite-900); --btn-fg: var(--white); --btn-bd: var(--graphite-900); }
.btn-navy:hover { --btn-bg: var(--graphite-950); --btn-bd: var(--graphite-950); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--sp-6); }
.member-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.member-card:hover, .member-card:focus-within { box-shadow: var(--shadow); border-color: rgba(225,6,0,.45); }
.member-photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--gray-200); }
.member-photo img, .profile-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%);
  transition: transform .6s var(--ease);
}
.member-card:hover .member-photo img { transform: scale(1.03); }
.member-info { padding: var(--sp-5) var(--sp-5) var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.member-role { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--sp-2); }
.member-info h3 { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.75rem); color: var(--graphite-900); }
.member-oab { margin-top: var(--sp-1); font-size: .875rem; color: var(--muted); }
.member-link {
  display: inline-flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-5); padding-top: var(--sp-4);
  border-top: 1px solid var(--line-light); font-weight: 600; font-size: .9375rem; color: var(--graphite-900); text-decoration: none;
}
.member-link::after { content: ""; position: absolute; inset: 0; } /* card inteiro clicável */
.member-link .icon { color: var(--red-600); transition: transform .25s var(--ease); }
.member-card:hover .member-link .icon { transform: translateX(4px); }
.member-card:hover .member-link { color: var(--red-600); }

/* Perfis: estilo comum */
.profile-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-200); }
.profile-body { padding: var(--sp-6) clamp(1.25rem, 1rem + 2vw, 2.5rem) var(--sp-7); }
.profile-name { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); color: var(--graphite-900); }
.profile-h {
  margin: var(--sp-6) 0 var(--sp-3); padding-top: var(--sp-5); border-top: 1px solid var(--line-light);
  font: 600 .75rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.cv-list li { position: relative; padding: var(--sp-2) 0 var(--sp-2) var(--sp-5); font-size: .9375rem; line-height: 1.55; }
.cv-list li::before { content: ""; position: absolute; left: 2px; top: calc(var(--sp-2) + .7em); width: 8px; height: 1px; background: var(--red-600); }
.profile-cta { margin-top: var(--sp-6); }

/* Sem JS: perfis aparecem abertos abaixo dos cards */
.no-js .drawer { margin-top: var(--sp-8); }
.no-js .drawer-overlay, .no-js .drawer-bar { display: none; }
.no-js .profile { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--sp-5); max-width: 960px; }
.no-js .profile-photo { display: none; }

/* Com JS: painel lateral */
.js .drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; pointer-events: none; transition: visibility 0s linear .4s; }
.js .drawer.is-open { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.js .drawer-overlay { position: absolute; inset: 0; background: rgba(20,22,24,.55); opacity: 0; transition: opacity .35s var(--ease); cursor: pointer; }
.js .drawer.is-open .drawer-overlay { opacity: 1; }
.js .drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%);
  background: var(--gray-50); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .4s var(--ease);
  box-shadow: -20px 0 60px -20px rgba(20,22,24,.45); outline: none;
}
.js .drawer.is-open .drawer-panel { transform: none; }
.js .profile { display: none; }
.js .profile.is-active { display: block; }
.drawer-bar {
  position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center;
  height: 64px; padding: 0 var(--sp-3) 0 clamp(1.25rem, 1rem + 2vw, 2.5rem);
  background: rgba(245,246,247,.96); border-bottom: 1px solid var(--line-light);
}
.drawer-kicker { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.drawer-close {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: var(--graphite-900); cursor: pointer; transition: background-color .2s var(--ease);
}
.drawer-close:hover { background: var(--gray-200); }
.drawer-close .icon { width: 22px; height: 22px; }

@media (max-width: 599px) {
  .js .drawer-panel { width: 100%; }
}

/* ---------- Contato ---------- */
.section-dark { background: var(--graphite-900); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-dark .section-intro { color: rgba(255,255,255,.7); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: stretch; }
.channels li { display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-5) 0; border-bottom: 1px solid var(--line-dark); }
.channels li:first-child { padding-top: 0; }
.channel-icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22); color: var(--white);
}
.channel-label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 2px; }
.channel-value { display: block; font: 600 1.25rem/1.35 var(--font-serif); font-style: normal; color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
a.channel-value:hover { color: var(--white); }
.channel-sub { display: inline-block; margin-top: var(--sp-1); font-size: .875rem; color: rgba(255,255,255,.8); text-decoration: underline; text-decoration-color: var(--red-600); text-underline-offset: 3px; }
.channel-sub:hover { text-decoration: underline; }
.contact-cta { margin-top: var(--sp-6); }
.channel-icon-wa { color: var(--white); }
.channel-icon-wa .wa-glyph { width: 20px; height: 20px; }
.channel-icon-social { color: var(--white); }
.channel-icon-social svg { width: 19px; height: 19px; }
.channel-icon-social .social-fill { fill: currentColor; }
.channel-icon-social .social-stroke { fill: none; stroke: currentColor; stroke-width: 1.8; }
.channel-icon-social .social-stroke .dot { fill: currentColor; stroke: none; }
.contact-map { position: relative; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); background: var(--graphite-950); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
@media (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 340px; }
}
@media (max-width: 479px) { .contact-cta { width: 100%; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--graphite-950); color: rgba(255,255,255,.62); font-size: var(--fs-sm); padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.5fr; gap: var(--sp-7) var(--sp-6); padding-bottom: var(--sp-7); }
.footer-brand .brand { color: var(--white); margin-bottom: var(--sp-4); }
.footer-brand p { line-height: 1.6; text-wrap: pretty; }
.footer-h { font: 600 .75rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: var(--sp-4); }
.footer-col li { padding: 5px 0; line-height: 1.5; }
.footer-col a, .footer-bottom a { text-decoration: none; transition: color .2s var(--ease); }
.footer-col a:hover, .footer-bottom a:hover { color: var(--white); }
.footer-bottom p a { color: rgba(255,255,255,.8); text-decoration: underline; text-decoration-color: rgba(225,6,0,.5); text-underline-offset: 3px; }
.footer-bottom p a:hover { color: var(--white); }
.footer-contact { display: inline-flex; align-items: center; gap: var(--sp-3); }
.footer-ico { width: 16px; height: 16px; flex: none; }
.footer-ico.icon { color: var(--red-600); stroke-width: 1.6; }
.footer-ico.wa-ico { fill: currentColor; color: var(--white); } /* glifo do WhatsApp só em branco/verde/preto */
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-3);
  padding-block: var(--sp-5); border-top: 1px solid var(--line-dark); font-size: .8125rem; color: rgba(255,255,255,.72);
}
@media (max-width: 999px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); } }
@media (max-width: 767px) { .footer-nav { display: none; } } /* no celular o menu já cumpre essa função */
@media (max-width: 767px) { .footer-bottom { padding-bottom: calc(var(--sp-5) + 72px); } } /* espaço p/ botão flutuante */

/* ---------- LGPD: Banner de Cookies ---------- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 850;
  background: var(--graphite-950); color: var(--white);
  border-top: 1px solid var(--line-dark); box-shadow: 0 -8px 24px rgba(0,0,0,.45);
  padding: var(--sp-4) 0;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; }
.cookie-text { flex: 1 1 320px; font-size: .875rem; line-height: 1.5; color: rgba(255,255,255,.82); }
.cookie-text strong { color: var(--white); font-weight: 600; }
.cookie-text a { color: var(--white); text-decoration: underline; text-decoration-color: var(--red-600); text-underline-offset: 3px; }
.cookie-actions { display: flex; align-items: center; gap: var(--sp-3); flex: none; }

/* ---------- LGPD: Modal Política de Privacidade ---------- */
.privacy-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: var(--sp-4); }
.privacy-modal[hidden] { display: none !important; }
.privacy-overlay { position: fixed; inset: 0; background: rgba(15,18,20,.78); backdrop-filter: blur(4px); }
.privacy-panel {
  position: relative; z-index: 2; width: 100%; max-width: 760px; max-height: 86vh; overflow-y: auto;
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(0,0,0,.35); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.privacy-panel:focus { outline: none; }
.privacy-bar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line-light); padding-bottom: var(--sp-4); margin-bottom: var(--sp-5); }
.privacy-kicker { font-family: var(--font-serif); font-size: 1.75rem; color: var(--graphite-900); margin: 0; }
.privacy-close {
  background: none; border: 1px solid var(--line-light); border-radius: var(--radius);
  width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; color: var(--graphite-700);
  transition: all .2s var(--ease);
}
.privacy-close:hover { background: var(--gray-100); color: var(--red-600); border-color: var(--red-600); }
.privacy-body { font-size: .9375rem; line-height: 1.65; color: var(--graphite-700); }
.privacy-body p { margin-bottom: var(--sp-4); }
.privacy-body h3 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 600; color: var(--graphite-900); margin: var(--sp-5) 0 var(--sp-2); }
.privacy-body ul { list-style: disc; padding-left: var(--sp-5); margin-bottom: var(--sp-4); }
.privacy-body li { margin-bottom: var(--sp-2); }
.privacy-body a { color: var(--red-600); text-decoration: underline; text-underline-offset: 3px; }
.privacy-updated { font-size: .8125rem; color: var(--muted); margin-bottom: var(--sp-4); font-style: italic; }

/* ---------- Animação de entrada (só com JS; conteúdo visível sem ele) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* Segurança: se o script falhar (sem a classe fx-ready), o conteúdo aparece sozinho após 2,5s */
.js:not(.fx-ready) [data-reveal]:not(.is-visible) { animation: reveal-fallback .6s var(--ease) 2.5s forwards; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

/* ---------- Efeitos (Etapa 4) ---------- */
/* inclui hover dos cards na mesma transição do reveal */
.js [data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease), translate .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }

/* 3) Abertura do topo: título linha a linha, depois texto, botões e painel */
@keyframes hero-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes hero-side { from { opacity: 0; transform: translateX(24px); } }
@keyframes ln-up { to { transform: none; } }
.js .hero-copy h1 { animation: hero-up .7s var(--ease) 1.2s both; }
.js .hero-copy h1.is-split { animation: none; }
.hero-copy h1 .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-copy h1 .ln-i { display: inline-block; transform: translateY(110%); animation: ln-up .8s var(--ease) forwards; animation-delay: calc(.05s + var(--i) * .09s); }
.js .hero-copy .lead { animation: hero-up .7s var(--ease) .35s both; }
.js .hero-actions { animation: hero-up .7s var(--ease) .5s both; }
.js .hero-panel { animation: hero-side .8s var(--ease) .55s both; }

/* 1) Linha vermelha que se desenha: traço dos rótulos */
.js [data-reveal] .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .2s; }
.js [data-reveal].is-visible .eyebrow::before { transform: none; }

/* 1) "Como funciona": a linha liga as etapas e cada número acende quando ela chega */
.js .process .step:not(:last-child)::after { transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.js .process.is-visible .step:not(:last-child)::after { transform: none; }
.js .process.is-visible .step:nth-child(1)::after { transition-delay: .35s; }
.js .process.is-visible .step:nth-child(2)::after { transition-delay: .95s; }
.js .process.is-visible .step:nth-child(3)::after { transition-delay: 1.55s; }
.js .process .step-num { border-color: rgba(34,38,41,.22); color: var(--muted); transition: border-color .35s var(--ease), color .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease); }
.js .process.is-visible .step-num { border-color: var(--red-600); color: var(--graphite-900); background: var(--white); box-shadow: 0 0 0 5px rgba(225,6,0,.1); }
.js .process.is-visible .step:nth-child(1) .step-num { transition-delay: .2s; }
.js .process.is-visible .step:nth-child(2) .step-num { transition-delay: .85s; }
.js .process.is-visible .step:nth-child(3) .step-num { transition-delay: 1.45s; }
.js .process.is-visible .step:nth-child(4) .step-num { transition-delay: 2.05s; }
@media (max-width: 767px) {
  .js .process .step:not(:last-child)::after { transform: scaleY(0); transform-origin: top; }
  .js .process.is-visible .step:not(:last-child)::after { transform: none; }
}
/* se o script falhar, as linhas aparecem sozinhas */
@keyframes line-fallback { to { transform: none; } }
.js:not(.fx-ready) [data-reveal]:not(.is-visible) .eyebrow::before,
.js:not(.fx-ready) .process:not(.is-visible) .step::after { animation: line-fallback .01s 2.5s forwards; }

/* 5) Hover padronizado nos elementos clicáveis */
@media (hover: hover) {
  .area-card:hover, .member-card:hover { translate: 0 -3px; }
  .hero-panel .panel-list a { transition: background-color .25s var(--ease); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy h1 .ln-i { transform: none; animation: none; }
  .js .hero * { animation-delay: 0s !important; }
  .js .process .step-num, .js .process .step::after { transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =====================================================================
   AJUSTES 21/10 — tudo o que mudou em relação ao site publicado
   ===================================================================== */

/* Etiqueta do esboço (não vai para o site) */
.esboco-aviso {
  position: fixed; left: 12px; bottom: 12px; z-index: 120; pointer-events: none;
  font: 600 11px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(184,5,0,.92); padding: 8px 11px; border-radius: 4px;
}
.esboco-nota { margin-top: var(--sp-5); font-size: .8125rem; color: var(--muted); font-style: italic; }

/* 1. Cabeçalho mais alto e logo maior */
:root { --header-h: 96px; }
.brand { gap: var(--sp-4); }
.brand-logo { width: auto; height: 54px; border-radius: 0; object-fit: contain; }
.brand-name { font-size: 1.625rem; }
.brand-name small { font-size: .75rem; letter-spacing: .26em; margin-top: 5px; }
.nav-list a { font-size: 1rem; }
@media (max-width: 899px) {
  :root { --header-h: 80px; }
  .brand-logo { height: 44px; }
  .brand-name { font-size: 1.375rem; }
}

/* Logo completo, grande, no topo e no rodapé */
.footer-brand .brand--grande { display: block; margin-bottom: var(--sp-5); }
.footer-brand .brand--grande img { display: block; width: 210px; height: auto; }

/* Quem somos: fundo claro, foto 5890 em coluna 3:4 */
.about-grid { grid-template-columns: minmax(240px, .82fr) minmax(0, 1fr); }
.about-photo { max-width: 460px; }
.about-photo img { aspect-ratio: 3 / 4; object-position: center; }
.about-text p + p { margin-top: var(--sp-4); color: var(--muted); }
@media (max-width: 899px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 460px; }
}

/* 8. Perfil: janela central no computador, foto inteira, sem corte; botão sempre à vista */
.profile-photo { aspect-ratio: 2 / 3; background: var(--gray-200); }
.profile-photo img { object-fit: contain; object-position: center; }
.profile-foot {
  position: sticky; bottom: 0; z-index: 1; margin-top: var(--sp-5);
  padding: var(--sp-6) 0 var(--sp-5);
  background: linear-gradient(rgba(245,246,247,0), var(--gray-50) 38%);
}
.profile-foot .profile-cta { margin-top: 0; }
@media (max-width: 767px) { .js .drawer-panel { width: 100%; } }
@media (min-width: 768px) {
  .js .drawer { --modal-h: min(720px, calc(100vh - 48px)); }
  .js .drawer-overlay { background: rgba(20,22,24,.62); }
  .js .drawer-panel {
    top: 50%; left: 50%; right: auto; bottom: auto;
    width: min(1000px, calc(100vw - 48px)); height: var(--modal-h);
    display: flex; flex-direction: column; overflow: hidden;
    border-radius: var(--radius-lg); box-shadow: 0 40px 100px -20px rgba(0,0,0,.55);
    transform: translate(-50%, -46%); opacity: 0;
    transition: transform .35s var(--ease), opacity .3s var(--ease);
  }
  .js .drawer.is-open .drawer-panel { transform: translate(-50%, -50%); opacity: 1; }
  .js .profile.is-active {
    display: grid; flex: 1; min-height: 0;
    grid-template-columns: calc((var(--modal-h) - 64px) * 2 / 3) minmax(0, 1fr); /* 64px = barra do topo */
  }
  .profile-photo { aspect-ratio: auto; height: 100%; }
  .profile-body { overflow-y: auto; display: flex; flex-direction: column; min-height: 0; padding-bottom: 0; }
  .profile-foot { margin-top: auto; }
}

/* 11. Artigos */
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-4) var(--sp-7); max-width: none; }
.section-head--row > div { max-width: 44rem; }
.articles-all { margin: 0 0 6px; padding-top: 0; border-top: 0; width: auto; white-space: nowrap; align-self: flex-end; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.article-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.article-card:hover, .article-card:focus-visible { border-color: rgba(225,6,0,.45); box-shadow: var(--shadow); }
.article-card[hidden] { display: none; }
.article-tag { font: 600 .6875rem/1.3 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red-700); }
.article-card h3 { margin: var(--sp-3) 0; font-size: clamp(1.375rem, 1.2rem + .5vw, 1.5625rem); color: var(--graphite-900); text-wrap: balance; }
.article-card p { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.article-meta { margin-top: auto; padding-top: var(--sp-5); display: flex; justify-content: space-between; gap: var(--sp-3); font-size: .8125rem; color: var(--muted); }
.article-meta span:first-child { color: var(--graphite-900); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-6); }
.chip {
  font: 500 .875rem/1 var(--font-sans); padding: 10px 14px; border-radius: 999px; cursor: pointer;
  background: var(--white); color: var(--graphite-900); border: 1px solid var(--line-light);
}
.chip:hover { border-color: var(--graphite-900); }
.chip.is-active { background: var(--graphite-900); color: var(--white); border-color: var(--graphite-900); }
@media (max-width: 999px) { .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .article-grid { grid-template-columns: 1fr; } }

/* Páginas internas (Artigos e artigo) */
.page-hero {
  color: var(--white);
  background: linear-gradient(180deg, var(--graphite-900), var(--graphite-950));
  padding: calc(var(--header-h) + clamp(2.5rem, 2rem + 3vw, 4.5rem)) 0 clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.page-hero h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); max-width: 22ch; text-wrap: balance; }
.page-hero .lead { margin-top: var(--sp-4); color: rgba(255,255,255,.78); max-width: var(--measure); }
.container--texto { max-width: calc(46rem + 2 * var(--gutter)); }
.voltar { display: flex; width: fit-content; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-6); color: rgba(255,255,255,.75); text-decoration: none; font-size: .9375rem; }
.voltar:hover { color: var(--white); }
.artigo-meta { margin-top: var(--sp-4); color: rgba(255,255,255,.7); font-size: .9375rem; }
.artigo { background: var(--white); }
.artigo h2 { font-size: clamp(1.625rem, 1.4rem + .8vw, 2rem); margin: var(--sp-7) 0 var(--sp-4); }
.artigo p { font-size: 1.0625rem; line-height: 1.75; color: var(--ink); }
.artigo p + p { margin-top: var(--sp-4); }
.artigo .artigo-abertura { font-size: 1.1875rem; line-height: 1.7; color: var(--graphite-900); }
.esboco-nota--topo { margin: 0 0 var(--sp-6); padding: var(--sp-3) var(--sp-4); background: var(--gray-100); border-left: 2px solid var(--red-600); font-style: normal; }
.artigo-autor {
  display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: var(--sp-5);
  margin-top: var(--sp-8); padding: var(--sp-5); border: 1px solid var(--line-light); border-radius: var(--radius-lg); background: var(--gray-50);
}
.artigo-autor img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; }
.artigo-autor-nome { font: 600 1.375rem/1.2 var(--font-serif); color: var(--graphite-900); }
.artigo-autor .member-role { margin-bottom: 2px; }
@media (max-width: 599px) { .artigo-autor { grid-template-columns: 56px 1fr; } .artigo-autor img { width: 56px; height: 56px; } .artigo-autor .btn { grid-column: 1 / -1; } }

.artigo .artigo-autor p { font-size: .875rem; line-height: 1.35; margin: 0; }
.artigo .artigo-autor .member-role { font-size: .6875rem; letter-spacing: .14em; margin-bottom: 4px; }
.artigo .artigo-autor .artigo-autor-nome { font: 600 1.375rem/1.2 var(--font-serif); color: var(--graphite-900); }
.artigo .artigo-autor .member-oab { margin-top: 2px; }

/* 21/10 — 2ª rodada: topo sem azul-marinho; painel de áreas em grafite escuro, números brancos */
.hero-bg { background: var(--graphite-900); }
.hero-panel {
  background: var(--graphite-950);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 28px 70px -30px rgba(0,0,0,.75);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.panel-num { color: var(--white); }

/* 21/10 — 3ª rodada */
/* Cabeçalho: assinatura oficial, com a mesma fonte do logo (no lugar do texto em Cormorant) */
.brand-marca { display: block; height: 50px; width: auto; }
@media (max-width: 899px) { .brand-marca { height: 38px; } }

/* Topo: menos espaço acima do conteúdo; logo grande alinhado ao topo do painel de áreas */
.hero {
  min-height: 0; align-items: flex-start;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 1rem + 2vw, 3rem));
  padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
}
.hero-grid { align-items: start; }

/* Texto corrido justificado, com hifenização em português */
main p, .footer-brand p, .check-list li, .cv-list li {
  text-align: justify; -webkit-hyphens: auto; hyphens: auto;
}

/* 21/10 — 4ª rodada: sem o logo grande no topo, título novo um pouco menor, "Por onde começar" */
/* título: até 62px (era 68px); -0.24em alinha o alto das maiúsculas com o topo do painel de áreas */
.hero-copy h1 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.875rem); margin-top: -0.24em; }
.panel-foot { text-align: left; }
.hero-extra { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); max-width: 560px; }
.hero-mini { font: 600 .75rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 1.1rem; text-align: left; }
.hero-situacoes li { border-top: 1px solid var(--line-dark); }
.hero-situacoes li:last-child { border-bottom: 1px solid var(--line-dark); }
.hero-situacoes a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .95rem 0;
  text-decoration: none; color: rgba(255,255,255,.88); font-size: .975rem;
}
.hero-situacoes a .icon { color: var(--red-600); flex: none; transition: transform .25s var(--ease); }
.hero-situacoes a:hover { color: var(--white); }
.hero-situacoes a:hover .icon { transform: translateX(4px); }

/* 21/10 — 5ª rodada: no computador o cabeçalho fica fixo (não some ao rolar); no celular continua recolhendo */
@media (min-width: 900px) {
  .site-header.is-hidden { transform: none; box-shadow: 0 6px 24px -16px rgba(0,0,0,.6); }
}


/* ---------- Hero: fundo com o escritório ---------- */
:root{ --office-img: url("../img/escritorio.jpg"); }
.hero-bg{
  background:
    linear-gradient(90deg, rgba(26,29,32,.95) 0%, rgba(26,29,32,.88) 38%, rgba(26,29,32,.62) 62%, rgba(26,29,32,.50) 100%),
    linear-gradient(180deg, rgba(26,29,32,.70) 0%, rgba(26,29,32,0) 22%, rgba(26,29,32,0) 68%, var(--graphite-950) 100%),
    radial-gradient(1200px 600px at 85% 10%, rgba(15,39,68,.55), transparent 60%),
    radial-gradient(900px 700px at 0% 100%, rgba(15,39,68,.45), transparent 60%),
    var(--office-img) var(--hero-pos, 88% 30%) / cover no-repeat,
    var(--graphite-900);
}
.hero-panel{ background: linear-gradient(180deg, rgba(34,38,41,.78), rgba(26,29,32,.84)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (max-width: 899px){
  .hero{ padding-top: 330px; }
  .hero-bg{
    background:
      linear-gradient(180deg, rgba(26,29,32,.85) 0px, rgba(26,29,32,.15) 110px, rgba(26,29,32,.1) 220px, rgba(26,29,32,.92) 300px, var(--graphite-900) 360px),
      radial-gradient(600px 500px at 0% 100%, rgba(15,39,68,.45), transparent 60%),
      var(--office-img) calc(50vw - 763px) 40px / auto 330px no-repeat,
      var(--graphite-900); }
}

/* Tipografia escolhida (opção 6): Montserrat no texto e título do topo em Montserrat Light */
:root{
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: var(--font-sans);
  --fs-h1: clamp(1.875rem, 1.25rem + 2.1vw, 3rem);
  --fs-h2: clamp(1.625rem, 1.25rem + 1.4vw, 2.25rem);
  --fs-h3: clamp(1.1875rem, 1.05rem + .45vw, 1.375rem);
}
h1, h2{ font-weight: 300; letter-spacing: -.01em; line-height: 1.18; }
h3{ font-weight: 500; letter-spacing: -.005em; }
.hero-copy h1{ font-size: clamp(1.875rem, 1.15rem + 2vw, 2.75rem); max-width: 24ch; margin-top: 0; }
.panel-text strong, .step strong, .channel-value, .photo-brand-title,
.artigo-autor-nome, .artigo .artigo-autor .artigo-autor-nome, .brand-name{ font-weight: 500; }
.panel-num, .step-num{ font-weight: 500; }

/* Ajustes de proporção (22/10) */
.hero-copy .lead{ font-size: clamp(.9375rem, .88rem + .22vw, 1.0625rem); line-height: 1.7; }
.highlight h3{ font-size: clamp(1rem, .95rem + .2vw, 1.125rem); }
.highlight p{ font-size: .875rem; }
.area-card h3{ font-size: clamp(1.125rem, 1.04rem + .3vw, 1.3125rem); }
.area-card > p{ font-size: .9375rem; }
.check-list li{ font-size: .875rem; }
.channel-value{ font: 500 1rem/1.5 var(--font-sans); }

/* Faixa fixa do topo: transparente no início; ao rolar, grafite escuro do rodapé (tom fixo, sem transparência) */
.site-header{ background: transparent; }
.site-header.is-scrolled, .site-header.menu-open,
.site-header.is-scrolled:not(.menu-open){ background: var(--graphite-950); }
.site-header::before{ display: none; }

/* Topo: proporções fixas em relação à tela (igual à referência em qualquer monitor) */
@media (min-width: 900px){
  .site-header .header-inner{ max-width: none; padding-left: 6.6vw; padding-right: 2.9vw; }
  .hero .hero-grid{ max-width: none; padding-left: 6.6vw; padding-right: 2.9vw; }
}
/* Âncoras: o título da seção para logo abaixo do cabeçalho, sem a faixa vazia */
.section[id]{ scroll-margin-top: calc(28px - clamp(4rem, 3rem + 5vw, 8rem)); }

@media (min-width: 900px){
  .hero-panel{ display:none; }
  .hero-copy{ max-width: 640px; }
  .hero-grid{ grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .hero-bg{ background:
    linear-gradient(90deg, rgba(26,29,32,.96) 0%, rgba(26,29,32,.9) 36%, rgba(26,29,32,.5) 58%, rgba(26,29,32,.32) 100%),
    linear-gradient(180deg, rgba(26,29,32,.7) 0%, rgba(26,29,32,0) 16%),
    linear-gradient(180deg, rgba(26,29,32,0) 70%, var(--graphite-950) 100%) right -4vw top 0 / 151.7vw 50.7vw no-repeat,
    radial-gradient(900px 700px at 0% 100%, rgba(15,39,68,.45), transparent 60%),
    var(--office-img) right -4vw top 0 / 151.7vw 50.7vw no-repeat,
    var(--graphite-950); }
}