/* AATE — Advocacia Administrativa, Tributária e Empresarial
   Identidade: bordô + ouro (logotipo), papel creme, tipografia serifada clássica. */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bordo-950: #26060e;
  --bordo-900: #3a0a15;
  --bordo-800: #4a0e1b;
  --bordo-700: #5e1426;
  --bordo-600: #74192f;
  --ouro-100: #f4e8cc;
  --ouro-300: #e2c68b;
  --ouro-500: #c9a45c;
  --ouro-700: #86632a;
  --papel: #faf6ef;
  --papel-2: #f3ecdf;
  --branco: #fffdf9;
  --tinta: #231417;
  --tinta-2: #5b4a4d;
  --linha: #e6dccb;
  --erro: #a12a2a;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --display: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --topo-h: 78px;
  --sombra: 0 1px 2px rgb(43 7 16 / 6%), 0 18px 40px -18px rgb(43 7 16 / 28%);
  --textura: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tinta);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--bordo-700); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--bordo-600); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--ouro-500); outline-offset: 3px; }
::selection { background: var(--ouro-300); color: var(--bordo-900); }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.wrap--estreito { max-width: 860px; }
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ouro-300); color: var(--bordo-900); padding: .75rem 1rem; }
.pular:focus { top: 1rem; }

/* Superfícies bordô com textura de papel (como no logotipo) */
.hero, .hero-pagina, .secao--bordo, .rodape, .topo, .contato__cartao {
  background-image: var(--textura), radial-gradient(ellipse 80% 90% at 72% 30%, #6c1a2e 0%, var(--bordo-800) 48%, var(--bordo-900) 100%);
  background-color: var(--bordo-800);
}

/* ---------- Tipografia utilitária ---------- */
.sobrelinha {
  display: inline-flex; align-items: center; gap: .85rem;
  margin: 0 0 .25rem;
  font-family: var(--display); font-size: .74rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--ouro-700);
}
.sobrelinha::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.sobrelinha--clara { color: var(--ouro-300); }
.titulo-secao { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; color: var(--bordo-900); margin: .5rem 0 1.1rem; }
.titulo-secao--menor { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.link-seta {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bordo-700); text-decoration: none;
}
.link-seta::after { content: "→"; transition: transform .25s ease; }
.link-seta:hover::after { transform: translateX(4px); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.7rem;
  font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  text-decoration: none; line-height: 1.2; text-align: center;
  border: 1px solid transparent; border-radius: 1px; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--ouro { background: linear-gradient(135deg, #efd9a5 0%, var(--ouro-500) 55%, #ad8743 100%); color: var(--bordo-900); box-shadow: 0 10px 24px -14px rgb(0 0 0 / 60%); }
.btn--ouro:hover { color: var(--bordo-950); box-shadow: 0 14px 30px -14px rgb(0 0 0 / 70%); filter: brightness(1.05); }
.btn--linha { border-color: rgb(226 198 139 / 50%); color: var(--ouro-100); background: transparent; }
.btn--linha:hover { background: rgb(226 198 139 / 10%); color: #fff; border-color: var(--ouro-300); }
.btn--bordo { background: var(--bordo-800); color: var(--papel); }
.btn--bordo:hover { background: var(--bordo-600); color: #fff; }
.btn--sm { padding: .75rem 1.15rem; font-size: .7rem; }
.btn--grande { padding: 1.15rem 2.2rem; }
.btn--bloco { width: 100%; }

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgb(201 164 92 / 18%);
  transition: box-shadow .3s ease;
}
.topo.is-rolado { box-shadow: 0 10px 30px -12px rgb(0 0 0 / 55%); }
.topo__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--topo-h); }
.marca { display: flex; align-items: center; gap: .85rem; text-decoration: none; flex-shrink: 0; }
.marca__simbolo { width: 46px; height: auto; }
.marca__txt { display: flex; flex-direction: column; }
.marca__nome { font-family: var(--display); font-size: 1.4rem; font-weight: 500; letter-spacing: .2em; color: var(--ouro-300); line-height: 1; }
.marca__sub { margin-top: .35rem; font-size: .52rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgb(226 198 139 / 78%); line-height: 1.45; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__lista { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: .4rem 0;
  font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: #ecdcc6; text-decoration: none;
}
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ouro-300); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav__link:hover, .nav__link.is-ativo { color: var(--ouro-300); }
.nav__link:hover::after, .nav__link.is-ativo::after { transform: scaleX(1); }

.menu-btn { display: none; width: 46px; height: 46px; background: transparent; border: 1px solid rgb(226 198 139 / 40%); cursor: pointer; position: relative; }
.menu-btn__barra, .menu-btn__barra::before, .menu-btn__barra::after { position: absolute; left: 12px; width: 20px; height: 1.5px; background: var(--ouro-300); transition: transform .3s ease, opacity .2s ease; }
.menu-btn__barra { top: 50%; }
.menu-btn__barra::before, .menu-btn__barra::after { content: ""; left: 0; }
.menu-btn__barra::before { top: -6px; }
.menu-btn__barra::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__barra { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__barra::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__barra::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (início) ---------- */
.hero { position: relative; overflow: hidden; color: var(--papel); padding-block: clamp(4rem, 9vw, 7.5rem) clamp(4.5rem, 9vw, 8rem); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(201 164 92 / 45%), transparent); }
.hero__grade { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__titulo { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.02; color: #fbf3e6; margin: 1.1rem 0 1.5rem; letter-spacing: -.005em; }
.hero__titulo em { font-style: italic; color: var(--ouro-300); }
.hero__lead { max-width: 36em; font-size: 1.06rem; color: rgb(250 240 228 / 82%); }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero__assinatura {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; margin: 3.2rem 0 0;
  font-family: var(--display); font-size: .8rem; letter-spacing: .16em; color: var(--ouro-300);
}
.hero__sep { width: 36px; height: 1px; background: rgb(226 198 139 / 55%); }
.hero__simbolo { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.hero__simbolo::before, .hero__simbolo::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgb(201 164 92 / 16%); }
.hero__simbolo::before { inset: 2%; }
.hero__simbolo::after { inset: 12%; border-style: dashed; border-color: rgb(201 164 92 / 10%); }
.hero__logo { width: 68%; filter: drop-shadow(0 1px 0 rgb(255 240 200 / 25%)) drop-shadow(0 2px 1px rgb(0 0 0 / 35%)) drop-shadow(0 24px 40px rgb(0 0 0 / 35%)); }

@media (prefers-reduced-motion: no-preference) {
  .hero__texto > * { animation: subir .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__texto > :nth-child(2) { animation-delay: .08s; }
  .hero__texto > :nth-child(3) { animation-delay: .16s; }
  .hero__texto > :nth-child(4) { animation-delay: .24s; }
  .hero__texto > :nth-child(5) { animation-delay: .32s; }
  .hero__logo { animation: surgir 1.4s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .revelar { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
  .revelar.is-visivel { opacity: 1; transform: none; }
}
@keyframes subir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes surgir { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- Seções ---------- */
.secao { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--branco); }
.secao--papel { background: var(--papel); }
/* Repete o fundo bordô: o "background" de .secao (acima) apagava a textura/gradiente,
   deixando texto claro sobre fundo claro. */
.secao--bordo {
  color: var(--papel);
  background-image: var(--textura), radial-gradient(ellipse 80% 90% at 72% 30%, #6c1a2e 0%, var(--bordo-800) 48%, var(--bordo-900) 100%);
  background-color: var(--bordo-800);
}
.cabecalho { max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.cabecalho__lead { font-size: 1.05rem; color: var(--tinta-2); margin: 0; }
.cabecalho--claro .titulo-secao { color: #fbf3e6; }

/* Áreas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.area-card {
  position: relative; display: flex; flex-direction: column;
  padding: 2.5rem 2rem 2rem; background: var(--branco);
  border: 1px solid var(--linha); border-top: 2px solid var(--ouro-500);
  transition: transform .35s ease, box-shadow .35s ease;
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.area-card__numeral { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--ouro-500); margin: 0 0 1rem; }
.area-card__titulo { font-size: 1.85rem; line-height: 1.1; margin-bottom: .85rem; }
.area-card__titulo a { color: var(--bordo-900); text-decoration: none; }
.area-card__titulo a:hover { color: var(--bordo-600); }
.area-card__resumo { color: var(--tinta-2); font-size: .95rem; }
.area-card__lista { list-style: none; margin: .5rem 0 1.75rem; padding: 0; flex: 1; }
.area-card__lista li { border-top: 1px solid var(--linha); }
.area-card__lista a { position: relative; display: block; padding: .72rem 0 .72rem 1.3rem; font-size: .9rem; line-height: 1.45; color: var(--tinta); text-decoration: none; transition: color .2s ease, padding-left .2s ease; }
.area-card__lista a::before { content: ""; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; background: var(--ouro-500); transform: translateY(-50%) rotate(45deg); }
.area-card__lista a:hover { color: var(--bordo-700); padding-left: 1.5rem; }

/* Escritório */
.escritorio { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.escritorio__citacao { padding-top: .5rem; }
.citacao { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; color: var(--bordo-800); padding-left: 2rem; border-left: 2px solid var(--ouro-500); margin: 0; }
.escritorio__texto p { color: var(--tinta-2); font-size: 1.02rem; }
.responsavel { margin-top: 2.2rem; padding: 1.6rem 1.8rem; background: var(--papel); border-left: 3px solid var(--bordo-700); }
.responsavel__nome { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--bordo-900); margin: 0; line-height: 1.2; }
.responsavel__oab { font-family: var(--display); font-size: .78rem; letter-spacing: .14em; color: var(--ouro-700); margin: .35rem 0 0; }
.responsavel__formacao { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--tinta-2); font-size: .92rem; }
.pilares { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; list-style: none; margin: 1.5rem 0 0; padding: 2.75rem 0 0; border-top: 1px solid var(--linha); }
.pilar__titulo { font-family: var(--display); font-size: .95rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--bordo-800); margin-bottom: .75rem; }
.pilar__titulo::before { content: ""; display: block; width: 32px; height: 2px; background: var(--ouro-500); margin-bottom: 1.1rem; }
.pilar p { color: var(--tinta-2); margin: 0; font-size: .95rem; }

/* Etapas */
.etapas { counter-reset: etapa; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; list-style: none; margin: 0; padding: 0; }
.etapa { counter-increment: etapa; padding-top: 1.6rem; border-top: 1px solid rgb(226 198 139 / 30%); }
.etapa::before { content: "0" counter(etapa); display: block; font-family: var(--serif); font-size: 2.8rem; line-height: 1; color: var(--ouro-300); margin-bottom: 1rem; }
.etapa__titulo { font-family: var(--display); font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ouro-100); margin-bottom: .6rem; }
.etapa p { color: rgb(250 240 228 / 76%); font-size: .95rem; margin: 0; }
.etapas__acao { margin: 3.5rem 0 0; }

/* FAQ */
.faq { border-top: 1px solid var(--linha); }
.faq__item { border-bottom: 1px solid var(--linha); }
.faq__pergunta { position: relative; list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; font-family: var(--serif); font-size: 1.32rem; font-weight: 600; line-height: 1.3; color: var(--bordo-900); }
.faq__pergunta::-webkit-details-marker { display: none; }
.faq__pergunta::before, .faq__pergunta::after { content: ""; position: absolute; right: .5rem; top: 50%; width: 14px; height: 1.5px; background: var(--ouro-700); transition: transform .3s ease; }
.faq__pergunta::after { transform: rotate(90deg); }
.faq__item[open] .faq__pergunta::after { transform: rotate(0); }
.faq__pergunta:hover { color: var(--bordo-600); }
.faq__resposta { padding: 0 3rem 1.5rem 0; color: var(--tinta-2); }
.faq__resposta p { margin: 0; max-width: 64ch; }

/* Contato */
.contato__grade { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.contato__lista { margin: 1.5rem 0 0; }
.contato__lista > div { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--linha); }
.contato__lista dt { font-family: var(--display); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ouro-700); padding-top: .2rem; }
.contato__lista dd { margin: 0; }
.contato__cartao { padding: clamp(2rem, 4vw, 3.25rem); color: var(--papel); border: 1px solid rgb(201 164 92 / 30%); box-shadow: var(--sombra); }
.contato__cartao-titulo { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.15; color: #fbf3e6; margin: .75rem 0 1rem; }
.contato__cartao p:not([class]) { color: rgb(250 240 228 / 78%); margin-bottom: 1.8rem; }

/* ---------- Rodapé ---------- */
.rodape { color: rgb(250 240 228 / 70%); padding-top: clamp(3.5rem, 7vw, 5rem); font-size: .9rem; background-image: var(--textura), linear-gradient(var(--bordo-950), var(--bordo-950)); }
.rodape a { color: rgb(250 240 228 / 80%); text-decoration: none; }
.rodape a:hover { color: var(--ouro-300); }
.rodape__grade { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
.rodape__simbolo { width: 58px; margin-bottom: 1rem; }
.rodape__nome { font-family: var(--display); font-size: 1.5rem; letter-spacing: .22em; color: var(--ouro-300); margin: 0; line-height: 1; }
.rodape__sub { font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: rgb(226 198 139 / 70%); margin-top: .5rem; max-width: 22em; line-height: 1.6; }
.rodape__titulo { font-family: var(--display); font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ouro-300); margin-bottom: 1.1rem; }
.rodape__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; line-height: 1.5; }
.rodape__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-top: 3.5rem; padding-block: 1.75rem; border-top: 1px solid rgb(226 198 139 / 14%); font-size: .76rem; color: rgb(250 240 228 / 55%); }
.rodape__base p { margin: 0; max-width: 80ch; }

/* ---------- Páginas internas ---------- */
.hero-pagina { color: var(--papel); padding-block: clamp(3.2rem, 7vw, 5.5rem); position: relative; }
.hero-pagina::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(201 164 92 / 45%), transparent); }
.hero-pagina--centro { text-align: center; }
.hero-pagina--centro .migalhas ol { justify-content: center; }
.migalhas ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 2rem; padding: 0; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgb(250 240 228 / 60%); }
.migalhas li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.migalhas a { color: var(--ouro-300); text-decoration: none; }
.migalhas a:hover { text-decoration: underline; }
.hero-pagina__numeral { font-family: var(--serif); font-size: 3.6rem; line-height: 1; color: var(--ouro-500); margin: 0 0 .5rem; }
.hero-pagina__titulo { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; color: #fbf3e6; }
.hero-pagina__local { margin: 1rem 0 0; color: rgb(244 232 204 / 82%); font-size: 1rem; }
.nao-encontrada__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.5rem; }

.area-layout { display: grid; grid-template-columns: 270px 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.area-indice { position: sticky; top: calc(var(--topo-h) + 32px); }
.area-indice__titulo { font-family: var(--display); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ouro-700); margin-bottom: 1rem; }
.area-indice ul { list-style: none; margin: 0 0 2rem; padding: 0; border-left: 1px solid var(--linha); }
.area-indice a { display: block; margin-left: -1px; padding: .5rem 0 .5rem 1.1rem; border-left: 2px solid transparent; font-size: .86rem; line-height: 1.4; color: var(--tinta-2); text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.area-indice a:hover { color: var(--bordo-700); border-left-color: var(--ouro-500); }
.area-intro { margin-bottom: 1.5rem; }
.area-intro p { color: var(--tinta-2); font-size: 1.02rem; }
.area-intro__lead { font-family: var(--serif); font-size: clamp(1.4rem, 2.3vw, 1.75rem) !important; line-height: 1.35; color: var(--bordo-900) !important; }
.servico { display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; padding-block: 2.5rem; border-top: 1px solid var(--linha); }
.servico__num { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--ouro-500); margin: 0; }
.servico__titulo { font-size: clamp(1.55rem, 2.4vw, 1.95rem); font-weight: 600; line-height: 1.15; color: var(--bordo-900); margin-bottom: .85rem; }
.servico p { color: var(--tinta-2); }
.area-faq { margin-top: 2.5rem; padding-top: 3rem; border-top: 1px solid var(--linha); }

.outras-areas__grade { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.outra-area { display: grid; gap: .4rem; padding: 2rem; border: 1px solid var(--linha); background: var(--papel); text-decoration: none; color: var(--tinta); transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.outra-area:hover { border-color: var(--ouro-500); transform: translateY(-3px); box-shadow: var(--sombra); color: var(--tinta); }
.outra-area__numeral { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--ouro-500); }
.outra-area__nome { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--bordo-900); }
.outra-area__resumo { color: var(--tinta-2); font-size: .92rem; }

.texto-longo h2 { font-size: 1.6rem; font-weight: 600; color: var(--bordo-900); margin: 2.5rem 0 .75rem; }
.texto-longo h2:first-child { margin-top: 0; }
.texto-longo p { color: var(--tinta-2); }

/* ---------- Agendamento ---------- */
.agenda-layout { display: grid; grid-template-columns: 1fr 310px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.agenda-form { background: var(--branco); border: 1px solid var(--linha); padding: clamp(1.4rem, 4vw, 3rem); box-shadow: var(--sombra); }
.etapa-form { border: 0; margin: 0 0 2.75rem; padding: 0; min-width: 0; }
.etapa-form__titulo { display: flex; align-items: center; gap: .85rem; padding: 0; margin-bottom: 1.5rem; font-family: var(--serif); font-size: 1.65rem; font-weight: 600; color: var(--bordo-900); }
.etapa-form__num { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--ouro-500); border-radius: 50%; font-family: var(--display); font-size: .9rem; color: var(--ouro-700); flex-shrink: 0; }

.opcoes-area { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.opcao-area { position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 1.2rem 1.25rem; border: 1px solid var(--linha); background: var(--papel); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.opcao-area:hover { border-color: var(--ouro-500); }
.opcao-area input, .pilula input { position: absolute; opacity: 0; pointer-events: none; }
.opcao-area:has(input:checked) { border-color: var(--bordo-700); background: #fbf2ee; box-shadow: inset 0 0 0 1px var(--bordo-700); }
.opcao-area:has(input:focus-visible), .pilula:has(input:focus-visible) span { outline: 2px solid var(--ouro-500); outline-offset: 2px; }
.opcao-area__numeral { font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--ouro-500); }
.opcao-area__nome { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.2; color: var(--bordo-900); }

.campo { margin-top: 1.25rem; min-width: 0; }
.campo__rotulo { display: block; margin: 0 0 .45rem; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-2); }
.campo__opcional { font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .85; }
.campo__erro { color: var(--erro); font-size: .85rem; margin: .45rem 0 0; }
.campo__dica { color: var(--tinta-2); font-size: .82rem; margin: .45rem 0 0; }
input:not([type="radio"], [type="checkbox"]), select, textarea {
  width: 100%; padding: .85rem 1rem;
  font: inherit; font-size: 1rem; color: var(--tinta);
  background: #fffefb; border: 1px solid #d9cbb6; border-radius: 1px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ouro-700) 50%), linear-gradient(135deg, var(--ouro-700) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--bordo-700); box-shadow: 0 0 0 3px rgb(116 25 47 / 12%); }
[aria-invalid="true"] { border-color: var(--erro) !important; }

.pilulas { display: flex; flex-wrap: wrap; gap: .6rem; }
.pilula { position: relative; cursor: pointer; }
.pilula span { display: inline-block; padding: .65rem 1.15rem; border: 1px solid var(--linha); border-radius: 999px; font-size: .88rem; background: var(--papel); transition: all .2s ease; }
.pilula:hover span { border-color: var(--ouro-500); }
.pilula:has(input:checked) span { background: var(--bordo-800); border-color: var(--bordo-800); color: var(--papel); }

.grade-campos { display: grid; grid-template-columns: repeat(6, 1fr); column-gap: 1.25rem; }
.grade-campos .campo { grid-column: span 3; }
.grade-campos .campo--largo { grid-column: 1 / -1; }
.grade-campos .campo:has(#documento) { grid-column: span 2; }
.grade-campos .campo--cidade { grid-column: span 3; }
.grade-campos .campo--uf { grid-column: span 1; }
.campo-mel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.aceite { display: flex; align-items: flex-start; gap: .8rem; margin-top: 1.75rem; font-size: .9rem; color: var(--tinta-2); cursor: pointer; }
.aceite input { width: 18px; height: 18px; margin-top: .22rem; accent-color: var(--bordo-700); flex-shrink: 0; }

.agenda-envio { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding-top: 2rem; border-top: 1px solid var(--linha); }
.agenda-resumo { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--bordo-800); }
.alerta { margin-bottom: 2rem; padding: 1rem 1.25rem; background: #fbedea; border-left: 3px solid var(--erro); color: #6b1a1a; }

.agenda-nativo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.agenda-nativo .campo { margin-top: 0; }
.agenda-js { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem; }
.agenda-js[hidden], .agenda-nativo[hidden] { display: none; }

.calendario { border: 1px solid var(--linha); padding: 1.1rem; background: var(--papel); }
.cal-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.cal-mes { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--bordo-900); text-transform: capitalize; margin: 0; }
.cal-nav { width: 36px; height: 36px; display: grid; place-items: center; background: transparent; border: 1px solid var(--linha); color: var(--bordo-800); cursor: pointer; font-size: 1rem; }
.cal-nav:hover:not(:disabled) { border-color: var(--bordo-700); }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grade { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tinta-2); padding-bottom: .35rem; }
.cal-dia { position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 0; font: inherit; font-size: .88rem; background: transparent; border: 1px solid transparent; color: #b8aa9a; cursor: default; border-radius: 1px; }
.cal-dia.is-livre { color: var(--tinta); background: var(--branco); border-color: var(--linha); cursor: pointer; font-weight: 500; }
.cal-dia.is-livre::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--ouro-500); }
.cal-dia.is-livre:hover { border-color: var(--bordo-700); }
.cal-dia.is-selecionado { background: var(--bordo-800); border-color: var(--bordo-800); color: var(--papel); }
.cal-dia.is-selecionado::after { background: var(--ouro-300); }
.cal-legenda { display: flex; align-items: center; gap: .5rem; margin: .8rem 0 0; font-size: .76rem; color: var(--tinta-2); }
.cal-legenda::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ouro-500); }
.horarios__titulo { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--bordo-900); margin: .2rem 0 1rem; }
.horarios__lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.horario { padding: .75rem 0; font: inherit; font-size: .92rem; font-weight: 500; background: var(--branco); border: 1px solid var(--linha); color: var(--tinta); cursor: pointer; transition: all .2s ease; }
.horario:hover { border-color: var(--bordo-700); }
.horario[aria-checked="true"] { background: var(--bordo-800); border-color: var(--bordo-800); color: var(--papel); }
.horarios__vazio { grid-column: 1 / -1; color: var(--tinta-2); font-size: .9rem; margin: 0; }

.agenda-lateral { position: sticky; top: calc(var(--topo-h) + 32px); }
.lateral-cartao { padding: 1.9rem; margin-bottom: 1.25rem; background: var(--branco); border: 1px solid var(--linha); border-top: 2px solid var(--ouro-500); }
.lateral-cartao--discreto { background: transparent; border-top-width: 1px; border-top-color: var(--linha); }
.lateral-cartao__titulo { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--bordo-900); margin-bottom: .75rem; }
.lateral-cartao p { margin-bottom: .4rem; }
.lateral-cartao__nota { font-size: .85rem; color: var(--tinta-2); }
.lateral-passos { counter-reset: p; list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .9rem; }
.lateral-passos li { counter-increment: p; display: grid; grid-template-columns: 28px 1fr; gap: .5rem; font-size: .92rem; color: var(--tinta-2); line-height: 1.5; }
.lateral-passos li::before { content: counter(p); font-family: var(--serif); font-size: 1.35rem; line-height: 1; color: var(--ouro-500); }
.lateral-sigilo { font-size: .8rem; color: var(--tinta-2); padding-inline: .25rem; }

.recibo { background: var(--branco); border: 1px solid var(--linha); border-top: 3px solid var(--ouro-500); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--sombra); }
.recibo__protocolo { font-family: var(--display); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ouro-700); }
.recibo__protocolo strong { display: block; margin-top: .35rem; font-size: 1.5rem; letter-spacing: .08em; color: var(--bordo-800); }
.recibo__dados { margin: 1.5rem 0; border-top: 1px solid var(--linha); }
.recibo__dados > div { display: grid; grid-template-columns: 160px 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--linha); }
.recibo__dados dt { font-family: var(--display); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ouro-700); padding-top: .2rem; }
.recibo__dados dd { margin: 0; }
.recibo__nota { color: var(--tinta-2); }
.recibo__acoes { margin: 1.75rem 0 0; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .nav { gap: 1.25rem; }
  .nav__lista { gap: 1.1rem; }
  .marca__sub { display: none; }
}

@media (max-width: 960px) {
  :root { --topo-h: 70px; }
  .marca__sub { display: block; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: var(--topo-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.75rem;
    background: var(--bordo-900); border-bottom: 1px solid rgb(201 164 92 / 25%);
    box-shadow: 0 30px 40px -20px rgb(0 0 0 / 60%);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .nav.is-aberto { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__lista { flex-direction: column; gap: 0; }
  .nav__lista li { border-bottom: 1px solid rgb(226 198 139 / 12%); }
  .nav__link { padding: 1rem 0; font-size: .82rem; }
  .nav__link::after { display: none; }

  .hero__grade { grid-template-columns: 1fr; }
  .hero__simbolo { position: absolute; right: -14%; top: 50%; width: 520px; transform: translateY(-50%); opacity: .12; pointer-events: none; }
  .hero__texto { position: relative; }

  .areas { grid-template-columns: 1fr; max-width: 640px; }
  .escritorio { grid-template-columns: 1fr; }
  .escritorio__citacao { position: static; }
  .pilares { grid-template-columns: 1fr; gap: 1.75rem; }
  .etapas { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
  .contato__grade { grid-template-columns: 1fr; }
  .rodape__grade { grid-template-columns: 1fr 1fr; }
  .area-layout { grid-template-columns: 1fr; }
  .area-indice { position: static; }
  .area-indice ul { display: none; }
  .area-indice__titulo { display: none; }
  .area-indice .btn { width: auto; }
  .agenda-layout { grid-template-columns: 1fr; }
  .agenda-lateral { position: static; }
  .agenda-js { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .marca__simbolo { width: 38px; }
  .marca__nome { font-size: 1.2rem; }
  .marca__sub { font-size: .46rem; }
  .hero__acoes .btn { flex: 1 1 100%; }
  .etapas { grid-template-columns: 1fr; }
  .rodape__grade { grid-template-columns: 1fr; }
  .outras-areas__grade { grid-template-columns: 1fr; }
  .servico { grid-template-columns: 1fr; gap: .5rem; }
  .opcoes-area { grid-template-columns: 1fr; }
  .opcao-area { flex-direction: row; align-items: center; gap: .9rem; }
  .grade-campos .campo, .grade-campos .campo:has(#documento) { grid-column: 1 / -1; }
  .grade-campos .campo--cidade { grid-column: span 4; }
  .grade-campos .campo--uf { grid-column: span 2; }
  .agenda-nativo { grid-template-columns: 1fr; }
  .agenda-envio .btn { width: 100%; }
  .contato__lista > div, .recibo__dados > div { grid-template-columns: 1fr; gap: .2rem; }
  .faq__pergunta { font-size: 1.18rem; }
}

/* ---------- Menu: submenu de áreas ---------- */
.nav__grupo { position: relative; }
.nav__sub { list-style: none; margin: 0; padding: .6rem 0; position: absolute; top: 100%; left: -1.2rem; min-width: 260px; background: var(--bordo-900); border: 1px solid rgb(201 164 92 / 25%); box-shadow: 0 24px 40px -18px rgb(0 0 0 / 70%); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
.nav__grupo:hover .nav__sub, .nav__grupo:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__sub a { display: block; padding: .6rem 1.2rem; color: #ecdcc6; text-decoration: none; font-size: .86rem; }
.nav__sub a:hover, .nav__sub a[aria-current] { color: var(--ouro-300); background: rgb(226 198 139 / 7%); }

/* ---------- Home: responsável ---------- */
.responsavel { display: flex; gap: 1.5rem; align-items: flex-start; }
.responsavel__foto { width: 110px; height: 138px; object-fit: cover; border: 1px solid var(--ouro-500); outline: 1px solid var(--ouro-500); outline-offset: 4px; flex-shrink: 0; }
.responsavel__numeros { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; list-style: none; margin: 1rem 0 1.1rem; padding: 0; font-size: .9rem; color: var(--tinta-2); }
.responsavel__numeros strong { font-family: var(--serif); font-size: 1.5rem; color: var(--bordo-800); margin-right: .15rem; }

/* ---------- Artigos ---------- */
.cabecalho--linha { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; max-width: none; }
.cabecalho--linha .titulo-secao { margin-bottom: 0; }
.artigos-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.artigo-card { background: var(--branco); border: 1px solid var(--linha); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.artigo-card:hover { transform: translateY(-4px); box-shadow: var(--sombra); border-color: var(--ouro-500); }
.artigo-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.artigo-card__link:hover { color: inherit; }
.artigo-card__capa { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bordo-800); }
.artigo-card__capa img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.artigo-card:hover .artigo-card__capa img { transform: scale(1.04); }
.artigo-card__sem-capa { display: grid; place-items: center; height: 100%; background-image: var(--textura), radial-gradient(ellipse at 70% 30%, #6c1a2e, var(--bordo-900)); }
.artigo-card__marca { width: 30%; opacity: .9; }
.artigo-card__corpo { display: flex; flex-direction: column; flex: 1; padding: 1.6rem 1.6rem 1.75rem; }
.artigo-card__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: .8rem; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ouro-700); }
.artigo-card__titulo { font-size: 1.45rem; font-weight: 600; line-height: 1.2; color: var(--bordo-900); margin-bottom: .75rem; }
.artigo-card__resumo { color: var(--tinta-2); font-size: .92rem; flex: 1; }
.paginacao { display: flex; justify-content: center; align-items: center; gap: 2rem; margin-top: 3rem; font-size: .9rem; color: var(--tinta-2); }
.paginacao a { font-weight: 600; text-decoration: none; }
.vazio-publico { text-align: center; font-family: var(--serif); font-size: 1.4rem; color: var(--tinta-2); }

.hero-artigo__titulo { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-top: .75rem; }
.hero-artigo .sobrelinha a { color: inherit; text-decoration: none; }
.hero-artigo__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin: 1.5rem 0 0; font-size: .86rem; color: rgb(244 232 204 / 80%); }
.hero-artigo__meta a { color: var(--ouro-300); }
.artigo-corpo { padding-top: 3rem; }
.artigo-capa { margin: 0 0 2.5rem; box-shadow: var(--sombra); }
.artigo-capa img { width: 100%; height: auto; }
.artigo-texto { font-size: 1.08rem; line-height: 1.85; color: #33242a; }
.artigo-texto p { margin-bottom: 1.3em; }
.artigo-texto h2 { font-size: 2rem; font-weight: 600; color: var(--bordo-900); margin: 2.4rem 0 .9rem; line-height: 1.2; }
.artigo-texto h3 { font-size: 1.5rem; font-weight: 600; color: var(--bordo-800); margin: 2rem 0 .75rem; }
.artigo-texto ul, .artigo-texto ol { padding-left: 1.4rem; margin: 0 0 1.4em; }
.artigo-texto li { margin-bottom: .45em; }
.artigo-texto li::marker { color: var(--ouro-700); }
.artigo-texto blockquote { margin: 2rem 0; padding: .5rem 0 .5rem 1.75rem; border-left: 2px solid var(--ouro-500); font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.4; color: var(--bordo-800); }
.artigo-texto blockquote p { margin: 0; }
.artigo-texto figure { margin: 2.2rem 0; }
.artigo-texto figure img { width: 100%; height: auto; }
.artigo-texto figcaption { margin-top: .6rem; font-size: .85rem; color: var(--tinta-2); text-align: center; }
.artigo-aviso { margin-top: 3rem; padding: 1rem 1.25rem; background: var(--papel-2); font-size: .85rem; color: var(--tinta-2); }
.artigo-compartilhar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; margin: 2rem 0; font-size: .85rem; font-weight: 600; }
.artigo-compartilhar span { color: var(--tinta-2); font-weight: 500; }
.autora { display: flex; align-items: center; gap: 1.4rem; padding: 1.75rem; background: var(--branco); border: 1px solid var(--linha); border-left: 3px solid var(--bordo-700); }
.autora__foto { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ouro-500); }
.autora__nome { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--bordo-900); margin: 0; }
.autora__oab { font-size: .8rem; letter-spacing: .08em; color: var(--ouro-700); margin: .15rem 0 .5rem; }

/* ---------- Currículo ---------- */
.cv-hero { position: relative; overflow: hidden; color: var(--papel); padding-block: clamp(3rem, 7vw, 6rem); background-image: var(--textura), radial-gradient(ellipse 80% 90% at 20% 40%, #6c1a2e 0%, var(--bordo-800) 50%, var(--bordo-900) 100%); background-color: var(--bordo-800); }
.cv-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(201 164 92 / 45%), transparent); }
.cv-hero__grade { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.cv-foto { position: relative; margin: 0; aspect-ratio: 4 / 5; }
.cv-foto::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--ouro-500); z-index: 0; }
.cv-foto img, .cv-foto__marca { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; box-shadow: 0 30px 60px -25px rgb(0 0 0 / 70%); }
.cv-foto__marca { display: grid; place-items: center; background: var(--bordo-950); border: 1px solid rgb(201 164 92 / 30%); }
.cv-foto__logo { width: 55%; }
.cv-hero .migalhas ol { margin-bottom: 1.5rem; }
.cv-nome { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.02; color: #fbf3e6; margin: .9rem 0 .6rem; }
.cv-oab { font-family: var(--display); font-size: .9rem; letter-spacing: .18em; color: var(--ouro-300); margin-bottom: 1.5rem; }
.cv-apresentacao { max-width: 40em; color: rgb(250 240 228 / 84%); font-size: 1.04rem; }
.cv-numeros { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 2.2rem 0 0; padding: 0; }
.cv-numeros li { display: grid; min-width: 130px; padding: 1.1rem 1.4rem; border: 1px solid rgb(226 198 139 / 28%); background: rgb(0 0 0 / 14%); }
.cv-numeros strong { font-family: var(--serif); font-size: 3rem; font-weight: 500; line-height: 1; color: var(--ouro-300); }
.cv-numeros span { font-family: var(--display); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ouro-100); margin-top: .35rem; }
.cv-numeros small { font-size: .74rem; color: rgb(250 240 228 / 65%); margin-top: .2rem; }
.cv-blocos { display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem; }
.cv-bloco { padding: 2.2rem 2rem; background: var(--branco); border: 1px solid var(--linha); border-top: 2px solid var(--ouro-500); }
.cv-bloco--largo { grid-row: span 2; }
.cv-bloco--destaque { background-image: var(--textura), radial-gradient(ellipse at 70% 20%, #6c1a2e, var(--bordo-900)); border-color: rgb(201 164 92 / 35%); color: var(--papel); }
.cv-bloco__titulo { display: flex; align-items: baseline; gap: .9rem; font-family: var(--display); font-size: 1rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bordo-800); margin-bottom: 1.4rem; }
.cv-bloco__titulo span { font-family: var(--serif); font-size: 2rem; letter-spacing: 0; color: var(--ouro-500); }
.cv-bloco--destaque .cv-bloco__titulo { color: var(--ouro-100); }
.cv-lista { list-style: none; margin: 0; padding: 0; }
.cv-lista--duas { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
.cv-item { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .95rem 0 .95rem 1.5rem; border-top: 1px solid var(--linha); }
.cv-item::before { content: ""; position: absolute; left: 2px; top: 1.45rem; width: 7px; height: 7px; background: var(--ouro-500); transform: rotate(45deg); }
.cv-item__nome { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; line-height: 1.25; color: var(--bordo-900); }
.cv-bloco--destaque .cv-item { border-top-color: rgb(226 198 139 / 20%); }
.cv-bloco--destaque .cv-item__nome { color: #fbf3e6; font-size: 1.45rem; }
.cv-selo { padding: .15rem .6rem; border: 1px solid var(--ouro-500); border-radius: 999px; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ouro-700); }
.area-card__lista--estatica li span { display: block; padding: .72rem 0 .72rem 1.3rem; font-size: .9rem; line-height: 1.45; position: relative; }
.area-card__lista--estatica li span::before { content: ""; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; background: var(--ouro-500); transform: translateY(-50%) rotate(45deg); }
.cv-linha-tempo { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 1px solid var(--ouro-500); }
.cv-linha-tempo li { position: relative; padding: 0 0 1.75rem; }
.cv-linha-tempo li::before { content: ""; position: absolute; left: calc(-1.5rem - 5px); top: .45rem; width: 9px; height: 9px; background: var(--papel); border: 1px solid var(--ouro-500); transform: rotate(45deg); }
.cv-linha-tempo__periodo { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ouro-700); margin: 0 0 .2rem; }
.cv-linha-tempo__cargo { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--bordo-900); margin: 0; }
.cv-linha-tempo__local { color: var(--tinta-2); margin: 0; }
.cv-subtitulo { font-size: 1.6rem; font-weight: 600; color: var(--bordo-900); margin: 2.5rem 0 1rem; }
.cv-chamada { text-align: center; }
.cv-chamada .sobrelinha { justify-content: center; }
.cv-chamada .titulo-secao { color: #fbf3e6; }
.cv-chamada__texto { color: rgb(250 240 228 / 78%); margin-bottom: 2rem; }

/* ---------- WhatsApp flutuante ---------- */
.wa-flutuante { position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 60; display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.wa-flutuante__icone { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #1f9e55; color: #fff; box-shadow: 0 12px 28px -8px rgb(0 0 0 / 45%), 0 0 0 3px rgb(255 255 255 / 85%); transition: transform .25s ease; }
.wa-flutuante__icone > svg { width: 32px; height: 32px; }
.wa-flutuante__icone img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.wa-flutuante__selo { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #1f9e55; color: #fff; border: 2px solid #fff; }
.wa-flutuante__selo svg { width: 15px; height: 15px; }
.wa-flutuante__balao { padding: .55rem .95rem; background: var(--branco); color: var(--bordo-900); border: 1px solid var(--linha); box-shadow: var(--sombra); font-size: .82rem; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: opacity .25s ease, transform .25s ease; }
.wa-flutuante:hover .wa-flutuante__icone { transform: scale(1.06); }
.wa-flutuante:hover .wa-flutuante__balao, .wa-flutuante:focus-visible .wa-flutuante__balao { opacity: 1; transform: none; }

/* ---------- Aviso de cookies ---------- */
.cookies { position: fixed; left: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 70; max-width: 460px; padding: 1.4rem 1.5rem; color: var(--papel); background: var(--bordo-950); border: 1px solid rgb(201 164 92 / 35%); box-shadow: 0 24px 50px -20px rgb(0 0 0 / 70%); font-size: .88rem; }
.cookies a { color: var(--ouro-300); }
.cookies p { margin-bottom: 1rem; color: rgb(250 240 228 / 85%); }
.cookies__acoes { display: flex; gap: .6rem; justify-content: flex-end; }
.rodape__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.rodape__botao { padding: 0; background: none; border: 0; font: inherit; color: rgb(250 240 228 / 80%); cursor: pointer; }
.rodape__botao:hover { color: var(--ouro-300); }
.fuso { margin: -.75rem 0 1.1rem; }

@media (max-width: 960px) {
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; box-shadow: none; padding: 0 0 .75rem 1rem; min-width: 0; }
  .nav__sub a { padding: .45rem 0; }
  .artigos-grade { grid-template-columns: 1fr 1fr; }
  .cv-hero__grade { grid-template-columns: 1fr; }
  .cv-hero__retrato { max-width: 360px; }
  .cv-blocos { grid-template-columns: 1fr; }
  .cv-bloco--largo { grid-row: auto; }
}
@media (max-width: 640px) {
  .artigos-grade { grid-template-columns: 1fr; }
  .cv-lista--duas { grid-template-columns: 1fr; }
  .cv-numeros li { min-width: 0; flex: 1 1 40%; }
  .responsavel { flex-direction: column; }
  .wa-flutuante__balao { display: none; }
  .cookies { right: 1rem; max-width: none; }
}

@media print {
  .topo, .rodape, .agenda-lateral, .btn { display: none !important; }
  .hero, .hero-pagina { background: none; color: #000; }
}
