/* Lima & Lourenço Advogados · folha de estilo única, mobile-first */

/* ---------- Fontes (self-hosted, licença OFL junto de cada fonte, em assets/fonts) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0E1116;
  --ink-2: #090B0F;
  --navy: #13233F;
  --gold: #C6A15B;          /* dourado da marca: sobre fundos escuros */
  --gold-hi: #DDC28E;
  --gold-deep: #7A5C26;     /* dourado escurecido: texto sobre marfim (AA 5.7:1) */
  --gold-rule: #B8924A;     /* linhas decorativas sobre marfim */
  --ivory: #F7F4EE;
  --paper: #EFE9DE;
  --stone: #D8CFBE;

  --on-dark: #F4F0E8;
  --on-dark-muted: #AEB3BD;
  --on-light: #14171D;
  --on-light-muted: #4B505B;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1320px;
  --sec-y: clamp(5rem, 11vw, 10.5rem);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
abbr[title] { text-decoration: none; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); }
.theme-light h2 em, .theme-light h3 em { color: var(--gold-deep); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.theme-light :focus-visible { outline-color: var(--gold-deep); }

.sr-only {
  position: absolute; 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: 1rem; top: -100px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: .8rem 1.2rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { position: relative; padding-block: var(--sec-y); }
.theme-light { background: var(--ivory); color: var(--on-light); }
.theme-paper { background: var(--paper); }

.ico {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .85em;
  margin-bottom: 1.4rem;
  font: 600 .75rem/1.3 var(--sans);
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold);
}
/* marcador em quarto de círculo: o mesmo motivo dos posts */
.eyebrow::before {
  content: ""; width: .8em; height: .8em; flex: none;
  background: currentColor; border-top-left-radius: 100%;
}
.theme-light .eyebrow { color: var(--gold-deep); }

.display {
  font-size: clamp(3rem, 1.1rem + 7.4vw, 8.25rem);
  line-height: .94;
  letter-spacing: -.022em;
}
.h2 {
  font-size: clamp(2.6rem, 1.5rem + 4vw, 5.25rem);
  line-height: 1;
  letter-spacing: -.018em;
}
.h2--xl { font-size: clamp(3rem, 1.4rem + 6vw, 7rem); line-height: .95; }
.lede {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.65;
  color: var(--on-dark-muted);
  max-width: 36em;
}
.theme-light .lede, .theme-light .sec-intro { color: var(--on-light-muted); }

.inline-link {
  color: inherit; text-decoration: underline;
  text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .22em;
  transition: color .2s;
}
.inline-link:hover { color: var(--gold); }
.theme-light .inline-link { text-decoration-color: var(--gold-rule); }
.theme-light .inline-link:hover { color: var(--gold-deep); }

/* Números de telefone nunca quebram no meio */
.num { white-space: nowrap; }

/* Placeholders visíveis: conteúdo a fornecer */
.ph {
  display: inline-block;
  font: 500 .8125em/1.4 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: 0;
  padding: .05em .45em;
  border: 1px dashed currentColor;
  color: var(--gold-deep);
  background: rgba(198, 161, 91, .12);
}
.ph--on-dark { color: var(--gold-hi); background: rgba(198, 161, 91, .1); }
.ph--on-gold { color: var(--ink); background: rgba(14, 17, 22, .08); }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 54px; padding: .9rem 1.6rem;
  font: 600 .9375rem/1.2 var(--sans); letter-spacing: .015em;
  text-decoration: none; text-align: center;
  border: 1px solid transparent; border-radius: 0;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--sm { min-height: 46px; padding: .6rem 1.1rem; font-size: .875rem; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hi); }
.btn--line { border-color: rgba(244, 240, 232, .32); color: var(--on-dark); }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.theme-light .btn--line { border-color: rgba(20, 23, 29, .3); color: var(--on-light); }
.theme-light .btn--line:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn .ico--arrow { transition: transform .3s var(--ease); }
.btn:hover .ico--arrow { transform: translateX(4px); }
.btn.is-placeholder { cursor: not-allowed; flex-wrap: wrap; }
.btn.is-placeholder:hover { background: var(--gold); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 44px;
  font-weight: 600; font-size: .9375rem; letter-spacing: .01em;
  text-decoration: none; color: var(--gold);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat;
  transition: background-size .35s var(--ease), color .2s;
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico:last-child { transform: translateX(4px); }

.actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(198, 161, 91, .2);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .8rem; min-height: 44px; text-decoration: none; }
.brand img { height: 50px; width: auto; max-width: 260px; object-fit: contain; border-radius: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font: 500 1.35rem/1 var(--serif); color: var(--on-dark); letter-spacing: .01em; }
.brand-name em { color: var(--gold); }
.brand-sub {
  margin-top: .4rem;
  font: 600 .5625rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase;
  color: var(--on-dark-muted);
}

.nav-desktop { display: none; }
.nav-desktop > a:not(.btn) {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: .875rem; font-weight: 500; letter-spacing: .02em;
  color: var(--on-dark-muted); text-decoration: none; transition: color .2s;
}
.nav-desktop > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-desktop > a:not(.btn):hover { color: var(--on-dark); }
.nav-desktop > a:not(.btn):hover::after { transform: scaleX(1); }

/* Menu mobile com <details> */
.menu summary {
  display: flex; align-items: center; gap: .75rem;
  min-height: 44px; min-width: 44px; padding: 0 .25rem;
  cursor: pointer; list-style: none;
  font: 600 .75rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--on-dark);
}
.menu summary::-webkit-details-marker { display: none; }
.menu-icon { position: relative; width: 22px; height: 9px; }
.menu-icon::before, .menu-icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--gold);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-icon::before { top: 0; }
.menu-icon::after { top: 8px; }
.menu[open] .menu-icon::before { top: 4px; transform: rotate(45deg); }
.menu[open] .menu-icon::after { top: 4px; transform: rotate(-45deg); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  display: flex; flex-direction: column;
  padding: .5rem var(--gutter) 2rem;
  background: var(--ink);
  border-bottom: 1px solid rgba(198, 161, 91, .25);
  max-height: calc(100svh - var(--header-h)); overflow-y: auto;
}
.menu-panel a:not(.btn) {
  display: flex; align-items: center; min-height: 56px;
  font: 500 1.75rem/1.1 var(--serif); color: var(--on-dark); text-decoration: none;
  border-bottom: 1px solid rgba(244, 240, 232, .08);
}
.menu-panel a:not(.btn):hover { color: var(--gold); }
.menu-panel .btn { margin-top: 1.5rem; }

@media (min-width: 1024px) {
  .menu { display: none; }
  .nav-desktop { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
  .nav-desktop .btn { margin-left: .5rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(3.5rem, 9vw, 7.5rem); }
.hero-copy { position: relative; z-index: 2; }
.hero .display { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); max-width: 11.5em; }
.hero .lede { margin-bottom: 2.25rem; }
.hero-art {
  position: relative; z-index: 1;
  width: min(72%, 420px); height: auto;
  aspect-ratio: 640 / 680;
  margin: 1.5rem calc(-1 * var(--gutter)) 0 auto;
}
.fill-navy { fill: var(--navy); }
.fill-gold { fill: var(--gold); }
.stroke-gold { fill: none; stroke: var(--gold); stroke-width: 1.3; }
.stroke-gold.soft { stroke-opacity: .55; }
.stroke-ivory { fill: none; stroke: var(--on-dark); stroke-opacity: .35; stroke-width: 1.2; }

@media (prefers-reduced-motion: no-preference) {
  .arc-draw { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 2.4s .25s var(--ease) forwards; }
  .arc-draw--late { animation-delay: .7s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (min-width: 1024px) {
  .hero { padding-bottom: clamp(6rem, 9vw, 9rem); min-height: min(820px, calc(100svh - var(--header-h) - 120px)); }
  .hero-copy { max-width: 60%; }
  .hero-art {
    position: absolute; right: 0; bottom: 0;
    width: min(50vw, 760px); max-width: none; height: 100%;
    margin: 0;
  }
}

/* ---------- Faixa de fatos ---------- */
.facts { background: var(--navy); }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; }
.facts-grid > div {
  padding: 1.6rem 1rem 1.6rem 0;
  border-top: 1px solid rgba(198, 161, 91, .22);
}
.facts-grid > div:nth-child(-n+2) { border-top: 0; }
.facts-grid > div:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid rgba(198, 161, 91, .22); }
.facts dt {
  font: 600 .6875rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .6rem;
}
.facts dd { font: 500 clamp(1.25rem, 1rem + .9vw, 1.75rem)/1.15 var(--serif); color: var(--on-dark); }
@media (min-width: 1024px) {
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .facts-grid > div { padding: 2.4rem 1.5rem 2.4rem 0; border-top: 0; }
  .facts-grid > div + div { padding-left: 1.75rem; border-left: 1px solid rgba(198, 161, 91, .22); }
}

/* ---------- Costuras entre seções: quartos de círculo ---------- */
.seam::before {
  content: ""; position: absolute; top: 0; z-index: 0; pointer-events: none;
  width: clamp(64px, 12vw, 190px); aspect-ratio: 1;
}
.seam--tl-navy::before { left: 0; background: var(--navy); border-bottom-right-radius: 100%; }
.seam--tr-paper::before { right: 0; background: var(--paper); border-bottom-left-radius: 100%; }
.seam--tr-ink::before { right: 0; background: var(--ink); border-bottom-left-radius: 100%; }
.seam > .container { position: relative; z-index: 1; }

/* ---------- Cabeçalho de seção ---------- */
.sec-head { display: grid; gap: 1.75rem; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.sec-intro { max-width: 30em; font-size: 1.0625rem; line-height: 1.7; }
@media (min-width: 1024px) {
  .sec-head { grid-template-columns: 7fr 4fr; column-gap: 8%; align-items: end; }
  .sec-intro { padding-bottom: .6rem; }
}

/* ---------- Áreas ---------- */
.areas-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.area-feature {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--navy); color: var(--on-dark);
}
.area-feature-arc { position: absolute; top: 0; right: 0; width: clamp(96px, 22vw, 180px); height: auto; }
.area-feature-arc path { fill: var(--gold); }
.area-feature-arc .line { fill: none; stroke: var(--navy); stroke-width: 1.2; }
.area-kicker {
  display: flex; align-items: baseline; gap: .8rem;
  font: 600 .75rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}
.area-num { font: italic 500 1.35rem/1 var(--serif); letter-spacing: 0; }
.area-feature .area-num { color: var(--gold); }
.area-feature-title {
  margin: clamp(2.5rem, 6vw, 5rem) 0 1.25rem;
  font-size: clamp(3.5rem, 2rem + 6vw, 6.5rem); line-height: .9; letter-spacing: -.025em;
}
.area-feature-lead { max-width: 30em; color: var(--on-dark-muted); font-size: 1.0625rem; }
.area-topics { display: flex; flex-wrap: wrap; gap: .55rem .6rem; margin: 2rem 0 2.25rem; }
.area-topics li {
  font-size: .8125rem; font-weight: 500; letter-spacing: .02em;
  padding: .45rem .8rem; border: 1px solid rgba(198, 161, 91, .45); color: var(--on-dark);
}
.area-feature .link-arrow { margin-top: auto; }

.area-index { border-bottom: 1px solid var(--stone); }
.area-row {
  position: relative;
  display: grid; grid-template-columns: 2.75rem 1fr; column-gap: 1rem; row-gap: .5rem;
  padding: clamp(1.6rem, 3vw, 2.25rem) 0;
  border-top: 1px solid var(--stone);
}
.area-row::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--gold-deep); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.area-row:hover::before { transform: scaleX(1); }
.area-row .area-num { color: var(--gold-deep); padding-top: .55rem; }
.area-row h3 {
  font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); line-height: 1;
  transition: transform .5s var(--ease);
}
.area-row:hover h3 { transform: translateX(6px); }
.area-row p { grid-column: 2; color: var(--on-light-muted); max-width: 36em; }
@media (min-width: 720px) {
  .area-row { grid-template-columns: 3.5rem minmax(12rem, 1fr) 1.35fr; column-gap: 1.5rem; align-items: baseline; }
  .area-row p { grid-column: 3; }
}
@media (min-width: 1024px) {
  .areas-grid { grid-template-columns: 5fr 7fr; column-gap: clamp(3rem, 6vw, 6rem); align-items: stretch; }
  .area-row { grid-template-columns: 3.5rem 1fr; }
  .area-row p { grid-column: 2; }
}

/* ---------- O escritório ---------- */
.escritorio-grid { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.year-block { position: relative; align-self: start; max-width: 520px; }
.year-arc { width: 100%; height: auto; fill: none; stroke: var(--gold); stroke-width: 1.1; }
.year-arc .soft { stroke-opacity: .4; }
.year {
  margin-top: -.3em;
  font: italic 500 clamp(6.5rem, 3rem + 16vw, 15rem)/.8 var(--serif);
  letter-spacing: -.04em; color: var(--gold);
  text-align: center;
}
.year-cap {
  margin-top: 1.5rem; text-align: center;
  font: 600 .6875rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--on-dark-muted);
}
.escritorio-copy .h2 { margin-bottom: clamp(2rem, 4vw, 3rem); }
.prose { display: grid; gap: 1.25rem; max-width: 34em; color: var(--on-dark-muted); font-size: 1.0625rem; line-height: 1.75; }
.dropcap { color: var(--on-dark); }
.dropcap::first-letter {
  float: left; margin: .08em .12em 0 0;
  font: 500 4.6em/.8 var(--serif); color: var(--gold);
}
@media (min-width: 1024px) {
  .escritorio-grid { grid-template-columns: 5fr 7fr; column-gap: clamp(4rem, 8vw, 8rem); align-items: center; }
}

/* ---------- Sócios ---------- */
.partners { display: grid; gap: clamp(4rem, 8vw, 6rem); }
.partner { display: grid; gap: 2.25rem; align-content: start; }
.portrait { position: relative; width: min(100%, 380px); aspect-ratio: 2 / 3; }
/* moldura dourada deslocada, com o canto em quarto de círculo */
.portrait::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  transform: translate(18px, 18px);
  border: 1px solid var(--gold-rule);
  border-top-right-radius: 50% 33.333%;
}
/* quarto de círculo sólido sobreposto ao canto: assinatura dos posts */
.portrait::after {
  content: ""; position: absolute; z-index: 3; left: -1px; bottom: -1px;
  width: 26%; aspect-ratio: 1;
  background: var(--navy); border-top-right-radius: 100%;
}
.portrait-img {
  position: relative; z-index: 1; height: 100%; overflow: hidden;
  border-top-right-radius: 50% 33.333%;
  background: var(--navy);
  isolation: isolate;
}
.portrait-img picture { display: block; height: 100%; }
.portrait-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%;
  filter: grayscale(1) contrast(1.08) brightness(1.04);
  transition: transform 1.2s var(--ease);
}
/* duotom marinho/marfim: tratamento de cor igual para os dois retratos */
.portrait-img::before, .portrait-img::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.portrait-img::before { background: var(--navy); mix-blend-mode: lighten; }
.portrait-img::after { background: #EADFC8; mix-blend-mode: multiply; }
.partner:hover .portrait-img img { transform: scale(1.03); }

.portrait--alt::before { transform: translate(-18px, 18px); border-radius: 0; border-top-left-radius: 50% 33.333%; }
.portrait--alt::after { left: auto; right: -1px; background: var(--gold); border-radius: 0; border-top-left-radius: 100%; }
.portrait--alt .portrait-img { border-radius: 0; border-top-left-radius: 50% 33.333%; }
.portrait--alt { margin-left: 18px; width: min(100% - 18px, 380px); }

.portrait-img--placeholder {
  display: grid; place-items: center; align-content: center; gap: 1.25rem;
  background:
    radial-gradient(circle at 100% 100%, transparent 0 58%, rgba(198, 161, 91, .35) 58% calc(58% + 1px), transparent calc(58% + 1px)),
    var(--navy);
}
.portrait-img--placeholder::before, .portrait-img--placeholder::after { display: none; }
.initials { font: italic 500 clamp(4rem, 12vw, 6.5rem)/1 var(--serif); color: var(--gold); letter-spacing: -.02em; }

.partner-body .eyebrow { margin-bottom: .9rem; }
.partner-name { font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.25rem); line-height: 1; margin-bottom: .9rem; }
.partner-oab { font-size: .875rem; font-weight: 600; letter-spacing: .08em; color: var(--on-light-muted); margin-bottom: 1rem; }
.partner-bio { color: var(--on-light-muted); max-width: 30em; margin-bottom: 1.75rem; }
.partner-contact { border-top: 1px solid var(--stone); max-width: 26rem; }
.partner-contact a {
  display: flex; align-items: center; gap: .8rem; min-height: 52px;
  border-bottom: 1px solid var(--stone);
  text-decoration: none; font-weight: 600; font-size: .9375rem;
  transition: color .2s, padding .35s var(--ease);
}
.partner-contact .ico { color: var(--gold-deep); }
.partner-contact .num { margin-left: auto; font-weight: 500; color: var(--on-light-muted); font-variant-numeric: tabular-nums; }
.partner-contact a:hover { color: var(--gold-deep); padding-left: .35rem; }

@media (min-width: 720px) {
  .partners { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 6vw, 7rem); }
  .partner--alt { margin-top: clamp(4rem, 12vw, 10rem); }
}

/* ---------- Plantão ---------- */
.plantao { background: var(--navy); overflow: hidden; }
.plantao-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.plantao-mark {
  position: relative; display: grid; place-items: center;
  width: min(72vw, 420px); aspect-ratio: 1;
}
.plantao-ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--gold); stroke-width: 1; }
.plantao-ring .tick { stroke-width: 1.4; }
.plantao-mark span {
  position: relative;
  font: italic 500 clamp(5rem, 2rem + 13vw, 10.5rem)/1 var(--serif);
  color: var(--gold); letter-spacing: -.04em;
}
.plantao .h2 { margin-bottom: 1.5rem; }
.plantao .lede { margin-bottom: 2.25rem; color: #C3C8D2; }
.plantao-note { margin-top: 1.75rem; font-size: .9375rem; color: #C3C8D2; max-width: 34em; }
@media (min-width: 1024px) {
  .plantao-grid { grid-template-columns: 5fr 7fr; column-gap: clamp(4rem, 8vw, 8rem); }
}

/* ---------- Unidades ---------- */
.unidades-grid { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.unidades-head .h2 { margin-bottom: 2.5rem; }
.hours { display: grid; gap: 0; max-width: 22rem; border-top: 1px solid rgba(198, 161, 91, .3); }
.hours > div { padding: 1.1rem 0; border-bottom: 1px solid rgba(198, 161, 91, .3); }
.hours dt { font-size: .875rem; color: var(--on-dark-muted); margin-bottom: .25rem; }
.hours dd { font: 500 1.75rem/1.1 var(--serif); color: var(--on-dark); }

.unit {
  position: relative;
  display: grid; gap: .9rem;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(244, 240, 232, .14);
}
.unit:last-child { border-bottom: 1px solid rgba(244, 240, 232, .14); }
.unit::after {
  content: ""; position: absolute; right: 0; top: clamp(2rem, 4vw, 3rem);
  width: 44px; aspect-ratio: 1;
  border-top: 1px solid var(--gold); border-right: 1px solid var(--gold);
  border-top-right-radius: 100%;
  opacity: .8;
}
.unit-kicker { font: 600 .6875rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.unit-city {
  font-size: clamp(2.5rem, 1.2rem + 5vw, 5rem); line-height: 1; letter-spacing: -.02em;
  overflow-wrap: anywhere; padding-right: 3.5rem;
}
.unit-city abbr { font: 600 .75rem/1 var(--sans); letter-spacing: .2em; color: var(--on-dark-muted); vertical-align: super; margin-left: .3rem; }
.unit address { color: var(--on-dark-muted); line-height: 1.7; }
@media (min-width: 720px) {
  .unit { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; align-items: end; }
  .unit-kicker, .unit-city { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .unidades-grid { grid-template-columns: 4fr 7fr; column-gap: clamp(4rem, 8vw, 8rem); }
  .unidades-head { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.faq-list { border-top: 1px solid var(--stone); }
.faq-list details { border-bottom: 1px solid var(--stone); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 64px; padding: 1.25rem 0;
  cursor: pointer; list-style: none;
  font: 500 clamp(1.4rem, 1.15rem + .8vw, 1.85rem)/1.2 var(--serif);
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-deep); }
.faq-list summary .ico { width: 22px; height: 22px; color: var(--gold-deep); stroke-width: 1.3; }
.faq-list summary .ico .v { transition: transform .35s var(--ease); transform-origin: center; }
.faq-list details[open] summary .ico .v { transform: scaleY(0); }
.faq-list details p { padding: 0 3rem 1.75rem 0; color: var(--on-light-muted); max-width: 40em; }
@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: 4fr 7fr; column-gap: clamp(4rem, 8vw, 8rem); }
  .faq-head { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
}

/* ---------- CTA final ---------- */
.cta { overflow: hidden; }
.cta-art {
  position: absolute; left: 0; bottom: 0; z-index: 0;
  width: clamp(220px, 40vw, 560px); height: auto; pointer-events: none;
}
.cta-art .fill { fill: var(--navy); opacity: .7; }
.cta-art .line { fill: none; stroke: var(--gold); stroke-width: 1; stroke-opacity: .6; }
.cta-grid { position: relative; z-index: 1; display: grid; gap: clamp(3rem, 6vw, 5rem); }
.cta .h2 { margin-bottom: 1.75rem; }
.cta-people { display: grid; gap: 1rem; }
.person {
  display: grid; grid-template-columns: 88px 1fr; gap: 1.25rem; align-items: center;
  padding: 1.25rem;
  background: rgba(9, 11, 15, .72);
  border: 1px solid rgba(198, 161, 91, .28);
  transition: border-color .3s var(--ease);
}
.person:hover { border-color: rgba(198, 161, 91, .7); }
.person-photo {
  position: relative; width: 88px; height: 88px; overflow: hidden;
  border-top-right-radius: 100%; background: var(--navy); isolation: isolate;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 0; transform: scale(1.7); transform-origin: 42% 0; filter: grayscale(1) contrast(1.08); }
.person-photo::before, .person-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.person-photo::before { background: var(--navy); mix-blend-mode: lighten; }
.person-photo::after { background: #EADFC8; mix-blend-mode: multiply; }
.person-photo--placeholder { display: grid; place-items: center; }
.person-photo--placeholder::before, .person-photo--placeholder::after { display: none; }
.person-photo--placeholder span { font: italic 500 2.25rem/1 var(--serif); color: var(--gold); transform: translate(-4px, 6px); }
.person-name { font: 500 1.6rem/1.1 var(--serif); color: var(--on-dark); }
.person-num { font-size: .9375rem; color: var(--on-dark-muted); margin: .2rem 0 .9rem; font-variant-numeric: tabular-nums; }
.person-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (min-width: 1024px) {
  .cta-grid { grid-template-columns: 7fr 5fr; column-gap: clamp(3rem, 6vw, 6rem); align-items: end; }
  .person { grid-template-columns: 104px 1fr; padding: 1.5rem; }
  .person-photo { width: 104px; height: 104px; }
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--ink-2); color: var(--on-dark-muted);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem;
  border-top: 1px solid rgba(198, 161, 91, .22);
  font-size: .9375rem;
}
.footer-top { display: grid; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(244, 240, 232, .08); }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { height: 64px; width: auto; max-width: 300px; object-fit: contain; border-radius: 0; }
.footer-name { font: 500 1.6rem/1 var(--serif); color: var(--on-dark); }
.footer-name em { color: var(--gold); }
.footer-name span {
  display: block; margin-top: .45rem;
  font: 600 .5625rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-muted);
}
.footer-cols { display: grid; gap: 2rem; }
.footer-h {
  font: 600 .6875rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .9rem;
}
.footer-cols address { line-height: 1.7; }
.footer-cols ul a {
  display: inline-block; padding: .7rem 0; line-height: 1.45;
  text-decoration: none; transition: color .2s;
}
.footer-cols ul a:hover { color: var(--gold); }
.footer-legal { display: grid; gap: .75rem; padding-top: 2rem; font-size: .8125rem; line-height: 1.6; color: #9197A2; }
.to-top {
  justify-self: start; display: inline-flex; align-items: center; min-height: 44px;
  color: var(--on-dark-muted); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .25em;
}
.to-top:hover { color: var(--gold); }
@media (min-width: 720px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .footer-top { grid-template-columns: 4fr 8fr; align-items: start; }
  .footer-legal { grid-template-columns: 1fr auto; column-gap: 3rem; }
  .footer-legal .to-top { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
}

/* ---------- Reveal no scroll (só com JS e sem redução de movimento) ---------- */
.reveal-on [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

@media print {
  .reveal-on [data-reveal] { opacity: 1; transform: none; }
  .site-header { position: static; }
}

/* ---------- Suporte para Atualização Institucional (11 Áreas, Liderança e Tecnologia) ---------- */

.eleven-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.area-card {
  background-color: var(--navy-800, #141820);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 8px;
  padding: 1.75rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.area-card:hover {
  border-color: var(--gold, #c5a059);
  transform: translateY(-3px);
}

.area-card .area-num {
  font-family: var(--font-display, serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold, #c5a059);
  margin-bottom: 0.5rem;
  display: block;
}

.area-card h3 {
  font-size: 1.25rem;
  color: var(--ivory, #f4f2ed);
  margin-bottom: 0.75rem;
  font-family: var(--font-display, serif);
}

.area-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--on-dark-muted, #a0a5b5);
}

/* Liderança 3 colunas */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.partner-role {
  font-weight: 600;
  color: var(--gold, #c5a059);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.team-note {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--gold, #c5a059);
  padding: 2rem;
  border-radius: 0 8px 8px 0;
  margin-top: 2rem;
}

.team-note h3 {
  font-family: var(--font-display, serif);
  font-size: 1.35rem;
  color: var(--ivory, #f4f2ed);
  margin-bottom: 0.75rem;
}

.team-note p {
  color: var(--on-dark-muted, #a0a5b5);
  line-height: 1.6;
}

/* Tecnologia & LGPD */
.tecnologia {
  background-color: var(--navy-900, #0e1116);
  padding: 5rem 0;
}

.tech-grid {
  max-width: 900px;
  margin: 0 auto;
}

.tech-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.tech-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: rgba(20, 24, 32, 0.6);
  padding: 1.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-item .ico--gold {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  stroke: var(--gold, #c5a059);
  fill: none;
  stroke-width: 1.8;
}

/* h3 por causa da ordem de títulos. As 4 primeiras linhas desfazem o estilo global de h1-h3 e mantêm o visual do antigo h4. */
.tech-item h3 {
  font-weight: 700;
  letter-spacing: normal;
  text-wrap: wrap;
  margin: 1.33em 0 0.5rem;
  font-family: var(--font-display, serif);
  font-size: 1.15rem;
  color: var(--ivory, #f4f2ed);
}

.tech-item p {
  font-size: 0.925rem;
  color: var(--on-dark-muted, #a0a5b5);
  line-height: 1.5;
}

/* 3 Unidades */
.units--three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.cta-main-contact {
  margin-top: 2rem;
}

/* Otimizações Mobile Rápidas */
@media (max-width: 600px) {
  .eleven-areas-grid,
  .leadership-grid,
  .tech-features,
  .units--three {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .tech-item {
    flex-direction: column;
    padding: 1.25rem;
  }
  .team-note {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
