/* ============================================================
   Contabilidade Batista — novo.css
   Versão 2: menus suspensos, fotos, "Contabilidade & Perícia"
   Carregado depois de style.css (sobrescreve quando necessário)
   ============================================================ */

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.section-tag .fi { font-size: .8rem; margin-right: .2rem; vertical-align: -1px; }

/* ── Marca no header ─────────────────────────────────────── */
.nav-brand { gap: .75rem; }
.brand-tag {
  display: flex; flex-direction: column; justify-content: center;
  padding-left: .75rem; border-left: 2px solid var(--gold);
  font-family: var(--font-heading); font-size: .72rem; font-weight: 800; line-height: 1.2;
  letter-spacing: .06em; text-transform: uppercase; color: var(--navy);
}
.brand-tag span:last-child { color: var(--gold-text); }

/* ── Menus suspensos (desktop) ───────────────────────────── */
.has-dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .85rem;
  color: var(--navy); font: 600 .92rem var(--font-body); background: none; border: 0;
  border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.dropdown-toggle .fi { font-size: 1rem; transition: transform .25s ease; }
.dropdown-toggle:hover, .has-dropdown.open .dropdown-toggle, .dropdown-toggle.is-current {
  color: var(--gold-text); background: rgba(217,162,56,.08);
}
.has-dropdown.open .dropdown-toggle .fi { transform: rotate(180deg); }
.dropdown-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.dropdown-panel {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 560px;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none;
  background: var(--white); border: 1px solid rgba(0,37,84,.1); border-top: 3px solid var(--gold);
  border-radius: var(--radius-md); box-shadow: 0 18px 50px rgba(0,37,84,.18);
  padding: 1.1rem; transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 1100;
}
.dropdown-panel::before { /* ponte invisível para o hover não fechar */
  content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
.has-dropdown.open .dropdown-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}

.has-dropdown.hover-off .dropdown-panel { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
.dropdown-title {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-text); margin: 0 0 .6rem .5rem;
}
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; }
.nav-links .dropdown-panel a {
  display: flex; align-items: flex-start; gap: .7rem; padding: .65rem .6rem;
  white-space: normal; font-size: .88rem; border-radius: var(--radius-sm); background: none;
}
.nav-links .dropdown-panel a::after { display: none; }
.nav-links .dropdown-panel a:hover { background: rgba(0,37,84,.05); color: var(--navy); }
.dropdown-panel a > .fi {
  flex: 0 0 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: .6rem;
  background: rgba(217,162,56,.13); color: var(--gold-text); font-size: 1rem; transition: var(--transition);
}
.dropdown-panel a:hover > .fi { background: var(--navy); color: var(--gold-light); }
.dropdown-panel a strong { display: block; color: var(--navy); font-weight: 700; line-height: 1.25; }
.dropdown-panel a small { display: block; color: var(--gray-600); font-size: .76rem; font-weight: 500; margin-top: .1rem; }
.nav-links .dropdown-panel a.dropdown-all {
  margin-top: .6rem; padding: .7rem .8rem; justify-content: space-between; align-items: center;
  background: var(--navy); color: var(--white); font-weight: 700; font-size: .85rem;
}
.nav-links .dropdown-panel a.dropdown-all:hover { background: var(--navy-light); color: var(--white); }
.dropdown-all .fi { color: var(--gold-light); }

/* Menu completo só cabe em telas largas */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  #nav-toggle { display: flex; }
}

/* ── Menu mobile com submenus ────────────────────────────── */
#nav-mobile { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-sub-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem; background: none; border: 0; border-left: 3px solid transparent;
  border-radius: var(--radius-sm); color: var(--navy); font: 600 1rem var(--font-body); cursor: pointer; text-align: left;
}
.mobile-sub-toggle span { display: inline-flex; align-items: center; gap: .55rem; }
.mobile-sub-toggle span .fi { color: var(--gold-text); }
.mobile-sub-toggle > .fi { transition: transform .25s ease; }
.mobile-sub-toggle[aria-expanded="true"] { background: rgba(0,37,84,.04); border-left-color: var(--gold); }
.mobile-sub-toggle[aria-expanded="true"] > .fi { transform: rotate(180deg); }
.mobile-sub { list-style: none; display: none; padding: .25rem 0 .5rem 1.25rem; }
.mobile-sub.open { display: block; }
.mobile-links .mobile-sub a { padding: .55rem 1rem; font-size: .92rem; font-weight: 500; color: var(--gray-700); }

/* ── HERO dividido (texto + foto) ────────────────────────── */
#hero .scroll-indicator { display: none; }
.hero-split {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center;
}
.hero-title { max-width: 620px; }
.hero-subtitle { max-width: 560px; margin-bottom: 1.75rem; }
.hero-actions { margin-bottom: 2.25rem; }

.hero-doors { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; max-width: 600px; margin-bottom: 1.5rem;
  animation: fade-in-up 0.7s ease 0.72s both; }
.door {
  display: flex; align-items: center; gap: .85rem; padding: 1rem 1.1rem;
  border-radius: var(--radius-md); text-decoration: none; color: var(--white);
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px); transition: var(--transition);
}
.door:hover { background: rgba(255,255,255,.14); border-color: var(--gold-light); transform: translateY(-3px); }
.door-icon {
  flex: 0 0 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: .7rem;
  background: rgba(217,162,56,.18); color: var(--gold-light); font-size: 1.3rem;
}
.door-text { flex: 1; min-width: 0; }
.door-text strong { display: block; font: 800 1.05rem/1.2 var(--font-heading); }
.door-text small { display: block; font-size: .78rem; opacity: .78; margin-top: .15rem; }
.door-arrow { font-size: 1.1rem; transition: transform .25s ease; }
.door:hover .door-arrow { transform: translateX(4px); }
.door-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); border-color: var(--gold); color: var(--navy-dark); }
.door-gold:hover { background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%); border-color: var(--gold-light); }
.door-gold .door-icon { background: rgba(0,26,61,.12); color: var(--navy-dark); }
.door-gold .door-text small { opacity: .85; }

.hero-photo { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 440px;
  animation: fade-in 0.9s ease 0.5s both; }
.hero-photo-frame {
  position: relative; border-radius: 28px; overflow: hidden;
  border: 2px solid rgba(217,162,56,.65); box-shadow: 0 30px 70px rgba(0,0,0,.45);
  aspect-ratio: 4 / 5;
}
.hero-photo-frame::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,21,45,.55) 100%); }
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.hero-photo::before { /* moldura dourada deslocada */
  content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid rgba(217,162,56,.35);
  border-radius: 28px; z-index: -1;
}
.hero-photo-card {
  position: absolute; left: -1.75rem; bottom: 1.75rem; z-index: 2;
  background: var(--white); border-radius: var(--radius-md); padding: .9rem 1.2rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.3); border-left: 4px solid var(--gold);
}
.hero-photo-card strong { display: block; color: var(--navy); font: 800 1rem var(--font-heading); }
.hero-photo-card span { display: block; color: var(--gray-700); font-size: .82rem; font-weight: 600; }
.hero-photo-card small { display: flex; align-items: center; gap: .35rem; color: var(--gold-text); font-size: .75rem; font-weight: 700; margin-top: .25rem; }

/* ── Botões extras ───────────────────────────────────────── */
.btn-navy, .btn-ghost {
  display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.4rem;
  border-radius: var(--radius-full); font-weight: 700; font-size: .92rem; text-decoration: none;
  transition: var(--transition); white-space: nowrap; cursor: pointer;
}
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 6px 18px rgba(0,37,84,.25); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid rgba(0,37,84,.2); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.split-card-dark .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.split-card-dark .btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-text); font-weight: 700; font-size: .9rem; text-decoration: none; }
.link-arrow:hover { color: var(--navy); }
.link-arrow .fi { transition: transform .2s; }
.link-arrow:hover .fi { transform: translateX(3px); }

/* ── Duas áreas ──────────────────────────────────────────── */
#areas-atuacao { padding: 6rem 0; background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%); }
.split-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.split-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition);
}
.split-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(217,162,56,.5); }
.split-card-dark { background: var(--navy-dark); border-color: rgba(217,162,56,.35); }
.split-img { position: relative; height: 320px; overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; transition: transform .6s ease; }
.split-card:hover .split-img img { transform: scale(1.04); }
.split-kicker {
  position: absolute; left: 1.25rem; bottom: 1.25rem; display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem 1rem; border-radius: var(--radius-full); background: var(--white); color: var(--navy);
  font: 800 .8rem var(--font-heading); letter-spacing: .08em; text-transform: uppercase; box-shadow: var(--shadow-md);
}
.split-kicker .fi { color: var(--gold-text); }
.split-card-dark .split-kicker { background: var(--gold); color: var(--navy-dark); }
.split-card-dark .split-kicker .fi { color: var(--navy-dark); }
.split-body { padding: 1.9rem 2rem 2.1rem; display: flex; flex-direction: column; flex: 1; }
.split-body h3 { color: var(--navy); font: 800 1.4rem/1.25 var(--font-heading); margin-bottom: .6rem; }
.split-body > p { color: var(--gray-600); font-size: .95rem; line-height: 1.65; }
.split-card-dark .split-body h3 { color: var(--white); }
.split-card-dark .split-body > p { color: rgba(255,255,255,.7); }
.split-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; padding-top: 1.5rem; }
.split-actions .btn-primary { padding: .8rem 1.4rem; font-size: .92rem; }

.check-list { list-style: none; display: grid; gap: .45rem; margin-top: 1.1rem; }
.check-list li { position: relative; padding-left: 1.6rem; color: var(--gray-700); font-size: .9rem; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .3rem; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2 6.8 11 12 5.5' fill='none' stroke='%23001a3d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}
.split-card-dark .check-list li { color: rgba(255,255,255,.85); }

/* ── Quem somos ──────────────────────────────────────────── */
.about-img-portrait img { height: 560px; object-position: center 20%; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

/* ── Serviços contábeis clicáveis ────────────────────────── */
.service-card { display: flex; flex-direction: column; }
.service-card > p { flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.25rem; align-self: flex-start;
  color: var(--gold-light); font-weight: 700; font-size: .88rem; text-decoration: none;
  padding: .5rem .95rem; border: 1px solid rgba(217,162,56,.4); border-radius: var(--radius-full);
  position: relative; z-index: 1; transition: var(--transition);
}
.service-link:hover, .service-card-pericia:hover .service-link { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.service-link .fi { font-size: .85rem; }
.service-card-pericia {
  text-decoration: none; cursor: pointer;
  background: linear-gradient(135deg, rgba(217,162,56,.2) 0%, rgba(217,162,56,.06) 100%);
  border-color: rgba(217,162,56,.55);
}
.service-card-pericia .service-number { color: rgba(217,162,56,.25); }

/* ── Perícia (resumo na home) ────────────────────────────── */
#pericia-resumo { padding: 6rem 0; background: var(--navy); position: relative; overflow: hidden; }
#pericia-resumo::before {
  content: ''; position: absolute; width: 640px; height: 640px; right: -220px; top: -240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,162,56,.14) 0%, transparent 70%); pointer-events: none;
}
.pr-container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1;
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center;
}
.pr-photo { position: relative; }
.pr-photo img {
  width: 100%; height: 560px; object-fit: cover; object-position: center 15%; display: block;
  border-radius: var(--radius-lg); border: 2px solid rgba(217,162,56,.5); box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.pr-photo-badge {
  position: absolute; right: -1.25rem; bottom: 2rem; display: flex; align-items: center; gap: .7rem;
  background: var(--gold); color: var(--navy-dark); padding: .85rem 1.1rem; border-radius: var(--radius-md);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}
.pr-photo-badge > .fi { font-size: 1.5rem; }
.pr-photo-badge strong { display: block; font: 800 .95rem var(--font-heading); }
.pr-photo-badge small { display: block; font-size: .75rem; font-weight: 600; }
.pr-content .section-tag { color: var(--gold-light); background: rgba(217,162,56,.12); border-color: rgba(217,162,56,.3); }
.pr-lead { color: rgba(255,255,255,.78); font-size: 1.05rem; line-height: 1.75; }
.pr-label { margin: 1.6rem 0 .65rem; color: var(--gold-light); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem;
  border-radius: var(--radius-full); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: var(--white); font-size: .85rem; font-weight: 600; text-decoration: none; transition: var(--transition);
}
.chip .fi { color: var(--gold-light); font-size: .9rem; }
.chip:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); transform: translateY(-2px); }
.chip:hover .fi { color: var(--navy-dark); }
.chip-row-soft .chip { background: transparent; font-weight: 500; color: rgba(255,255,255,.85); }
.pr-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* ── Contato ─────────────────────────────────────────────── */
.contato-pessoa {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; margin-bottom: 1.35rem;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.contato-pessoa img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.contato-pessoa strong { display: block; color: var(--navy); font: 800 1.05rem var(--font-heading); }
.contato-pessoa span { display: block; color: var(--gray-600); font-size: .82rem; margin-top: .1rem; }
.contato-pessoa a {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; color: var(--whatsapp-text);
  font-weight: 700; font-size: .85rem; text-decoration: none;
}
.contato-pessoa a:hover { text-decoration: underline; }
.form-area-switch { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: -.5rem 0 1.4rem; }
.area-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-full); background: var(--gray-50);
  color: var(--navy); font-weight: 700; font-size: .9rem; cursor: pointer; transition: var(--transition);
}
.area-pill:hover { border-color: var(--gold); }
.area-pill[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.area-pill[aria-pressed="true"] .fi { color: var(--gold-light); }
.form-hint { margin-top: .6rem; text-align: center; color: var(--gray-600); font-size: .78rem; }

/* ── Rodapé ──────────────────────────────────────────────── */
/* Logo com as cores originais, sobre um cartão branco (o filtro antigo deixava tudo branco) */
.footer-logo-link { background: var(--white); padding: .65rem 1rem; border-radius: var(--radius-md); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.footer-logo-img { filter: none; opacity: 1; height: 42px; }
.footer-address { display: flex; gap: .5rem; color: rgba(255,255,255,.75); font-size: .85rem; line-height: 1.6; margin-bottom: .75rem; }
.footer-address .fi { color: var(--gold); margin-top: .2rem; }
.footer-contacts { list-style: none; display: grid; gap: .4rem; margin-bottom: .75rem; font-size: .82rem; color: rgba(255,255,255,.6); }
.footer-contacts li { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.footer-contacts .fi { color: var(--gold); }
.footer-contacts a { color: rgba(255,255,255,.85); text-decoration: none; word-break: break-all; }
.footer-contacts a:hover { color: var(--gold-light); }
.info-text .email-label { margin-top: .3rem; font-size: .72rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text) !important; }
.info-text a { word-break: break-all; }
.pericia-cta .pericia-cta-mail { display: inline-flex; align-items: center; gap: .4rem; margin-top: .45rem; color: var(--gold-light); font-size: .85rem; font-weight: 600; text-decoration: none; word-break: break-all; }
.pericia-cta .pericia-cta-mail:hover { text-decoration: underline; }
.pericia-hero h1 .h1-sub { display: block; margin-top: .35rem; color: var(--gold-text); font-size: .5em; font-weight: 700; letter-spacing: .02em; }
.info-text a.info-route { display: inline-flex; align-items: center; gap: .35rem; margin-top: .35rem; color: var(--gold-text); font-weight: 700; }
.info-text a.info-route:hover { color: var(--navy); }
.footer-main-4 { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.footer-tagline { color: var(--gold-light); font: 700 .78rem var(--font-heading); letter-spacing: .1em; text-transform: uppercase; margin: -.6rem 0 .8rem; }
.crc-badge-dark { margin-top: 1.25rem; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.85); }

/* ── Página de Perícia ───────────────────────────────────── */
.breadcrumb { display: flex; gap: .45rem; align-items: center; margin-bottom: 1rem; font-size: .82rem; color: var(--gray-600); }
.breadcrumb a { color: var(--navy); font-weight: 600; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-text); }
.pericia-hero-photo { position: relative; margin: 0; justify-self: center; width: 100%; max-width: 460px; }
.pericia-hero-photo-frame {
  border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy);
  box-shadow: var(--shadow-lg); border: 2px solid rgba(217,162,56,.55);
}
.pericia-hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; }
.pericia-hero-photo::before {
  content: ''; position: absolute; inset: -18px 18px 18px -18px; border-radius: 28px;
  background: var(--navy); z-index: -1; opacity: .9;
}
.hero-photo-card-light { left: auto; right: -1.5rem; bottom: 2rem; }

.pericia-card { display: flex; flex-direction: column; }
.pericia-card p { flex: 1; }
.card-link {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; align-self: flex-start;
  color: var(--navy); font-weight: 700; font-size: .82rem; text-decoration: none;
  padding: .45rem .85rem; border-radius: var(--radius-full); background: rgba(217,162,56,.14); transition: var(--transition);
}
.card-link:hover { background: var(--navy); color: var(--white); }
.pericia-card:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,162,56,.3), var(--shadow-md); }

.pericia-example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.check-list-light { margin-top: 1.5rem; }

.area-link {
  display: inline-flex; align-items: center; gap: .45rem; margin: 0 1.4rem 1.4rem; padding: .55rem 1rem;
  border-radius: var(--radius-full); background: var(--gold); color: var(--navy-dark);
  font-weight: 700; font-size: .82rem; text-decoration: none; transition: var(--transition);
}
.area-link:hover { background: var(--gold-light); transform: translateY(-1px); }

.steps-cta { display: flex; justify-content: center; margin-top: 2.5rem; }

.perito-card {
  display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.75rem; padding: 1rem 1.25rem;
  background: var(--navy); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.perito-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.perito-card-kicker { color: var(--gold-light); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.perito-card strong { display: block; color: var(--white); font: 800 1.2rem var(--font-heading); }
.perito-card span { display: block; color: rgba(255,255,255,.75); font-size: .85rem; }
.pericia-faq p a { color: var(--gold-text); font-weight: 700; }
.pericia-cta { margin-top: 1.25rem; flex-wrap: wrap; }
.pericia-cta > div { flex: 1 1 220px; }
.pericia-cta-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); flex-shrink: 0; }

.cross-band { background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 55%, var(--gold-light) 100%); padding: 2.75rem 0; }
.cross-band-inner { display: flex; align-items: center; gap: 1.5rem; }
.cross-band-inner > div { flex: 1; }
.cross-icon {
  flex: 0 0 3.6rem; height: 3.6rem; display: grid; place-items: center; border-radius: 1rem;
  background: var(--navy-dark); color: var(--gold-light); font-size: 1.6rem;
}
.cross-band h2 { color: var(--navy-dark); font: 800 1.45rem var(--font-heading); }
.cross-band p { color: rgba(0,21,45,.8); font-size: .95rem; margin-top: .2rem; }
.cross-band .btn-primary { background: var(--navy-dark); color: var(--white); box-shadow: 0 8px 22px rgba(0,26,61,.3); }
.cross-band .btn-primary:hover { background: var(--navy); }

/* ── Responsivo ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; gap: 3rem; }
  .hero-photo { justify-self: center; max-width: 380px; }
  .split-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .pr-container { grid-template-columns: 1fr; gap: 3rem; }
  .pr-photo { max-width: 420px; margin: 0 auto; width: 100%; }
  .pr-photo img { height: 480px; }
  .footer-main-4 { grid-template-columns: 1fr 1fr; }
  .pericia-example-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 900px) {
  .pericia-hero-photo { max-width: 360px; margin-top: 1rem; }
}
@media (max-width: 768px) {
  .about-img-portrait img { height: 420px; }
  .footer-main-4 { grid-template-columns: 1fr; }
  .cross-band-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .brand-tag { display: none; }
  .hero-doors { grid-template-columns: 1fr; }
  .hero-photo-card { left: .75rem; bottom: .75rem; }
  .hero-photo::before { inset: 14px -10px -14px 10px; }
  .hero-photo-card-light { right: .75rem; left: auto; }
  .pericia-hero-photo::before { inset: -10px 10px 10px -10px; }
  .split-img { height: 260px; }
  .split-body { padding: 1.5rem 1.4rem 1.7rem; }
  .split-actions a { flex: 1 1 100%; justify-content: center; }
  .pr-photo img { height: 400px; }
  .pr-photo-badge { right: .75rem; }
  .form-area-switch { grid-template-columns: 1fr; }
  .contato-pessoa img { width: 64px; height: 64px; }
  .perito-card img { width: 72px; height: 72px; }
  .pericia-cta-avatar { display: none; }
}

/* Accessibility fixes preserve the default layout and palette. */
#nav-mobile { visibility: hidden; }
#nav-mobile.open { visibility: visible; }
#back-to-top:not(.visible) { visibility: hidden; }
@media (min-width: 1101px) {
  #nav-mobile { display: none; }
}
/* Content remains readable if scripts are unavailable. */
.reveal:not(.reveal-ready), .reveal-left:not(.reveal-ready), .reveal-right:not(.reveal-ready) {
  opacity: 1; transform: none;
}
.field-error { width: 100%; color: #9B2C2C; font-size: .8rem; margin-top: .35rem; }
.captcha-input.invalid { border-color: #E53E3E; }
.contato-grid > *, .form-row > *, .footer-main > * { min-width: 0; }
.footer-contacts a { overflow-wrap: anywhere; }
@media (max-width: 347px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }
}
.form-input, .form-select, .form-textarea { scroll-margin-block: calc(var(--header-h) + 24px) 100px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
}
@media print {
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
}

/* Keep the existing palette while making controls and focus easier to see. */
.form-input, .form-select, .form-textarea, .captcha-input { border-color: #7B8592; }
#whatsapp-float { background: var(--whatsapp-dark); }
#whatsapp-float:hover { background: var(--whatsapp-text); }
:is(a, button, summary):focus-visible {
  outline: 3px solid var(--navy) !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--gold-light) !important;
}
