@charset "UTF-8";
:root {
  /* Exact Logo Palette */
  --brand-orange: #F36622;
  --brand-orange-light: #FF8547;
  --brand-red: #D8262E;
  --brand-wine: #7A1228;
  --brand-wine-deep: #500A19;
  --brand-wine-darkest: #380510;
  --brand-charcoal: #3D3635;
  --brand-muted: #6A6260;
  --brand-paper: #FAF6F4;
  --brand-line: #E8DEDA;
  --brand-border-warm: #EADBCE;
  --brand-badge-bg: #FFF3ED;
  --brand-badge-border: #FCDFD2;
  --brand-white: #ffffff;
  
  /* Luminous Logo Gradients */
  --brand-gradient: linear-gradient(135deg, #F36622 0%, #D8262E 50%, #7A1228 100%);
  --brand-gradient-hover: linear-gradient(135deg, #FF7B38 0%, #E6353D 50%, #8F1832 100%);
  --brand-gradient-accent: linear-gradient(90deg, #F36622, #7A1228);
  --brand-light-surface: linear-gradient(135deg, #FFFFFF 0%, #FBF6F3 100%);
  
  /* System aliases */
  --navy: #7A1228;
  --navy-deep: #500A19;
  --gold: #F36622;
  --gold-light: #FFE0D3;
  --ink: #3D3635;
  --muted: #6A6260;
  --paper: #FAF6F4;
  --line: #E8DEDA;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}

.oficio-site {
  margin: 0;
  color: var(--brand-charcoal);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.oficio-site img {
  max-width: 100%;
}

.oficio-site * {
  box-sizing: border-box;
}

.oficio-site a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.oficio-site a:hover {
  color: var(--brand-orange);
}

.oficio-site :focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 4px;
}

.oficio-site h1,
.oficio-site h2,
.oficio-site h3,
.oficio-site h4,
.oficio-site p {
  margin-top: 0;
  overflow-wrap: break-word;
}

.oficio-site h1,
.oficio-site h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -1.4px;
  line-height: 1.15;
  color: var(--brand-charcoal);
}

.oficio-site h1 {
  font-size: clamp(38px, 4.2vw, 60px);
}

.oficio-site h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.oficio-site h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.4px;
}

.site-container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.oficio-skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 10000;
  padding: 12px 20px;
  background: #ffffff;
  color: var(--brand-wine);
  font-weight: 600;
  border: 2px solid var(--brand-orange);
}

.oficio-skip:focus {
  top: 12px;
}

/* 1. Utility Top Bar — Dynamic Logo Gradient (#7A1228 -> #D8262E -> #F36622) */
.utility-bar {
  background: linear-gradient(90deg, #620B1D 0%, #7A1228 22%, #B51E28 50%, #E6381E 78%, #F36622 100%);
  color: #FFFFFF;
  font-size: 12.5px;
  letter-spacing: 0.3px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 2px 10px rgba(122, 18, 40, 0.18);
  position: relative;
  z-index: 95;
}

.utility-bar .site-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 6px;
}

.utility-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  text-align: center;
}

.utility-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #FFF2EC;
  white-space: nowrap;
}

.utility-sep {
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  user-select: none;
}

.utility-hours {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
  white-space: nowrap;
}

.utility-hours strong {
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  color: #FFFFFF;
  margin-left: 4px;
}

.utility-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.utility-bar a {
  color: #FFFFFF;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.utility-bar a:hover {
  text-decoration: none;
  color: #FFFFFF;
  opacity: 0.95;
}

/* Botão de Instagram no Topo */
.utility-social-btn.utility-insta-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.38);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #FFFFFF;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.utility-social-btn.utility-insta-btn:hover {
  background: #FFFFFF;
  color: #7A1228 !important;
  border-color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
}

.utility-social-btn.utility-insta-btn:hover .utility-insta-svg {
  color: #E1306C;
}

.utility-insta-svg {
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.utility-insta-user {
  font-weight: 700;
}

.utility-transp {
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
  color: #FFFFFF !important;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.utility-transp:hover {
  background: rgba(0, 0, 0, 0.38);
  border-color: rgba(255, 255, 255, 0.7);
  text-decoration: none !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}


/* Header & Brand */
.oficio-header {
  background: #FFFFFF;
  border-bottom: 2px solid #F0DFD5;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 4px 18px rgba(122, 18, 40, 0.05);
}

.admin-bar .oficio-header {
  top: 32px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 98px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 175px;
  height: auto;
  object-fit: contain;
}

.brand-tagline {
  border-left: 1.5px solid #ECDCD2;
  padding-left: 16px;
  font-size: 9px;
  letter-spacing: 1px;
  line-height: 1.8;
  color: var(--brand-muted);
  font-weight: 600;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.primary-navigation a {
  color: var(--brand-charcoal);
  transition: color 0.2s ease;
}

.primary-navigation a:hover {
  color: var(--brand-orange);
}

.primary-navigation a[aria-current="page"] {
  color: var(--brand-orange);
  position: relative;
  font-weight: 700;
}

.primary-navigation a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

.primary-navigation .menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-navigation .menu a {
  display: block;
}

.primary-navigation .current-menu-item > a {
  color: var(--brand-orange);
}

/* Base Buttons */
.button,
.oficio-site a.button,
.oficio-site .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brand-gradient);
  color: #ffffff !important;
  border: none;
  padding: 15px 26px;
  border-radius: 6px;
  font: 700 14px/1.4 Arial, Helvetica, sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 14px rgba(243, 102, 34, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  text-decoration: none !important;
}

.button:hover,
.oficio-site a.button:hover,
.oficio-site .button:hover {
  background: var(--brand-gradient-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 102, 34, 0.4);
}

.oficio-site .button-small,
.button-small {
  padding: 10px 18px;
  font-size: 13px;
  gap: 8px;
}

/* Solid Wine Button — Dignified & High Contrast */
.oficio-site .button.button-wine,
.oficio-site a.button.button-wine,
.oficio-site a.button-wine,
.oficio-site .button-wine,
a.button-wine,
.button-wine {
  background: var(--brand-wine) !important;
  color: #ffffff !important;
  border: 2px solid var(--brand-wine) !important;
  box-shadow: 0 4px 14px rgba(122, 18, 40, 0.24) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  font-weight: 700 !important;
}

.oficio-site .button.button-wine:hover,
.oficio-site a.button.button-wine:hover,
.oficio-site a.button-wine:hover,
.oficio-site .button-wine:hover,
a.button-wine:hover,
.button-wine:hover {
  background: linear-gradient(135deg, #8E1530 0%, #500A19 100%) !important;
  color: #ffffff !important;
  border-color: #8E1530 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(122, 18, 40, 0.38) !important;
}

/* Outline Button — Tinted Warm Background with Bold Wine Border (NEVER appears blank or invisible) */
.oficio-site a.button.button-outline,
.oficio-site .button.button-outline,
.oficio-site a.button-outline,
.oficio-site .button-outline,
a.button-outline,
.button-outline {
  background: #FFF4EE !important;
  color: #7A1228 !important;
  border: 2px solid #7A1228 !important;
  box-shadow: 0 3px 10px rgba(122, 18, 40, 0.12) !important;
  text-shadow: none !important;
  font-weight: 700 !important;
}

.oficio-site a.button.button-outline:hover,
.oficio-site .button.button-outline:hover,
.oficio-site a.button-outline:hover,
.oficio-site .button-outline:hover,
a.button-outline:hover,
.button-outline:hover {
  background: var(--brand-gradient) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(243, 102, 34, 0.35) !important;
  transform: translateY(-2px) !important;
}

/* Distinct Citizen Button — Bold Orange/Wine Gradient */
.oficio-site .button.button-citizen,
.oficio-site a.button.button-citizen,
.oficio-site a.button-citizen,
.oficio-site .button-citizen,
a.button-citizen,
.button-citizen {
  background: var(--brand-gradient) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(243, 102, 34, 0.35) !important;
  font-weight: 700 !important;
}

.oficio-site .button.button-citizen:hover,
.oficio-site a.button.button-citizen:hover,
.oficio-site a.button-citizen:hover,
.oficio-site .button-citizen:hover,
a.button-citizen:hover,
.button-citizen:hover {
  background: var(--brand-gradient-hover) !important;
  box-shadow: 0 6px 22px rgba(243, 102, 34, 0.48) !important;
  color: #ffffff !important;
}

/* Cartório CRC Button — High-Contrast Tinted Surface with Solid Wine Border */
.oficio-site a.button.button-cartorio,
.oficio-site .button.button-cartorio,
.oficio-site a.button-cartorio,
.oficio-site .button-cartorio,
a.button-cartorio,
.button-cartorio {
  background: #FFF4EE !important;
  color: #7A1228 !important;
  border: 2px solid #7A1228 !important;
  box-shadow: 0 3px 10px rgba(122, 18, 40, 0.12) !important;
  text-shadow: none !important;
  font-weight: 700 !important;
}

.oficio-site a.button.button-cartorio:hover,
.oficio-site .button.button-cartorio:hover,
.oficio-site a.button-cartorio:hover,
.oficio-site .button-cartorio:hover,
a.button-cartorio:hover,
.button-cartorio:hover {
  background: #7A1228 !important;
  color: #ffffff !important;
  border-color: #7A1228 !important;
  box-shadow: 0 6px 18px rgba(122, 18, 40, 0.3) !important;
  transform: translateY(-2px) !important;
}

/* Download PDF Button — Tinted Warm Surface with Solid Wine Border */
.oficio-site a.button.button-download,
.oficio-site .button.button-download,
.oficio-site a.button-download,
.oficio-site .button-download,
a.button-download,
.button-download {
  background: #FFF4EE !important;
  color: #7A1228 !important;
  border: 2px solid #7A1228 !important;
  box-shadow: 0 3px 10px rgba(122, 18, 40, 0.12) !important;
  text-shadow: none !important;
  font-weight: 700 !important;
}

.oficio-site a.button.button-download:hover,
.oficio-site .button.button-download:hover,
.oficio-site a.button-download:hover,
.oficio-site .button-download:hover,
a.button-download:hover,
.button-download:hover {
  background: var(--brand-gradient) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(243, 102, 34, 0.35) !important;
  transform: translateY(-2px) !important;
}

.menu-toggle {
  display: none;
}

/* Home Hero */
.home-hero {
  background: var(--brand-paper);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 65px;
  align-items: center;
  padding-block: 65px;
}

.hero-copy h1 {
  max-width: 600px;
  margin-bottom: 22px;
}

.eyebrow {
  font: 700 11px/1.6 Arial, sans-serif;
  letter-spacing: 2px;
  color: var(--brand-orange);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-block;
  background: var(--brand-gradient-accent);
  width: 24px;
  height: 2px;
  border-radius: 1px;
}

.hero-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--brand-muted);
  max-width: 480px;
  margin-bottom: 28px;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.text-link {
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--brand-wine);
  text-decoration: underline;
  text-decoration-color: var(--brand-orange);
  text-underline-offset: 4px;
  transition: all 0.2s ease;
}

.text-link:hover {
  color: var(--brand-orange);
  text-decoration-color: var(--brand-wine);
  transform: translateX(2px);
}

.button-row .text-link {
  background: #FFF4EE;
  border: 2px solid #7A1228;
  color: #7A1228;
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(122, 18, 40, 0.1);
}

.button-row .text-link:hover {
  background: #7A1228;
  border-color: #7A1228;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(122, 18, 40, 0.25);
}

.hero-note {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--brand-muted);
  font-size: 12px;
  margin-top: 32px;
}

.hero-note > span:first-child {
  font-size: 28px;
  color: var(--brand-orange);
}

.hero-note strong {
  display: block;
  color: var(--brand-charcoal);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 460px;
  background: var(--brand-wine);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(122, 18, 40, 0.14);
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(0deg, rgba(35, 6, 12, 0.9) 0%, rgba(35, 6, 12, 0.35) 45%, rgba(0, 0, 0, 0.04) 100%), url('../../../uploads/fotos-cartorio/fachada-equipe-cartorio.jpeg');
  background-size: cover;
  background-position: center 30%;
  transition: transform 0.4s ease;
}

.hero-visual:hover .hero-photo {
  transform: scale(1.02);
}

.visual-caption {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  color: #ffffff;
}

.visual-caption > span {
  font-size: 10px;
  letter-spacing: 2px;
  color: #FFE0C9;
  font-weight: 700;
}

.visual-caption strong {
  display: block;
  font: 34px/1.2 Georgia, serif;
  letter-spacing: -0.6px;
  margin: 12px 0 20px;
  color: #ffffff;
}

.visual-caption a {
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  max-width: 290px;
  color: #ffffff;
  font-weight: 600;
}

.visual-caption a:hover {
  color: #FFE0C9;
}

.hero-index {
  position: absolute;
  top: 22px;
  right: 22px;
  color: #ffffff;
  font-size: 10px;
  letter-spacing: 2px;
  background: rgba(80, 10, 25, 0.85);
  padding: 8px 14px;
  border-radius: 3px;
  font-weight: 700;
}

/* Quick Access Floating Section */
.quick-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(122, 18, 40, 0.06);
  margin-block: 20px 35px;
  overflow: hidden;
}

.quick-section > a {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 26px;
  border-right: 1.5px solid #F0DFD5;
  transition: background 0.2s ease, transform 0.2s ease;
}

.quick-section > a:hover {
  background: #FFFBF9;
}

.quick-section > a:first-child {
  padding-left: 24px;
}

.quick-section > a:last-child {
  border-right: none;
}

.quick-section > a > span:last-child {
  margin-left: auto;
  font-size: 18px;
  color: var(--brand-orange);
  transition: transform 0.2s ease;
}

.quick-section > a:hover > span:last-child {
  transform: translateX(3px);
}

.quick-section strong {
  display: block;
  font-size: 14.5px;
  color: var(--brand-charcoal);
  font-weight: 700;
}

.quick-section small {
  display: block;
  color: var(--brand-muted);
  font-size: 12px;
  margin-top: 3px;
}

.quick-icon {
  font-size: 26px;
  color: var(--brand-orange);
  flex-shrink: 0;
}

/* Section Headings */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 35px;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--brand-wine);
  font-family: Georgia, 'Times New Roman', serif;
}

.section-heading > p {
  color: var(--brand-muted);
  font-size: 15px;
  margin-bottom: 5px;
}

/* 2. Service Grid & Sector Cards — Premium Branded Borders & Logo Gradient Top Accent */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px;
  border: 2px solid #EBD8CC;
  border-radius: 10px;
  background: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  min-height: 290px;
  box-shadow: 0 4px 18px rgba(122, 18, 40, 0.05);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #F36622 0%, #D8262E 50%, #7A1228 100%);
  transition: height 0.2s ease;
}

.service-card:hover {
  background: #FFFDFB;
  transform: translateY(-6px);
  border-color: var(--brand-orange);
  box-shadow: 0 14px 32px rgba(243, 102, 34, 0.18);
}

.service-card:hover::before {
  height: 6px;
}

.service-number {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--brand-wine);
  background: linear-gradient(135deg, #FFF4EF 0%, #FFE9DE 100%);
  border: 1.5px solid #F9D0BC;
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
}

.service-card h3 {
  margin-top: 18px;
  margin-bottom: 12px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  min-height: 54px;
  color: var(--brand-wine);
}

.service-card p {
  color: var(--brand-muted);
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 0;
}

.card-link {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1.5px solid #F6EDE7;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--brand-orange);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.service-card:hover .card-link {
  color: var(--brand-wine);
  padding-left: 4px;
}

/* Certificate Band — Luminous, Clean & Logo-Matched */
.certificate-band-light {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFBF9 50%, #FAF3EF 100%);
  border-top: 4px solid var(--brand-orange);
  border-bottom: 2px solid #EBD8CC;
  padding-block: 70px;
}

.certificate-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 75px;
  align-items: center;
}

.certificate-band-light h2 {
  color: var(--brand-wine);
  font-size: clamp(28px, 3vw, 42px);
}

.certificate-band-light .eyebrow {
  color: var(--brand-orange);
}

.certificate-band-light p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.8;
  color: var(--brand-muted);
}

.certificate-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.certificate-list {
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-top: 5px solid var(--brand-orange);
  border-radius: 10px;
  padding: 30px 32px;
  box-shadow: 0 8px 24px rgba(122, 18, 40, 0.06);
}

.cert-list-title {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--brand-orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.certificate-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #F5ECE6;
  padding: 16px 0;
  color: var(--brand-charcoal);
  font-size: 15px;
  font-weight: 600;
  transition: padding-left 0.2s ease, color 0.2s ease;
}

.certificate-list a:first-of-type {
  border-top: 1px solid #F5ECE6;
}

.cert-link-label {
  color: var(--brand-wine);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.certificate-list a:hover {
  color: var(--brand-orange);
  padding-left: 6px;
}

.certificate-list a:hover .cert-link-label {
  color: var(--brand-orange);
}

/* Institutional Section */
.institutional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.institutional-grid > div > p:not(.eyebrow) {
  color: var(--brand-muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.institutional-links > a {
  display: flex;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1.5px solid #ECDCD2;
  align-items: center;
  transition: padding-left 0.2s ease;
}

.institutional-links > a:hover {
  padding-left: 6px;
}

.institutional-links > a > span {
  color: var(--brand-orange);
  font-size: 13px;
  font-weight: 800;
}

.institutional-links h3 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--brand-charcoal);
  transition: color 0.2s ease;
}

.institutional-links > a:hover h3 {
  color: var(--brand-wine);
}

.institutional-links p {
  font-size: 13px;
  margin: 0;
  color: var(--brand-muted);
}

.institutional-links b {
  margin-left: auto;
  font-weight: 400;
  font-size: 18px;
  color: var(--brand-orange);
}

/* Contact Banner */
.contact-banner {
  background: linear-gradient(135deg, #FFFBF9 0%, #FFF4ED 100%);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 80px;
  border: 2px solid #EBD8CC;
  border-left: 6px solid var(--brand-orange);
  border-radius: 8px;
  box-shadow: 0 6px 22px rgba(122, 18, 40, 0.05);
}

.contact-banner h2 {
  font-size: 30px;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
  color: var(--brand-wine);
  font-family: Georgia, 'Times New Roman', serif;
}

.contact-banner .eyebrow {
  margin-bottom: 12px;
}

.contact-banner p:last-child {
  margin-bottom: 0;
  font-size: 14.5px;
  color: var(--brand-muted);
}

.contact-banner .button {
  flex-shrink: 0;
}

/* Footer — Refined Logo Wine with Orange Accent Line */
.oficio-footer {
  background: #4A0816;
  color: #F8E5DF;
  padding-top: 65px;
  font-size: 13px;
  border-top: 5px solid var(--brand-orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 0.8fr;
  gap: 45px;
  padding-bottom: 45px;
}

.footer-brand {
  display: block;
  color: #ffffff !important;
  font: 19px/1.4 Georgia, serif;
  margin-bottom: 16px;
}

.footer-brand strong {
  display: block;
  font-weight: 400;
  font-size: 32px;
}

.footer-grid h2 {
  font: 700 12px Arial, sans-serif;
  letter-spacing: 1px;
  color: #FFD5C4;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  margin-bottom: 10px;
  color: #F8E5DF;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-grid a:not(.footer-brand):hover {
  color: #FFD5C4;
  padding-left: 4px;
}

.footer-grid p {
  font-size: 13px;
  line-height: 1.8;
  color: #F3DDD6;
}

.footer-grid .footer-small {
  font-size: 11px;
  color: #E2BCB2;
  margin-top: 15px;
}

.footer-contact {
  color: #FFD5C4 !important;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  padding-block: 22px;
  font-size: 12px;
  gap: 20px;
  color: #E2BCB2;
}

.footer-bottom > div {
  display: flex;
  gap: 24px;
}

.footer-bottom a {
  color: #E2BCB2;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Centered Developer / Creator Credit (Discreet & Small) */
.footer-creator-bar {
  background: #2D050D;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 10px 12px;
  text-align: center;
}

.creator-mini-text {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  letter-spacing: 0.3px;
}

.creator-mini-text strong {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.creator-mini-text a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.creator-mini-text a:hover {
  color: #ffffff;
}

/* Tabeliã Interina Dra. Nathália Gabrielle Profile Card */
.tabelia-profile-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-radius: 12px;
  padding: 44px 40px;
  box-shadow: 0 6px 26px rgba(122, 18, 40, 0.06);
  overflow: hidden;
  margin-bottom: 30px;
}

.tabelia-profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #F36622 0%, #D8262E 50%, #7A1228 100%);
}

.tabelia-presentation-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 46px;
  align-items: start;
}

.tabelia-photo-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.posse-photo-card {
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(122, 18, 40, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.posse-photo-card:hover {
  box-shadow: 0 12px 34px rgba(122, 18, 40, 0.13);
}

.posse-photo-frame {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #2D050D;
}

.posse-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform 0.4s ease;
}

.posse-photo-card:hover .posse-photo-img {
  transform: scale(1.03);
}

.posse-photo-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(243, 102, 34, 0.95) 0%, rgba(122, 18, 40, 0.95) 100%);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-align: center;
  padding: 7px 10px;
  text-transform: uppercase;
}

.posse-photo-caption {
  padding: 18px 20px 14px;
  background: #FFFDFB;
  border-bottom: 1.5px solid #F0DFD5;
}

.posse-photo-caption h4 {
  font-family: Georgia, serif;
  font-size: 16px;
  color: var(--brand-wine);
  margin-bottom: 6px;
}

.posse-photo-caption p {
  font-size: 13px;
  color: #4A4A4A;
  line-height: 1.6;
  margin: 0;
}

.posse-credentials-box {
  padding: 16px 20px;
  background: #FFF4EF;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cred-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cred-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--brand-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cred-val {
  font-size: 13px;
  color: var(--brand-wine);
  font-weight: 600;
  line-height: 1.4;
}

.tabelia-main-content {
  display: flex;
  flex-direction: column;
}

.tabelia-badge-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tabelia-badge {
  display: inline-block;
  background: linear-gradient(135deg, #F36622 0%, #D8262E 55%, #7A1228 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(243, 102, 34, 0.25);
}

.tabelia-comarca {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-wine);
  background: #FFF4EF;
  border: 1.5px solid #F9D0BC;
  padding: 4px 12px;
  border-radius: 20px;
}

.tabelia-posse-tag {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-orange) 0%, #D8262E 100%);
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(243, 102, 34, 0.25);
}

.tabelia-mucajai-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-wine);
  background: #F4EAE3;
  border: 1.5px solid #D6C2B6;
  padding: 4px 12px;
  border-radius: 20px;
}

.tabelia-main-content h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 3.2vw, 40px);
  color: var(--brand-wine);
  margin-top: 6px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.tabelia-role {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-orange);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tabelia-quote-box {
  background: #FAF4EE;
  border-left: 4px solid var(--brand-orange);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin: 18px 0 22px;
}

.tabelia-quote-box p {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 15.5px;
  color: var(--brand-wine);
  line-height: 1.65;
  margin: 0 0 8px;
}

.tabelia-quote-box cite {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-orange);
  display: block;
  font-style: normal;
}

/* Linha do Tempo e Marcos de Carreira da Titular */
.tabelia-milestones {
  margin: 22px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tabelia-milestone-item {
  display: flex;
  gap: 16px;
  background: #FFFBF9;
  border: 1.5px solid #F0DFD5;
  border-left: 4px solid var(--brand-orange);
  border-radius: 8px;
  padding: 14px 18px;
  align-items: flex-start;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tabelia-milestone-item:hover {
  transform: translateX(4px);
  border-left-color: var(--brand-wine);
}

.milestone-year-pill {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  background: var(--brand-wine);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  margin-top: 2px;
}

.milestone-year-pill.is-highlight {
  background: linear-gradient(135deg, var(--brand-orange) 0%, #D8262E 100%);
}

.milestone-content h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--brand-wine);
  margin: 0 0 4px;
}

.milestone-content p {
  font-size: 13.5px;
  color: #4A4A4A;
  line-height: 1.6;
  margin: 0;
}

.tabelia-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1.5px solid #F0DFD5;
}

.pillar-box {
  background: #FFFBF9;
  border: 1.5px solid #EBD8CC;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pillar-box:hover {
  transform: translateY(-2px);
  border-color: var(--brand-orange);
}

.pillar-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-box h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--brand-wine);
  margin-bottom: 4px;
}

.pillar-box p {
  font-size: 12.5px;
  color: var(--brand-muted);
  line-height: 1.6;
  margin: 0;
}

.tabelia-bio p {
  font-size: 15px;
  color: var(--brand-charcoal);
  line-height: 1.8;
  margin-bottom: 18px;
}

.tabelia-admin-note {
  background: #FFF4EF;
  border-left: 4px solid var(--brand-orange);
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  font-size: 14px !important;
  color: var(--brand-wine) !important;
  margin-top: 20px;
}

.tabelia-admin-note a {
  color: var(--brand-wine);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.tabelia-admin-note a:hover {
  color: var(--brand-orange);
}

.tabelia-sectors-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tabelia-sectors-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--brand-charcoal);
}

.tabelia-sectors-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--brand-orange);
  font-weight: 800;
}

.tabelia-sectors-list strong {
  color: var(--brand-wine);
}

.tabelia-highlights {
  background: #FFFBF9;
  border: 2px solid #EBD8CC;
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.highlight-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-item h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--brand-wine);
  margin-bottom: 4px;
}

.highlight-item p {
  font-size: 12.5px;
  color: var(--brand-muted);
  line-height: 1.6;
  margin: 0;
}

/* Ambiente Local & Sede do Cartório ("O Quadrado com as Imagens do Cartório") */
.ambiente-section {
  padding-top: 40px;
}

/* Destaque Principal: Fachada e Equipe */
.ambiente-hero-card {
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(122, 18, 40, 0.08);
  margin-bottom: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ambiente-hero-card:hover {
  box-shadow: 0 12px 36px rgba(122, 18, 40, 0.12);
}

.ambiente-hero-header {
  padding: 28px 36px 20px;
  background: #ffffff;
  border-bottom: 1.5px solid #F0DFD5;
}

.ambiente-hero-header h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--brand-charcoal);
  margin-top: 6px;
  margin-bottom: 6px;
  line-height: 1.25;
}

.ambiente-hero-location {
  font-size: 14.5px;
  color: var(--brand-wine);
  font-weight: 600;
  margin: 0;
}

.ambiente-hero-photo-wrap {
  position: relative;
  width: 100%;
  background: #F9EFE8;
  padding: 30px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ambiente-hero-photo-link {
  position: relative;
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(122, 18, 40, 0.16);
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ambiente-hero-photo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(122, 18, 40, 0.22);
}

.ambiente-hero-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.ambiente-hero-photo-link:hover .ambiente-hero-img {
  transform: scale(1.015);
}

.photo-zoom-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(35, 6, 12, 0.82);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.ambiente-photo-caption-bar {
  padding: 12px 28px;
  background: #FFF7F2;
  border-top: 1px solid #F0DFD5;
  font-size: 13.5px;
  color: #6A6260;
  text-align: center;
  font-style: italic;
}

.photo-badge {
  display: inline-block;
  background: var(--brand-orange);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ambiente-hero-desc {
  padding: 30px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #FFFDFB;
  border-top: 1.5px solid #F0DFD5;
}

.ambiente-hero-text h4 {
  font-family: Georgia, serif;
  font-size: 20px;
  color: var(--brand-wine);
  margin-bottom: 8px;
}

.ambiente-hero-text p {
  font-size: 15px;
  color: #4A4A4A;
  line-height: 1.75;
  margin: 0;
}

.ambiente-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ambiente-pill {
  background: #FFF4EF;
  border: 1.5px solid #F9D0BC;
  color: var(--brand-wine);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

/* Galeria de Ambientes e Setores do Cartório */
.ambiente-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.ambiente-sector-card {
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(122, 18, 40, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ambiente-sector-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-orange);
  box-shadow: 0 12px 30px rgba(122, 18, 40, 0.12);
}

.sector-card-media-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #2D050D;
}

.sector-card-media-btn {
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  margin: 0;
  background: none;
  display: block;
  position: relative;
  cursor: zoom-in;
  text-align: left;
}

.sector-card-media-btn img,
.sector-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ambiente-sector-card:hover .sector-card-media-btn img,
.ambiente-sector-card:hover .sector-card-media img {
  transform: scale(1.04);
}

.sector-zoom-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(35, 6, 12, 0.82);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.ambiente-sector-card:hover .sector-zoom-pill {
  opacity: 1;
  transform: translateY(-2px);
  background: var(--brand-orange);
}

.sector-media-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(28, 4, 8, 0.88);
  backdrop-filter: blur(4px);
  color: #FFF0E8;
  border: 1px solid rgba(243, 102, 34, 0.6);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
}

.sector-badge-wedding {
  background: rgba(122, 18, 40, 0.92);
  border-color: #D8262E;
  color: #ffffff;
}

/* Carrossel de Ambientes e Setores */
.ambiente-carousel-container {
  margin-top: 10px;
  margin-bottom: 36px;
}

.ambiente-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ambiente-carousel-intro {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ambiente-zoom-tip {
  font-size: 13px;
  color: var(--brand-wine);
  font-weight: 600;
}

.ambiente-carousel-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ambiente-nav-btn {
  background: #ffffff;
  border: 1.5px solid #EBD8CC;
  color: var(--brand-wine);
  font-size: 26px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(122, 18, 40, 0.08);
}

.ambiente-nav-btn:hover:not(:disabled) {
  background: var(--brand-wine);
  color: #ffffff;
  border-color: var(--brand-wine);
  transform: scale(1.05);
}

.ambiente-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.ambiente-carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 12px;
  padding: 4px;
}

.ambiente-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.ambiente-slide-item {
  flex: 0 0 calc((100% - 24px) / 2);
  min-width: 0;
  display: flex;
}

.ambiente-slide-item .ambiente-sector-card {
  width: 100%;
}

.ambiente-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.ambiente-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #D8C4B8;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ambiente-dot.active {
  width: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7A1228, #F36622);
}

/* ==========================================================================
   LIGHTBOX OFICIAL DO CARTÓRIO (TELA CHEIA SEM CORTES)
   ========================================================================== */
.oficio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.oficio-lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 3, 7, 0.94);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px;
  box-sizing: border-box;
  outline: none;
}

.lightbox-header {
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.lightbox-counter {
  font-size: 13px;
  font-weight: 800;
  color: #F36622;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  transform: rotate(90deg) scale(1.05);
}

.lightbox-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.lightbox-nav-btn {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  user-select: none;
}

.lightbox-nav-btn:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  transform: scale(1.08);
}

.lightbox-figure-wrap {
  max-height: 68vh;
  max-width: 900px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.55);
  background: #1A0408;
}

.lightbox-img {
  max-width: 100%;
  max-height: 68vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
}

.lightbox-caption {
  margin-top: 14px;
  text-align: center;
  color: #ffffff;
  max-width: 820px;
}

.lightbox-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 4px;
  font-weight: 600;
}

.lightbox-desc {
  font-size: 13.5px;
  color: #FFD9C8;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 850px) {
  .ambiente-slide-item {
    flex: 0 0 100%;
  }

  .ambiente-carousel-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .ambiente-carousel-nav {
    align-self: flex-end;
  }
}

@media (max-width: 650px) {
  .lightbox-dialog {
    padding: 12px 10px;
  }

  .lightbox-stage {
    gap: 0;
  }

  .lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    font-size: 26px;
    background: rgba(18, 3, 7, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.4);
  }

  .lightbox-nav-btn.lightbox-prev {
    left: 8px;
  }

  .lightbox-nav-btn.lightbox-next {
    right: 8px;
  }

  .lightbox-figure-wrap {
    max-height: 62vh;
  }

  .lightbox-img {
    max-height: 62vh;
  }
}

.sector-card-content {
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sector-card-header {
  margin-bottom: 12px;
}

.sector-card-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.sector-card-header h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 21px;
  color: var(--brand-wine);
  margin: 0;
  line-height: 1.3;
}

.sector-card-desc {
  font-size: 14px;
  color: #4A4A4A;
  line-height: 1.7;
  margin: 0 0 18px;
  flex: 1;
}

.sector-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid #F0DFD5;
  padding-top: 14px;
}

.sector-card-features span {
  background: #FFF4EF;
  border: 1px solid #F9D0BC;
  color: var(--brand-wine);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.ambiente-actions-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 32px;
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(122, 18, 40, 0.04);
}

/* Missão, Visão e Valores Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-top: 5px solid var(--brand-orange);
  border-radius: 10px;
  padding: 32px 26px;
  box-shadow: 0 4px 18px rgba(122, 18, 40, 0.05);
}

.value-icon-box {
  font-size: 30px;
  margin-bottom: 14px;
}

.value-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  color: var(--brand-wine);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: var(--brand-charcoal);
  line-height: 1.7;
  margin: 0;
}

.value-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.value-points li {
  font-size: 13px;
  color: var(--brand-charcoal);
  line-height: 1.6;
}

.value-points strong {
  color: var(--brand-wine);
}

/* História e Linha do Tempo da Serventia */
.cartorio-history-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-top: 5px solid var(--brand-orange);
  border-radius: 12px;
  padding: 40px 36px;
  box-shadow: 0 6px 26px rgba(122, 18, 40, 0.06);
  margin-bottom: 35px;
}

.history-header {
  border-bottom: 1.5px solid #F0DFD5;
  padding-bottom: 22px;
  margin-bottom: 28px;
}

.history-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.history-badge {
  display: inline-block;
  background: linear-gradient(135deg, #F36622 0%, #D8262E 50%, #7A1228 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 4px;
}

.history-install-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-wine);
  background: #FFF4EF;
  border: 1.5px solid #F9D0BC;
  padding: 4px 12px;
  border-radius: 20px;
}

.history-header h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 2.8vw, 36px);
  color: var(--brand-wine);
  margin-top: 4px;
  margin-bottom: 6px;
}

.history-header p {
  font-size: 14.5px;
  color: var(--brand-muted);
  margin: 0;
}

.history-body-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.history-text p {
  font-size: 14.5px;
  color: var(--brand-charcoal);
  line-height: 1.8;
  margin-bottom: 16px;
}

.official-data-box {
  background: #FFFBF9;
  border: 2px solid #EBD8CC;
  border-radius: 10px;
  padding: 26px;
  box-shadow: 0 4px 16px rgba(122, 18, 40, 0.04);
}

.official-data-box h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-wine);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F0DFD5;
}

.data-table-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.data-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F5EAE4;
}

.data-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.data-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--brand-muted);
}

.data-value {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-charcoal);
}

.data-value strong {
  color: var(--brand-wine);
}

/* Timeline Cards (Grade 2x2 para os 4 marcos históricos) */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 10px;
  align-items: start;
}

.timeline-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-radius: 10px;
  padding: 26px 22px;
  box-shadow: 0 4px 18px rgba(122, 18, 40, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.timeline-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-orange);
}

.timeline-card.is-current {
  border-color: var(--brand-orange);
  background: #FFFDFB;
  box-shadow: 0 6px 24px rgba(243, 102, 34, 0.12);
}

.timeline-card-header {
  margin-bottom: 14px;
}

.timeline-badge-year {
  display: inline-block;
  background: var(--brand-wine);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.timeline-card.is-current .timeline-badge-year {
  background: linear-gradient(135deg, #F36622 0%, #D8262E 60%, #7A1228 100%);
}

.timeline-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  color: var(--brand-wine);
  margin-bottom: 4px;
  line-height: 1.3;
}

.timeline-subtitle {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: block;
}

.timeline-card p {
  font-size: 13.5px;
  color: var(--brand-charcoal);
  line-height: 1.7;
  margin-bottom: 16px;
  flex-grow: 0;
}

.timeline-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #F0DFD5;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-highlights-list li {
  font-size: 12px;
  color: var(--brand-muted);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}

.timeline-highlights-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-orange);
  font-weight: 800;
  font-size: 11px;
}

/* Page Heading — Luminous Top Surface with 3.5px Logo Gradient Bar */
.page-heading {
  padding-block: 45px 55px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFBF9 50%, #FAF3EF 100%);
  border-bottom: 2px solid #ECDCD2;
  position: relative;
}

.page-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #F36622 0%, #D8262E 50%, #7A1228 100%);
}

.page-heading h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 3.8vw, 54px);
  color: var(--brand-wine);
  margin-bottom: 16px;
  letter-spacing: -1.2px;
}

.page-heading p:last-child {
  max-width: 760px;
  color: var(--brand-muted);
  font-size: 16px;
  line-height: 1.75;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 12.5px;
  color: var(--brand-muted);
}

.breadcrumbs a {
  color: var(--brand-wine);
  font-weight: 700;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--brand-orange);
}

/* Contact Details Bar */
.contact-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-block: 35px;
  border-bottom: 1px solid var(--brand-line);
}

.contact-details span {
  color: var(--brand-orange);
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.contact-details h2 {
  font-size: 26px;
  letter-spacing: -0.5px;
  margin-top: 8px;
}

.contact-details p {
  font-size: 14px;
  color: var(--brand-muted);
  margin: 0;
}

/* Content Area */
.original-content {
  padding-block: 45px 70px;
  min-height: 250px;
}

/* Request Layout */
.request-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 75px;
  align-items: start;
}

.request-intro {
  padding-top: 10px;
}

.request-intro h2 {
  font-size: 36px;
  margin-bottom: 18px;
}

.request-intro > p:not(.eyebrow) {
  font-size: 15px;
  color: var(--brand-muted);
  line-height: 1.7;
}

.contact-info-block {
  background: #FFFBF9;
  border: 2px solid #EBD8CC;
  border-left: 5px solid var(--brand-orange);
  border-radius: 8px;
  padding: 24px;
  margin-top: 25px;
  box-shadow: 0 4px 14px rgba(122, 18, 40, 0.04);
}

.contact-info-block strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-wine);
  margin-bottom: 14px;
}

.sector-contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sector-contacts-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid #F3E6DE;
}

.sector-contacts-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sector-badge-mini {
  display: inline-block;
  background: linear-gradient(135deg, #FFF4EF 0%, #FFE7DC 100%);
  color: var(--brand-wine);
  border: 1.5px solid #F9D0BC;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  min-width: 68px;
  text-align: center;
}

.sector-contact-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-grow: 1;
}

.sector-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-wine);
}

.sector-contact-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 3px;
}

.sector-divider {
  display: none;
}

.sector-phone {
  font-size: 13px;
  color: var(--brand-wine);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.sector-phone:hover {
  color: var(--brand-orange);
  text-decoration: underline;
}

.sector-email {
  font-size: 12.5px;
  color: var(--brand-wine);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.sector-email:hover {
  color: var(--brand-orange);
}

.sector-address {
  font-size: 12.5px;
  color: var(--brand-muted);
  line-height: 1.5;
}

.sector-hours {
  font-size: 12px;
  color: var(--brand-orange);
  font-weight: 600;
  margin-top: 2px;
  display: block;
}

.contact-icon {
  font-size: 12px;
  opacity: 0.85;
}

.footer-email {
  font-size: 12.5px;
  color: #E2B9B9;
  margin-top: 8px;
  margin-bottom: 8px;
  line-height: 1.4;
  word-break: break-all;
}

.footer-email a {
  color: #FFD5C4;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-email a:hover {
  color: #FFFFFF;
}

.resume-guidelines {
  background: #FFFBF9;
  border: 2px solid #EBD8CC;
  border-left: 5px solid var(--brand-orange);
  border-radius: 8px;
  padding: 24px;
  margin-top: 25px;
  box-shadow: 0 4px 14px rgba(122, 18, 40, 0.04);
}

.resume-guidelines h3 {
  font-size: 15px;
  color: var(--brand-wine);
  margin-bottom: 12px;
  font-weight: 700;
}

.resume-guidelines ul {
  padding-left: 18px;
  margin: 0;
}

.resume-guidelines li {
  font-size: 13.5px;
  color: var(--brand-charcoal);
  margin-bottom: 10px;
  line-height: 1.6;
}

.form-privacy {
  font-size: 12px !important;
  border-top: 1.5px solid #ECDCD2;
  padding-top: 22px;
  margin-top: 28px;
  color: var(--brand-muted);
}

.form-privacy a {
  text-decoration: underline;
  color: var(--brand-wine);
  font-weight: 700;
}

.form-privacy a:hover {
  color: var(--brand-orange);
}

.request-form > h2 {
  font: 600 24px/1.3 Arial, sans-serif;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--brand-wine);
}

/* 3. Detailed Sector Cards — Enhanced with Branded Orange/Wine Top Border & Accents */
.service-details {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.service-detail-card {
  position: relative;
  border: 2px solid #EBD8CC;
  border-radius: 12px;
  padding: 44px 40px;
  background: #ffffff;
  scroll-margin-top: 125px;
  box-shadow: 0 6px 26px rgba(122, 18, 40, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.service-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #F36622 0%, #D8262E 50%, #7A1228 100%);
}

.service-detail-card:hover {
  border-color: #F8B391;
  box-shadow: 0 10px 34px rgba(243, 102, 34, 0.12);
}

.service-detail-header {
  border-bottom: 1.5px solid #F0DFD5;
  padding-bottom: 26px;
  margin-bottom: 28px;
}

.service-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.service-header-top .service-number {
  background: linear-gradient(135deg, #F36622 0%, #D8262E 55%, #7A1228 100%);
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(243, 102, 34, 0.28);
}

.service-contact-pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-wine);
  background: #FFF4EF;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid #F9D0BC;
}

.service-detail-header h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  margin-top: 8px;
  margin-bottom: 10px;
  color: var(--brand-wine);
}

.service-source {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--brand-orange);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Legal Notice of Inclusion Date */
.legal-date-notice {
  background: linear-gradient(135deg, #FFF9F5 0%, #FFF3EC 100%);
  border: 1.5px solid #F8D3C0;
  border-left: 5px solid var(--brand-orange);
  border-radius: 6px;
  padding: 18px 22px;
  margin-block: 18px;
}

.notice-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--brand-orange);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.legal-date-notice p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--brand-charcoal);
  margin: 0;
}

.service-summary {
  font-size: 15px;
  color: var(--brand-muted);
  line-height: 1.7;
  max-width: 840px;
  margin-top: 15px;
  margin-bottom: 0;
}

/* Service Room Preview */
.service-room-preview {
  margin: 22px 0 10px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid #E8DAD0;
  box-shadow: 0 4px 16px rgba(122, 18, 40, 0.05);
}

.service-room-preview.service-room-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.service-room-preview.service-room-grid-2 .service-room-btn {
  border-radius: 10px;
  border: 1.5px solid #E8DAD0;
  box-shadow: 0 4px 16px rgba(122, 18, 40, 0.05);
}

.service-room-preview.service-room-grid-2 .service-room-btn img {
  height: 240px;
}

@media (max-width: 768px) {
  .service-room-preview.service-room-grid-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.service-room-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: #110508;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.service-room-btn img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.service-room-btn:hover img {
  transform: scale(1.03);
  opacity: 0.94;
}

.room-preview-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #ffffff;
  background: rgba(80, 10, 25, 0.88);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.room-zoom-pill {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-wine);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.service-room-btn:hover .room-zoom-pill {
  transform: scale(1.05);
  background: #ffffff;
  color: var(--brand-orange);
}

/* Sector Subservices Catalog Section */
.sector-subservices-section {
  margin-top: 28px;
  margin-bottom: 34px;
  padding-top: 24px;
  border-top: 1.5px solid #F0DFD5;
}

.sector-subservices-header {
  margin-bottom: 22px;
}

.subservices-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--brand-orange);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sector-subservices-header h3 {
  font-size: 23px;
  color: var(--brand-wine);
  margin-bottom: 8px;
  font-family: Georgia, 'Times New Roman', serif;
}

.sector-subservices-header p {
  font-size: 14.5px;
  color: var(--brand-muted);
  line-height: 1.65;
  margin: 0;
  max-width: 860px;
}

.sector-subservices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.subservice-card {
  background: #FCFAF8;
  border: 1.5px solid #EADBCE;
  border-radius: 10px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
}

.subservice-card:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: #F8B391;
  box-shadow: 0 6px 20px rgba(243, 102, 34, 0.10);
}

.subservice-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.subservice-icon {
  font-size: 24px;
  line-height: 1;
  background: #FFF0E6;
  border: 1px solid #FAD1BD;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.subservice-headings {
  flex: 1;
}

.subservice-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--brand-orange);
  margin-bottom: 4px;
}

.subservice-headings h4 {
  font-size: 16.5px;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--brand-wine);
  margin: 0;
  line-height: 1.35;
}

.subservice-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: #4A4A4A;
  margin-bottom: 14px;
}

.subservice-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subservice-checklist li {
  font-size: 12.5px;
  line-height: 1.5;
  color: #555555;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.subservice-check-bullet {
  color: #2E7D32;
  font-size: 12px;
  font-weight: 800;
  margin-top: 1px;
  flex-shrink: 0;
}

.subservice-contact-box {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed #EBD8CC;
}

.subservice-contact-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-muted);
  margin-bottom: 8px;
}

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

.subservice-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.subservice-pill.pill-phone {
  background: #E8F5E9;
  color: #1B5E20;
  border: 1px solid #C8E6C9;
}

.subservice-pill.pill-phone:hover {
  background: #1B5E20;
  color: #ffffff;
  border-color: #1B5E20;
  box-shadow: 0 3px 10px rgba(27, 94, 32, 0.25);
  transform: translateY(-1px);
}

.subservice-pill.pill-email {
  background: #FFF3EB;
  color: var(--brand-wine);
  border: 1px solid #FAD3BE;
}

.subservice-pill.pill-email:hover {
  background: var(--brand-wine);
  color: #ffffff;
  border-color: var(--brand-wine);
  box-shadow: 0 3px 10px rgba(122, 18, 40, 0.25);
  transform: translateY(-1px);
}

.subservice-pill .pill-icon {
  font-size: 12px;
}

@media (max-width: 640px) {
  .sector-subservices-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .subservice-card {
    padding: 18px 16px;
  }
}

/* Informativos Accordion Section */
.sector-informativos-section {
  margin-top: 30px;
}

.sector-infos-header h3 {
  font-size: 21px;
  color: var(--brand-wine);
  margin-bottom: 6px;
  font-family: Georgia, 'Times New Roman', serif;
}

.sector-infos-header p {
  font-size: 14px;
  color: var(--brand-muted);
  margin-bottom: 22px;
}

.informativos-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-accordion {
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.info-accordion[open] {
  border-color: var(--brand-orange);
  box-shadow: 0 4px 20px rgba(243, 102, 34, 0.12);
}

.info-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  background: #FAF5F2;
  user-select: none;
  transition: background 0.2s ease;
}

.info-accordion-summary::-webkit-details-marker {
  display: none;
}

.info-accordion-summary:hover {
  background: #F5EAE4;
}

.info-accordion[open] .info-accordion-summary {
  background: #FFF5EE;
  border-bottom: 1.5px solid #F6DFD4;
}

.info-summary-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  flex: 1;
}

.info-code-badge {
  background: linear-gradient(135deg, #F36622 0%, #7A1228 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(243, 102, 34, 0.25);
}

.info-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--brand-charcoal);
}

.info-date-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-wine);
  background: #ffffff;
  border: 1px solid #EBD8CC;
  padding: 3px 10px;
  border-radius: 12px;
  margin-left: auto;
}

.info-accordion-icon {
  font-size: 16px;
  color: var(--brand-orange);
  transition: transform 0.2s ease;
}

.info-accordion[open] .info-accordion-icon {
  transform: rotate(180deg);
}

.info-accordion-body {
  padding: 24px;
  border-top: 1px solid #F5ECE6;
  background: #ffffff;
}

.info-description {
  font-size: 14px;
  color: var(--brand-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.info-steps-box {
  background: #FFFBF9;
  border: 1.5px solid #F3E2D8;
  border-left: 4px solid var(--brand-orange);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 18px;
}

.info-steps-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-wine);
  margin-bottom: 12px;
}

.checklist-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist-items li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--brand-charcoal);
  line-height: 1.6;
}

.check-icon {
  color: var(--brand-orange);
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.info-note {
  font-size: 13px;
  color: var(--brand-charcoal);
  background: #FFF8F4;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 18px;
  border: 1.5px dashed #EACBC2;
}

.info-actions-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1.5px solid #F5ECE6;
  padding-top: 18px;
}

.service-detail-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1.5px solid #F0DFD5;
  padding-top: 24px;
  margin-top: 28px;
}

/* Certidão Guides Layout */
.cert-guide-layout {
  max-width: 960px;
  margin-inline: auto;
}

.cert-guide-box {
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-top: 5px solid var(--brand-orange);
  border-radius: 10px;
  padding: 38px;
  margin-bottom: 35px;
  box-shadow: 0 6px 20px rgba(122, 18, 40, 0.05);
}

.cert-guide-box h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px;
  margin-bottom: 15px;
  color: var(--brand-wine);
}

.cert-lead {
  font-size: 17px;
  color: var(--brand-charcoal);
  line-height: 1.7;
  margin-bottom: 20px;
  border-left: 4px solid var(--brand-orange);
  padding-left: 18px;
}

.cert-topics-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.cert-topic {
  background: #FFFBF9;
  border: 1.5px solid #EBD8CC;
  border-radius: 6px;
  padding: 20px 24px;
}

.cert-topic h3 {
  font-size: 16px;
  color: var(--brand-wine);
  margin-bottom: 8px;
  font-weight: 700;
}

.cert-topic p {
  font-size: 14px;
  color: var(--brand-muted);
  line-height: 1.65;
  margin: 0;
}

.download-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.cert-actions-card {
  background: #FFFBF9;
  border: 2px solid #EBD8CC;
  border-radius: 10px;
  padding: 38px;
}

.cert-actions-header h3 {
  font-size: 22px;
  color: var(--brand-wine);
  margin-bottom: 8px;
  font-family: Georgia, 'Times New Roman', serif;
}

.cert-actions-header p {
  font-size: 14px;
  color: var(--brand-muted);
  margin-bottom: 24px;
}

.cert-channels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.cert-channel-box {
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.citizen-box {
  border-top: 4px solid var(--brand-orange);
  box-shadow: 0 4px 18px rgba(243, 102, 34, 0.08);
}

.cartorio-box {
  border-top: 4px solid var(--brand-wine);
}

.channel-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--brand-orange);
  margin-bottom: 12px;
}

.cartorio-badge {
  color: var(--brand-wine);
}

.cert-channel-box h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin-bottom: 12px;
  line-height: 1.35;
}

.cert-channel-box p {
  font-size: 13px;
  color: var(--brand-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

.cert-local-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--brand-line);
  padding-top: 24px;
}

.cert-local-option strong {
  display: block;
  font-size: 14px;
  color: var(--brand-charcoal);
  margin-bottom: 4px;
}

.cert-local-option p {
  font-size: 13px;
  color: var(--brand-muted);
  margin: 0;
}

/* Forminator Styles */
.oficio-site .original-content .forminator-ui {
  background: #FAF7F5 !important;
  border: 1.5px solid var(--brand-border-warm) !important;
  border-top: 4px solid var(--brand-orange) !important;
  padding: 32px !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
}

.oficio-site .original-content .forminator-label {
  color: var(--brand-wine) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: 0.2px !important;
}

.oficio-site .original-content .forminator-required {
  color: var(--brand-orange) !important;
}

.oficio-site .original-content .forminator-input,
.oficio-site .original-content .forminator-textarea,
.oficio-site .original-content .forminator-select2 {
  border-radius: 4px !important;
  border: 1px solid #C7B7B0 !important;
  background: #ffffff !important;
  color: var(--brand-charcoal) !important;
  min-height: 48px !important;
  font-size: 14px !important;
}

.oficio-site .original-content .forminator-input:focus,
.oficio-site .original-content .forminator-textarea:focus {
  outline: 2px solid var(--brand-orange) !important;
  outline-offset: 2px !important;
  border-color: var(--brand-orange) !important;
}

.oficio-site .original-content .forminator-button-submit {
  background: var(--brand-gradient) !important;
  color: #ffffff !important;
  min-height: 48px !important;
  border-radius: 4px !important;
  font: 600 14px Arial, sans-serif !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(243, 102, 34, 0.25) !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.oficio-site .original-content .forminator-button-submit:hover {
  background: var(--brand-gradient-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(243, 102, 34, 0.38) !important;
}

.oficio-site .original-content .forminator-button-upload {
  background: #FFF4EE !important;
  color: #7A1228 !important;
  border: 2px solid #7A1228 !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  min-height: 44px !important;
  padding: 10px 18px !important;
  box-shadow: 0 2px 8px rgba(122, 18, 40, 0.1) !important;
  transition: all 0.2s ease !important;
}

.oficio-site .original-content .forminator-button-upload:hover {
  background: var(--brand-gradient) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.oficio-site .original-content .forminator-file-upload span {
  font-size: 13px !important;
  color: var(--brand-muted) !important;
}

/* Cookie Banner Customization */
.oficio-site #cookie-banner {
  background: #ffffff !important;
  color: var(--brand-charcoal) !important;
  border: 1px solid var(--brand-line) !important;
  border-radius: 6px !important;
  box-shadow: 0 8px 35px rgba(122, 18, 40, 0.12) !important;
  max-width: calc(100vw - 40px) !important;
}

.oficio-site #adopt-reject-all-button,
.oficio-site #adopt-accept-all-button {
  background: var(--brand-gradient) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
}
/* LGPD & Proteção de Dados Pessoais Components */
.lgpd-hero-card {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-top: 5px solid var(--brand-orange);
  border-radius: 12px;
  padding: 42px 38px;
  box-shadow: 0 6px 24px rgba(122, 18, 40, 0.06);
  align-items: center;
}

.lgpd-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #F36622 0%, #D8262E 50%, #7A1228 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.lgpd-hero-content h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--brand-wine);
  margin-bottom: 14px;
  line-height: 1.25;
}

.lgpd-hero-content p {
  font-size: 14.5px;
  color: var(--brand-charcoal);
  line-height: 1.75;
  margin-bottom: 12px;
}

.lgpd-hero-callout {
  background: #FFFBF9;
  border: 2px solid #EBD8CC;
  border-radius: 10px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(122, 18, 40, 0.04);
}

.lgpd-hero-callout .callout-icon {
  font-size: 34px;
  margin-bottom: 10px;
}

.lgpd-hero-callout h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-wine);
  margin-bottom: 10px;
}

.lgpd-hero-callout p {
  font-size: 13px;
  color: var(--brand-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

/* 4 Pilares da LGPD Grid */
.lgpd-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.lgpd-pillar-box {
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-radius: 10px;
  padding: 28px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 14px rgba(122, 18, 40, 0.04);
}

.lgpd-pillar-box:hover {
  transform: translateY(-3px);
  border-color: var(--brand-orange);
}

.pillar-number {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-orange);
  background: #FFF4EF;
  border: 1px solid #F9D0BC;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.lgpd-pillar-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-wine);
  margin-bottom: 10px;
  line-height: 1.35;
}

.lgpd-pillar-box p {
  font-size: 13px;
  color: var(--brand-muted);
  line-height: 1.65;
  margin: 0;
}

/* LGPD Setores Grid */
.lgpd-sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.lgpd-sector-card {
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(122, 18, 40, 0.04);
}

.sector-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sector-card-top h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-wine);
  margin: 0;
}

.sector-card-lead {
  font-size: 13.5px;
  color: var(--brand-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F3E6DE;
}

.sector-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sector-card-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: var(--brand-charcoal);
  line-height: 1.6;
}

.sector-card-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: -1px;
  color: var(--brand-orange);
  font-size: 18px;
}

.sector-card-list strong {
  color: var(--brand-wine);
}

/* Direitos do Titular Grid */
.lgpd-rights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lgpd-right-item {
  background: #FFFBF9;
  border: 1.5px solid #EBD8CC;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.lgpd-right-item:hover {
  transform: translateY(-2px);
  border-color: var(--brand-orange);
}

.right-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.lgpd-right-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-wine);
  margin-bottom: 6px;
}

.lgpd-right-item p {
  font-size: 13px;
  color: var(--brand-muted);
  line-height: 1.6;
  margin: 0;
}

/* DPO Contact Card */
.dpo-contact-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #EBD8CC;
  border-top: 6px solid var(--brand-wine);
  border-radius: 12px;
  padding: 42px 38px;
  box-shadow: 0 6px 26px rgba(122, 18, 40, 0.06);
}

.dpo-badge {
  display: inline-block;
  background: linear-gradient(135deg, #7A1228 0%, #D8262E 60%, #F36622 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.dpo-card-header h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--brand-wine);
  margin-bottom: 10px;
}

.dpo-card-header p {
  font-size: 14.5px;
  color: var(--brand-charcoal);
  line-height: 1.7;
  max-width: 900px;
  margin-bottom: 28px;
}

.dpo-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding-top: 24px;
  border-top: 1.5px solid #F3E6DE;
}

.dpo-info-box {
  background: #FFFBF9;
  border: 1.5px solid #EBD8CC;
  border-radius: 8px;
  padding: 26px;
}

.dpo-info-box h4,
.dpo-guide-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-wine);
  margin-bottom: 16px;
}

.dpo-field {
  margin-bottom: 14px;
}

.dpo-field:last-child {
  margin-bottom: 0;
}

.field-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--brand-muted);
  margin-bottom: 3px;
}

.field-value {
  font-size: 14px;
  color: var(--brand-charcoal);
  line-height: 1.5;
}

.dpo-email-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-wine);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.dpo-email-link:hover {
  color: var(--brand-orange);
}

.dpo-steps-list {
  padding-left: 20px;
  margin: 0 0 22px;
}

.dpo-steps-list li {
  font-size: 13.5px;
  color: var(--brand-charcoal);
  line-height: 1.65;
  margin-bottom: 10px;
}

.dpo-steps-list strong {
  color: var(--brand-wine);
}

.dpo-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Responsive Media Queries */
@media (min-width: 1441px) {
  .hero-grid {
    padding-block: 85px;
  }
  .hero-visual {
    min-height: 490px;
  }
}

@media (max-width: 1100px) {
  .site-container {
    width: calc(100% - 48px);
  }
  .brand-logo {
    width: 155px;
  }
  .brand-tagline {
    display: none;
  }
  .primary-navigation {
    gap: 18px;
  }
  .hero-grid {
    gap: 35px;
  }
  .hero-copy h1 {
    font-size: 48px;
  }
  .hero-visual {
    min-height: 420px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .certificate-grid,
  .institutional-grid {
    gap: 55px;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr;
    gap: 30px;
  }
}

@media (max-width: 850px) {
  .header-inner {
    min-height: 82px;
  }
  .menu-toggle {
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--brand-line);
    background: #ffffff;
    color: var(--brand-wine);
    font: 600 13px Arial, sans-serif;
    padding: 11px 16px;
    border-radius: 4px;
    cursor: pointer;
  }
  .primary-navigation {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    border-bottom: 2px solid var(--brand-line);
    padding: 20px 24px;
    box-shadow: 0 16px 30px rgba(122, 18, 40, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .primary-navigation.is-open {
    display: flex;
  }
  .primary-navigation .menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .primary-navigation a,
  .primary-navigation .menu a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--brand-line);
  }
  .primary-navigation .button-small {
    margin-top: 14px;
    border-bottom: none;
    padding: 13px 20px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 45px;
  }
  .hero-copy h1 {
    font-size: 42px;
  }
  .quick-section {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 10px;
  }
  .quick-section > a {
    padding: 16px 0;
    border-right: none;
    border-bottom: 1px solid var(--brand-line);
  }
  .quick-section > a:last-child {
    border-bottom: none;
  }
  .certificate-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .institutional-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .service-detail-card {
    padding: 28px;
  }
  .request-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .cert-channels-grid {
    grid-template-columns: 1fr;
  }
  .transparency-grid {
    grid-template-columns: 1fr;
  }
  .info-date-tag {
    margin-left: 0;
    width: 100%;
  }
  .info-summary-content {
    align-items: flex-start;
  }
  .tabelia-presentation-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .posse-photo-frame {
    height: 340px;
  }
  .tabelia-body-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .ambiente-gallery-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .ambiente-hero-header {
    padding: 22px 20px 16px;
  }
  .ambiente-hero-photo-wrap {
    padding: 20px 16px;
  }
  .ambiente-hero-desc {
    padding: 24px;
  }
  .ambiente-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 28px 24px 22px;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ambiente-actions-bar {
    padding: 18px 24px 28px;
  }
  .lgpd-hero-card {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px 24px;
  }
  .lgpd-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .lgpd-sectors-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lgpd-rights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .dpo-card-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .history-body-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .site-container {
    width: calc(100% - 36px);
  }
  .utility-bar .site-container {
    padding-block: 6px;
    font-size: 11px;
  }
  .utility-inner {
    justify-content: center;
    gap: 6px 12px;
  }
  .utility-location {
    display: none;
  }
  .utility-sep {
    display: none;
  }
  .utility-hours {
    font-size: 11px;
  }
  .utility-links {
    gap: 8px;
  }
  .utility-social-btn.utility-insta-btn {
    padding: 3px 9px;
    font-size: 11px;
  }
  .utility-transp {
    padding: 3px 9px;
    font-size: 11px;
  }
  .utility-ext {
    display: none;
  }
  .brand-logo {
    width: 142px;
  }
  .hero-copy h1 {
    font-size: 36px;
    letter-spacing: -1px;
    margin-bottom: 16px;
  }
  .button-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .button,
  .oficio-site a.button {
    width: 100%;
    min-height: 48px;
    padding: 14px 20px;
    font-size: 14px;
  }
  .hero-visual {
    min-height: 320px;
  }
  .visual-caption strong {
    font-size: 26px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-card {
    min-height: auto;
    padding: 22px;
  }
  .service-card h3 {
    margin-top: 14px;
    min-height: auto;
  }
  .certificate-actions {
    flex-direction: column;
    gap: 12px;
  }
  .certificate-list {
    padding: 18px 20px;
  }
  .contact-banner {
    padding: 28px 20px;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 50px;
  }
  .contact-banner h2 {
    font-size: 26px;
  }
  .contact-details {
    flex-direction: column;
    align-items: stretch;
    padding-block: 28px;
  }
  .contact-details .button {
    width: 100%;
  }
  .cert-guide-box,
  .cert-actions-card {
    padding: 24px 20px;
  }
  .cert-guide-box h2 {
    font-size: 28px;
  }
  .cert-local-option {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .cert-local-option .button {
    width: 100%;
  }
  .oficio-site .original-content .forminator-ui {
    padding: 20px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
  }
  .footer-bottom > div {
    flex-wrap: wrap;
    gap: 16px;
  }
  .info-accordion-summary {
    padding: 15px 16px;
  }
  .info-accordion-body {
    padding: 18px 16px;
  }
  .info-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .info-actions-row .button {
    width: 100%;
  }
  .tabelia-profile-card {
    padding: 26px 18px;
  }
  .tabelia-presentation-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .posse-photo-frame {
    height: 280px;
  }
  .posse-photo-caption {
    padding: 16px;
  }
  .posse-credentials-box {
    padding: 16px;
  }
  .tabelia-pillars-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tabelia-badge-row {
    justify-content: flex-start;
    gap: 8px;
  }
  .tabelia-quote-box {
    padding: 14px 16px;
    margin: 16px 0;
  }
  .tabelia-quote-box p {
    font-size: 14px;
  }
  .tabelia-header {
    padding-bottom: 16px;
    margin-bottom: 20px;
  }
  .tabelia-highlights {
    padding: 20px 16px;
  }
  .ambiente-hero-header {
    padding: 18px 16px 14px;
  }
  .ambiente-hero-header h3 {
    font-size: 20px;
  }
  .ambiente-hero-location {
    font-size: 13px;
  }
  .ambiente-hero-photo-wrap {
    padding: 12px 10px;
  }
  .photo-zoom-hint {
    font-size: 11px;
    padding: 5px 10px;
    bottom: 8px;
    right: 8px;
  }
  .ambiente-photo-caption-bar {
    padding: 10px 14px;
    font-size: 12px;
  }
  .ambiente-hero-desc {
    padding: 20px 16px;
    gap: 16px;
  }
  .ambiente-sector-card {
    border-radius: 10px;
  }
  .sector-card-media {
    height: 210px;
  }
  .sector-card-content {
    padding: 20px 16px;
  }
  .ambiente-features-grid {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 14px;
  }
  .ambiente-photo-container {
    max-height: 320px;
  }
  .ambiente-main-photo {
    height: 320px;
  }
  .ambiente-photo-overlay {
    padding: 22px 16px 16px;
  }
  .ambiente-photo-overlay h3 {
    font-size: 19px;
  }
  .ambiente-actions-bar {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }
  .ambiente-actions-bar .button {
    width: 100%;
  }
  .creator-mini-text {
    font-size: 11px;
    line-height: 1.5;
    padding-inline: 12px;
  }
  .lgpd-hero-card {
    padding: 24px 18px;
  }
  .lgpd-pillars-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .lgpd-rights-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .dpo-contact-card {
    padding: 26px 18px;
  }
  .dpo-actions {
    flex-direction: column;
  }
  .dpo-actions .button {
    width: 100%;
  }
  .cartorio-history-card {
    padding: 24px 18px;
  }
  .timeline-card {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .oficio-site * {
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   ALINHAMENTO COORDENADO DE ACESSIBILIDADE & VLIBRAS
   Ordem vertical na lateral direita:
   1º VLibras (Libras)
   2º Botão de Acessibilidade (AIOA / ADA) diretamente abaixo de Libras
   ========================================================================== */

/* VLibras (Libras) fixado na lateral direita */
div[vw].enabled {
  display: block !important;
}

div[vw] [vw-access-button],
div[vw] .access-button,
[vw] [vw-access-button] {
  position: fixed !important;
  top: calc(50vh - 25px) !important;
  right: 10px !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  z-index: 2147483640 !important;
}

/* Botão de Acessibilidade (All in One Accessibility) diretamente abaixo de Libras */
.aioa-widget-wrapper #aioa-trigger-button,
#aioa-trigger-button,
#aioa-trigger-button.accessibility-trigger,
.accessibility-trigger,
.accessibility-trigger.aioa_middle_right,
.accessibility-trigger.aioa_bottom_right,
.accessibility-trigger.aioa_custom_position,
#accessibility_settings_toggle {
  position: fixed !important;
  top: calc(50vh + 30px) !important;
  bottom: auto !important;
  right: 10px !important;
  left: auto !important;
  transform: none !important;
  z-index: 2147483638 !important;
  margin: 0 !important;
}

/* Tooltip do botão de acessibilidade abrindo para o lado esquerdo */
.accessibility-trigger .aioa-trigger-button-tooltip {
  right: calc(100% + 10px) !important;
  left: auto !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  white-space: nowrap !important;
}

.accessibility-trigger .aioa-trigger-button-tooltip::before {
  left: 100% !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  margin-top: -5px !important;
  border-color: transparent transparent transparent #7A1228 !important;
}

/* Responsividade mobile */
@media (max-width: 768px) {
  div[vw] [vw-access-button],
  div[vw] .access-button,
  [vw] [vw-access-button] {
    top: calc(50vh - 25px) !important;
    right: 8px !important;
  }

  .aioa-widget-wrapper #aioa-trigger-button,
  #aioa-trigger-button,
  #aioa-trigger-button.accessibility-trigger,
  .accessibility-trigger,
  #accessibility_settings_toggle {
    top: calc(50vh + 25px) !important;
    right: 8px !important;
  }
}

/* ==========================================================================
   REDES SOCIAIS: FOOTER & PÁGINA DE CONTATO
   ========================================================================== */
.footer-social-wrap {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-insta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 12.5px;
  color: #FFFFFF !important;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-insta-pill:hover {
  background: linear-gradient(135deg, rgba(122, 18, 40, 0.9) 0%, rgba(216, 38, 46, 0.9) 50%, rgba(243, 102, 34, 0.9) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  text-decoration: none !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.footer-insta-icon {
  flex-shrink: 0;
  color: #F36622;
}

.footer-insta-pill:hover .footer-insta-icon {
  color: #FFFFFF;
}

/* Contact Page Social Card */
.contact-social-card {
  margin-top: 24px;
  padding: 22px;
  background: linear-gradient(135deg, #FFF7F2 0%, #FFFFFF 100%);
  border: 1.5px solid #F0DFD5;
  border-left: 5px solid #DD2A7B;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(122, 18, 40, 0.04);
}

.contact-social-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--brand-wine, #7A1228);
  margin-bottom: 6px;
}

.contact-social-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 6px 0;
}

.contact-social-info p {
  font-size: 13.5px;
  color: #555555;
  line-height: 1.5;
  margin: 0 0 14px 0;
}

.button-instagram-contact {
  background: linear-gradient(135deg, #7A1228 0%, #DD2A7B 60%, #F36622 100%) !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.button-instagram-contact:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(221, 42, 123, 0.25);
}

/* ==========================================================================
   SEÇÃO: GALERIA, DESTAQUES & INSTAGRAM (@cartorio_2oficio)
   ========================================================================== */
.instagram-gallery-section {
  padding-block: 50px 70px;
  position: relative;
}

.insta-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.insta-profile-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

.insta-avatar-ring {
  position: relative;
  width: 72px;
  height: 72px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(45deg, #F58529, #FEDA77, #DD2A7B, #8134AF, #515BD4);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(221, 42, 123, 0.25);
  animation: pulse-ring 4s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.insta-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #FFFFFF;
  border: 2px solid #FFFFFF;
  display: block;
}

.story-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.3);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.insta-handle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.insta-handle {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--brand-wine, #7A1228);
  margin: 0;
  letter-spacing: -0.5px;
}

.insta-badge-official {
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.insta-profile-desc {
  font-size: 14px;
  color: #555555;
  margin: 0;
  max-width: 580px;
  line-height: 1.5;
}

.button-instagram-follow {
  background: linear-gradient(135deg, #7A1228 0%, #D8262E 50%, #F36622 100%) !important;
  color: #FFFFFF !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 22px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 18px rgba(122, 18, 40, 0.2) !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.button-instagram-follow:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(122, 18, 40, 0.3) !important;
  color: #FFFFFF !important;
}

/* Carrossel de Cards */
.insta-carousel-container {
  position: relative;
}

.insta-carousel-viewport {
  overflow: hidden;
  border-radius: 12px;
}

.insta-carousel-track {
  display: flex;
  gap: 22px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.insta-slide-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 290px;
  background: #FFFFFF;
  border: 1.5px solid #F0DFD5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(122, 18, 40, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.insta-slide-card:hover {
  transform: translateY(-4px);
  border-color: #F36622;
  box-shadow: 0 12px 30px rgba(122, 18, 40, 0.12);
}

.insta-slide-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.insta-slide-link:hover {
  text-decoration: none;
}

.insta-slide-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1A1A1A;
}

.insta-slide-media-story {
  aspect-ratio: 16 / 10;
  background: #1A1A1A;
}

.insta-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.insta-slide-card:hover .insta-slide-media img {
  transform: scale(1.05);
}

.insta-slide-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(26, 26, 26, 0.75);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}

.story-dot {
  width: 6px;
  height: 6px;
  background: #F36622;
  border-radius: 50%;
}

.insta-badge-story {
  background: linear-gradient(135deg, #DD2A7B 0%, #8134AF 100%);
  color: #FFFFFF;
}

.insta-slide-content {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insta-slide-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--brand-orange, #F36622);
  margin-bottom: 8px;
}

.insta-slide-content h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.35;
  color: var(--brand-wine, #7A1228);
  margin: 0 0 10px 0;
  font-weight: 700;
}

.insta-slide-content p {
  font-size: 13.5px;
  color: #555555;
  line-height: 1.6;
  margin: 0 0 18px 0;
  flex-grow: 1;
}

.insta-slide-action {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-wine, #7A1228);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid #F3E6DE;
  transition: color 0.2s ease, transform 0.2s ease;
}

.insta-slide-card:hover .insta-slide-action {
  color: var(--brand-orange, #F36622);
  transform: translateX(3px);
}

/* Controles do Carrossel */
.insta-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.insta-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFF4EE;
  border: 2px solid #7A1228;
  color: #7A1228;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(122, 18, 40, 0.12);
  font-weight: 700;
}

.insta-arrow-btn:hover {
  background: #7A1228;
  border-color: #7A1228;
  color: #FFFFFF;
  transform: scale(1.08);
}

.insta-dots-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.insta-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E0C7BA;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.insta-dot.active {
  width: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7A1228, #F36622);
}

/* Responsividade do Carrossel */
@media (max-width: 980px) {
  .insta-slide-card {
    flex: 0 0 calc((100% - 22px) / 2);
  }
}

@media (max-width: 640px) {
  .insta-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .insta-header-actions,
  .button-instagram-follow {
    width: 100%;
    justify-content: center;
  }
  .insta-slide-card {
    flex: 0 0 100%;
  }
}

/* ==========================================================================
   TRIAGEM RÁPIDA: COMO PODEMOS TE AJUDAR HOJE?
   ========================================================================== */
.triagem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.triagem-card {
  background: #ffffff;
  border: 1.5px solid #E8DAD0;
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(122, 18, 40, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.triagem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(122, 18, 40, 0.08);
  border-color: var(--brand-orange);
}

.triagem-badge {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--brand-wine);
  background: #F4EAE3;
  border: 1px solid #D8C4B8;
  padding: 3px 10px;
  border-radius: 14px;
  margin-bottom: 14px;
}

.triagem-badge.badge-free {
  color: #126338;
  background: #E8F7EE;
  border-color: #BDE5CD;
}

.triagem-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 12px;
}

.triagem-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px;
  color: var(--brand-wine);
  margin: 0 0 8px;
  line-height: 1.3;
}

.triagem-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--brand-muted);
  margin: 0 0 16px;
  flex: 1;
}

.triagem-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-orange);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.triagem-card:hover .triagem-link {
  color: var(--brand-wine);
  text-decoration: underline;
}

/* ==========================================================================
   CENTRAL UNIFICADA DE SERVIÇOS DIGITAIS & CENTRAIS NACIONAIS
   ========================================================================== */
.digital-hub-card {
  background: linear-gradient(135deg, #FFFDFB 0%, #FAF3EF 100%);
  border: 1.5px solid #E8DAD0;
  border-left: 6px solid var(--brand-wine);
  border-radius: 14px;
  padding: 40px 42px;
  box-shadow: 0 8px 30px rgba(122, 18, 40, 0.05);
}

.digital-hub-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 34px;
}

.digital-hub-header h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 2.8vw, 36px);
  color: var(--brand-wine);
  margin: 0 0 10px;
}

.digital-hub-header p {
  font-size: 15px;
  color: var(--brand-charcoal);
  max-width: 680px;
  margin: 0;
  line-height: 1.7;
}

.digital-safe-badge {
  font-size: 12px;
  font-weight: 800;
  color: #126338;
  background: #E8F7EE;
  border: 1px solid #BDE5CD;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.digital-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.digital-item {
  background: #ffffff;
  border: 1.5px solid #E9DCD3;
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(122, 18, 40, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.digital-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(122, 18, 40, 0.08);
  border-color: var(--brand-orange);
}

.digital-item-highlight {
  border-color: #E2CEBE;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFBF9 100%);
}

.digital-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.digital-cat-tag {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--brand-muted);
  background: #FAF4EF;
  border: 1px solid #EADCD3;
  padding: 3px 9px;
  border-radius: 14px;
}

.digital-cat-tag.tag-tjrr {
  color: var(--brand-wine);
  background: #F9EBEF;
  border-color: #ECC1CC;
}

.digital-cat-tag.tag-cenprot {
  color: #0E4F8B;
  background: #EBF3FC;
  border-color: #BFD9F5;
}

.digital-ext-icon {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-orange);
}

.digital-item h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18.5px;
  color: var(--brand-wine);
  margin: 0 0 8px;
  line-height: 1.35;
}

.digital-item p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--brand-muted);
  margin: 0 0 16px;
  flex: 1;
}

.digital-action-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-wine);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid #F0E5DC;
}

.digital-item:hover .digital-action-btn {
  color: var(--brand-orange);
}

@media (max-width: 991px) {
  .triagem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .digital-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .digital-hub-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .triagem-grid {
    grid-template-columns: 1fr;
  }
  .digital-grid {
    grid-template-columns: 1fr;
  }
  .digital-hub-card {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   MÓDULO: EMOLUMENTOS, CUSTAS E FORMAS DE PAGAMENTO (TJRR)
   ========================================================================== */
.emolumentos-box {
  background: linear-gradient(135deg, #FFFDFB 0%, #FAF3EF 100%);
  border: 1.5px solid #E8DAD0;
  border-left: 6px solid var(--brand-orange);
  border-radius: 14px;
  padding: 40px 42px;
  box-shadow: 0 8px 30px rgba(122, 18, 40, 0.05);
}

.emolumentos-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 32px;
}

.emolumentos-header h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--brand-wine);
  margin: 0 0 10px;
}

.emolumentos-header p {
  font-size: 14.5px;
  color: var(--brand-charcoal);
  max-width: 680px;
  margin: 0;
  line-height: 1.7;
}

.emolumentos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.emolumento-card {
  background: #ffffff;
  border: 1.5px solid #E9DCD3;
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(122, 18, 40, 0.03);
}

.emolumento-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.emolumento-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  color: var(--brand-wine);
  margin: 0 0 10px;
}

.emolumento-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--brand-muted);
  margin: 0 0 12px;
}

.emolumento-card ul {
  margin: 0 0 16px;
  padding-left: 18px;
  flex: 1;
}

.emolumento-card li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--brand-charcoal);
  margin-bottom: 6px;
}

.emolumento-card li:last-child {
  margin-bottom: 0;
}

.emolumento-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #F0E5DC;
}

@media (max-width: 991px) {
  .emolumentos-grid {
    grid-template-columns: 1fr;
  }
  .emolumentos-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .emolumentos-box {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   BLOCO INFORMATIVO: VOCÊ SABIA? (ATOS GRATUITOS E ISENÇÕES)
   ========================================================================== */
.voce-sabia-card {
  margin-top: 28px;
  background: #ffffff;
  border: 1.5px solid #E9DCD3;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(122, 18, 40, 0.04);
}

.voce-sabia-header {
  margin-bottom: 24px;
}

.voce-sabia-title {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--brand-wine, #7A1228);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.voce-sabia-subtitle {
  font-size: 19px;
  font-weight: 700;
  color: var(--brand-charcoal, #2B2B2B);
  margin: 0;
}

.voce-sabia-pills {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.voce-sabia-pill {
  background: #BFB0AA;
  color: #1A1A1A;
  border: 1.5px solid #2B2B2B;
  border-radius: 14px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.voce-sabia-pill:hover {
  transform: translateY(-2px);
  background: #B5A49D;
}

/* Slide no carrossel de destaques */
.voce-sabia-slide-bg {
  background: linear-gradient(135deg, #FBF8F6 0%, #F2E8E4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  min-height: 220px;
  position: relative;
}

.voce-sabia-slide-graphic {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.voce-sabia-mini-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-wine, #7A1228);
  letter-spacing: 1px;
}

.voce-sabia-mini-sub {
  font-size: 11px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 4px;
}

.voce-sabia-mini-pill {
  width: 100%;
  max-width: 250px;
  background: #BFB0AA;
  border: 1px solid #2B2B2B;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #1A1A1A;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .voce-sabia-title {
    font-size: 26px;
  }
  .voce-sabia-subtitle {
    font-size: 16px;
  }
  .voce-sabia-pill {
    font-size: 13.5px;
    padding: 12px 14px;
  }
}

/* ==========================================================================
   PÁGINA: ATOS GRATUITOS E DIREITOS DO CIDADÃO
   ========================================================================== */
.gratuidade-manifesto-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFDFB 50%, #FAF3EF 100%);
  border: 1.5px solid #E6D5CC;
  border-left: 6px solid var(--brand-orange);
  border-radius: 12px;
  padding: 34px 38px;
  box-shadow: 0 8px 28px rgba(122, 18, 40, 0.05);
  margin-bottom: 30px;
}

.manifesto-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.manifesto-pill {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--brand-gradient);
  padding: 4px 12px;
  border-radius: 20px;
}

.manifesto-comarca {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-wine);
  background: #F4EAE3;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #D8C4B8;
}

.manifesto-norma {
  font-size: 12px;
  color: var(--brand-muted);
  font-style: italic;
}

.gratuidade-manifesto-card h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--brand-wine);
  margin: 0 0 14px;
  line-height: 1.3;
}

.gratuidade-manifesto-card p {
  color: var(--brand-charcoal);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 22px;
}

.manifesto-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-top: 14px;
  border-top: 1px solid #EBDDD4;
}

.quick-tag-item {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-wine);
  background: #FFFFFF;
  border: 1px solid #DFCEC2;
  padding: 5px 12px;
  border-radius: 6px;
}

/* Grade de Cards de Atos Gratuitos */
.gratuidade-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 35px;
}

.gratuidade-card {
  background: #ffffff;
  border: 1.5px solid #E8DAD0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(122, 18, 40, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gratuidade-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(122, 18, 40, 0.08);
  border-color: #D4BBAE;
}

.gratuidade-card-header {
  padding: 24px 26px 18px;
  border-bottom: 1px solid #EFE4DC;
  background: linear-gradient(180deg, #FFFFFF 0%, #FDF9F6 100%);
}

.gratuidade-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.gratuidade-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--brand-orange);
  text-transform: uppercase;
}

.gratuidade-badge {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.badge-universal {
  color: #126338;
  background: #E8F7EE;
  border: 1px solid #BDE5CD;
}

.badge-hipo {
  color: #8C4700;
  background: #FFF5E5;
  border: 1px solid #F8D8A3;
}

.badge-prev {
  color: #0E4F8B;
  background: #EBF3FC;
  border: 1px solid #BFD9F5;
}

.badge-judicial {
  color: var(--brand-wine);
  background: #F9EBEF;
  border: 1px solid #ECC1CC;
}

.gratuidade-card-header h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  color: var(--brand-wine);
  margin: 0 0 10px;
  line-height: 1.3;
}

.gratuidade-legal-cite {
  font-size: 12px;
  color: var(--brand-muted);
  line-height: 1.5;
  background: #FAF3EF;
  padding: 6px 10px;
  border-radius: 6px;
  border-left: 3px solid var(--brand-orange);
}

.gratuidade-card-body {
  padding: 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gratuidade-card-body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--brand-charcoal);
  margin: 0;
}

.gratuidade-subbox {
  background: #FAF6F3;
  border: 1px solid #EFE4DC;
  border-radius: 8px;
  padding: 14px 18px;
}

.gratuidade-subbox h4 {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-wine);
  margin: 0 0 8px;
}

.gratuidade-subbox ul {
  margin: 0;
  padding-left: 18px;
}

.gratuidade-subbox li {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--brand-charcoal);
  margin-bottom: 6px;
}

.gratuidade-subbox li:last-child {
  margin-bottom: 0;
}

.gratuidade-card-footer {
  padding: 16px 26px;
  background: #FAF6F4;
  border-top: 1px solid #ECE0D7;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gratuidade-sector-pill {
  font-size: 12px;
  color: var(--brand-muted);
  font-weight: 600;
}

.gratuidade-action-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-wine);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.gratuidade-action-link:hover {
  color: var(--brand-orange);
  text-decoration: underline;
}

/* Passo a Passo do Cidadão */
.gratuidade-guide-box {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFDFB 100%);
  border: 1.5px solid #E8DAD0;
  border-radius: 12px;
  padding: 40px 42px;
  box-shadow: 0 6px 24px rgba(122, 18, 40, 0.04);
}

.gratuidade-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step-card {
  background: #FAF6F4;
  border: 1px solid #E8D8CC;
  border-radius: 10px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.step-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  background: var(--brand-wine);
  padding: 3px 10px;
  border-radius: 14px;
}

.step-icon {
  font-size: 22px;
}

.step-card h4 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  color: var(--brand-wine);
  margin: 0 0 10px;
  line-height: 1.35;
}

.step-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--brand-muted);
  margin: 0;
}

/* FAQ de Gratuidade */
.gratuidade-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.faq-card {
  background: #ffffff;
  border: 1.5px solid #E8DAD0;
  border-radius: 10px;
  padding: 24px 26px;
  box-shadow: 0 3px 14px rgba(122, 18, 40, 0.03);
}

.faq-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17.5px;
  color: var(--brand-wine);
  margin: 0 0 12px;
  line-height: 1.4;
}

.faq-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--brand-charcoal);
  margin: 0;
}

.manifesto-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* Responsividade de Atos Gratuitos */
@media (max-width: 991px) {
  .gratuidade-cards-grid {
    grid-template-columns: 1fr;
  }
  .gratuidade-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gratuidade-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gratuidade-manifesto-card {
    padding: 24px 20px;
  }
  .gratuidade-steps-grid {
    grid-template-columns: 1fr;
  }
  .gratuidade-guide-box {
    padding: 26px 20px;
  }
  .step-card {
    padding: 18px 16px;
  }
}

/* ==========================================================================
   ALINHAMENTO JUSTIFICADO ELEGANTE PARA TEXTOS NO COMPUTADOR (DESKTOP)
   Aplica diagramação editorial e formal a todos os textos do site no computador,
   preservando o alinhamento natural no mobile para não gerar espaçamentos vazios.
   ========================================================================== */
@media (min-width: 768px) {
  /* Textos gerais do site: parágrafos narrativos, informativos e biográficos */
  .oficio-site p,
  .history-text p,
  .tabelia-bio p,
  .milestone-content p,
  .posse-photo-caption p,
  .tabelia-quote-box p,
  .gratuidade-manifesto-card p,
  .gratuidade-card-body p,
  .gratuidade-subbox p,
  .gratuidade-subbox li,
  .step-card p,
  .faq-card p,
  .timeline-card p,
  .timeline-highlights-list li,
  .tabelia-sectors-list li,
  .sector-card-desc,
  .value-card p,
  .pillar-box p,
  .service-card p,
  .service-detail p,
  .model-card p,
  .info-step-item p,
  .info-doc-item p,
  .guide-card p,
  .section-intro p,
  .section-heading > p,
  .hero-description,
  .cartorio-history-card p,
  .tabelia-profile-card p,
  .servico-apresentacao p,
  .contato-intro p,
  .faq-answer p,
  .modal-box p,
  main article p,
  main section p {
    text-align: justify !important;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
  }

  /* Exceções que devem permanecer alinhadas à esquerda */
  .eyebrow,
  .eyebrow *,
  .section-heading .eyebrow,
  .history-badge,
  .tabelia-badge,
  .tabelia-badge-row *,
  .timeline-badge-year,
  .milestone-year-pill,
  .posse-photo-badge,
  .tabelia-quote-box cite,
  .tabelia-role,
  .cred-label,
  .cred-val,
  .data-label,
  .data-value,
  .hero-note,
  .hero-note *,
  .breadcrumbs,
  .breadcrumbs *,
  .utility-bar,
  .utility-bar *,
  .primary-navigation,
  .primary-navigation *,
  .brand,
  .brand *,
  .site-footer p,
  .site-footer span,
  .site-footer a,
  .quick-section *,
  .triagem-card *,
  .digital-item *,
  .emolumento-card * {
    text-align: left !important;
    hyphens: none;
  }

  /* Exceções que devem permanecer centralizadas */
  .footer-creator-bar,
  .footer-creator-bar *,
  .credit-signature,
  .credit-signature *,
  .footer-credit-text,
  .lightbox-caption,
  .lightbox-caption * {
    text-align: center !important;
    hyphens: none;
  }
}



