:root {
  --navy: #1F2A44;
  --navy-2: #162038;
  --navy-3: #0f172a;
  --offwhite: #F7F5F3;
  --gray: #7A7A7A;
  --gray-2: #a6a6a6;
  --line: rgba(31, 42, 68, .14);
  --gold: #F5CF4E;
  --white: #ffffff;
  --font-body: "Inter", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --font-display: "Poppins", "Inter", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 26px;
  --shadow: 0 24px 70px rgba(20, 28, 48, .14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: #111a2e;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  background: #111a2e;
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  font-family: var(--font-body);
}

button {
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 9999;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 18px;
}

.page-shell {
  width: var(--shell);
  margin: 0 auto;
}

.section-pad {
  padding: 120px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gray);
}

.eyebrow i {
  width: 24px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.eyebrow.light {
  color: rgba(255, 255, 255, .68);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -.035em;
}

h1 em,
h2 em {
  color: var(--gold);
  font-style: normal;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .94rem;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  color: var(--navy);
}

.button-gold:hover {
  background: #f9d965;
}

.button-ghost {
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
  background: rgba(255, 255, 255, .04);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .35);
}

.button-navy {
  background: var(--navy);
  color: #fff;
}

.button-navy:hover {
  background: var(--navy-2);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto 0;
  height: 86px;
  background: rgba(11, 24, 48, .97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 8px 26px rgba(7, 13, 27, .14);
  transition: background .3s ease, box-shadow .3s ease, height .3s ease, border-color .3s ease;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(8, 20, 42, .985);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(7, 13, 27, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-shell {
  position: relative;
  z-index: 2;
  width: var(--shell);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.brand img {
  display: block;
  width: 230px;
  height: 42px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 26px;
  min-width: 0;
}

.desktop-nav > a,
.desktop-nav > .nav-item {
  flex: 0 0 auto;
}

.desktop-nav a {
  position: relative;
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
  font-weight: 600;
  padding: 10px 0;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: #fff;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  background: var(--gold);
  padding: 12px 17px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 12px;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: #fff;
  display: block;
  transition: .25s ease;
}

.menu-toggle span+span {
  margin-top: 7px;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

body.menu-open .site-header,
body.menu-open .site-header.is-scrolled {
  z-index: 1000;
  background: #10182b;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom-color: rgba(255, 255, 255, .06);
}

body.menu-open main,
body.menu-open .site-footer {
  pointer-events: none;
}

/* Home hero */
.hero {
  position: relative;
  min-height: 720px;
  padding: 132px 0 86px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 22%, rgba(245, 207, 78, .16) 0%, rgba(245, 207, 78, 0) 28%),
    linear-gradient(135deg, #1f2a44 0%, #162038 55%, #10192d 100%);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, .08);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, .18);
  border-radius: 48px;
  transform: rotate(38deg);
}

.shape-a {
  width: 320px;
  height: 620px;
  right: 2%;
  top: -240px;
}

.shape-b {
  width: 210px;
  height: 480px;
  right: 34%;
  bottom: -250px;
  border-color: rgba(245, 207, 78, .25);
}

.shape-c {
  width: 180px;
  height: 420px;
  left: -90px;
  top: 330px;
  border-color: rgba(255, 255, 255, .1);
}

.hero-layout {
  display: grid;
  width: min(1360px, calc(100vw - 48px));
  grid-template-columns: minmax(430px, .82fr) minmax(560px, 1.18fr);
  gap: 34px;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  position: relative;
  z-index: 2;
}

.hero-left {
  min-width: 0;
  width: 100%;
  max-width: 610px;
}

.hero-welcome {
  margin: 0 0 18px 8px;
}

.hero-welcome h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
  font-weight: 550;
  letter-spacing: -.025em;
  color: rgba(255, 255, 255, .94);
}

.hero-welcome h1::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-left: 12px;
  vertical-align: middle;
  background: var(--gold);
  border-radius: 999px;
}

.hero-copy {
  grid-area: copy;
  padding-top: 26px;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 4.5vw, 4.45rem);
  line-height: .98;
  font-weight: 600;
}

.hero-lead {
  max-width: 650px;
  color: rgba(255, 255, 255, .68);
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  gap: 54px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.hero-meta div {
  display: grid;
  gap: 4px;
}

.hero-meta span {
  color: rgba(255, 255, 255, .4);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero-meta strong {
  font-size: .9rem;
  font-weight: 550;
}

.hero-visual {
  display: flex;
  align-self: center;
  justify-content: flex-end;
}

.hero-image-card {
  position: relative;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 4 / 3;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 80px rgba(4, 8, 18, .28);
}

.hero-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(11, 19, 36, .08));
  z-index: 1;
  pointer-events: none;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-service-search {
  width: 100%;
  margin: 0 0 12px;
}

.hero-search-box {
  width: 100%;
  min-height: 50px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .075);
  backdrop-filter: blur(16px);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.hero-search-box:focus-within {
  border-color: rgba(245, 207, 78, .72);
  background: rgba(255, 255, 255, .10);
  box-shadow: 0 0 0 3px rgba(245, 207, 78, .08);
}

.hero-search-box>span {
  color: rgba(255, 255, 255, .56);
  font-size: 1.2rem;
}

.hero-search-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: .9rem;
}

.hero-search-box input::placeholder {
  color: rgba(255, 255, 255, .42);
}

.hero-search-box button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, .48);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.hero-search-box.has-value button {
  opacity: 1;
  pointer-events: auto;
}

.hero-search-box button:hover {
  background: rgba(255, 255, 255, .10);
  color: #fff;
}

.hero-service-search>small {
  display: block;
  margin: 7px 4px 0;
  color: rgba(255, 255, 255, .40);
  font-size: .67rem;
  letter-spacing: .04em;
}

.hero-access {
  width: 100%;
  max-width: 610px;
  background: rgba(14, 24, 45, .62);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 30px;
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 70px rgba(4, 8, 18, .22);
  padding: 20px 10px 14px 20px;
  overflow: hidden;
}

.access-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 18px 17px 8px;
  color: rgba(255, 255, 255, .5);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-dot i {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(245, 207, 78, .1);
}

.hero-access-list {
  max-height: 368px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 207, 78, .58) rgba(255, 255, 255, .06);
}

.hero-access-list::-webkit-scrollbar {
  width: 6px;
}

.hero-access-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .05);
  border-radius: 999px;
}

.hero-access-list::-webkit-scrollbar-thumb {
  background: rgba(245, 207, 78, .58);
  border-radius: 999px;
}

.hero-service-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  gap: 13px;
  align-items: center;
  min-height: 90px;
  padding: 17px 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  transition: background .25s ease, transform .25s ease;
}

.hero-service-item:hover {
  background: rgba(255, 255, 255, .065);
  transform: translateX(3px);
}

.hero-service-item[hidden] {
  display: none !important;
}

.access-number {
  color: var(--gold);
  font-size: .74rem;
}

.hero-access strong {
  display: block;
  font-family: var(--font-display);
  font-size: .96rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.hero-access small {
  color: rgba(255, 255, 255, .48);
  line-height: 1.42;
  font-size: .78rem;
}

.hero-access b {
  font-size: 1.05rem;
  font-weight: 400;
}

.hero-service-empty {
  min-height: 225px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 28px 16px;
  color: rgba(255, 255, 255, .52);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-service-empty[hidden] {
  display: none !important;
}

.hero-service-empty>span {
  font-size: 1.7rem;
  color: var(--gold);
}

.hero-service-empty strong {
  color: #fff;
  font-size: .95rem;
}

.hero-service-empty small {
  font-size: .74rem;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .42);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-scroll span {
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, .35);
}

.hero-services-only .hero-access {
  margin: 0;
}

.hero-services-only .hero-image-card {
  box-shadow: 0 24px 64px rgba(4, 8, 18, .24);
}

/* Shared headings / cards */
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  gap: 70px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading h2,
.story-copy h2,
.process-intro h2,
.split-copy h2,
.document-aside h2,
.contact-info h2 {
  font-size: clamp(2.05rem, 3.2vw, 3.35rem);
  line-height: 1.02;
  margin-bottom: 0;
  font-weight: 600;
}

.section-heading p {
  margin: 0;
  color: var(--gray);
  line-height: 1.7;
}

.section-heading.invert h2 {
  color: #fff;
}

.section-heading.invert p {
  color: rgba(255, 255, 255, .55);
}

.quick-section {
  background: var(--offwhite);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.quick-card {
  min-height: 228px;
  padding: 24px 26px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background .25s ease, transform .25s ease;
}

.quick-card:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  z-index: 2;
}

.quick-card-accent {
  background: var(--gold);
}

.quick-card-accent:hover {
  background: #f7d65f;
}

.quick-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.8rem;
  margin-bottom: auto;
}

.quick-card small {
  color: var(--gray);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .67rem;
}

.quick-card strong {
  max-width: 240px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.16;
  font-weight: 600;
}

.quick-card b {
  position: absolute;
  right: 24px;
  bottom: 22px;
  font-size: 1.24rem;
  font-weight: 400;
}

.quick-all-services {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.quick-all-services-btn {
  min-width: 220px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--font-display);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--navy);
  background: transparent;
  transition: background .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.quick-all-services-btn:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.quick-all-services-btn span:last-child {
  font-size: 1.1rem;
  transition: transform .22s ease;
}

.quick-all-services-btn:hover span:last-child {
  transform: translate(2px, -2px);
}

.brand-story {
  background: #fff;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 90px;
  align-items: center;
}

.story-visual {
  position: relative;
  min-width: 0;
}

.wallpaper-card {
  position: relative;
  aspect-ratio: 1.18 / 1;
  display: grid;
  place-items: center;
  border-radius: 34px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.wallpaper-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0;
  border: 0;
}

.visual-chip {
  position: absolute;
  left: 22px;
  top: 22px;
  background: rgba(247, 245, 243, .9);
  color: var(--navy);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: .72rem;
  font-weight: 700;
  backdrop-filter: blur(9px);
}

.floating-note {
  position: absolute;
  right: -30px;
  bottom: -38px;
  width: 250px;
  background: var(--gold);
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(22, 32, 56, .18);
}

.floating-note span {
  font-size: .75rem;
  font-weight: 800;
}

.floating-note p {
  margin: 24px 0 0;
  font-size: .92rem;
  line-height: 1.48;
  font-weight: 600;
}

.story-copy>p {
  color: var(--gray);
  line-height: 1.75;
  font-size: 1.04rem;
  max-width: 540px;
  margin: 28px 0 32px;
}

.story-points {
  border-top: 1px solid var(--line);
}

.story-points>div {
  display: grid;
  grid-template-columns: 36px 180px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.story-points span {
  color: var(--gold);
  font-weight: 800;
  font-size: .74rem;
}

.story-points strong {
  font-size: .92rem;
}

.story-points p {
  margin: 0;
  color: var(--gray);
  font-size: .84rem;
  line-height: 1.5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-weight: 750;
}

.text-link span {
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.services-feature {
  background: var(--navy);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 14px;
}

.feature-card {
  min-height: 450px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: rgba(255, 255, 255, .035);
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 70px;
  right: -145px;
  top: -110px;
  transform: rotate(35deg);
}

.feature-large {
  background: #263350;
}

.feature-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: transparent;
}

.feature-index {
  color: rgba(255, 255, 255, .38);
  font-size: .72rem;
}

.feature-gold .feature-index {
  color: rgba(31, 42, 68, .5);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  margin: 36px 0 auto;
  font-size: 1.5rem;
}

.feature-gold .feature-icon {
  border-color: rgba(31, 42, 68, .18);
}

.feature-card small,
.feature-card>div>span {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .55;
  margin-bottom: 10px;
}

.feature-card h3 {
  font-size: 1.45rem;
  line-height: 1.12;
  max-width: 310px;
  margin-bottom: 14px;
}

.feature-large h3 {
  max-width: 420px;
  font-size: 1.8rem;
}

.feature-card p {
  color: rgba(255, 255, 255, .55);
  line-height: 1.56;
  font-size: .9rem;
  max-width: 390px;
}

.feature-gold p {
  color: rgba(31, 42, 68, .72);
}

.feature-card a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 18px;
  margin-top: 22px;
  font-weight: 700;
}

.feature-gold a {
  border-color: rgba(31, 42, 68, .15);
}

.process-section {
  background: var(--offwhite);
}

.process-intro {
  max-width: 540px;
  margin-bottom: 70px;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.process-step {
  padding: 32px 32px 8px 0;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  min-height: 220px;
}

.process-step+.process-step {
  padding-left: 32px;
}

.process-step:last-child {
  border-right: 0;
}

.process-step>span {
  color: var(--gold);
  font-size: .8rem;
  font-weight: 800;
}

.process-step small {
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .11em;
}

.process-step h3 {
  font-size: 1.3rem;
  margin: 10px 0 12px;
}

.process-step p {
  color: var(--gray);
  line-height: 1.6;
  font-size: .9rem;
}

.location-cta {
  background: var(--navy-2);
  color: #fff;
  padding: 95px 0;
  overflow: hidden;
  position: relative;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.location-copy h2 {
  font-size: clamp(2.35rem, 3.8vw, 4rem);
  line-height: .98;
  margin-bottom: 26px;
}

.location-copy p {
  color: rgba(255, 255, 255, .62);
  line-height: 1.7;
  margin-bottom: 28px;
}

.location-mark {
  opacity: .95;
  transform: scale(1.08);
}

.location-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Inner pages */
.inner-hero {
  min-height: 560px;
  padding: 170px 0 80px;
  color: #fff;
  display: flex;
  align-items: center;
  background: linear-gradient(125deg, var(--navy) 0%, #142039 100%);
  position: relative;
  overflow: hidden;
}

.inner-hero::before,
.inner-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 70px;
  transform: rotate(34deg);
}

.inner-hero::before {
  width: 240px;
  height: 560px;
  right: 6%;
  top: -230px;
}

.inner-hero::after {
  width: 150px;
  height: 420px;
  right: 25%;
  bottom: -260px;
  border-color: rgba(245, 207, 78, .22);
}

.inner-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}

.inner-hero h1 {
  max-width: 930px;
  font-size: clamp(2.55rem, 4.8vw, 4.6rem);
  line-height: .98;
  font-weight: 620;
  margin-bottom: 24px;
}

.inner-hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, .62);
  line-height: 1.7;
  font-size: 1.06rem;
}

.inner-hero-number {
  color: rgba(255, 255, 255, .13);
  font-size: clamp(8rem, 17vw, 14rem);
  line-height: .7;
  font-weight: 700;
  letter-spacing: -.08em;
}

.split-copy {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
}

.prose .lead {
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--navy);
}

.prose p {
  color: var(--gray);
  line-height: 1.8;
}

.identity-showcase {
  padding-bottom: 100px;
}

.identity-image {
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  background: #d2cece;
  box-shadow: var(--shadow);
}

.identity-image img {
  width: 100%;
  aspect-ratio: 16/8.4;
  object-fit: cover;
}

.identity-caption {
  position: absolute;
  inset: auto 20px 20px;
  background: rgba(31, 42, 68, .91);
  color: #fff;
  border-radius: 20px;
  padding: 18px 20px;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.identity-caption span {
  font-weight: 800;
}

.identity-caption p {
  margin: 0;
  color: rgba(255, 255, 255, .65);
  font-size: .86rem;
}

.palette-section {
  background: #fff;
}

.palette-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  grid-template-rows: repeat(2, minmax(170px, auto));
  gap: 12px;
}

.swatch {
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.swatch span {
  font-size: .78rem;
  opacity: .7;
}

.swatch strong {
  font-size: 1.1rem;
}

.swatch-navy {
  grid-row: 1 / 3;
  background: var(--navy);
  color: #fff;
}

.swatch-offwhite {
  background: var(--offwhite);
}

.swatch-gray {
  background: var(--gray);
  color: #fff;
}

.swatch-gold {
  grid-column: 2 / 4;
  background: var(--gold);
}


/* Institucional - informações essenciais */
.institutional-info-card { gap: 16px; min-height: 170px; padding: 26px 24px; }
.institutional-card-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.institutional-info-card span { text-transform: uppercase; letter-spacing: .11em; font-weight: 600; font-size: .68rem; }
.institutional-card-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  font-size: 1.05rem;
  line-height: 1;
  flex: 0 0 46px;
}
.swatch-offwhite .institutional-card-icon {
  border-color: rgba(31,42,68,.12);
  background: rgba(31,42,68,.04);
  color: var(--navy);
}
.swatch-gold .institutional-card-icon {
  border-color: rgba(31,42,68,.16);
  background: rgba(247,245,243,.30);
  color: var(--navy);
}
.institutional-info-card strong { max-width: 100%; font-family: var(--font-display); font-size: clamp(1.02rem, 1.45vw, 1.38rem); line-height: 1.22; letter-spacing: -.025em; }
.institutional-info-card.swatch-navy strong { max-width: 440px; font-size: clamp(1.55rem, 2.5vw, 2.45rem); line-height: 1.08; }
.institutional-info-card-wide strong { max-width: 820px; }
.institutional-info-card.swatch-offwhite strong,
.institutional-info-card.swatch-gray strong { max-width: 100%; font-size: clamp(1.15rem, 1.55vw, 1.82rem); line-height: 1.16; }
.institutional-info-card.swatch-gold strong { max-width: 100%; line-height: 1.16; }
.institutional-card-note {
  margin: 0;
  max-width: 100%;
  font-size: .9rem;
  line-height: 1.5;
  color: currentColor;
  opacity: .82;
}
.swatch-navy .institutional-card-note,
.swatch-gray .institutional-card-note { color: rgba(255,255,255,.78); }
.swatch-offwhite .institutional-card-note { color: rgba(31,42,68,.68); }
.swatch-gold .institutional-card-note { color: rgba(31,42,68,.78); }
.institutional-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.institutional-card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(31,42,68,.14);
  background: rgba(247,245,243,.34);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--navy);
}
@media (max-width: 720px) {
  .institutional-info-card { min-height: 0; padding: 22px 20px; }
  .institutional-info-card.swatch-navy strong { font-size: 1.7rem; }
  .institutional-info-card.swatch-offwhite strong,
  .institutional-info-card.swatch-gray strong,
  .institutional-info-card.swatch-gold strong { font-size: 1.05rem; line-height: 1.18; }
  .institutional-info-card strong,
  .institutional-card-note { max-width: 100%; }
  .institutional-card-note { font-size: .88rem; line-height: 1.45; }
  .institutional-card-icon { width: 40px; height: 40px; flex-basis: 40px; font-size: .95rem; }
  .institutional-card-tags { gap: 8px; }
  .institutional-card-tags span { min-height: 30px; padding: 0 10px; font-size: .66rem; }
}

.institutional-values {
  background: var(--navy);
  color: #fff;
}

.values-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}

.values-grid h2 {
  font-size: clamp(2.05rem, 3.2vw, 3.35rem);
  line-height: 1.02;
}

.value-list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 24px 0;
}

.value-list article:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.value-list article>span {
  color: var(--gold);
  font-size: .75rem;
}

.value-list h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
}

.value-list p {
  margin: 0;
  color: rgba(255, 255, 255, .52);
  line-height: 1.6;
}

/* Services directory */
.services-directory {
  background: #fff;
}

.service-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 46px;
}

.search-box {
  width: min(520px, 100%);
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--offwhite);
}

.search-box span {
  color: var(--gray);
  font-size: 1.3rem;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pills button {
  border: 1px solid var(--line);
  background: transparent;
  padding: 11px 15px;
  border-radius: 999px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
}

.filter-pills button.is-active,
.filter-pills button:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  min-height: 190px;
  display: grid;
  grid-template-columns: 50px 70px 1fr 50px;
  gap: 26px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, padding .25s ease;
}

.service-row:hover {
  background: var(--offwhite);
  padding-left: 18px;
  padding-right: 18px;
}

.service-row[hidden] {
  display: none !important;
}

.service-code {
  color: var(--gray-2);
  font-size: .75rem;
}

.service-row-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.25rem;
}

.service-row small {
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .65rem;
}

.service-row h2 {
  font-size: 1.5rem;
  margin: 6px 0 8px;
}

.service-row p {
  max-width: 680px;
  color: var(--gray);
  margin: 0;
  line-height: 1.55;
  font-size: .92rem;
}

.service-row>a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  transition: .2s ease;
}

.service-row>a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: rotate(8deg);
}

.empty-state {
  padding: 80px 20px;
  text-align: center;
  color: var(--gray);
}

.empty-state span {
  font-size: 2.5rem;
}

.empty-state h3 {
  color: var(--navy);
  font-size: 1.3rem;
}

.service-note {
  background: var(--gold);
  padding: 54px 0;
}

.service-note-grid {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 60px;
}

.service-note span {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
}

.service-note p {
  margin: 0;
  line-height: 1.7;
  max-width: 850px;
}

/* Documents */
.documents-section {
  background: var(--offwhite);
}

.documents-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 90px;
  align-items: start;
}

.document-aside {
  position: sticky;
  top: 110px;
}

.document-aside p {
  color: var(--gray);
  line-height: 1.65;
  max-width: 360px;
  margin-top: 24px;
}

.document-aside code {
  background: rgba(31, 42, 68, .08);
  padding: 2px 5px;
  border-radius: 6px;
}

.document-list {
  border-top: 1px solid var(--line);
}

.document-card {
  display: grid;
  grid-template-columns: 62px 1fr 42px;
  gap: 24px;
  align-items: center;
  min-height: 155px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, padding .2s ease;
}

.document-card:hover {
  background: #fff;
  padding: 0 16px;
}

.doc-type {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.document-card small {
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .65rem;
}

.document-card h3 {
  font-size: 1.25rem;
  margin: 5px 0 7px;
}

.document-card p {
  color: var(--gray);
  margin: 0;
  font-size: .88rem;
}

.document-card b {
  font-size: 1.2rem;
  font-weight: 400;
}

.documents-banner {
  background: var(--navy);
  color: #fff;
  padding: 64px 0;
}

.documents-banner .page-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.documents-banner span {
  color: rgba(255, 255, 255, .5);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.documents-banner h2 {
  max-width: 700px;
  font-size: 1.8rem;
  line-height: 1.15;
  margin: 8px 0 0;
}

/* Contact */
.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 38px;
}

.contact-card-list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.contact-card-list article>span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.contact-card-list small {
  display: block;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .63rem;
  margin-bottom: 6px;
}

.contact-card-list strong {
  font-size: 1rem;
}

.contact-card-list p {
  color: var(--gray);
  font-size: .88rem;
  line-height: 1.55;
  margin: 5px 0 0;
}

.contact-form {
  background: var(--offwhite);
  padding: 36px;
  border-radius: 28px;
  border: 1px solid var(--line);
}

.form-head>span {
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .66rem;
}

.form-head h2 {
  font-size: 1.8rem;
  margin: 7px 0 8px;
}

.form-head p {
  color: var(--gray);
  line-height: 1.6;
}

.field-grid.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.contact-form label>span {
  font-size: .78rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(31, 42, 68, .14);
  background: #fff;
  color: var(--navy);
  border-radius: 13px;
  padding: 14px 15px;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31, 42, 68, .08);
}

.contact-form .is-invalid {
  border-color: #b33636;
  box-shadow: 0 0 0 3px rgba(179, 54, 54, .08);
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 22px;
}

.form-foot small {
  color: var(--gray);
  max-width: 420px;
  line-height: 1.45;
}

.facade-strip {
  background: var(--navy);
  overflow: hidden;
}

.facade-strip img {
  width: 100%;
  min-height: 160px;
  object-fit: cover;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  padding: 150px 0 80px;
}

.error-page h1 {
  font-size: clamp(3.8rem, 8vw, 7rem);
  margin-bottom: 20px;
}

.error-page p {
  color: rgba(255, 255, 255, .6);
}

/* Footer */
main#conteudo {
  flex: 1 0 auto;
  width: 100%;
  background: var(--offwhite);
}

.site-footer {
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  background: #111a2e;
  color: #fff;
  padding-top: 72px;
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr 1fr .8fr;
  gap: 50px;
  padding-bottom: 56px;
}

.footer-brand img {
  width: 240px;
  height: auto;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 22px;
}

.footer-brand p,
.footer-grid p {
  color: rgba(255, 255, 255, .48);
  font-size: .88rem;
  line-height: 1.6;
  margin: 0;
}

.footer-label {
  display: block;
  color: rgba(255, 255, 255, .38);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .65rem;
  margin-bottom: 18px;
}

.footer-grid>div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-grid a {
  color: rgba(255, 255, 255, .72);
  font-size: .88rem;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-bottom {
  min-height: 104px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, .35);
  font-size: .76rem;
  padding: 18px 0;
}

.footer-digitalcartorios,
.mobile-menu-digitalcartorios {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(11, 26, 54, .86), rgba(9, 21, 46, .96));
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 12px 28px rgba(0, 0, 0, .20);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, .9);
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none;
}

.footer-digitalcartorios:hover,
.mobile-menu-digitalcartorios:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 14px 30px rgba(0, 0, 0, .24);
}

.footer-digitalcartorios:focus-visible,
.mobile-menu-digitalcartorios:focus-visible {
  outline: 2px solid rgba(245, 207, 78, .8);
  outline-offset: 4px;
}

.footer-developed-label {
  display: inline-block;
  flex: 0 0 auto;
  font-size: .66rem;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  white-space: nowrap;
  color: rgba(255, 255, 255, .86);
}

.footer-digitalcartorios-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 42px;
  flex: 0 0 150px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.footer-digitalcartorios-logo img {
  display: block;
  width: 150px;
  height: auto;
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
  object-position: center;
}

.toast {
  position: fixed;
  z-index: 2000;
  right: 24px;
  bottom: 24px;
  max-width: 390px;
  background: var(--navy);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .25);
  border-radius: 14px;
  padding: 14px 18px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: .25s ease;
  line-height: 1.45;
  font-size: .88rem;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .65, .2, 1), transform .7s cubic-bezier(.2, .65, .2, 1);
}

.reveal.delay-1 {
  transition-delay: .09s;
}

.reveal.delay-2 {
  transition-delay: .18s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  :root {
    --shell: min(100% - 36px, 980px);
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .header-shell {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    padding: 92px 24px 24px;
    background: #10182b;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
    z-index: 990;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .mobile-menu nav {
    display: grid;
    width: 100%;
    flex: 0 0 auto;
  }

  .mobile-menu nav a {
    position: relative;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 4vw, 1.75rem);
    line-height: 1.2;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-weight: 550;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
    transition: color .22s ease, padding-left .22s ease;
  }

  .mobile-menu nav a>span {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
  }

  .mobile-menu nav a>span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .24s ease;
  }

  .mobile-menu nav a:hover,
  .mobile-menu nav a:focus-visible,
  .mobile-menu nav a.is-active {
    color: #fff;
  }

  .mobile-menu nav a:hover {
    padding-left: 6px;
  }

  .mobile-menu nav a:hover>span::after,
  .mobile-menu nav a:focus-visible>span::after,
  .mobile-menu nav a.is-active>span::after {
    transform: scaleX(1);
    transform-origin: left center;
  }

  .mobile-menu-foot {
    position: static;
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    color: rgba(255, 255, 255, .4);
    font-size: .76rem;
  }

  .mobile-menu-location {
    color: rgba(255, 255, 255, .46);
  }

  .mobile-menu-digitalcartorios {
    max-width: 100%;
    width: min(100%, 340px);
    padding: 14px 18px;
  }

  .mobile-menu-digitalcartorios .footer-developed-label {
    color: rgba(255, 255, 255, .86);
  }

  .mobile-menu-digitalcartorios .footer-digitalcartorios-logo {
    min-width: 0;
    width: auto;
    min-height: 0;
    padding: 0;
  }

  .mobile-menu-digitalcartorios .footer-digitalcartorios-logo img {
    width: 190px;
    height: auto;
    max-height: 44px;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    width: var(--shell);
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: 28px;
    min-height: auto;
  }

  .hero-visual {
    justify-content: flex-end;
  }

  .hero-image-card {
    max-width: 620px;
  }

  .hero-access,
  .hero-service-search {
    max-width: 640px;
  }

  .hero-scroll {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid,
  .split-copy,
  .values-grid,
  .documents-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .story-visual {
    max-width: 760px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-large {
    grid-column: 1 / 3;
    min-height: 420px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-mark {
    max-width: 720px;
  }

  .document-aside {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-grid>div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 860px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-left {
    max-width: 680px;
    margin: 0 auto;
  }

  .hero-access,
  .hero-service-search {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-image-card {
    max-width: 680px;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100vw - 28px);
    --radius: 20px;
  }

  .section-pad {
    padding: 78px 0;
  }

  .site-header,
  .site-header.is-scrolled {
    height: 68px;
  }

  .header-shell {
    width: calc(100vw - 24px);
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 10px;
  }

  .brand {
    width: fit-content;
    max-width: calc(100vw - 82px);
    overflow: hidden;
  }

  .brand img {
    width: min(205px, 100%);
    height: auto;
    max-height: 38px;
    object-fit: contain;
    object-position: left center;
  }

  .menu-toggle {
    justify-self: end;
    flex: 0 0 44px;
  }

  .location-grid {
    gap: 38px;
  }

  .location-mark {
    width: min(100%, 310px);
    max-width: 310px;
    margin: 4px auto 0;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .location-mark img {
    display: block;
    width: 100%;
    max-width: 310px;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .hero {
    padding: 104px 0 70px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-left {
    width: 100%;
  }

  .hero-welcome {
    margin: 0 0 14px 4px;
  }

  .hero-welcome h1 {
    font-size: 1.3rem;
  }

  .hero-image-card {
    max-width: 680px;
    border-radius: 24px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
  }

  .hero-access {
    border-radius: 22px;
    padding: 10px 6px 10px 10px;
  }

  .access-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .hero-service-item {
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    min-height: 84px;
    padding: 15px 10px;
  }

  .hero-access-list {
    max-height: 344px;
  }

  .hero-search-box {
    min-height: 48px;
  }

  .hero-access small {
    font-size: .74rem;
  }

  .section-heading h2,
  .story-copy h2,
  .process-intro h2,
  .split-copy h2,
  .document-aside h2,
  .contact-info h2 {
    font-size: 2.05rem;
    line-height: 1.05;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: 190px;
    padding: 22px 22px 20px;
  }

  .quick-icon {
    width: 58px;
    height: 58px;
    font-size: 1.6rem;
  }

  .floating-note {
    right: 12px;
    bottom: -24px;
    width: min(230px, 80%);
  }

  .story-copy {
    margin-top: 24px;
  }

  .story-points>div {
    grid-template-columns: 34px 1fr;
  }

  .story-points p {
    grid-column: 2;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-large {
    grid-column: auto;
  }

  .feature-card {
    min-height: 390px;
  }

  .process-track {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step+.process-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }

  .inner-hero {
    min-height: 510px;
    padding: 130px 0 64px;
  }

  .inner-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .inner-hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.35rem);
    line-height: 1.02;
  }

  .inner-hero-number {
    display: none;
  }

  .identity-caption {
    position: static;
    border-radius: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .identity-image img {
    aspect-ratio: 1.25;
  }

  .palette-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-auto-rows: minmax(170px, auto);
  }

  .swatch-navy {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .swatch-gold {
    grid-column: 1 / -1;
  }

  .service-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-pills {
    overflow: visible;
    flex-wrap: wrap;
    padding-bottom: 0;
  }

  .filter-pills button {
    flex: 0 1 auto;
  }

  .service-row {
    grid-template-columns: 42px 1fr 40px;
    gap: 14px;
    padding: 24px 0;
  }

  .service-row:hover {
    padding: 24px 10px;
  }

  .service-row-icon {
    display: none;
  }

  .service-row h2 {
    font-size: 1.28rem;
  }

  .service-row p {
    font-size: .82rem;
  }

  .service-note-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .document-card {
    grid-template-columns: 54px 1fr 28px;
    gap: 14px;
    padding: 14px 0;
  }

  .document-card:hover {
    padding: 14px 8px;
  }

  .documents-banner .page-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .field-grid.two {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 22px;
  }

  .form-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .form-foot .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
  }

  .footer-brand {
    grid-column: 1 / 3;
  }

  .footer-grid>div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    gap: 18px;
  }

  .footer-developed-label {
    display: inline-block;
  }

  .footer-digitalcartorios {
    padding: 10px 16px;
  }

  .footer-digitalcartorios-logo {
    width: 148px;
    height: 40px;
    flex-basis: 148px;
  }

  .footer-digitalcartorios-logo img {
    width: 148px;
    height: auto;
    max-height: 40px;
  }

  .mobile-menu-foot {
    gap: 12px;
  }

  .toast {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .footer-bottom {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 14px;
  }

  .footer-bottom > span {
    display: block;
    width: 100%;
    text-align: center;
    line-height: 1.5;
  }

  .footer-digitalcartorios {
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    width: auto;
    min-width: 210px;
    max-width: calc(100vw - 44px);
    padding: 9px 14px 10px;
    border-radius: 20px;
  }

  .footer-developed-label {
    text-align: center;
    line-height: 1.1;
    font-size: .59rem;
    letter-spacing: .095em;
  }

  .footer-digitalcartorios-logo {
    width: 154px;
    height: 34px;
    flex: 0 0 auto;
  }

  .footer-digitalcartorios-logo img {
    width: 154px;
    height: 34px;
    max-height: 34px;
    object-fit: contain;
  }
}

@media (max-width: 420px) {
  :root {
    --shell: calc(100vw - 22px);
  }

  .header-shell {
    width: calc(100vw - 18px);
    gap: 8px;
  }

  .brand {
    max-width: calc(100vw - 70px);
  }

  .brand img {
    width: min(190px, 100%);
    height: auto;
    max-height: 36px;
  }

  .location-mark {
    width: min(100%, 270px);
    max-width: 270px;
    margin-inline: auto;
  }

  .location-mark img {
    width: 100%;
    max-width: 270px;
    height: auto;
  }

  .mobile-menu {
    padding: 82px 18px 20px;
  }

  .mobile-menu nav a {
    font-size: 1.22rem;
    padding: 10px 0;
  }

  .hero-welcome h1 {
    font-size: 1.2rem;
  }

  .hero-service-item {
    grid-template-columns: 26px minmax(0, 1fr) 16px;
    gap: 10px;
    min-height: 80px;
    padding: 14px 8px;
  }

  .hero-access-list {
    max-height: 320px;
  }

  .hero-access strong {
    font-size: .92rem;
  }

  .hero-access small {
    font-size: .7rem;
  }

  .hero-image-card {
    border-radius: 20px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .palette-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .swatch {
    min-height: 150px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-digitalcartorios {
    min-width: 198px;
    max-width: calc(100vw - 36px);
    padding: 8px 12px 9px;
    gap: 5px;
    border-radius: 18px;
  }

  .footer-developed-label {
    font-size: .57rem;
    letter-spacing: .085em;
  }

  .footer-digitalcartorios-logo {
    width: 150px;
    height: 32px;
    flex: 0 0 auto;
  }

  .footer-digitalcartorios-logo img {
    width: 150px;
    height: 32px;
    max-height: 32px;
    object-fit: contain;
  }
}

@media (max-width: 1050px) and (max-height: 620px) {
  .mobile-menu {
    padding-top: 74px;
  }

  .mobile-menu nav a {
    font-size: 1.16rem;
    padding: 8px 0;
  }

  .mobile-menu-foot {
    margin-top: 18px;
    padding-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* Serviços carregados do banco */
.service-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(31,42,68,.08);
  color: var(--navy);
  font-size: .68rem;
  font-weight: 700;
}
.service-row-icon i,
.quick-icon i { line-height: 1; }
.service-row-icon.icon-soft-green { background: #e8f7ef; color: #217a4a; }
.service-row-icon.icon-soft-blue { background: #eaf1ff; color: #315fae; }
.service-row-icon.icon-soft-purple { background: #f2ebff; color: #7046ad; }
.service-row-icon.icon-soft-amber { background: #fff4db; color: #9a6a12; }
.service-row-icon.icon-soft-teal { background: #e4f7f4; color: #217c70; }
.service-row-icon.icon-soft-cyan { background: #e4f7fb; color: #227a8a; }
.service-row-icon.icon-soft-rose { background: #ffe9ef; color: #a84c68; }
.service-row-icon.icon-soft-orange { background: #fff0e2; color: #a65e24; }
.service-row-icon.icon-soft-indigo { background: #ececff; color: #5556a9; }
.service-row-icon.icon-soft-violet { background: #f3eaff; color: #7650a6; }
.service-row-icon.icon-soft-sky { background: #e8f5ff; color: #2d709c; }
.service-row-icon.icon-soft-slate { background: #edf0f4; color: #536171; }
.service-row-icon.icon-soft-emerald { background: #e3f7ef; color: #1f8163; }
.service-row-icon.icon-soft-lime { background: #f0f8df; color: #647b24; }
.service-row-icon.icon-soft-pink { background: #ffeaf5; color: #a04e79; }
.empty-state code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

/* Database-backed content */
.preserve-lines { white-space: pre-line; }
.compact-inner-hero { min-height: 430px; }
.compact-inner-hero h1 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); }
.narrow-form-shell { width: min(820px, var(--shell)); }
.form-alert { margin: 18px 0 4px; padding: 13px 15px; border-radius: 12px; font-size: .86rem; line-height: 1.45; }
.form-alert.is-success { background: rgba(26, 129, 88, .11); color: #176a4b; border: 1px solid rgba(26, 129, 88, .22); }
.form-alert.is-error { background: rgba(179, 54, 54, .09); color: #9a3030; border: 1px solid rgba(179, 54, 54, .18); }
.field-error { min-height: 0; color: #a03535; font-size: .72rem; font-weight: 500; }
.validation-summary { color: #a03535; font-size: .82rem; }
.validation-summary:empty { display: none; }
.contact-form input[type="file"] { padding: 11px 12px; }
.contact-form label > small { color: var(--gray); font-size: .72rem; font-weight: 400; }

.database-section-stack { display: grid; gap: 90px; }
.db-content-section { min-width: 0; }
.compact-heading { margin-bottom: 34px; align-items: center; }
.compact-heading h2 { font-size: clamp(2.1rem, 3.3vw, 3.35rem); }
.database-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.database-card { min-height: 250px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; display: flex; flex-direction: column; position: relative; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.database-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(31,42,68,.24); }
.db-card-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; margin-bottom: auto; }
.database-card small { color: var(--gray); text-transform: uppercase; letter-spacing: .1em; font-size: .64rem; margin-top: 24px; }
.database-card h3 { font-size: 1.28rem; line-height: 1.15; margin: 7px 34px 8px 0; }
.database-card p { color: var(--gray); font-size: .84rem; line-height: 1.55; margin: 0; }
.database-card > b { position: absolute; right: 24px; bottom: 24px; font-size: 1.05rem; font-weight: 400; }
.db-empty { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--line); border-radius: 18px; color: var(--gray); background: rgba(255,255,255,.55); }

.faq-page-section { position: relative; }
.faq-shell { max-width: 1040px; }
.faq-overview-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 26px;
  padding: 30px 32px;
  background: linear-gradient(135deg, rgba(18, 31, 64, .98), rgba(37, 53, 96, .96));
  color: #fff;
  border-radius: 28px;
  box-shadow: 0 26px 60px rgba(17, 27, 49, .18);
}
.faq-overview-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.16);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}
.faq-overview-card h2 { color: #fff; margin: 0 0 10px; font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.2; }
.faq-overview-card p { margin: 0; color: rgba(255,255,255,.82); max-width: 640px; line-height: 1.7; }
.faq-overview-stats { display: flex; justify-content: flex-end; }
.faq-count-pill {
  min-width: 170px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  text-align: center;
}
.faq-count-pill strong { display: block; font-size: 2rem; line-height: 1; margin-bottom: 6px; }
.faq-count-pill span { display: block; font-size: .84rem; color: rgba(255,255,255,.82); }
.faq-toolbar {
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(18, 31, 64, .08);
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}
.faq-search-box { background: #fff; }
.faq-list { display: grid; gap: 18px; }
.faq-item {
  border: 1px solid rgba(18, 31, 64, .08);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .05);
  padding: 0 24px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(15, 23, 42, .08);
  border-color: rgba(18, 31, 64, .12);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 180px 1fr 42px;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span {
  color: var(--navy);
  background: rgba(16, 24, 40, .05);
  border: 1px solid rgba(16, 24, 40, .08);
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .68rem;
  font-weight: 700;
}
.faq-item summary strong {
  font-family: var(--font-display);
  font-size: 1.09rem;
  line-height: 1.35;
  color: var(--navy);
}
.faq-item summary b {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(18, 31, 64, .12);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--navy);
  background: #fff;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.faq-item[open] summary b {
  transform: rotate(45deg);
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.faq-answer {
  padding: 0 62px 28px 200px;
  color: var(--gray);
  line-height: 1.82;
  font-size: .97rem;
}
.faq-answer p { margin: 0 0 14px; }
.faq-answer p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .database-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-overview-card { grid-template-columns: 1fr; }
  .faq-overview-stats { justify-content: flex-start; }
  .faq-item summary { grid-template-columns: 150px 1fr 42px; }
  .faq-answer { padding-left: 170px; }
}

@media (max-width: 720px) {
  .database-section-stack { gap: 62px; }
  .database-card-grid { grid-template-columns: 1fr; }
  .database-card { min-height: 220px; }
  .compact-heading { display: flex; align-items: flex-start; flex-direction: column; gap: 14px; }
  .faq-overview-card { padding: 24px; border-radius: 24px; }
  .faq-toolbar { padding: 16px; border-radius: 20px; }
  .faq-item { padding: 0 18px; border-radius: 20px; }
  .faq-item summary { grid-template-columns: 1fr 38px; gap: 12px; padding: 20px 0; }
  .faq-item summary span { grid-column: 1 / -1; justify-content: flex-start; width: fit-content; }
  .faq-answer { padding: 0 6px 22px 0; }
}

/* Produção: estados sem destino, segurança e componentes auxiliares */
.honeypot-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hero-service-item.is-disabled,
.quick-card.is-disabled,
.database-card.is-disabled {
  cursor: default;
}
.hero-service-item.is-disabled:hover,
.quick-card.is-disabled:hover,
.database-card.is-disabled:hover {
  transform: none;
}
.service-row-action-disabled {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gray-2);
}
.form-foot small a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.consulta-result-card {
  margin-top: 24px;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.consulta-result-card h2 { font-size: clamp(1.45rem, 2.2vw, 2rem); margin-bottom: 18px; }
.consulta-result-card p { color: var(--gray); line-height: 1.65; }
.consulta-resposta { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.consulta-resposta strong { display: block; margin-bottom: 8px; }
.consulta-resposta p { white-space: pre-line; color: var(--navy); }

.satisfaction-box {
  margin: 12px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
}
.satisfaction-box small { color: var(--gray); }
.satisfaction-box > div { display: flex; gap: 6px; }
.satisfaction-box button {
  width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%;
  background: #fff; color: var(--navy); cursor: pointer; font-weight: 700;
}
.satisfaction-box button:hover, .satisfaction-box button:focus-visible { background: var(--gold); border-color: var(--gold); }

.faq-toolbar { margin-bottom: 28px; }

/* Popup V27 — integração com dc_site_popup + CSS institucional enviado */
body.popup-open { overflow: hidden; }
.dc-popup-root[hidden] { display: none !important; }
.dc-popup-root { position: fixed; inset: 0; z-index: 9998; }
.dc-popup-root .dc-popup-overlay { z-index: 999998; }
.dc-popup-root .dc-popup-wrap { z-index: 999999; }
.dc-popup-root .dc-popup-card {
    --popup-width: 720px;
    max-width: min(var(--popup-width), calc(100vw - 48px));
}
.dc-popup-root .dc-popup-card.has-fixed-height {
    height: min(var(--popup-height), calc(100dvh - 40px));
}
.dc-popup-root .dc-popup-header[hidden],
.dc-popup-root .dc-popup-content-text[hidden],
.dc-popup-root .dc-popup-image-wrap[hidden] { display: none !important; }
.dc-popup-root .dc-popup-image-wrap {
    width: 100%;
    display: grid;
    place-items: center;
}
.dc-popup-root .dc-popup-image {
    --popup-image-width: 100%;
    width: min(var(--popup-image-width), 100%);
    height: var(--popup-image-height, auto);
    max-width: 100%;
    max-height: min(70dvh, 900px);
}

/* O conteúdo de dc_site_popup.conteudo é HTML. */
.dc-popup-content-text > :first-child { margin-top: 0; }
.dc-popup-content-text > :last-child { margin-bottom: 0; }
.dc-popup-content-text h1,
.dc-popup-content-text h2,
.dc-popup-content-text h3,
.dc-popup-content-text h4,
.dc-popup-content-text h5,
.dc-popup-content-text h6 {
    color: #0f172a;
    line-height: 1.3;
    margin: 18px 0 10px;
}
.dc-popup-content-text a {
    color: #0d6efd;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.dc-popup-content-text strong,
.dc-popup-content-text b { color: #1e293b; }
.dc-popup-content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}
.dc-popup-content-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.dc-popup-content-text th,
.dc-popup-content-text td {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}
.dc-popup-content-text blockquote {
    margin: 16px 0;
    padding: 12px 16px;
    border-left: 4px solid #0d6efd;
    background: #f8fafc;
    color: #475569;
}

@media (max-width: 768px) {
    .dc-popup-root .dc-popup-card {
        max-width: calc(100vw - 24px);
    }
    .dc-popup-root .dc-popup-card.has-fixed-height {
        height: min(var(--popup-height), calc(100dvh - 20px));
    }
    .dc-popup-root .dc-popup-image { max-height: 60dvh; }
}

.dc-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
    z-index: 9998;
    animation: dcPopupFade .25s ease;
}

.dc-popup-wrap {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dc-popup-card {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
    animation: dcPopupScale .28s ease;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

    .dc-popup-card::after {
        content: "";
        position: absolute;
        top: -90px;
        right: -90px;
        width: 220px;
        height: 220px;
        background: rgba(13, 110, 253, 0.06);
        border-radius: 50%;
        pointer-events: none;
    }

.dc-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #f8fafc;
    color: #0f172a;
    font-size: 16px;
    cursor: pointer;
    z-index: 3;
    transition: all .2s ease;
}

    .dc-popup-close:hover {
        background: #e2e8f0;
        transform: scale(1.05);
    }

.dc-popup-header {
    padding: 28px 28px 14px;
    border-bottom: 1px solid #eef2f7;
    position: relative;
    z-index: 1;
}

.dc-popup-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.dc-popup-header h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    padding-right: 48px;
}

.dc-popup-body {
    padding: 24px 28px;
    color: #334155;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

.dc-popup-content-text {
    font-size: 15px;
    color: #475569;
}

    .dc-popup-content-text p {
        margin-bottom: 14px;
    }

    .dc-popup-content-text ul {
        margin: 14px auto 16px;
        padding-left: 20px;
        text-align: left;
        display: inline-block;
    }

    .dc-popup-content-text li {
        margin-bottom: 8px;
    }

.dc-popup-image {
    display: block;
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    object-fit: contain;
}

.dc-popup-footer {
    padding: 16px 28px 24px;
    border-top: 1px solid #eef2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.dc-popup-counter {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.dc-popup-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dc-popup-btn {
    border: none;
    border-radius: 12px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.dc-popup-btn-primary {
    background: linear-gradient(135deg, #0d6efd, #2563eb);
    color: #fff;
    box-shadow: 0 12px 28px rgba(13, 110, 253, 0.22);
}

    .dc-popup-btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 16px 32px rgba(13, 110, 253, 0.28);
    }

.dc-popup-btn-light {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}

    .dc-popup-btn-light:hover {
        background: #f1f5f9;
    }

@keyframes dcPopupFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes dcPopupScale {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .dc-popup-wrap {
        padding: 14px;
    }

    .dc-popup-card {
        border-radius: 18px;
    }

    .dc-popup-header {
        padding: 22px 18px 12px;
    }

        .dc-popup-header h3 {
            font-size: 1.2rem;
            padding-right: 42px;
        }

    .dc-popup-body {
        padding: 18px;
    }

    .dc-popup-footer {
        padding: 14px 18px 18px;
        flex-direction: column;
        align-items: stretch;
    }

    .dc-popup-actions {
        width: 100%;
    }

    .dc-popup-btn {
        width: 100%;
    }
}



.dc-popup-wrap {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}

.dc-popup-card {
    position: relative;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
    animation: dcPopupIn .28s ease;
    display: flex;
    flex-direction: column;
}

.dc-popup-body {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px;
    flex: 1;
    max-height: calc(100vh - 240px);
}

    /* Scroll moderno */
    .dc-popup-body::-webkit-scrollbar {
        width: 10px;
    }

    .dc-popup-body::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 999px;
    }

    .dc-popup-body::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #2e58ff, #04173f);
        border-radius: 999px;
    }

        .dc-popup-body::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #1d4ed8, #02102d);
        }

.dc-popup-content-text {
    line-height: 1.8;
    color: #475569;
    font-size: 15px;
    word-break: break-word;
}

.dc-popup-image {
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: contain;
}

.dc-popup-header {
    padding: 26px 28px 0;
    flex-shrink: 0;
}

.dc-popup-footer {
    padding: 20px 28px 26px;
    border-top: 1px solid #eef2f7;
    background: #fff;
    flex-shrink: 0;
}

@keyframes dcPopupIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {

    .dc-popup-wrap {
        padding: 12px;
        align-items: flex-end;
    }

    .dc-popup-card {
        max-height: calc(100vh - 20px);
        border-radius: 24px 24px 0 0;
    }

    .dc-popup-body {
        max-height: calc(100vh - 220px);
        padding: 20px;
    }

    .dc-popup-header {
        padding: 22px 22px 0;
    }

    .dc-popup-footer {
        padding: 18px 22px 22px;
    }
}

.legal-prose { max-width: 850px; }
.legal-prose p { color: var(--gray); line-height: 1.85; }

@media (max-width: 720px) {
  .satisfaction-box { align-items: flex-start; flex-direction: column; }
  .site-popup { padding: 14px; }
  .site-popup-dialog { width: min(var(--popup-width), calc(100vw - 28px)); max-height: calc(100dvh - 28px); padding: 26px 20px 22px; border-radius: 22px; }
  .site-popup-dialog.has-fixed-height { height: min(var(--popup-height), calc(100dvh - 28px)); }
  .site-popup-dialog h2 { margin-right: 42px; font-size: 1.45rem; }
  .site-popup-kicker { margin-right: 42px; }
  .site-popup-image { max-height: 68dvh; }
}
.hero-service-item.is-disabled:hover { background: transparent; }
.quick-card.is-disabled:hover { box-shadow: none; z-index: auto; }
.quick-card-accent.is-disabled:hover { background: var(--gold); }
.database-card.is-disabled:hover { box-shadow: none; border-color: var(--line); }


/* Linha amarela de carregamento abaixo da navbar */
.window-load-border {
  position: fixed;
  z-index: 5000;
  top: calc(var(--topbar-height, 36px) + 86px);
  left: 0;
  right: 0;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  background: rgba(245, 207, 78, .10);
  transition: opacity .28s ease, top .3s ease;
}

.window-load-border::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(245, 207, 78, .38) 18%,
    var(--gold) 56%,
    #fff1a8 82%,
    transparent 100%
  );
  box-shadow: 0 0 9px rgba(245, 207, 78, .58);
  transform: translateX(-120%);
  animation: riah-navbar-loader 1.08s cubic-bezier(.45, 0, .55, 1) infinite;
}

.window-load-border::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245,207,78,.05), rgba(245,207,78,.16), rgba(245,207,78,.05));
}

.window-load-border.is-header-scrolled {
  top: calc(var(--topbar-height, 36px) + 72px);
}

.window-load-border.is-active {
  opacity: 1;
}

.window-load-border.is-complete {
  opacity: 0;
}

@keyframes riah-navbar-loader {
  0% { transform: translateX(-120%); }
  58% { transform: translateX(205%); }
  100% { transform: translateX(330%); }
}

@media (max-width: 1050px) {
  .window-load-border,
  .window-load-border.is-header-scrolled {
    top: calc(var(--topbar-height, 36px) + 68px);
  }
}

@media (max-width: 720px) {
  .window-load-border {
    height: 2px;
  }

  .window-load-border::before {
    width: 42%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .window-load-border::before {
    width: 100%;
    transform: none;
    animation: none;
    background: var(--gold);
  }
}

/* Submenus do header — mantém o visual principal e corrige setas/interação */
.desktop-nav .nav-item {
  position: relative;
  display: inline-grid;
  grid-template-columns: max-content 18px;
  align-items: center;
  column-gap: 5px;
}

.desktop-nav .nav-parent {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav-submenu-toggle,
.mobile-submenu-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.68);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-submenu-toggle {
  width: 18px;
  height: 28px;
  margin: 0;
  border-radius: 7px;
  transition: color .2s ease, background .2s ease;
}

.nav-submenu-toggle:hover,
.nav-submenu-toggle:focus-visible,
.desktop-nav .nav-item.is-open > .nav-submenu-toggle {
  color: #fff;
  background: rgba(255,255,255,.055);
}

.nav-submenu-toggle:focus-visible,
.mobile-submenu-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.nav-caret {
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transform-origin: 50% 50%;
  transition: transform .2s ease;
}

.desktop-nav .nav-item:hover > .nav-submenu-toggle .nav-caret,
.desktop-nav .nav-item:focus-within > .nav-submenu-toggle .nav-caret,
.desktop-nav .nav-item.is-open > .nav-submenu-toggle .nav-caret {
  transform: rotate(225deg);
}

.desktop-submenu {
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  min-width: 220px;
  padding: 8px;
  background: #111a2e;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(4,8,18,.26);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  z-index: 1200;
}

.desktop-submenu-wide {
  min-width: 245px;
}

/* Ponte invisível entre o item principal e o submenu.
   Evita que o dropdown desapareça enquanto o cursor desce para as opções. */
.desktop-submenu::before {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: -12px;
  height: 14px;
  background: transparent;
  pointer-events: auto;
}

.desktop-nav .nav-item.has-submenu {
  padding-bottom: 7px;
  margin-bottom: -7px;
}

.desktop-nav .nav-item:hover > .desktop-submenu,
.desktop-nav .nav-item:focus-within > .desktop-submenu,
.desktop-nav .nav-item.is-open > .desktop-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.desktop-nav .desktop-submenu a {
  display: block;
  width: 100%;
  padding: 11px 13px;
  border-radius: 9px;
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
}

.desktop-nav .desktop-submenu a::after {
  display: none;
}

.desktop-nav .desktop-submenu a:hover,
.desktop-nav .desktop-submenu a:focus-visible {
  color: #fff;
  background: rgba(255,255,255,.065);
}

@media (max-width: 1050px) {
  .mobile-nav-group {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .mobile-nav-parent-row {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .mobile-nav-parent-row > a {
    flex: 1 1 auto;
    min-width: 0;
    border-bottom: 0 !important;
  }

  .mobile-submenu-toggle {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin-left: 8px;
    border-radius: 10px;
    color: rgba(255,255,255,.62);
  }

  .mobile-submenu-toggle:hover,
  .mobile-submenu-toggle:focus-visible,
  .mobile-nav-group.is-open .mobile-submenu-toggle {
    color: var(--gold);
    background: rgba(255,255,255,.045);
  }

  .mobile-nav-group.is-open .mobile-submenu-toggle .nav-caret {
    transform: rotate(225deg);
  }

  .mobile-submenu {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    padding: 0 0 0 18px;
    overflow: hidden;
    transition: grid-template-rows .22s ease, opacity .18s ease, padding-bottom .22s ease;
  }

  .mobile-submenu > * {
    min-height: 0;
  }

  .mobile-nav-group.is-open .mobile-submenu {
    grid-template-rows: 1fr;
    opacity: 1;
    padding-bottom: 8px;
  }

  .mobile-menu .mobile-submenu a {
    border-bottom: 0;
    padding: 7px 0;
    color: rgba(255,255,255,.54);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: 0;
  }

  .mobile-menu .mobile-submenu a:hover,
  .mobile-menu .mobile-submenu a:focus-visible {
    padding-left: 4px;
    color: var(--gold);
  }

  .mobile-menu .mobile-submenu a > span {
    padding-bottom: 2px;
  }

  .mobile-menu .mobile-submenu a > span::after {
    display: none;
  }
}


/* v44 — ajustes finais de header, heroes internos e rodapé */
.desktop-nav {
  gap: 30px;
}

.desktop-nav > a,
.desktop-nav > .nav-item {
  display: inline-flex;
  align-items: center;
}

.desktop-nav .nav-item {
  gap: 6px;
}

.desktop-nav .nav-parent {
  white-space: nowrap;
}

.nav-submenu-toggle {
  margin-left: 0;
  width: 20px;
}

/* Fundo com imagem leve para todas as páginas internas (exceto home) */
.inner-hero {
  background-image:
    linear-gradient(90deg, rgba(14, 24, 46, .94) 0%, rgba(14, 24, 46, .89) 38%, rgba(14, 24, 46, .75) 62%, rgba(14, 24, 46, .85) 100%),
    linear-gradient(180deg, rgba(31, 42, 68, .12), rgba(31, 42, 68, .12)),
    url('/images/heroes/hero-o-cartorio.webp');
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

.institutional-hero {
  background-image:
    linear-gradient(90deg, rgba(14, 24, 46, .95) 0%, rgba(14, 24, 46, .90) 42%, rgba(14, 24, 46, .72) 68%, rgba(14, 24, 46, .84) 100%),
    url('/images/heroes/hero-o-cartorio.webp');
}

.services-hero {
  background-image:
    linear-gradient(90deg, rgba(14, 24, 46, .95) 0%, rgba(14, 24, 46, .89) 40%, rgba(14, 24, 46, .70) 67%, rgba(14, 24, 46, .84) 100%),
    url('/images/heroes/hero-servicos.webp');
}

.contact-hero,
.faleconosco-hero {
  background-image:
    linear-gradient(90deg, rgba(14, 24, 46, .95) 0%, rgba(14, 24, 46, .89) 40%, rgba(14, 24, 46, .73) 66%, rgba(14, 24, 46, .86) 100%),
    url('/images/heroes/hero-fale-conosco.webp');
}

.page-atendimento.page-index.page-section-localizacao .inner-hero {
  background-image:
    linear-gradient(90deg, rgba(14, 24, 46, .92) 0%, rgba(14, 24, 46, .82) 38%, rgba(14, 24, 46, .58) 64%, rgba(14, 24, 46, .76) 100%),
    url('/images/heroes/hero-localizacao.webp');
}

.page-atendimento.page-index.page-section-contato .inner-hero {
  background-image:
    linear-gradient(90deg, rgba(14, 24, 46, .95) 0%, rgba(14, 24, 46, .90) 40%, rgba(14, 24, 46, .72) 66%, rgba(14, 24, 46, .86) 100%),
    url('/images/heroes/hero-contato.webp');
}

.page-home.page-privacidade .inner-hero,
.page-home.page-acessibilidade .inner-hero,
.lgpd-hero {
  background-image:
    linear-gradient(90deg, rgba(14, 24, 46, .95) 0%, rgba(14, 24, 46, .91) 41%, rgba(14, 24, 46, .74) 67%, rgba(14, 24, 46, .88) 100%),
    url('/images/heroes/hero-lgpd.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-atendimento.page-trabalheconosco .inner-hero,
.curriculo-hero {
  background-image:
    linear-gradient(90deg, rgba(14, 24, 46, .95) 0%, rgba(14, 24, 46, .90) 40%, rgba(14, 24, 46, .74) 66%, rgba(14, 24, 46, .87) 100%),
    url('/images/heroes/hero-curriculo.webp');
}

.page-atendimento.page-consultar .inner-hero,
.consultar-hero {
  background-image:
    linear-gradient(90deg, rgba(14, 24, 46, .95) 0%, rgba(14, 24, 46, .89) 40%, rgba(14, 24, 46, .73) 67%, rgba(14, 24, 46, .87) 100%),
    url('/images/heroes/hero-consultar-mensagens.webp');
}

.page-faq .inner-hero,
.page-links .inner-hero,
.page-requerimentos .inner-hero,
.page-tabelacustas .inner-hero {
  background-image:
    linear-gradient(90deg, rgba(14, 24, 46, .95) 0%, rgba(14, 24, 46, .90) 41%, rgba(14, 24, 46, .74) 67%, rgba(14, 24, 46, .87) 100%),
    url('/images/heroes/hero-servicos.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Rodapé sem cápsula no crédito */
.footer-digitalcartorios,
.mobile-menu-digitalcartorios {
  gap: 10px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.footer-digitalcartorios:hover,
.mobile-menu-digitalcartorios:hover {
  transform: none;
  box-shadow: none;
  opacity: 1;
}

.footer-digitalcartorios:focus-visible,
.mobile-menu-digitalcartorios:focus-visible {
  outline: 2px solid rgba(245, 207, 78, .8);
  outline-offset: 4px;
}

.footer-developed-label {
  color: rgba(255, 255, 255, .82);
}

.footer-digitalcartorios-logo {
  width: 136px;
  height: 34px;
  flex: 0 0 136px;
}

.footer-digitalcartorios-logo img {
  width: 136px;
  max-height: 34px;
}

.mobile-menu-digitalcartorios {
  width: auto;
  max-width: 100%;
}

.mobile-menu-digitalcartorios .footer-digitalcartorios-logo {
  width: 170px;
  height: 38px;
  flex: 0 0 auto;
}

.mobile-menu-digitalcartorios .footer-digitalcartorios-logo img {
  width: 170px;
  max-height: 38px;
}

@media (max-width: 1050px) {
  .desktop-nav {
    gap: 26px;
  }

  .mobile-menu-foot {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .footer-digitalcartorios {
    min-width: 0;
    max-width: 100%;
    width: auto;
    padding: 0;
    border-radius: 0;
    gap: 8px;
  }

  .footer-digitalcartorios-logo {
    width: 146px;
    height: 34px;
  }

  .footer-digitalcartorios-logo img {
    width: 146px;
    height: auto;
    max-height: 34px;
  }
}

@media (max-width: 420px) {
  .mobile-menu-digitalcartorios .footer-digitalcartorios-logo {
    width: 156px;
    height: 34px;
  }

  .mobile-menu-digitalcartorios .footer-digitalcartorios-logo img {
    width: 156px;
    max-height: 34px;
  }
}


/* v47 — crédito DigitalCartórios somente com o logo */
.footer-digitalcartorios,
.mobile-menu-digitalcartorios {
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.footer-digitalcartorios-logo {
  width: 168px;
  height: 40px;
  flex: 0 0 168px;
}

.footer-digitalcartorios-logo img {
  width: 168px;
  height: auto;
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
  object-position: center;
}

.mobile-menu-digitalcartorios .footer-digitalcartorios-logo {
  width: 188px;
  height: 44px;
  flex: 0 0 188px;
}

.mobile-menu-digitalcartorios .footer-digitalcartorios-logo img {
  width: 188px;
  max-height: 44px;
}

@media (max-width: 560px) {
  .footer-digitalcartorios {
    width: auto;
    min-width: 0;
    max-width: 100%;
    padding: 0;
  }

  .footer-digitalcartorios-logo {
    width: 178px;
    height: 42px;
    flex: 0 0 178px;
  }

  .footer-digitalcartorios-logo img {
    width: 178px;
    max-height: 42px;
  }
}


/* v51 — mobile menu: manter espaçamento padrão e expandir apenas ao abrir submenu */
@media (max-width: 1050px) {
  .mobile-menu nav {
    gap: 0;
  }

  .mobile-nav-group {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .mobile-nav-parent-row {
    display: flex;
    align-items: center;
    min-height: 0;
  }

  .mobile-nav-parent-row > a {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 0;
    border-bottom: 0 !important;
    margin: 0;
  }

  .mobile-submenu-toggle {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin: 0 0 0 8px;
    align-self: center;
  }

  .mobile-submenu {
    display: block;
    max-height: 0;
    opacity: 0;
    padding: 0 0 0 18px;
    margin: 0;
    overflow: hidden;
    transition: max-height .24s ease, opacity .18s ease, padding-bottom .24s ease, margin-top .24s ease;
  }

  .mobile-nav-group.is-open .mobile-submenu {
    max-height: 220px;
    opacity: 1;
    margin-top: 0;
    padding-bottom: 8px;
  }

  .mobile-menu .mobile-submenu a {
    padding: 7px 0;
    margin: 0;
  }
}


/* v52 — submenus mobile: uma opção por linha */
@media (max-width: 1050px) {
  .mobile-menu .mobile-submenu a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 0;
    margin: 0;
  }

  .mobile-menu .mobile-submenu a + a {
    border-top: 1px solid rgba(255,255,255,.06);
  }
}


/* v53 — Topbar institucional */
:root {
  --topbar-height: 36px;
}

.site-topbar {
  position: fixed;
  z-index: 1010;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-height);
  background: var(--gold);
  color: var(--navy);
  border-bottom: 1px solid rgba(31, 42, 68, .12);
}

.topbar-shell {
  width: 100%;
  height: 100%;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.topbar-address {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: .76rem;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.topbar-address > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-address i {
  flex: 0 0 auto;
  font-size: .82rem;
}

.topbar-whatsapp {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: .98rem;
  transition: transform .2s ease, background .2s ease;
}

.topbar-whatsapp:hover,
.topbar-whatsapp:focus-visible {
  transform: translateY(-1px) scale(1.05);
  background: #101a31;
}

.topbar-whatsapp:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.site-header,
.site-header.is-scrolled {
  top: var(--topbar-height);
}

.hero {
  padding-top: calc(132px + var(--topbar-height));
}

.inner-hero {
  padding-top: calc(170px + var(--topbar-height));
}

@media (max-width: 1050px) {
  .mobile-menu {
    padding-top: calc(92px + var(--topbar-height));
  }
}

@media (max-width: 720px) {
  :root {
    --topbar-height: 32px;
  }

  .topbar-shell {
    padding: 0 14px;
    gap: 12px;
  }

  .topbar-address {
    max-width: calc(100vw - 62px);
    font-size: .68rem;
    gap: 6px;
  }

  .topbar-whatsapp {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: .9rem;
  }

  .hero {
    padding-top: calc(104px + var(--topbar-height));
  }

  .inner-hero {
    padding-top: calc(130px + var(--topbar-height));
  }

  .mobile-menu {
    padding-top: calc(82px + var(--topbar-height));
  }
}

@media (max-width: 420px) {
  .topbar-address {
    font-size: .64rem;
  }
}

@media (max-width: 1050px) and (max-height: 620px) {
  .mobile-menu {
    padding-top: calc(74px + var(--topbar-height));
  }
}


/* v54 — heros mais limpos, sem numeração e com melhor leitura */
.inner-hero {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.inner-hero::before,
.inner-hero::after,
.inner-hero-number {
  display: none !important;
}

.inner-hero h1 {
  text-shadow: 0 8px 26px rgba(0, 0, 0, .16);
}

.inner-hero p {
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 4px 18px rgba(0, 0, 0, .12);
}

.institutional-hero {
  background-image:
    linear-gradient(90deg, rgba(11, 20, 40, .82) 0%, rgba(11, 20, 40, .70) 38%, rgba(11, 20, 40, .46) 64%, rgba(11, 20, 40, .58) 100%),
    url('/images/heroes/hero-o-cartorio.webp') !important;
}

.services-hero {
  background-image:
    linear-gradient(90deg, rgba(11, 20, 40, .84) 0%, rgba(11, 20, 40, .72) 38%, rgba(11, 20, 40, .50) 64%, rgba(11, 20, 40, .60) 100%),
    url('/images/heroes/hero-servicos.webp') !important;
}

.contact-hero,
.faleconosco-hero {
  background-image:
    linear-gradient(90deg, rgba(11, 20, 40, .84) 0%, rgba(11, 20, 40, .72) 38%, rgba(11, 20, 40, .48) 64%, rgba(11, 20, 40, .60) 100%),
    url('/images/heroes/hero-fale-conosco.webp') !important;
}

.page-atendimento.page-index.page-section-localizacao .inner-hero {
  background-image:
    linear-gradient(90deg, rgba(11, 20, 40, .82) 0%, rgba(11, 20, 40, .68) 38%, rgba(11, 20, 40, .42) 64%, rgba(11, 20, 40, .56) 100%),
    url('/images/heroes/hero-localizacao.webp') !important;
}

.page-atendimento.page-index.page-section-contato .inner-hero {
  background-image:
    linear-gradient(90deg, rgba(11, 20, 40, .84) 0%, rgba(11, 20, 40, .70) 38%, rgba(11, 20, 40, .46) 64%, rgba(11, 20, 40, .58) 100%),
    url('/images/heroes/hero-contato.webp') !important;
}

.page-home.page-privacidade .inner-hero,
.page-home.page-acessibilidade .inner-hero,
.lgpd-hero {
  background-image:
    linear-gradient(90deg, rgba(11, 20, 40, .84) 0%, rgba(11, 20, 40, .72) 38%, rgba(11, 20, 40, .48) 64%, rgba(11, 20, 40, .60) 100%),
    url('/images/heroes/hero-lgpd.webp') !important;
}

.page-atendimento.page-trabalheconosco .inner-hero,
.curriculo-hero {
  background-image:
    linear-gradient(90deg, rgba(11, 20, 40, .84) 0%, rgba(11, 20, 40, .72) 38%, rgba(11, 20, 40, .46) 64%, rgba(11, 20, 40, .58) 100%),
    url('/images/heroes/hero-curriculo.webp') !important;
}

.page-atendimento.page-consultar .inner-hero,
.consultar-hero {
  background-image:
    linear-gradient(90deg, rgba(11, 20, 40, .84) 0%, rgba(11, 20, 40, .72) 38%, rgba(11, 20, 40, .46) 64%, rgba(11, 20, 40, .58) 100%),
    url('/images/heroes/hero-consultar-mensagens.webp') !important;
}


/* v55 — loader central semelhante à referência */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 4900;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .34s ease, visibility .34s ease;
  pointer-events: none;
}

.page-loader.is-active {
  opacity: 1;
  visibility: visible;
}

.page-loader.is-complete {
  opacity: 0;
  visibility: hidden;
}

.page-loader-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(247, 245, 243, .70);
  backdrop-filter: blur(5px);
}

.page-loader-card {
  position: relative;
  z-index: 1;
  width: min(340px, calc(100vw - 28px));
  padding: 24px 22px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(245,247,251,.98) 100%);
  border: 1px solid rgba(56, 93, 148, .14);
  box-shadow: 0 24px 70px rgba(14, 24, 46, .15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-loader-logo-wrap {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(238,243,251,1) 100%);
  border: 1px solid rgba(56, 93, 148, .14);
  box-shadow: 0 10px 26px rgba(35, 71, 126, .14);
  margin-bottom: 14px;
}

.page-loader-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.page-loader-spinner {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  border-radius: 50%;
  border: 3px solid rgba(45, 98, 198, .18);
  border-top-color: #0f51ea;
  border-right-color: #57b8ff;
  animation: page-loader-spin .85s linear infinite;
}

.page-loader-card strong {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 700;
}

.page-loader-card span {
  margin-top: 8px;
  color: #73819a;
  font-size: .94rem;
}

@keyframes page-loader-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader,
  .window-load-border,
  .page-loader-card,
  .page-loader-backdrop { transition: none !important; }
  .page-loader-spinner { animation: none; }
}

@media (max-width: 720px) {
  .page-loader-card {
    width: min(320px, calc(100vw - 24px));
    padding: 22px 18px 20px;
    border-radius: 22px;
  }

  .page-loader-card strong {
    font-size: 1rem;
  }

  .page-loader-card span {
    font-size: .88rem;
  }
}

/* Hero Currículo com imagem correspondente e leitura melhor */
.page-atendimento.page-trabalheconosco .inner-hero,
.curriculo-hero {
  background-image:
    linear-gradient(90deg, rgba(11, 20, 40, .82) 0%, rgba(11, 20, 40, .68) 36%, rgba(11, 20, 40, .26) 64%, rgba(11, 20, 40, .30) 100%),
    url('/images/heroes/hero-curriculo.webp') !important;
  background-position: center center !important;
}


/* v57 — leve aumento da tipografia da navbar */
.desktop-nav > a,
.desktop-nav .nav-parent {
  font-size: .92rem;
}

.header-cta {
  font-size: .9rem;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .desktop-nav > a,
  .desktop-nav .nav-parent {
    font-size: .88rem;
  }

  .header-cta {
    font-size: .86rem;
  }
}

@media (max-width: 1050px) {
  .mobile-menu nav a {
    font-size: 1.28rem;
  }
}


/* v58 — navbar com tipografia mais destacada */
.desktop-nav > a,
.desktop-nav .nav-parent {
  font-size: .99rem;
  font-weight: 650;
}

.header-cta {
  font-size: .98rem;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .desktop-nav > a,
  .desktop-nav .nav-parent {
    font-size: .94rem;
  }

  .header-cta {
    font-size: .92rem;
  }
}

@media (max-width: 1050px) {
  .mobile-menu nav a {
    font-size: 1.34rem;
  }
}


/* v61 — Hero inicial com dois containers de serviços */
.hero-layout-double-services {
  display: block;
  width: min(1360px, calc(100vw - 48px));
  min-height: 500px;
}

.hero-services-content {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-layout-double-services .hero-welcome {
  max-width: 760px;
  margin-left: 4px;
}

.hero-layout-double-services .hero-service-search {
  width: min(720px, 100%);
  margin-bottom: 14px;
}

.hero-services-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.hero-services-panels .hero-access {
  max-width: none;
  height: 100%;
  min-width: 0;
}

.hero-services-panels .hero-access-list {
  max-height: 410px;
}

.hero-access-secondary {
  background: rgba(14, 24, 45, .52);
}

.hero-service-empty-wide {
  grid-column: 1 / -1;
  min-height: 120px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: rgba(14,24,45,.55);
}

/* v61 — ícones maiores em todo o site */
.quick-icon {
  width: 58px;
  height: 58px;
  font-size: 1.58rem;
}

.service-row-icon {
  width: 66px;
  height: 66px;
  font-size: 1.48rem;
}

.db-card-icon {
  width: 56px;
  height: 56px;
  font-size: 1.22rem;
}

.feature-icon {
  width: 62px;
  height: 62px;
  font-size: 1.75rem;
}

.institutional-card-icon {
  width: 54px;
  height: 54px;
  flex-basis: 54px;
  font-size: 1.25rem;
}

.contact-card-list article {
  grid-template-columns: 58px 1fr;
}

.contact-card-list article > span {
  width: 52px;
  height: 52px;
  font-size: 1.22rem;
}

.hero-search-box > span {
  font-size: 1.42rem;
}

.hero-access b,
.quick-card b,
.database-card > b {
  font-size: 1.28rem;
}

.topbar-whatsapp {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  font-size: 1.12rem;
}

.button > span,
.header-cta > span,
.text-link > span {
  font-size: 1.14em;
}

@media (max-width: 1050px) {
  .hero-layout-double-services {
    width: var(--shell);
  }

  .hero-services-panels {
    gap: 16px;
  }

  .hero-services-panels .hero-access-list {
    max-height: 380px;
  }
}

@media (max-width: 860px) {
  .hero-services-panels {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-services-panels .hero-access {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
  }

  .hero-layout-double-services .hero-service-search,
  .hero-layout-double-services .hero-welcome {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 720px) {
  .quick-icon {
    width: 54px;
    height: 54px;
    font-size: 1.45rem;
  }

  .feature-icon {
    width: 58px;
    height: 58px;
    font-size: 1.6rem;
  }

  .institutional-card-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 1.12rem;
  }

  .contact-card-list article {
    grid-template-columns: 54px 1fr;
  }

  .contact-card-list article > span {
    width: 48px;
    height: 48px;
    font-size: 1.12rem;
  }

  .topbar-whatsapp {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    font-size: 1.03rem;
  }
}


/* v62 — loader leve: sem embranquecer nem desfocar a página */
.page-loader {
  background: transparent !important;
  pointer-events: none !important;
  transition: opacity .16s ease, visibility .16s ease !important;
}

.page-loader-backdrop {
  display: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.page-loader-card {
  width: min(300px, calc(100vw - 28px));
  padding: 16px 18px 15px;
  border-radius: 18px;
  background: rgba(12, 24, 47, .92) !important;
  color: #fff;
  border: 1px solid rgba(245, 207, 78, .20);
  box-shadow: 0 12px 30px rgba(7, 14, 29, .16) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.page-loader-logo-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 9px;
  box-shadow: none !important;
}

.page-loader-logo {
  width: 30px;
  height: 30px;
}

.page-loader-spinner {
  width: 22px;
  height: 22px;
  margin-bottom: 9px;
  border-width: 2px;
}

.page-loader-card strong {
  color: #fff !important;
  font-size: .82rem;
}

.page-loader-card span {
  margin-top: 4px;
  color: rgba(255,255,255,.62) !important;
  font-size: .72rem;
}

/* Hero: serviços à esquerda e consultas à direita */
.hero-access-consultas {
  background: rgba(12, 23, 44, .66);
  border-color: rgba(245, 207, 78, .18);
}

.hero-access-consultas .access-top > span:first-child {
  color: #fff;
}

.hero-panel-empty {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: rgba(255,255,255,.64);
}

.hero-panel-empty > span {
  font-size: 2rem;
  color: var(--gold);
}

.hero-panel-empty strong {
  color: #fff;
}

/* v62 — ícones ampliados de forma consistente em todo o projeto */
.quick-icon {
  width: 70px !important;
  height: 70px !important;
  font-size: 1.95rem !important;
}

.quick-icon i {
  font-size: 1em !important;
}

.service-row-icon {
  width: 78px !important;
  height: 78px !important;
  font-size: 1.85rem !important;
}

.service-row-icon i {
  font-size: 1em !important;
}

.db-card-icon {
  width: 66px !important;
  height: 66px !important;
  font-size: 1.55rem !important;
}

.db-card-icon i {
  font-size: 1em !important;
}

.feature-icon {
  width: 72px !important;
  height: 72px !important;
  font-size: 2.05rem !important;
}

.institutional-card-icon {
  width: 64px !important;
  height: 64px !important;
  flex-basis: 64px !important;
  font-size: 1.55rem !important;
}

.contact-card-list article {
  grid-template-columns: 70px 1fr !important;
}

.contact-card-list article > span {
  width: 64px !important;
  height: 64px !important;
  font-size: 1.55rem !important;
}

.topbar-address i {
  font-size: 1rem !important;
}

.topbar-whatsapp {
  width: 36px !important;
  height: 36px !important;
  flex-basis: 36px !important;
  font-size: 1.38rem !important;
}

.hero-search-box > span {
  font-size: 1.72rem !important;
}

.hero-service-empty > span,
.hero-panel-empty > span {
  font-size: 2rem !important;
}

.hero-access b,
.quick-card b,
.database-card > b {
  font-size: 1.55rem !important;
}

.button > span,
.header-cta > span,
.text-link > span {
  font-size: 1.32em !important;
}

.nav-caret {
  width: 9px !important;
  height: 9px !important;
  border-right-width: 1.8px !important;
  border-bottom-width: 1.8px !important;
}

.site-popup-close {
  width: 46px !important;
  height: 46px !important;
  font-size: 1.7rem !important;
}

@media (max-width: 720px) {
  .quick-icon {
    width: 62px !important;
    height: 62px !important;
    font-size: 1.72rem !important;
  }

  .service-row-icon {
    width: 68px !important;
    height: 68px !important;
    font-size: 1.62rem !important;
  }

  .db-card-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.4rem !important;
  }

  .feature-icon {
    width: 64px !important;
    height: 64px !important;
    font-size: 1.82rem !important;
  }

  .institutional-card-icon {
    width: 58px !important;
    height: 58px !important;
    flex-basis: 58px !important;
    font-size: 1.38rem !important;
  }

  .contact-card-list article {
    grid-template-columns: 62px 1fr !important;
  }

  .contact-card-list article > span {
    width: 56px !important;
    height: 56px !important;
    font-size: 1.35rem !important;
  }

  .topbar-whatsapp {
    width: 32px !important;
    height: 32px !important;
    flex-basis: 32px !important;
    font-size: 1.2rem !important;
  }

  .page-loader-card {
    width: min(280px, calc(100vw - 24px));
    padding: 14px 16px 13px;
  }
}


/* v63 — mapa da página Nossa Localização */
.location-map-wrap {
  margin-top: 72px;
}

.location-map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--offwhite);
  box-shadow: 0 24px 64px rgba(19, 31, 56, .08);
}

.location-map-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  padding: 30px 32px 28px;
}

.location-map-head h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1.05;
}

.location-map-head p {
  margin: 0;
  max-width: 580px;
  color: var(--gray);
  font-size: .9rem;
  line-height: 1.6;
}

.location-map-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.location-map-button {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}

.location-map-button i {
  font-size: 1.2rem;
  line-height: 1;
}

.location-map-button-waze {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid rgba(31, 42, 68, .10);
}

.location-map-button-waze:hover,
.location-map-button-waze:focus-visible {
  background: #f8d85d;
  color: var(--navy);
}

.location-map-frame {
  position: relative;
  min-height: 440px;
  background: #e8ebef;
  border-top: 1px solid var(--line);
}

.location-map-frame iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}

@media (max-width: 900px) {
  .location-map-wrap {
    margin-top: 54px;
  }

  .location-map-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding: 26px;
  }

  .location-map-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .location-map-card {
    border-radius: 22px;
  }

  .location-map-head {
    padding: 22px 18px 20px;
  }

  .location-map-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .location-map-button {
    width: 100%;
  }

  .location-map-frame,
  .location-map-frame iframe {
    min-height: 350px;
    height: 350px;
  }
}


/* v64 — página dedicada Nossa Localização */
.page-atendimento.page-localizacao .inner-hero,
.location-page-hero {
  background-image:
    linear-gradient(90deg, rgba(11, 20, 40, .82) 0%, rgba(11, 20, 40, .67) 38%, rgba(11, 20, 40, .36) 66%, rgba(11, 20, 40, .48) 100%),
    url('/images/heroes/hero-localizacao.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.location-page-section {
  background: var(--offwhite);
}

.location-summary-grid {
  align-items: stretch;
}

.location-route-panel {
  min-height: 100%;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(19, 31, 56, .07);
  display: flex;
  flex-direction: column;
}

.location-route-panel h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.06;
}

.location-route-panel > p {
  margin: 0;
  color: var(--gray);
  line-height: 1.7;
}

.location-route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.location-route-address {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--navy);
  font-size: .9rem;
  line-height: 1.65;
}

.location-route-address i {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--gold-dark, #c49e22);
  font-size: 1.45rem;
}

.page-atendimento.page-localizacao .contact-card-list article > span {
  font-size: 1.38rem;
}

@media (max-width: 900px) {
  .location-summary-grid {
    grid-template-columns: 1fr;
  }

  .location-route-panel {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .location-route-panel {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .location-route-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .location-route-actions .button {
    width: 100%;
  }
}


/* v65 — Nossa Localização: mapa funcional e layout sem bloco duplicado */
.location-summary-grid {
  grid-template-columns: 1fr !important;
}

.location-summary-grid .contact-info {
  width: 100%;
  max-width: none;
}

.location-map-wrap {
  margin-top: 56px;
}

.location-map-frame,
.location-map-frame iframe {
  min-height: 480px;
  height: 480px;
}

@media (max-width: 720px) {
  .location-map-frame,
  .location-map-frame iframe {
    min-height: 380px;
    height: 380px;
  }
}

/* v66 — página Nossa Localização */
.location-page-hero {
  min-height: 430px;
  display: flex;
  align-items: center;
}

.location-hero-content {
  max-width: 790px;
}

.location-hero-content > p {
  max-width: 690px;
}

.location-hero-address {
  width: min(100%, 640px);
  margin-top: 28px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: rgba(15, 26, 49, .34);
  backdrop-filter: blur(8px);
  color: #fff;
}

.location-hero-address > span {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, .13);
  color: var(--gold);
  font-size: 1.1rem;
}

.location-hero-address small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .7);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.location-hero-address strong {
  display: block;
  font-size: .94rem;
  line-height: 1.55;
  font-weight: 600;
}

.location-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 30px;
  align-items: stretch;
}

.location-info-panel,
.location-route-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(19, 31, 56, .07);
}

.location-info-panel h2,
.location-route-panel h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.location-intro,
.location-route-panel > p {
  margin: 0;
  color: var(--gray);
  line-height: 1.7;
}

.location-detail-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.location-detail-card {
  min-width: 0;
  padding: 19px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--offwhite);
}

.location-detail-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(31, 42, 68, .08);
  color: var(--gold-dark, #b59022);
  font-size: 1.15rem;
}

.location-detail-card small {
  display: block;
  margin-bottom: 3px;
  color: var(--gray);
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.location-detail-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: .94rem;
}

.location-detail-card p,
.location-detail-card a {
  margin: 0;
  color: var(--gray);
  font-size: .86rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.location-detail-card a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.location-detail-card a:hover,
.location-detail-card a:focus-visible {
  color: var(--gold-dark, #b59022);
}

.location-route-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.location-route-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(214, 178, 56, .09);
  pointer-events: none;
}

.location-route-symbol {
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.35rem;
  box-shadow: 0 14px 30px rgba(19, 31, 56, .14);
}

.location-route-actions {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.location-route-button {
  width: 100%;
  min-height: 50px;
  gap: 10px;
}

.location-route-button-waze {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid rgba(31, 42, 68, .08);
}

.location-route-button-waze:hover,
.location-route-button-waze:focus-visible {
  background: #f8d85d;
  color: var(--navy);
}

.location-route-address {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--gray);
  font-size: .84rem;
  line-height: 1.6;
}

.location-route-address i {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--gold-dark, #b59022);
  font-size: 1rem;
}

.location-map-wrap {
  margin-top: 34px;
}

.location-map-card {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 64px rgba(19, 31, 56, .08);
}

.location-map-head {
  padding: 28px 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.location-map-head h2 {
  margin: 8px 0 8px;
}

.location-map-head p {
  margin: 0;
  color: var(--gray);
}

.location-map-open-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}

.location-map-open-link:hover,
.location-map-open-link:focus-visible {
  color: var(--gold-dark, #b59022);
}

.location-map-frame,
.location-map-frame iframe {
  width: 100%;
  min-height: 500px;
  height: 500px;
}

.location-map-frame {
  border-top: 1px solid var(--line);
  background: #e8ebef;
}

.location-map-frame iframe {
  display: block;
  border: 0;
}

@media (max-width: 980px) {
  .location-overview-grid {
    grid-template-columns: 1fr;
  }

  .location-route-address {
    margin-top: 28px;
  }
}

@media (max-width: 720px) {
  .location-page-hero {
    min-height: 390px;
  }

  .location-info-panel,
  .location-route-panel {
    padding: 25px 21px;
    border-radius: 22px;
  }

  .location-detail-list {
    grid-template-columns: 1fr;
  }

  .location-map-head {
    padding: 23px 21px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .location-map-frame,
  .location-map-frame iframe {
    min-height: 380px;
    height: 380px;
  }
}

@media (max-width: 520px) {
  .location-hero-address {
    padding: 15px;
    border-radius: 16px;
  }

  .location-hero-address > span {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .location-map-card {
    border-radius: 22px;
  }

  .location-map-frame,
  .location-map-frame iframe {
    min-height: 340px;
    height: 340px;
  }
}


@media (max-width: 640px) {
  .quick-all-services {
    margin-top: 26px;
  }

  .quick-all-services-btn {
    width: 100%;
    min-width: 0;
  }
}

/* Links úteis dinâmicos - Home */
.useful-links-feature .useful-link-card {
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}

.useful-links-feature .useful-link-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, .24);
}

.useful-links-feature .feature-gold:hover {
  border-color: rgba(31, 42, 68, .18);
}

.useful-links-feature .feature-icon i {
  font-size: 1.25rem;
}

.useful-links-all {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
}

.useful-links-all a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 700;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.useful-links-all a:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .32);
  transform: translateY(-2px);
}

.useful-links-empty {
  min-height: 140px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, .7);
}

@media (max-width: 720px) {
  .useful-links-all {
    justify-content: stretch;
  }

  .useful-links-all a {
    width: 100%;
    justify-content: space-between;
  }
}

/* v70 — Hero inicial compacto com fotografia limpa da ponte */
.page-home.page-index .hero {
  min-height: 610px;
  padding: calc(104px + var(--topbar-height)) 0 46px;
  background-color: #162038;
  background-image: url('/images/heroes/hero-home-ponte.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.page-home.page-index .hero::after,
.page-home.page-index .hero-pattern {
  display: none !important;
}

.page-home.page-index .hero-layout-double-services {
  min-height: 0;
}

.page-home.page-index .hero-layout-double-services .hero-welcome {
  margin-bottom: 12px;
}

.page-home.page-index .hero-layout-double-services .hero-service-search {
  margin-bottom: 10px;
}

.page-home.page-index .hero-services-panels {
  gap: 18px;
}

.page-home.page-index .hero-services-panels .hero-access {
  padding: 14px 10px 10px 18px;
}

.page-home.page-index .hero-services-panels .hero-access-list {
  max-height: 290px;
}

.page-home.page-index .hero-service-item {
  min-height: 76px;
  padding: 13px 14px;
}

.page-home.page-index .access-top {
  padding: 5px 16px 12px 8px;
}

.page-home.page-index .hero-scroll {
  bottom: 16px;
}

@media (max-width: 1050px) {
  .page-home.page-index .hero {
    min-height: 580px;
    padding-top: calc(94px + var(--topbar-height));
    background-position: 50% center;
  }
}

@media (max-width: 860px) {
  .page-home.page-index .hero {
    min-height: 0;
    padding: calc(88px + var(--topbar-height)) 0 44px;
    background-position: center center;
  }

  .page-home.page-index .hero-services-panels .hero-access-list {
    max-height: 270px;
  }
}

@media (max-width: 720px) {
  .page-home.page-index .hero {
    padding: calc(76px + var(--topbar-height)) 0 36px;
    background-position: center center;
  }

  .page-home.page-index .hero-scroll {
    display: none;
  }
}


/* v71 — hero com proporção restaurada, cards transparentes e leitura reforçada */
.page-home.page-index .hero {
  min-height: 720px;
  padding: 132px 0 86px;
  background-color: #162038;
  background-image: url('/images/heroes/hero-home-ponte.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.page-home.page-index .hero-layout-double-services {
  min-height: 500px;
}

.page-home.page-index .hero-layout-double-services .hero-welcome {
  margin-bottom: 18px;
}

.page-home.page-index .hero-layout-double-services .hero-service-search {
  margin-bottom: 14px;
}

.page-home.page-index .hero-services-panels {
  gap: 22px;
}

.page-home.page-index .hero-services-panels .hero-access {
  background: rgba(8, 16, 31, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 30px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 20px 10px 14px 20px;
}

.page-home.page-index .hero-service-empty-wide,
.page-home.page-index .hero-panel-empty {
  background: rgba(8, 16, 31, .08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: none;
}

.page-home.page-index .hero-service-item {
  min-height: 90px;
  padding: 17px 16px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.page-home.page-index .hero-service-item:hover {
  background: rgba(255,255,255,.06);
}

.page-home.page-index .hero-welcome h1 {
  color: rgba(255,255,255,.98);
  text-shadow: 0 8px 24px rgba(0, 0, 0, .20);
}

.page-home.page-index .hero-service-search > small,
.page-home.page-index .access-top,
.page-home.page-index .hero-access small,
.page-home.page-index .hero-access b,
.page-home.page-index .hero-scroll {
  color: rgba(255,255,255,.78);
  text-shadow: 0 4px 16px rgba(0,0,0,.18);
}

.page-home.page-index .hero-access strong,
.page-home.page-index .hero-service-empty strong,
.page-home.page-index .hero-panel-empty strong,
.page-home.page-index .hero-service-search input,
.page-home.page-index .hero-search-box > span,
.page-home.page-index .hero-search-box button {
  color: rgba(255,255,255,.98);
  text-shadow: 0 6px 20px rgba(0,0,0,.18);
}

.page-home.page-index .hero-search-box {
  background: rgba(13, 23, 43, .28);
  border-color: rgba(255,255,255,.20);
  box-shadow: none;
}

.page-home.page-index .hero-search-box input::placeholder {
  color: rgba(255,255,255,.72);
}

@media (max-width: 1050px) {
  .page-home.page-index .hero {
    min-height: 680px;
    padding-top: calc(110px + var(--topbar-height));
    padding-bottom: 70px;
    background-position: center center;
  }
}

@media (max-width: 860px) {
  .page-home.page-index .hero {
    min-height: 0;
    padding: calc(96px + var(--topbar-height)) 0 56px;
    background-position: center center;
  }

  .page-home.page-index .hero-services-panels .hero-access {
    background: rgba(8, 16, 31, .10);
  }
}


/* v72 — restaura fundo azul dos cards do hero, preservando a busca atual */
.page-home.page-index .hero-services-panels .hero-access {
  background: rgba(14, 24, 45, .82);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.page-home.page-index .hero-services-panels .hero-access-secondary {
  background: rgba(14, 24, 45, .82);
}

.page-home.page-index .hero-service-item:hover {
  background: rgba(255, 255, 255, .055);
}

@media (max-width: 860px) {
  .page-home.page-index .hero-services-panels .hero-access,
  .page-home.page-index .hero-services-panels .hero-access-secondary {
    background: rgba(14, 24, 45, .88);
  }
}


/* v73 — aplica nova imagem aérea no hero e reforça a leitura dos textos */
.page-home.page-index .hero {
  background-image:
    linear-gradient(90deg, rgba(9, 18, 34, .30) 0%, rgba(9, 18, 34, .14) 34%, rgba(9, 18, 34, 0) 62%),
    url('/images/heroes/hero-home-ponte-aerea.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.page-home.page-index .hero-welcome h1,
.page-home.page-index .hero-access strong,
.page-home.page-index .hero-service-search input,
.page-home.page-index .hero-search-box > span,
.page-home.page-index .hero-search-box button {
  color: rgba(255,255,255,.99);
}

.page-home.page-index .hero-service-search > small,
.page-home.page-index .access-top,
.page-home.page-index .hero-access small,
.page-home.page-index .hero-access b,
.page-home.page-index .hero-scroll,
.page-home.page-index .hero-search-box input::placeholder {
  color: rgba(255,255,255,.88);
}

/* v74 — hero com mais respiro vertical, preservando imagem, busca e cards */
.page-home.page-index .hero {
  min-height: 820px;
  padding: 148px 0 110px;
}

.page-home.page-index .hero-layout-double-services {
  min-height: 590px;
}

.page-home.page-index .hero-layout-double-services .hero-welcome {
  margin-bottom: 22px;
}

.page-home.page-index .hero-layout-double-services .hero-service-search {
  margin-bottom: 18px;
}

.page-home.page-index .hero-services-panels {
  gap: 24px;
}

.page-home.page-index .hero-scroll {
  bottom: 24px;
}

@media (max-width: 1050px) {
  .page-home.page-index .hero {
    min-height: 760px;
    padding-top: calc(124px + var(--topbar-height));
    padding-bottom: 88px;
  }

  .page-home.page-index .hero-layout-double-services {
    min-height: 540px;
  }
}

@media (max-width: 860px) {
  .page-home.page-index .hero {
    min-height: 0;
    padding: calc(108px + var(--topbar-height)) 0 72px;
  }

  .page-home.page-index .hero-layout-double-services {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .page-home.page-index .hero {
    padding: calc(92px + var(--topbar-height)) 0 58px;
  }
}


/* v76 — data e horário de atendimento dinâmicos na topbar */
.topbar-right {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.topbar-attendance {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: .74rem;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.topbar-attendance i {
  flex: 0 0 auto;
  font-size: .78rem;
}

.topbar-attendance-separator {
  opacity: .55;
}

@media (max-width: 980px) {
  .topbar-address {
    max-width: 46vw;
  }

  .topbar-attendance {
    max-width: 44vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 720px) {
  .topbar-shell {
    gap: 8px;
  }

  .topbar-address {
    display: none;
  }

  .topbar-right {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .topbar-attendance {
    max-width: calc(100vw - 62px);
    font-size: .66rem;
    gap: 5px;
    overflow: hidden;
  }

  .topbar-attendance > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 430px) {
  .topbar-date,
  .topbar-attendance-separator,
  .topbar-attendance .fa-calendar {
    display: none;
  }
}


/* v74 — horário de atendimento no rodapé */
.footer-attendance {
  margin-top: 10px;
}

.footer-attendance-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-attendance-title i {
  color: var(--gold);
}

.footer-attendance p {
  color: rgba(255,255,255,.56);
}


/* v18 — escurece levemente o hero da home para destacar textos e cards */
.page-home.page-index .hero {
  background-image:
    linear-gradient(90deg, rgba(7, 13, 24, .46) 0%, rgba(7, 13, 24, .28) 34%, rgba(7, 13, 24, .14) 62%, rgba(7, 13, 24, .10) 100%),
    linear-gradient(180deg, rgba(7, 13, 24, .18) 0%, rgba(7, 13, 24, .08) 38%, rgba(7, 13, 24, .18) 100%),
    url('/images/heroes/hero-home-ponte-aerea.webp');
}

/* Aviso global de indisponibilidade do banco */
.database-alert {
  position: relative;
  z-index: 60;
  background: #fff4d6;
  color: #5f4510;
  border-bottom: 1px solid rgba(163, 113, 10, .2);
}

.database-alert-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.database-alert i {
  flex: 0 0 auto;
  font-size: 1.15rem;
  color: #a86f00;
}

.database-alert-inner > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}

.database-alert strong {
  font-size: .9rem;
}

.database-alert span {
  font-size: .82rem;
  line-height: 1.45;
}

.site-version {
  display: inline-block;
  margin-left: 8px;
  font-size: .68rem;
  color: rgba(255, 255, 255, .32);
}

/* Home: leve escurecimento sobre a foto institucional */
.wallpaper-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(8, 18, 36, .18);
}

.wallpaper-card .visual-chip {
  z-index: 2;
}

.hero-image-card::before {
  background: linear-gradient(180deg, rgba(11, 19, 36, .14), rgba(11, 19, 36, .30));
}

@media (max-width: 640px) {
  .database-alert-inner {
    align-items: flex-start;
  }

  .database-alert-inner > div {
    display: block;
  }

  .database-alert span {
    display: block;
    margin-top: 3px;
  }

  .site-version {
    display: block;
    margin: 4px 0 0;
  }
}


/* v25 — ao rolar, oculta apenas a faixa superior; o menu principal permanece visível */
.site-topbar {
  will-change: transform;
  transition: transform .28s cubic-bezier(.22, .61, .36, 1);
}

.site-header {
  transition:
    top .28s cubic-bezier(.22, .61, .36, 1),
    background .3s ease,
    box-shadow .3s ease,
    height .3s ease,
    border-color .3s ease;
}

body.site-chrome-hidden:not(.menu-open) .site-topbar {
  transform: translateY(-105%);
}

body.site-chrome-hidden:not(.menu-open) .site-header,
body.site-chrome-hidden:not(.menu-open) .site-header.is-scrolled {
  top: 0;
}

body.menu-open .site-topbar,
body.menu-open .site-header,
body.menu-open .site-header.is-scrolled {
  transform: none !important;
  top: var(--topbar-height) !important;
}

/* v25 — imagem paisagem da home apenas mais escura, sem desfoque */
.page-home.page-index .hero {
  isolation: isolate;
  background-color: #101827;
  background-image: none;
}

.page-home.page-index .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg,
      rgba(6, 12, 23, .66) 0%,
      rgba(6, 12, 23, .55) 34%,
      rgba(6, 12, 23, .42) 64%,
      rgba(6, 12, 23, .38) 100%),
    linear-gradient(180deg,
      rgba(6, 12, 23, .28) 0%,
      rgba(6, 12, 23, .20) 45%,
      rgba(6, 12, 23, .34) 100%),
    url('/images/heroes/hero-home-ponte-aerea.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.page-home.page-index .hero-layout,
.page-home.page-index .hero-scroll {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .site-topbar,
  .site-header {
    transition: none;
  }
}


/* v30 — redes sociais no rodapé */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 1rem;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  outline: none;
}

/* v30 — botão flutuante do WhatsApp */
.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1800;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  color: #fff;
  background: #25d366;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .22), 0 8px 20px rgba(37, 211, 102, .22);
  font-size: .86rem;
  font-weight: 750;
  letter-spacing: .01em;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  color: #fff;
  background: #1ebe5b;
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, .26), 0 10px 24px rgba(37, 211, 102, .28);
  outline: none;
}

.floating-whatsapp-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.14);
  font-size: 1.35rem;
}

.floating-whatsapp-text {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 7px;
    justify-content: center;
  }

  .floating-whatsapp-icon {
    width: 42px;
    height: 42px;
  }

  .floating-whatsapp-text {
    display: none;
  }
}


/* v32 — ícones SVG locais: independentes de webfont/CDN */
.dc-inline-icon {
  width: 26px;
  height: 26px;
  display: block;
  color: currentColor;
  flex: 0 0 auto;
}
.quick-icon .dc-inline-icon { width: 28px; height: 28px; }
.service-row-icon .dc-inline-icon { width: 24px; height: 24px; }
.dc-whatsapp-svg {
  width: 24px;
  height: 24px;
  display: block;
  flex: 0 0 auto;
}
.floating-whatsapp-icon .dc-whatsapp-svg { width: 27px; height: 27px; }
.topbar-whatsapp .dc-whatsapp-svg { width: 18px; height: 18px; }
.location-detail-icon .dc-whatsapp-svg { width: 20px; height: 20px; }

/* v33 — correções do menu mobile */
@media (max-width: 1050px) {
  :root {
    --mobile-header-height: 86px;
  }

  /* A topbar deve ficar no topo; apenas o header fica abaixo dela. */
  body.menu-open .site-topbar {
    top: 0 !important;
    transform: none !important;
    z-index: 1040;
  }

  body.menu-open .site-header,
  body.menu-open .site-header.is-scrolled {
    top: var(--topbar-height) !important;
    transform: none !important;
    z-index: 1030;
  }

  .mobile-menu {
    z-index: 1020;
    padding: calc(var(--topbar-height) + var(--mobile-header-height) + 18px) 24px 28px;
    background: #10182b;
  }

  .mobile-menu nav {
    width: min(100%, 720px);
    margin: 0 auto;
  }

  .mobile-menu nav > a,
  .mobile-nav-group {
    border-bottom: 1px solid rgba(255,255,255,.09);
  }

  .mobile-menu nav a {
    font-size: clamp(1.16rem, 4.4vw, 1.5rem);
    line-height: 1.22;
    padding: 14px 4px;
  }

  .mobile-nav-parent-row {
    min-height: 58px;
  }

  .mobile-nav-parent-row > a {
    padding: 14px 4px;
  }

  .mobile-submenu-toggle {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    margin-left: 8px;
    border-radius: 12px;
  }

  .mobile-menu .mobile-submenu {
    padding-left: 14px;
  }

  .mobile-menu .mobile-submenu a {
    font-size: .96rem;
    line-height: 1.35;
    padding: 11px 6px;
    color: rgba(255,255,255,.78);
  }

  .mobile-menu-foot {
    width: min(100%, 720px);
    margin: auto auto 0;
    padding-top: 24px;
  }
}

@media (max-width: 720px) {
  :root {
    --mobile-header-height: 68px;
  }

  .mobile-menu {
    padding: calc(var(--topbar-height) + var(--mobile-header-height) + 14px) 18px 22px;
  }

  .mobile-menu nav a {
    font-size: 1.12rem;
    padding-block: 12px;
  }

  .mobile-nav-parent-row {
    min-height: 54px;
  }
}

@media (max-width: 420px), (max-width: 1050px) and (max-height: 620px) {
  .mobile-menu {
    padding-top: calc(var(--topbar-height) + var(--mobile-header-height) + 12px) !important;
  }
}

/* v33 — WhatsApp no estilo da referência: etiqueta escura + botão verde separado */
.floating-whatsapp {
  right: 22px;
  bottom: 22px;
  min-height: 0;
  padding: 0;
  gap: 10px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  background: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

.floating-whatsapp-text {
  order: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 11px;
  background: #111827;
  color: #fff;
  box-shadow: 0 8px 22px rgba(15,23,42,.20);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.floating-whatsapp-icon {
  order: 2;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(145deg, #3ed978, #22c55e);
  border: 3px solid rgba(255,255,255,.72);
  box-shadow:
    0 0 0 4px rgba(34,197,94,.16),
    0 12px 28px rgba(34,197,94,.30),
    0 8px 22px rgba(15,23,42,.14);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.floating-whatsapp:hover .floating-whatsapp-icon,
.floating-whatsapp:focus-visible .floating-whatsapp-icon {
  transform: scale(1.04);
  background: linear-gradient(145deg, #45e27f, #20b957);
  box-shadow:
    0 0 0 5px rgba(34,197,94,.18),
    0 16px 32px rgba(34,197,94,.34),
    0 10px 24px rgba(15,23,42,.16);
}

.floating-whatsapp-icon .dc-whatsapp-svg {
  width: 33px;
  height: 33px;
}

@media (max-width: 720px) {
  .floating-whatsapp {
    right: 14px;
    bottom: 16px;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    justify-content: flex-end;
    gap: 8px;
  }

  .floating-whatsapp-text {
    display: inline-flex;
    min-height: 31px;
    padding: 7px 11px;
    border-radius: 10px;
    font-size: .72rem;
  }

  .floating-whatsapp-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .floating-whatsapp-icon .dc-whatsapp-svg {
    width: 30px;
    height: 30px;
  }
}

/* v34 — ícone oficial-like do WhatsApp local, no padrão DC-SISTEMAS-V1 */
.floating-whatsapp-icon {
  position: relative;
  overflow: visible;
  color: #fff;
}

.floating-whatsapp-icon img {
  display: block;
  width: 35px;
  height: 35px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.08));
}

.floating-whatsapp-icon::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 22px;
  border: 1px solid rgba(34, 197, 94, .28);
  opacity: .8;
  animation: dcWhatsappPulse 2.4s ease-out infinite;
  pointer-events: none;
}

.topbar-whatsapp img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.location-detail-icon img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

@keyframes dcWhatsappPulse {
  0% { transform: scale(.92); opacity: .55; }
  65% { transform: scale(1.16); opacity: 0; }
  100% { transform: scale(1.16); opacity: 0; }
}

@media (max-width: 720px) {
  .floating-whatsapp-icon img {
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp-icon::before {
    animation: none;
  }
}


/* v36 — etiqueta "WhatsApp" aparece somente ao passar o mouse/foco */
.floating-whatsapp-text {
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px) scale(.96);
  pointer-events: none;
  transition:
    opacity .18s ease,
    visibility .18s ease,
    transform .18s ease;
}

.floating-whatsapp:hover .floating-whatsapp-text,
.floating-whatsapp:focus-visible .floating-whatsapp-text,
.floating-whatsapp:focus-within .floating-whatsapp-text {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}

@media (max-width: 720px) {
  .floating-whatsapp-text,
  .floating-whatsapp:hover .floating-whatsapp-text,
  .floating-whatsapp:focus-visible .floating-whatsapp-text,
  .floating-whatsapp:focus-within .floating-whatsapp-text {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp-text {
    transition: none;
  }
}
