/* =========================================================
   Müller & Neto Advogados — sistema de design (Etapa 1)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Cores */
  --navy-950: #081120;
  --navy-900: #0B1628;
  --navy-800: #11213A;
  --navy-700: #1B2F4E;
  --sand-50:  #F8F6F1;
  --sand-100: #EFEBE2;
  --sand-200: #E2DCCF;
  --gold-500: #A9854F;   /* destaque sobre fundo claro */
  --gold-400: #C5A56E;   /* destaque sobre fundo escuro */
  --gold-300: #D9C196;
  --ink:      #17202C;
  --muted:    #5A6472;
  --white:    #FFFFFF;
  --line-dark:  rgba(255,255,255,.12);
  --line-light: rgba(23,32,44,.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;
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --shadow: 0 10px 30px -12px rgba(8,17,32,.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(--sand-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
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; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--gold-400); 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(--gold-400); color: var(--navy-950); padding: var(--sp-2) var(--sp-4);
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: var(--sp-4); }

.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: var(--gold-400); margin-bottom: var(--sp-5);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow-dark { color: var(--gold-500); }
.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(--gold-400); --btn-fg: var(--navy-950); --btn-bd: var(--gold-400); }
.btn-gold:hover { --btn-bg: var(--gold-300); --btn-bd: var(--gold-300); }
.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; }

/* ---------- 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);
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(11,22,40,.96);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 6px 24px -16px rgba(0,0,0,.6);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled { background: rgba(11,22,40,.94); backdrop-filter: blur(10px); }
}
.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-mark {
  display: flex; align-items: center; justify-content: center; width: 52px; height: 44px; white-space: nowrap;
  border: 1px solid var(--gold-400); color: var(--gold-400);
  font: 600 1.125rem/1 var(--font-serif); letter-spacing: .02em;
}
.brand-mark span { font-style: italic; margin-inline: 1px; }
.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(--gold-400); 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; }

/* 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); }

  .js .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: var(--sp-6);
    padding: var(--sp-6) var(--gutter) var(--sp-7);
    background: var(--navy-900);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
    overflow-y: auto;
  }
  .js .site-header.menu-open .site-nav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s;
  }
  .js .nav-list { flex-direction: column; gap: 0; }
  .js .nav-list a {
    display: block; padding: var(--sp-4) 0; border-bottom: 1px solid var(--line-dark);
    font: 600 1.625rem/1.2 var(--font-serif); color: var(--white);
  }
  .js .nav-list a::after { display: none; }
  .js .nav-cta { min-height: 52px; font-size: 1rem; }

  /* 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 { display: none; }
}
body.menu-locked { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--white); background: var(--navy-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(197,165,110,.10), transparent 60%),
    radial-gradient(900px 700px at 0% 100%, rgba(27,47,78,.9), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-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: 16ch; text-wrap: balance; }
.hero-copy .lead { margin-top: var(--sp-5); max-width: 56ch; 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(255,255,255,.045), rgba(255,255,255,.015));
  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(--gold-400); 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(--gold-400); transition: transform .25s var(--ease); }
.panel-list a:hover .panel-arrow { transform: translateX(4px); }
.panel-list a:hover strong { color: var(--gold-300); }
.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(--sand-100); }
.section h2 { color: var(--navy-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: 900px; 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: 60ch; }

/* ---------- 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(--gold-500); 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; 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: repeating-linear-gradient(135deg, var(--sand-100) 0 14px, var(--sand-200) 14px 15px);
  border: 1px dashed rgba(23,32,44,.25); color: var(--muted);
}
.photo-placeholder .icon { width: 40px; height: 40px; stroke-width: 1.25; color: var(--gold-500); margin-bottom: var(--sp-2); }
.photo-placeholder span { font: 600 1.375rem/1.2 var(--font-serif); color: var(--navy-900); }
.photo-placeholder small { font-size: .8125rem; }
.about-text h2 { font-size: clamp(1.875rem, 1.4rem + 1.5vw, 2.5rem); }
.about-text .lead { margin-top: var(--sp-5); color: var(--navy-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(--gold-500); stroke-width: 1.5; margin-bottom: var(--sp-4); }
.highlight h3 { font-size: 1.375rem; color: var(--navy-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 + 2vw, 2.5rem);
  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(--gold-500); 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(169,133,79,.45); box-shadow: var(--shadow); }
.area-card:hover::before, .area-card:focus-within::before, .area-card:target::before { transform: scaleX(1); }
.area-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-6); }
.area-num { font: 600 1rem/1 var(--font-sans); letter-spacing: .12em; color: var(--gold-500); }
.area-icon { width: 36px; height: 36px; stroke-width: 1.25; color: var(--navy-700); }
.area-card h3 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.125rem); color: var(--navy-900); margin-bottom: var(--sp-3); }
.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(--navy-900);
}
.area-details summary::-webkit-details-marker { display: none; }
.area-details summary .icon { color: var(--gold-500); 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(--gold-500);
}

.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(--navy-900); text-decoration: none;
}
.area-link .icon { color: var(--gold-500); transition: transform .25s var(--ease); }
.area-link:hover .icon { transform: translateX(4px); }
.area-link:hover { color: var(--gold-500); }

/* 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(--gold-500), rgba(169,133,79,.2));
}
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gold-500); color: var(--navy-900); background: var(--sand-100);
  font: 600 1.125rem/1 var(--font-serif);
}
.step strong { display: block; font: 600 1.25rem/1.2 var(--font-serif); color: var(--navy-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(--gold-500), rgba(169,133,79,.2)); display: block; }
  .step:nth-child(2)::after { display: block; }
  .step-num { flex: none; }
}

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

.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(169,133,79,.45); }
.member-photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand-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(--gold-500); margin-bottom: var(--sp-2); }
.member-info h3 { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.75rem); color: var(--navy-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(--navy-900); text-decoration: none;
}
.member-link::after { content: ""; position: absolute; inset: 0; } /* card inteiro clicável */
.member-link .icon { color: var(--gold-500); transition: transform .25s var(--ease); }
.member-card:hover .member-link .icon { transform: translateX(4px); }
.member-card:hover .member-link { color: var(--gold-500); }

/* Perfis: estilo comum */
.profile-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-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(--navy-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(--gold-500); }
.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(8,17,32,.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(--sand-50); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .4s var(--ease);
  box-shadow: -20px 0 60px -20px rgba(8,17,32,.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(248,246,241,.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(--navy-900); cursor: pointer; transition: background-color .2s var(--ease);
}
.drawer-close:hover { background: var(--sand-200); }
.drawer-close .icon { width: 22px; height: 22px; }

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

/* ---------- Contato ---------- */
.section-dark { background: var(--navy-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(197,165,110,.45); color: var(--gold-400);
}
.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(--gold-300); }
.channel-sub { display: inline-block; margin-top: var(--sp-1); font-size: .875rem; color: var(--gold-400); text-decoration: none; }
.channel-sub:hover { text-decoration: underline; }
.contact-cta { margin-top: var(--sp-6); }
.contact-map { position: relative; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); background: var(--navy-800); }
.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(--navy-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 { max-width: 32ch; line-height: 1.6; }
.footer-h { font: 600 .75rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); 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 {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3);
  padding-block: var(--sp-5); border-top: 1px solid var(--line-dark); font-size: .8125rem; color: rgba(255,255,255,.45);
}
@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); } }

/* ---------- 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, o conteúdo aparece sozinho após 2,5s */
.js [data-reveal]:not(.is-visible) { animation: reveal-fallback .6s var(--ease) 2.5s forwards; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }
.js .hero-panel[data-reveal] { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
