/* ==========================================================================
   Pereira & Lima Advocacia | folha de estilo principal
   Paleta extraída da logo: azul-tinta + dourado
   ========================================================================== */

:root {
  /* cor */
  --ink:        #010326;   /* azul da logo */
  --ink-2:      #0a0c33;
  --ink-3:      #171a44;
  --gold:       #d9ad5b;   /* dourado da logo */
  --gold-lt:    #f2e399;   /* dourado claro da logo */
  --gold-dk:    #bf8b4b;   /* dourado escuro da logo */
  --brown:      #59473c;   /* marrom da paleta */
  --paper:      #faf8f3;
  --paper-2:    #f2ece0;
  --text:       #22201f;
  --muted:      #5d564f;
  --line:       #e6dcc9;
  --line-dark:  rgba(242, 227, 153, .20);
  --white:      #ffffff;

  /* tipografia */
  --display: "Bodoni Moda", "Times New Roman", serif;
  --body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* medidas */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.01em; line-height: 1.12; }
p { margin: 0 0 1.05em; }
a, li, p, h1, h2, h3, h4 { overflow-wrap: break-word; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- tipografia base ---------- */
.h-xl { font-size: clamp(2.25rem, 5vw, 3.6rem); line-height: 1.07; }
.h-lg { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
.h-md { font-size: clamp(1.5rem, 2.9vw, 2.05rem); }
.h-sm { font-size: clamp(1.18rem, 2vw, 1.4rem); }

.lead {
  font-size: clamp(1.05rem, 1.55vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}
.dark .lead, .hero .lead, .page-head .lead, .cta-band .lead { color: rgba(247, 244, 237, .78); }

/* pequeno rótulo com marca dourada, releitura do filete da logo */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.dark .kicker, .hero .kicker, .page-head .kicker, .cta-band .kicker { color: var(--gold-lt); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 116px); }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }
.dark { background: var(--ink); color: #f5f2ea; }
.dark h1, .dark h2, .dark h3 { color: #fbf7ef; }
.tinted { background: var(--paper-2); }

.grid { display: grid; gap: clamp(28px, 4vw, 54px); }
.split { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 1fr; align-items: center; }
  .split--wide-right { grid-template-columns: 1fr 1.15fr; }
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold { background: var(--gold); color: #26190a; }
.btn--gold:hover { background: var(--gold-lt); color: #26190a; }

.btn--ink { background: var(--ink); color: #f7f3ea; }
.btn--ink:hover { background: var(--ink-3); }

.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #f7f3ea; }

.dark .btn--outline, .hero .btn--outline, .page-head .btn--outline, .cta-band .btn--outline, .drawer .btn--outline {
  border-color: rgba(242, 227, 153, .5); color: var(--gold-lt);
}
.dark .btn--outline:hover, .hero .btn--outline:hover, .page-head .btn--outline:hover,
.cta-band .btn--outline:hover, .drawer .btn--outline:hover {
  background: var(--gold-lt); color: var(--ink); border-color: var(--gold-lt);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.ico { width: 1.05em; height: 1.05em; flex: none; }

/* ---------- cabeçalho ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 96px;
  transition: height .4s var(--ease);
}
.site-header.is-solid {
  background: rgba(16, 28, 51, .96);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
}
.site-header.is-solid .site-header__inner { height: 78px; }

.brand { display: flex; align-items: center; }
.brand img { height: 64px; width: auto; transition: height .4s var(--ease); }
.site-header.is-solid .brand img { height: 52px; }

.nav { display: none; align-items: center; gap: 30px; }
@media (min-width: 1000px) { .nav { display: flex; } }
.nav a {
  position: relative;
  font-size: .93rem;
  font-weight: 500;
  color: rgba(247, 243, 234, .82);
  padding-block: 6px;
  transition: color .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-lt); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

/* submenu de serviços */
.has-sub { position: relative; }
.has-sub > button {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .93rem; font-weight: 500;
  color: rgba(247, 243, 234, .82);
  padding-block: 6px;
  transition: color .3s var(--ease);
}
.has-sub > button:hover, .has-sub.is-open > button { color: var(--gold-lt); }
.has-sub > button svg { transition: transform .35s var(--ease); }
.has-sub.is-open > button svg { transform: rotate(180deg); }
.sub {
  position: absolute;
  top: calc(100% + 16px);
  left: -22px;
  width: 330px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  box-shadow: 0 24px 48px -28px rgba(1, 3, 38, .42);
}
.has-sub.is-open .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a {
  display: block;
  padding: 10px 14px;
  font-size: .9rem;
  color: var(--text);
  border-left: 2px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), padding-left .25s var(--ease);
}
.sub a::after { display: none; }
.sub a:hover { background: var(--paper-2); border-left-color: var(--gold); color: var(--ink); padding-left: 18px; }

.header-cta { display: none; }
@media (min-width: 1000px) { .header-cta { display: inline-flex; padding: 12px 24px; } }

/* botão hambúrguer */
.burger {
  position: relative;
  display: block;
  width: 46px; height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}
@media (min-width: 1000px) { .burger { display: none; } }
.burger span {
  position: absolute;
  left: 50%;
  width: 20px; height: 1.5px;
  margin-left: -10px;
  background: #f4efe4;
  transition: transform .35s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* gaveta mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--ink);
  padding: 104px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
}
body.menu-open .drawer { transform: translateX(0); }
.drawer a { display: block; color: #f3eee3; }
.drawer > nav > a, .drawer__group > span {
  font-family: var(--display);
  font-size: 1.6rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}
.drawer__group > span { display: block; color: var(--gold-lt); }
.drawer__group ul { padding: 6px 0 14px; border-bottom: 1px solid var(--line-dark); }
.drawer__group li a {
  padding: 9px 0 9px 16px;
  font-size: .97rem;
  color: rgba(243, 238, 227, .72);
  border-left: 1px solid var(--line-dark);
}
.drawer__group li a:hover { color: var(--gold-lt); }
.drawer .btn { width: 100%; margin-top: 28px; }

/* ---------- moldura dourada (motivo da logo) ---------- */
.framed { position: relative; }
.framed::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: 0;
}
.framed > img, .framed > * { position: relative; z-index: 1; }
@media (max-width: 600px) { .framed::before { inset: -11px 11px 11px -11px; } }

/* ---------- hero da home ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #f6f2e9;
  padding-top: 130px;
  padding-bottom: clamp(60px, 8vw, 104px);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -18%;
  width: 60vw; height: 60vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(217, 173, 91, .22), transparent 62%);
  pointer-events: none;
}
.hero__grid { display: grid; gap: clamp(38px, 5vw, 64px); position: relative; z-index: 2; }
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.08fr .92fr; align-items: center; }
  .hero { padding-top: 158px; }
}
.hero h1 { color: #fcf8f0; }
.hero h1 em {
  font-style: italic;
  color: var(--gold-lt);
}
.hero__portrait { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.hero__portrait img { filter: grayscale(100%) contrast(1.06); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
  font-size: .88rem;
  color: rgba(246, 242, 233, .7);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { color: var(--gold); }

/* ---------- faixa de credenciais ---------- */
.strip { background: var(--ink-2); color: rgba(246,242,233,.85); border-top: 1px solid var(--line-dark); }
.strip ul {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  background: var(--line-dark);
}
@media (min-width: 720px) { .strip ul { grid-template-columns: repeat(3, 1fr); } }
.strip li {
  background: var(--ink-2);
  padding: 26px clamp(18px, 3vw, 34px);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.strip svg { color: var(--gold); flex: none; margin-top: 3px; }
.strip strong { display: block; font-size: .98rem; color: #f7f3ea; font-weight: 600; }
.strip small { font-size: .85rem; color: rgba(246,242,233,.6); line-height: 1.5; display: block; margin-top: 2px; }

/* ---------- cartões de área de atuação ---------- */
.areas { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 680px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .areas { grid-template-columns: repeat(4, 1fr); } }

.area {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 30px 34px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--white);
  transition: background-color .4s var(--ease), transform .4s var(--ease);
  overflow: hidden;
}
.area::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.area:hover { background: var(--paper-2); }
.area:hover::before { transform: scaleX(1); }
.area__num {
  font-family: var(--display);
  font-size: .95rem;
  color: var(--brown);
  margin-bottom: 14px;
}
.area h3 { font-size: 1.28rem; margin-bottom: 10px; }
.area p { font-size: .94rem; color: var(--muted); line-height: 1.62; }
.area__go {
  margin-top: auto;
  padding-top: 22px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.area__go svg { transition: transform .4s var(--ease); color: var(--brown); }
.area:hover .area__go svg { transform: translateX(5px); }

/* ---------- lista com marcador dourado ---------- */
.ticks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 13px;
  font-size: .98rem;
  line-height: 1.6;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 13px; height: 1px;
  background: var(--gold);
}
.dark .ticks li { color: rgba(247,244,237,.8); }

/* ---------- etapas numeradas ---------- */
.steps { counter-reset: s; display: grid; gap: 0; margin-top: 44px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  counter-increment: s;
  position: relative;
  padding: 30px 26px 30px 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 860px) { .step { padding-right: 34px; } }
.step::before {
  content: counter(s, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--brown);
  margin-bottom: 12px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .93rem; color: var(--muted); }
.dark .step { border-top-color: var(--line-dark); }
.dark .step p { color: rgba(247,244,237,.68); }
.dark .step::before { color: var(--gold-lt); }

/* ---------- destaque / citação ---------- */
.pull {
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px 26px;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  line-height: 1.4;
  font-style: italic;
  color: var(--ink);
}
.dark .pull { color: #f8f4ec; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  transition: color .3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brown); }
.faq summary i {
  flex: none;
  position: relative;
  width: 15px; height: 15px;
  margin-top: 6px;
}
.faq summary i::before, .faq summary i::after {
  content: "";
  position: absolute;
  background: var(--brown);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.faq summary i::before { inset: 7px 0 auto 0; height: 1.5px; }
.faq summary i::after { inset: 0 7px auto auto; width: 1.5px; height: 15px; }
.faq details[open] summary i::after { transform: scaleY(0); }
.faq__body { padding-bottom: 24px; color: var(--muted); font-size: .98rem; max-width: 68ch; }
.faq details[open] .faq__body { animation: fadeDown .45s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- faixa de conversão ---------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #f7f3ea;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(1040px, 88%);
  height: calc(100% - 56px);
  border: 1px solid rgba(242, 227, 153, .28);
  pointer-events: none;
}
.cta-band__in { position: relative; text-align: center; max-width: 720px; margin-inline: auto; }
.cta-band h2 { color: #fcf8f0; }
.cta-band p { color: rgba(247, 244, 237, .74); margin-top: 16px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- página interna: cabeçalho ---------- */
.page-head {
  background: var(--ink);
  color: #f7f3ea;
  padding-top: 132px;
  padding-bottom: clamp(48px, 6vw, 76px);
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  right: -10%; bottom: -60%;
  width: 46vw; height: 46vw;
  max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, rgba(217,173,91,.18), transparent 65%);
}
.page-head__in { position: relative; z-index: 1; max-width: 760px; }
.crumbs { font-size: .83rem; color: rgba(247,244,237,.52); margin-bottom: 20px; }
.crumbs a:hover { color: var(--gold-lt); }
.crumbs span { margin-inline: 8px; }

/* ---------- conteúdo editorial ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.2em; margin-bottom: .55em; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; margin-bottom: .45em; font-size: 1.2rem; }
.prose ul { margin: 0 0 1.2em; }

.service-grid > aside { position: sticky; top: 100px; }
@media (max-width: 979px) { .service-grid > aside { position: static; } }

.aside-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 30px 28px;
  overflow-wrap: anywhere;
}
.aside-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.aside-card p { font-size: .94rem; color: var(--muted); }
.aside-card .btn { width: 100%; margin-top: 18px; }
.aside-card__note { font-size: .8rem; color: var(--muted); margin-top: 14px; display: block; text-align: center; }

@media (min-width: 980px) {
  .service-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(40px, 5vw, 72px); align-items: start; }
}

/* ---------- formulário ---------- */
.form { display: grid; gap: 18px; }
.field label {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: .97rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 173, 91, .18);
}
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form .btn { justify-self: start; }
.form__hint { font-size: .82rem; color: var(--muted); }

/* ---------- rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(246, 242, 233, .72); padding-block: clamp(52px, 6vw, 76px) 0; }
.site-footer h4 { font-family: var(--body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 18px; font-weight: 600; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer img.flogo { height: 84px; margin-bottom: 20px; }
.site-footer a { transition: color .3s var(--ease); }
.site-footer a:hover { color: var(--gold-lt); }
.site-footer li { margin-bottom: 10px; font-size: .93rem; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { color: var(--gold); flex: none; margin-top: 4px; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--line-dark);
  padding-block: 24px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(246, 242, 233, .48);
}

/* ---------- botão flutuante WhatsApp ---------- */
.wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #1fa855;
  color: #fff;
  border-radius: 100px;
  font-size: .92rem;
  font-weight: 600;
  box-shadow: 0 16px 34px -14px rgba(11, 71, 36, .65);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: transform .5s var(--ease), opacity .5s var(--ease), background-color .3s var(--ease);
}
.wa.is-on { transform: translateY(0); opacity: 1; pointer-events: auto; }
.wa:hover { background: #178f47; }
.wa span { display: none; }
@media (min-width: 760px) { .wa span { display: inline; } }
@media (max-width: 759px) {
  .wa { bottom: 82px; padding: 15px; border-radius: 50%; }
}

/* ---------- barra fixa mobile ---------- */
.mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 52;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  transform: translateY(100%);
  transition: transform .45s var(--ease);
}
.mobile-bar.is-on { transform: translateY(0); }
@media (min-width: 760px) { .mobile-bar { display: none; } }
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 8px;
  font-size: .9rem;
  font-weight: 600;
  color: #f4efe4;
}
.mobile-bar a + a { border-left: 1px solid var(--line-dark); background: var(--gold); color: #26190a; }
body.menu-open .mobile-bar { transform: translateY(100%); }

/* ---------- revelação ao rolar ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: .09s; }
.rv[data-d="2"] { transition-delay: .18s; }
.rv[data-d="3"] { transition-delay: .27s; }

/* sequência de entrada do hero */
.hero__portrait { opacity: 0; transform: translateY(26px) scale(.985); }
.hero__portrait.in { opacity: 1; transform: none; transition: opacity 1s var(--ease) .15s, transform 1.1s var(--ease) .15s; }
.hero .framed::before { clip-path: inset(0 100% 0 0); }
.hero .framed.in::before { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease) .5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .rv, .hero__portrait { opacity: 1 !important; transform: none !important; }
  .hero .framed::before { clip-path: none !important; }
}

/* ---------- utilidades ---------- */
.mt-s { margin-top: 18px; }
.mt-m { margin-top: 30px; }
.mt-l { margin-top: 46px; }
.center { text-align: center; }
.center .lead, .center .prose { margin-inline: auto; }
.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 {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: #26190a; padding: 10px 18px; border-radius: var(--radius);
  transition: top .3s var(--ease);
}
.skip:focus { top: 12px; }


/* ---------- ajustes finais ---------- */
.areas { border-left: 1px solid var(--line); }
@media (max-width: 679px) { .areas { border-left: 0; } .area { border-right: 0; } }
.hero .hero__meta span { white-space: nowrap; }
.aside-card .btn--outline { border-color: var(--line); color: var(--ink); }
.aside-card .btn--outline:hover { background: var(--ink); color: #f7f3ea; border-color: var(--ink); }
.page-head .btn-row { margin-top: 26px; }
.strip strong + small { margin-top: 4px; }

/* ==========================================================================
   Artigos (blog)
   ========================================================================== */
.posts { display: grid; gap: clamp(24px, 3vw, 34px); }
@media (min-width: 700px)  { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .posts { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.post-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 26px 44px -30px rgba(1, 3, 38, .4);
}
.post-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.24rem; line-height: 1.22; margin-bottom: 10px; }
.post-card p { font-size: .93rem; color: var(--muted); line-height: 1.6; }
.post-card__go { margin-top: auto; padding-top: 20px; font-size: .85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.post-card__go svg { color: var(--brown); transition: transform .4s var(--ease); }
.post-card:hover .post-card__go svg { transform: translateX(5px); }

.meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-size: .8rem; color: var(--brown); font-weight: 600;
  letter-spacing: .04em; margin-bottom: 12px;
}
.meta time { font-weight: 500; color: var(--muted); letter-spacing: 0; }
.page-head .meta { color: var(--gold-lt); }
.page-head .meta time { color: rgba(247, 244, 237, .6); }

/* artigo */
.post-cover { margin: 0 0 clamp(28px, 4vw, 44px); }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.post-body { max-width: 68ch; font-size: 1.05rem; line-height: 1.75; }
.post-body h2 { margin: 1.9em 0 .5em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.post-body h3 { margin: 1.6em 0 .4em; font-size: 1.16rem; }
.post-body ul { margin: 0 0 1.2em; }
.post-body li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.post-body li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 12px; height: 1px; background: var(--gold); }
.post-body a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--ink); }
.post-body img { margin: 1.6em 0; border: 1px solid var(--line); }
.post-body blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 24px;
  border-left: 2px solid var(--gold);
  font-family: var(--display); font-style: italic;
  font-size: 1.2rem; line-height: 1.45; color: var(--ink);
}

/* vídeo responsivo (YouTube e afins) */
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); margin: 0 0 1.6em; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-body .video { margin: 1.8em 0; }

/* paginação */
.pager { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: clamp(40px, 5vw, 60px); }
.pager a, .pager span {
  min-width: 44px; padding: 11px 16px; text-align: center;
  border: 1px solid var(--line); font-size: .92rem; font-weight: 600;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.pager a:hover { background: var(--ink); color: #f7f3ea; border-color: var(--ink); }
.pager span[aria-current] { background: var(--gold); border-color: var(--gold); color: #26190a; }

/* estado vazio */
.vazio {
  border: 1px dashed var(--line); padding: clamp(36px, 6vw, 64px);
  text-align: center; color: var(--muted); background: var(--white);
}
.vazio h3 { color: var(--ink); margin-bottom: 10px; }

/* filtro por assunto */
.filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.filtros a {
  padding: 9px 18px; font-size: .86rem; font-weight: 600;
  border: 1px solid var(--line); color: var(--muted);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.filtros a:hover { border-color: var(--ink); color: var(--ink); }
.filtros a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--gold-lt); }

.sub__todas { border-top: 1px solid var(--line); margin-top: 6px; font-weight: 600; color: var(--ink) !important; }

/* ==========================================================================
   Avaliações do Google
   ========================================================================== */
.nota {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 26px;
  padding: 22px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}
.dark .nota, .cta-band .nota { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
.nota__num { font-family: var(--display); font-size: 2.5rem; line-height: 1; color: var(--ink); }
.dark .nota__num { color: #fbf7ef; }
.nota__estrelas { display: inline-flex; gap: 3px; color: var(--gold); }
.nota__estrelas svg { width: 19px; height: 19px; }
.nota__texto { font-size: .92rem; color: var(--muted); }
.dark .nota__texto { color: rgba(247,244,237,.7); }
.nota__texto strong { display: block; color: var(--ink); font-size: 1rem; }
.dark .nota__texto strong { color: #fbf7ef; }
.nota .btn { margin-left: auto; }
@media (max-width: 720px) { .nota .btn { margin-left: 0; width: 100%; } }

.avaliacoes { display: grid; gap: clamp(20px, 2.6vw, 28px); margin-top: clamp(30px, 4vw, 44px); }
@media (min-width: 720px)  { .avaliacoes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .avaliacoes { grid-template-columns: repeat(3, 1fr); } }

.avaliacao {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px 26px 24px;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.avaliacao:hover { border-color: var(--gold); transform: translateY(-3px); }
.avaliacao__estrelas { display: inline-flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.avaliacao__estrelas svg { width: 16px; height: 16px; }
.avaliacao p { font-size: .95rem; line-height: 1.68; color: var(--text); }
.avaliacao footer {
  margin-top: auto; padding-top: 18px;
  display: flex; align-items: center; gap: 12px;
  font-size: .88rem; color: var(--muted);
}
.avaliacao__inicial {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--gold-lt);
  font-family: var(--display); font-size: 1rem;
}
.avaliacao__inicial + div strong { display: block; color: var(--ink); font-weight: 600; font-size: .92rem; }
