@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --tx-blue-deep: #1c3762;
  --tx-blue: #284875;
  --tx-slate: #3d4f5f;
  --tx-muted: #6b7c8c;
  --tx-light: #e8edf2;
  --tx-white: #ffffff;
  --tx-accent: #ce7f20;
  --tx-accent-soft: #f3a72c;
  --tx-warning-line: #f0b429;
  --tx-font-body: "Source Sans 3", system-ui, sans-serif;
  --tx-font-head: "Barlow Semi Condensed", system-ui, sans-serif;
  /* Rede São Roque: Poppins para corpo e títulos (mesmo stack no site SR) */
  --sr-font-text: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sr-font-title: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Aliases do banner (mesma paleta Rede São Roque) */
  --sr-primary: #284875;
  --sr-secondary: #1c3762;
  --sr-accent: #f3a72c;
  --sr-accent-dark: #ce7f20;
  --sr-white: #ffffff;
  --sr-bg-soft: #f9f9f9;
  --sr-border: #e2e2e2;
  --sr-hero-pill-bg: rgba(243, 167, 44, 0.85);
  --sr-hero-pill-border: rgba(255, 255, 255, 0.18);
  --sr-font: var(--sr-font-text);
  /* Altura da barra fixa alinhada ao menu Rede São Roque (logo 80px + padding 20px + borda 3px) */
  --tx-header-height: calc(80px + 40px + 3px);
  --tx-blue-card-gradient: linear-gradient(180deg, #2d5282 0%, var(--tx-blue-deep) 48%, #152a45 100%);
  --tx-card-lift: -6px;
  --tx-card-shadow-hover: 0 1rem 2.25rem rgba(10, 22, 40, 0.12);
  --tx-card-hover-transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--tx-font-body);
  color: var(--tx-slate);
  background: var(--tx-white);
}

body.tx-page-sobre,
body:has(main.tx-page-servicos),
body.tx-page-seguranca,
body.tx-page-frota,
body.tx-page-atuacao,
body.tx-page-contato {
  font-family: var(--sr-font-text);
  letter-spacing: 0.02em;
  overflow-x: clip;
}

body.tx-page-sobre h1,
body.tx-page-sobre h2,
body.tx-page-sobre h3,
body.tx-page-sobre h4,
body.tx-page-sobre h5,
body.tx-page-sobre h6,
body.tx-page-sobre .tx-heading,
body:has(main.tx-page-servicos) h1,
body:has(main.tx-page-servicos) h2,
body:has(main.tx-page-servicos) h3,
body:has(main.tx-page-servicos) h4,
body:has(main.tx-page-servicos) h5,
body:has(main.tx-page-servicos) h6,
body:has(main.tx-page-servicos) .tx-heading,
body.tx-page-seguranca h1,
body.tx-page-seguranca h2,
body.tx-page-seguranca h3,
body.tx-page-seguranca h4,
body.tx-page-seguranca h5,
body.tx-page-seguranca h6,
body.tx-page-seguranca .tx-heading,
body.tx-page-frota h1,
body.tx-page-frota h2,
body.tx-page-frota h3,
body.tx-page-frota h4,
body.tx-page-frota h5,
body.tx-page-frota h6,
body.tx-page-frota .tx-heading,
body.tx-page-atuacao h1,
body.tx-page-atuacao h2,
body.tx-page-atuacao h3,
body.tx-page-atuacao h4,
body.tx-page-atuacao h5,
body.tx-page-atuacao h6,
body.tx-page-atuacao .tx-heading,
body.tx-page-contato h1,
body.tx-page-contato h2,
body.tx-page-contato h3,
body.tx-page-contato h4,
body.tx-page-contato h5,
body.tx-page-contato h6,
body.tx-page-contato .tx-heading {
  font-family: var(--sr-font-title);
}

body > a.visually-hidden-focusable.position-fixed {
  z-index: 1040 !important;
}

body:has(.tx-site-header),
body.tx-has-site-header {
  padding-top: var(--tx-header-height);
}

/*menu*/
#menuPrincipal {
  background: white;
  padding: 0;
}

.btn-close.ms-auto.d-lg-none {
  color: var(--sr-hero-pill-border);
  font-family: var(--sr-font-text);
  border: 2px solid var(--sr-hero-pill-border);
}

.tx-site-header {
  /* Acima do backdrop dos modais (1050) para o menu mobile permanecer visível */
  z-index: 1100;
}

main [id] {
  scroll-margin-top: calc(var(--tx-header-height) + 0.35rem);
}

.tx-page-head {
  background: var(--tx-white);
  text-align: center;
}

.tx-page-head .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1,
h2,
h3,
h4,
h5,
.tx-heading {
  font-family: var(--tx-font-head);
  font-weight: 600;
  color: var(--tx-blue-deep);
  letter-spacing: 0.02em;
}

.tx-navbar {
  background-color: white !important;
  border-bottom: 3px solid var(--sr-accent);
  padding: 20px 0;
  font-family: var(--sr-font-text);
}

.tx-navbar .navbar-brand img {
  height: 80px;
  width: auto;
}

.tx-navbar .navbar-brand,
.tx-navbar .nav-link {
  color: var(--sr-primary) !important;
}

.tx-navbar .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tx-navbar .nav-link.active,
.tx-navbar .nav-link[aria-current="page"] {
  color: var(--tx-accent) !important;
  font-weight: 700;
}

.tx-navbar .navbar-toggler {
  border-color: var(--sr-border);
  background-color: var(--tx-white);
}

.tx-navbar .navbar-nav .nav-item {
  display: flex;
  align-items: center;
}

.tx-navbar .nav-link:not(.active):hover,
.tx-navbar .nav-link:not(.active):focus {
  color: var(--sr-accent-dark) !important;
}

/* separador pontilhado */
.tx-navbar .navbar-nav .nav-item:not(:last-child)::after {
  content: "";
  width: 0.15em;
  height: 1.2em;
  margin: 0 12px;
  background: radial-gradient(circle, #1c3762 0.6px, transparent 1px) center/3px 4px repeat-y;
}

.tx-navbar-location-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  margin: 0;
  border: 0;
  background: transparent;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  border-radius: 50%;
  transition: transform 0.15s ease, color 0.15s ease;
}

.tx-navbar-location-btn:hover,
.tx-navbar-location-btn:focus-visible {
  transform: scale(1.08);
}

.tx-navbar-location-btn:focus-visible {
  outline: 2px solid var(--tx-accent);
  outline-offset: 3px;
}

.tx-navbar .tx-navbar-location-btn .tx-navbar-location {
  color: var(--tx-accent) !important;
  font-size: 1.2rem;
  pointer-events: none;
  transition: color 0.2s ease;
}

.tx-navbar .tx-navbar-location-btn:hover .tx-navbar-location,
.tx-navbar .tx-navbar-location-btn:focus-visible .tx-navbar-location {
  color: var(--tx-accent-soft) !important;
}

.tx-nav-onde-rodamos.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--sr-primary) !important;
  font-weight: 500;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tx-nav-onde-rodamos.nav-link:hover,
.tx-nav-onde-rodamos.nav-link:focus-visible {
  color: var(--sr-accent-dark) !important;
}

@media (min-width: 992px) {
  .tx-nav-onde-rodamos.nav-link {
    padding: 0 !important;
    width: auto;
    font-size: inherit;
  }
}

/* Ícone de localização no desktop não herda uppercase do nav-link */
@media (min-width: 992px) {
  .tx-navbar .nav-item-localizar .tx-navbar-location-btn:not(.nav-link) {
    text-transform: none;
    letter-spacing: normal;
  }
}

@media (max-width: 991.98px) {
  body.tx-mobile-nav-open {
    overflow: hidden !important;
    touch-action: none;
  }

  body.tx-mobile-nav-open .whatsapp-float {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .tx-navbar > .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 3.25rem;
  }

  .tx-navbar .tx-navbar-bar {
    position: relative;
    z-index: 10002;
    background: var(--tx-white);
  }

  .tx-navbar .navbar-brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 3.75rem);
    margin-right: 0;
  }

  .tx-navbar .navbar-brand img {
    max-height: 3.25rem;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left center;
  }

  .tx-navbar .navbar-toggler {
    position: static;
    transform: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    margin: 0;
    z-index: 10001;
    border: 2px solid var(--tx-blue-deep);
    background-color: var(--tx-white);
    color: var(--tx-blue-deep);
    box-shadow: 0 2px 8px rgba(10, 22, 40, 0.08);
  }

  .tx-navbar .navbar-toggler .tx-navbar-toggler__icon {
    font-size: 1.65rem;
    line-height: 1;
    pointer-events: none;
  }

  .tx-navbar .navbar-toggler .navbar-toggler-icon {
    display: none;
  }

  .tx-navbar .navbar-toggler[aria-expanded="true"] {
    visibility: hidden;
    pointer-events: none;
  }

  /* Drawer fora do fluxo — logo e barra do header ficam fixas */
  .tx-navbar .tx-mobile-drawer {
    position: fixed !important;
    inset: 0;
    z-index: 10003;
    width: 100%;
    max-width: 100%;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    transition: none !important;
  }

  .tx-navbar .tx-mobile-drawer.collapse:not(.show) {
    display: none !important;
    pointer-events: none;
    visibility: hidden;
  }

  .tx-navbar .tx-mobile-drawer.collapse.show,
  .tx-navbar .tx-mobile-drawer.collapsing {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    left: 0 !important;
    right: 0 !important;
    background: var(--sr-bg-soft);
    padding: 2rem;
    padding-top: calc(2rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    pointer-events: auto;
    visibility: visible;
  }

  .tx-navbar .tx-mobile-nav-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    margin: 0;
    z-index: 2;
    flex-shrink: 0;
  }

  .tx-navbar .mobile-menu-logo {
    flex-shrink: 0;
    width: 100%;
    max-width: min(280px, 75vw);
    margin-top: 0;
    margin-bottom: 2rem;
    text-align: center;
  }

  .tx-navbar .navbar-nav {
    width: 100%;
    max-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center;
    flex: 0 1 auto;
  }

  .tx-navbar .navbar-nav .nav-item {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .tx-navbar .navbar-nav .nav-link,
  .tx-navbar .nav-item-localizar .tx-nav-onde-rodamos {
    width: 100%;
    font-size: 1.5rem;
    padding: 1rem 0;
    text-align: center;
    justify-content: center;
  }

  .tx-navbar .navbar-nav .nav-item:not(:last-child)::after {
    width: 100%;
    height: 0.15em;
    margin: 6px 0;

    background:
      radial-gradient(circle, #1c3762 0.6px, transparent 1px)
      center/4px 3px repeat-x;
  }

  .tx-navbar .nav-item-localizar {
    width: 100%;
    padding-left: 0 !important;
  }

  .tx-navbar .nav-item-localizar .tx-navbar-location {
    font-size: 1.35rem;
  }

  .mobile-menu-logo img {
    max-width: min(280px, 75vw);
    width: 100%;
    height: auto;
  }

  .tx-mobile-drawer.tx-mobile-drawer--fading-in {
    animation: tx-mobile-drawer-fade-in 0.42s ease forwards;
  }

  .tx-mobile-drawer.tx-mobile-drawer--fading-out {
    animation: tx-mobile-drawer-fade-out 0.38s ease forwards;
    pointer-events: none;
  }

  @keyframes tx-mobile-drawer-fade-in {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  @keyframes tx-mobile-drawer-fade-out {
    from {
      opacity: 1;
    }

    to {
      opacity: 0;
    }
  }

  .tx-mobile-drawer--stagger-open .navbar-nav .nav-item {
    opacity: 0;
    transform: translateY(12px);
  }

  .tx-mobile-drawer--stagger-open .navbar-nav .nav-item.tx-nav-stair-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .tx-mobile-drawer .nav-item.tx-nav-stair-step .nav-link,
  .tx-mobile-drawer .nav-item.tx-nav-stair-step .tx-nav-onde-rodamos,
  .tx-mobile-drawer .nav-item.tx-nav-stair-step .tx-nav-onde-rodamos__label,
  .tx-mobile-drawer .nav-item.tx-nav-stair-step .tx-navbar-location {
    color: var(--tx-accent) !important;
    font-weight: 700;
  }

  @media (prefers-reduced-motion: reduce) {
    .tx-mobile-drawer.tx-mobile-drawer--fading-in,
    .tx-mobile-drawer.tx-mobile-drawer--fading-out {
      animation: none;
    }

    .tx-mobile-drawer--stagger-open .navbar-nav .nav-item {
      opacity: 1;
      transform: none;
    }
  }
}

@media (min-width: 992px) {
  .tx-navbar .tx-mobile-drawer {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    visibility: visible !important;
    transition: none !important;
  }

  .tx-navbar > .container {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    min-height: 0;
  }

  .tx-navbar .navbar-brand {
    max-width: none;
  }

  .tx-navbar .navbar-brand img {
    max-height: none;
    height: 80px;
  }
}

/*banner (estrutura alinhada à Rede São Roque) */
.hero-banner {
  position: relative;
  overflow: hidden;
  min-height: min(700px, 85vh);
  display: flex;
  align-items: center;
  isolation: isolate;
  background-color: var(--sr-secondary);
}

.hero-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--sr-secondary);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-banner__media .hero-banner__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner__audio-toggle {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 4;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--tx-white, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-banner__audio-toggle:hover {
  background: transparent;
  opacity: 0.85;
  transform: scale(1.05);
}

.hero-banner__audio-toggle:focus-visible {
  outline: 3px solid var(--tx-warning-line, #f0b429);
  outline-offset: 3px;
}

.hero-banner__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(28, 55, 98, 0.55) 0%, rgba(40, 72, 117, 0.25) 45%, rgba(28, 55, 98, 0.35) 100%);
  pointer-events: none;
}

.hero-banner__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.12;
  background-size: cover;
  background-position: center;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .hero-banner__grain {
    display: none;
  }
}

.hero-banner .container {
  position: relative;
  z-index: 3;
}

.hero-pill {
  max-width: 26rem;
  margin-left: auto;
  margin-right: 0;
  padding: 2rem 2.25rem;
  border-radius: 100px 0 100px 0;
  background: var(--sr-hero-pill-bg);
  border: 1px solid var(--sr-hero-pill-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
  .hero-pill {
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
    border-radius: 48px 0 48px 0;
    padding: 1.5rem 1.75rem;
  }
}

.hero-pill__tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sr-secondary);
  margin-bottom: 0.5rem;
}

.hero-pill__title {
  font-family: var(--sr-font-title);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.5vw, 2.1rem);
  line-height: 1.2;
  color: var(--sr-secondary);
  margin-bottom: 0.75rem;
}

.hero-pill__title em {
  font-style: normal;
  color: var(--sr-primary);
}

.hero-pill__lead {
  font-weight: 300;
  font-size: 0.95rem;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  margin-bottom: 1.25rem;
}

.hero-pill .btn-sr-primary {
  background-color: #284875;
  text-align: center;
  color: var(--sr-white);
  border: none;
  border-radius: 25px 0 25px 0;
  font-weight: 600;
}

.hero-pill .btn-sr-primary:hover {
  background-color: #ce7f20;
  color: var(--sr-white);
}

/* CTA — Fale com a equipe (outline profissional, paleta SR) */
.tx-team-cta {
  position: relative;
  background: transparent;
}

.tx-team-cta__inner {
  position: relative;
}

main .btn-sr-primary,
.tx-team-cta .btn-sr-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.875rem 1.85rem;
  font-family: var(--sr-font-title);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-decoration: none;
  background: transparent;
  color: var(--tx-blue-deep);
  border: 2px solid var(--tx-accent-soft);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(28, 55, 98, 0.08);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

main .btn-sr-primary i,
.tx-team-cta .btn-sr-primary i {
  font-size: 1.2rem;
  color: var(--tx-accent);
  transition: color 0.25s ease, transform 0.25s ease;
}

main .btn-sr-primary:hover,
main .btn-sr-primary:focus-visible,
.tx-team-cta .btn-sr-primary:hover,
.tx-team-cta .btn-sr-primary:focus-visible {
  background: linear-gradient(135deg, var(--tx-accent) 0%, var(--tx-accent-soft) 100%);
  border-color: transparent;
  color: var(--tx-blue-deep);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(206, 127, 32, 0.35);
}

main .btn-sr-primary:hover i,
main .btn-sr-primary:focus-visible i,
.tx-team-cta .btn-sr-primary:hover i,
.tx-team-cta .btn-sr-primary:focus-visible i {
  color: var(--tx-blue-deep);
  transform: scale(1.08);
}

main .btn-sr-primary:focus-visible,
.tx-team-cta .btn-sr-primary:focus-visible {
  outline: 2px solid var(--tx-accent);
  outline-offset: 3px;
}

/* Capa interior: mesma lógica da Rede São Roque (hero-banner) — área foto maior */
.tx-hero {
  min-height: min(700px, 85vh);
  background-color: var(--tx-blue);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.tx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 22, 40, 0.92) 0%, rgba(19, 34, 56, 0.75) 55%, rgba(19, 34, 56, 0.55) 100%);
}

.tx-hero .container {
  position: relative;
  z-index: 1;
}

.tx-hero h1 {
  color: var(--tx-white);
}

.tx-hero .lead {
  color: var(--tx-light);
  max-width: 40rem;
}

/* ---------- Home (index2): hero em vídeo + seções premium ---------- */
body.tx-page-home {
  font-family: var(--sr-font-text);
  letter-spacing: 0.02em;
}

body.tx-page-home h1,
body.tx-page-home h2,
body.tx-page-home h3,
body.tx-page-home h4,
body.tx-page-home h5,
body.tx-page-home h6,
body.tx-page-home .tx-heading {
  font-family: var(--sr-font-title);
}

.tx-home-main {
  background: var(--tx-white);
}

/* Título + logo abaixo do hero (mesmo bloco visual da Rede São Roque — index #estrutura) */
.services-split {
  background: linear-gradient(180deg, var(--sr-bg-soft) 0%, var(--sr-white) 100%);
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.section-title {
  margin: 0;
  font-weight: 700;
  text-align: center;
  color: #284875;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.img-fluid-logo {
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

.tx-home-institutional {
  position: relative;
}

.tx-home-institutional__intro {
  color: var(--tx-slate);
}

.tx-home-institutional__quote {
  margin: 1.75rem 0 0;
  padding: 1.15rem 1.25rem 1.15rem 1.35rem;
  border-left: 4px solid var(--tx-accent);
  background: linear-gradient(90deg, rgba(40, 72, 117, 0.07), rgba(40, 72, 117, 0.02));
  color: var(--tx-slate);
  font-size: 0.98rem;
  line-height: 1.55;
  font-style: italic;
}

.tx-home-institutional__quote p {
  font-weight: 500;
}

/* Foto: traços azul (topo+esq.) e laranja (base+dir.) no .tx-home-institutional__frame — nunca no .ratio (Bootstrap usa .ratio::before pro 16:9). Reutilizado em segurança.html (#nr-saude), frota.html (#imagens) e atuacao.html (#mapa). */
.tx-home-institutional__figure {
  position: relative;
  padding-bottom: 0.25rem;
}

.tx-home-institutional__photo-stack {
  position: relative;
  z-index: 0;
  margin-bottom: 0.15rem;
  padding: 16px;
  overflow: visible;
}

.tx-home-institutional__frame {
  position: relative;
  display: block;
  overflow: visible;
  isolation: isolate;
}

.tx-home-institutional__ratio {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--tx-white);
  border: 1px solid rgba(28, 55, 98, 0.1);
  box-shadow: 0 0.3rem 0.85rem rgba(28, 55, 98, 0.06);
}

.tx-home-institutional__photo-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.tx-home-institutional__frame::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  transform: translate(-8px, -8px);
  background-image:
    linear-gradient(90deg, var(--tx-blue-deep), var(--tx-blue)),
    linear-gradient(180deg, var(--tx-blue-deep), var(--tx-blue));
  background-repeat: no-repeat;
  background-size:
    calc(100% - 22px) 2px,
    2px calc(100% - 22px);
  background-position:
    top left,
    top left;
  filter:
    drop-shadow(0 -1px 3px rgba(40, 72, 117, 0.35))
    drop-shadow(0 -1px 9px rgba(40, 72, 117, 0.22))
    drop-shadow(0 -1px 16px rgba(28, 55, 98, 0.12))
    drop-shadow(-1px 0 3px rgba(40, 72, 117, 0.35))
    drop-shadow(-1px 0 9px rgba(40, 72, 117, 0.2))
    drop-shadow(-1px 0 16px rgba(28, 55, 98, 0.1));
  animation: tx-home-institutional-pulse-blue 3.5s ease-in-out infinite alternate;
}

/* Laranja: z-index acima do .ratio — só traços + fundo transparente (não esconde a foto) */
.tx-home-institutional__frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  transform: translate(8px, 8px);
  background-color: transparent;
  /* Traços sólidos (--tx-warning-line), sem degradê */
  background-image:
    linear-gradient(90deg, var(--tx-warning-line), var(--tx-warning-line)),
    linear-gradient(180deg, var(--tx-warning-line), var(--tx-warning-line));
  background-repeat: no-repeat;
  background-size:
    calc(100% - 22px) 2px,
    2px calc(100% - 22px);
  background-position:
    right bottom,
    right bottom;
  filter:
    drop-shadow(0 1px 3px rgba(240, 184, 41, 0.45))
    drop-shadow(0 1px 10px rgba(240, 184, 41, 0.32))
    drop-shadow(0 1px 18px rgba(240, 184, 41, 0.18))
    drop-shadow(1px 0 3px rgba(240, 184, 41, 0.45))
    drop-shadow(1px 0 10px rgba(240, 184, 41, 0.3))
    drop-shadow(1px 0 18px rgba(240, 184, 41, 0.16));
  animation: tx-home-institutional-pulse-orange 3.5s ease-in-out infinite alternate-reverse;
}

@media (prefers-reduced-motion: reduce) {
  .tx-home-institutional__frame::before,
  .tx-home-institutional__frame::after {
    animation: none;
  }
}

@keyframes tx-home-institutional-pulse-blue {
  from {
    opacity: 0.86;
  }

  to {
    opacity: 1;
  }
}

@keyframes tx-home-institutional-pulse-orange {
  from {
    opacity: 0.86;
  }

  to {
    opacity: 1;
  }
}

.tx-home-media-frame {
  position: relative;
  box-shadow:
    0 1.25rem 3rem rgba(28, 55, 98, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 0 0 1px rgba(206, 127, 32, 0.2);
}

.tx-home-section-title {
  position: relative;
  border-left: none !important;
  padding-left: 0;
  color: var(--tx-blue-deep);
  font-weight: 700;
}

.tx-home-pilares {
  background: var(--tx-white);
}

.tx-home-pilares .tx-home-section-title {
  font-weight: 700;
  color: var(--tx-blue-deep);
  margin-bottom: 2rem;
}

/* Pilares (home): layout estilo Missão / Visão / Valores — alternância azul / branco / azul */
.tx-home-pilares .row > [class*="col"] {
  display: flex;
}

.tx-home-pillar {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 0.35rem 1.1rem rgba(10, 22, 40, 0.14);
  text-align: center;
}

.tx-home-pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tx-accent-soft), var(--tx-accent));
  z-index: 1;
}

.tx-home-pillar__inner {
  flex: 1 1 auto;
  height: 100%;
  padding: clamp(1.75rem, 3.2vw, 2.35rem) clamp(1.25rem, 2.5vw, 1.85rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tx-home-pillar__icon {
  width: 3.1rem;
  height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.tx-home-pillar__title {
  font-family: var(--sr-font-title);
  font-weight: 700;
  font-size: clamp(0.82rem, 1.65vw, 0.98rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.tx-home-pillar__text {
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.tx-home-pillar--dark {
  background: var(--tx-blue-card-gradient);
  color: var(--tx-white);
}

.tx-home-pillar--dark .tx-home-pillar__title {
  color: var(--tx-white);
}

.tx-home-pillar--dark .tx-home-pillar__text {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.tx-home-pillar--dark .tx-home-pillar__icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--tx-accent-soft);
}

.tx-home-pillar--light {
  background: var(--tx-white);
  border: 1px solid rgba(28, 55, 98, 0.1);
  box-shadow: 0 0.35rem 1rem rgba(10, 22, 40, 0.1);
}

.tx-home-pillar--light .tx-home-pillar__title {
  color: var(--tx-blue-deep);
}

.tx-home-pillar--light .tx-home-pillar__text {
  color: var(--tx-slate);
  font-weight: 400;
}

.tx-home-pillar--light .tx-home-pillar__icon {
  background: rgba(243, 167, 44, 0.22);
  border: none;
  color: var(--tx-accent);
}

.tx-home-topics {
  padding-bottom: 4.5rem !important;
  background: var(--tx-white);
}

.tx-home-topics-hint {
  margin-top: -0.35rem;
}

.tx-home-topics__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (min-width: 768px) {
  .tx-home-topics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .tx-home-topics__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tx-home-topics__grid > [class*="col"] {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.tx-home-topics__grid > [class*="col"] > .tx-home-topic {
  flex: 1 1 auto;
  height: 100%;
}

.tx-home-topic {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tx-home-topic h3 {
  color: var(--tx-blue-deep);
  transition: color 0.2s ease;
}

.tx-home-topic p.small {
  min-height: 2.75em;
  margin-bottom: 0;
}

.tx-home-topic:hover h3 {
  color: var(--tx-accent);
}

.tx-strip {
  background: var(--tx-blue);
  color: var(--tx-light);
  font-size: 0.9rem;
}

.tx-card {
  border: none;
  box-shadow: 0 0.35rem 1.25rem rgba(10, 22, 40, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tx-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.5rem rgba(10, 22, 40, 0.12);
}

/* Home — Informações por tema: barra laranja à esquerda (blockquote). Deve vir após .tx-card, que usa border:none. */
a.card.tx-card.tx-home-topic,
.card.tx-card.tx-home-topic {
  border-top: 1px solid rgba(28, 55, 98, 0.07);
  border-right: 1px solid rgba(28, 55, 98, 0.07);
  border-bottom: 1px solid rgba(28, 55, 98, 0.07);
  border-left: 6px solid var(--tx-accent);
}

a.card.tx-card.tx-home-topic:hover,
.card.tx-card.tx-home-topic:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2.5rem rgba(28, 55, 98, 0.14);
}

.tx-icon-box {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(224, 112, 26, 0.12);
  color: var(--tx-accent);
  font-size: 1.35rem;
}

.tx-section-title {
  border-left: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
  color: var(--tx-blue-deep);
  font-weight: 700;
}

/* Grade padrão: 3 cards por linha, linhas incompletas centralizadas, tamanho uniforme */
.tx-pilar-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  max-width: 72rem;
  margin-inline: auto;
}

.tx-pilar-grid > .tx-pilar-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 22rem;
}

@media (min-width: 576px) {
  .tx-pilar-grid > .tx-pilar-card {
    width: calc((100% - 1.5rem) / 2);
    max-width: calc((72rem - 1.5rem) / 2);
  }
}

@media (min-width: 992px) {
  .tx-pilar-grid > .tx-pilar-card {
    width: calc((100% - 3rem) / 3);
    max-width: calc((72rem - 3rem) / 3);
  }
}

.tx-pilar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.65rem 1.25rem 1.5rem;
  border-radius: 0;
  border-top: 3px solid var(--tx-accent-soft);
  box-shadow: 0 0.35rem 1.1rem rgba(10, 22, 40, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tx-pilar-grid > .tx-pilar-card:nth-child(odd) {
  background: var(--tx-blue-card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--tx-accent-soft);
}

.tx-pilar-grid > .tx-pilar-card:nth-child(even) {
  background: var(--tx-white);
  border: 1px solid rgba(28, 55, 98, 0.1);
  border-top: 3px solid var(--tx-accent-soft);
}

.tx-pilar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.75rem rgba(10, 22, 40, 0.14);
}

.tx-pilar-card__icon {
  width: 3.1rem;
  height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  flex-shrink: 0;
  border-radius: 0;
}

.tx-pilar-grid > .tx-pilar-card:nth-child(odd) .tx-pilar-card__icon {
  color: var(--tx-accent-soft);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tx-pilar-grid > .tx-pilar-card:nth-child(even) .tx-pilar-card__icon {
  color: var(--tx-accent);
  background: rgba(206, 127, 32, 0.12);
  border: 1px solid rgba(206, 127, 32, 0.22);
}

.tx-pilar-card__title {
  font-family: var(--sr-font-title);
  font-weight: 700;
  font-size: clamp(0.82rem, 1.65vw, 0.95rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.35;
  margin: 0 0 0.65rem;
  flex-shrink: 0;
  width: 100%;
  padding-inline: 0.5rem;
}

.tx-pilar-grid > .tx-pilar-card:nth-child(odd) .tx-pilar-card__title {
  color: var(--tx-white);
}

.tx-pilar-grid > .tx-pilar-card:nth-child(even) .tx-pilar-card__title {
  color: var(--tx-blue-deep);
}

.tx-pilar-card__text {
  font-family: var(--sr-font-text);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
  width: 100%;
  padding-inline: 0.5rem;
  text-align: center;
}

.tx-pilar-grid > .tx-pilar-card:nth-child(odd) .tx-pilar-card__text {
  color: rgba(232, 237, 242, 0.92);
}

.tx-pilar-grid > .tx-pilar-card:nth-child(even) .tx-pilar-card__text {
  color: var(--tx-slate);
}

@media (prefers-reduced-motion: reduce) {
  .tx-pilar-card:hover {
    transform: none;
  }
}

/* Fade-in on scroll */
.tx-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Missão/Visão/Valores */

.missao-box {
  h2{
    text-align: center;
  }
  padding: 30px;
  height: 100%;
}

.missao-box.left,
.missao-box.right {
  background-color: #284875;
  color: white;
}

.missao-box.middle {
  background-color: #ffffff;
}

.missao-box h2 {
  color: inherit;
}

.missao-box {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1080;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.3);
  color: #fff !important;
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--tx-warning-line);
  outline-offset: 3px;
}

@media (min-width: 992px) {
  .whatsapp-float {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.85rem;
  }
}

/* —— Rodapé (espelhado Rede São Roque — site-footer) —— */
.site-footer {
  position: relative;
  background-color: #1c3762;
  color: #fff;
  overflow: hidden;
  padding: 80px 0 30px;
  font-family: var(--sr-font-text);
  letter-spacing: 0.02em;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://redesaoroque.com.br/wp-content/uploads/2022/10/bg_footer.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.site-footer .footer-logo {
  width: 500px;
  max-width: 100%;
  margin-bottom: 25px;
  display: block;
}

.footer-description {
  font-family: var(--sr-font-text);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  font-size: 15px;
  max-width: 420px;
  margin-left: 10px;
}

.footer-column h4 {
  font-family: var(--sr-font-title);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
}

.site-footer .primeiro-h4 {
  color: #ffffff;
}

.site-footer .fas.fa-truck-moving,
.site-footer .fas.fa-phone-volume,
.site-footer .fas.fa-hand-point-right {
  color: var(--sr-accent);
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 15px;
}

.footer-links a,
.footer-contact a,
.footer-bottom-links a {
  font-family: var(--sr-font-text);
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.footer-links a::after,
.footer-bottom-links a::after {
  display: none !important;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-bottom-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  font-family: var(--sr-font-text);
}

.footer-column address {
  font-style: normal;
}

.footer-contact a:hover {
  padding-left: 0;
}

.footer-contact i,
.footer-social a i {
  color: var(--sr-accent);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social li {
  margin: 0;
  padding: 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: rgba(255, 255, 255, 0.78);
  transition: 0.3s ease;
  font-weight: 500;
  font-family: var(--sr-font-text);
}

.footer-social a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-social i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: 0.3s ease;
}

.footer-social a:hover i {
  background: rgba(206, 127, 32, 0.15);
  transform: scale(1.05);
}

.footer-bottom {
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-family: var(--sr-font-text);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-bottom-links a {
  font-size: 14px;
}

.site-footer .fab.fa-facebook-f,
.site-footer .fab.fa-instagram,
.site-footer .fab.fa-whatsapp {
  color: var(--sr-accent);
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 3.5rem 0 1.75rem;
  }

  .site-footer .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.25rem;
  }

  .footer-brand {
    order: 1;
  }

  .footer-column--social {
    order: 2;
  }

  .footer-column--contact {
    order: 3;
  }

  .footer-column--menu {
    order: 4;
    display: none;
  }

  .footer-brand,
  .footer-column {
    width: 100%;
    max-width: 22rem;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo-slot {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .site-footer .footer-logo {
    width: auto;
    max-width: min(220px, 72vw);
    margin: 0 auto 1.25rem;
  }

  .footer-description {
    margin-left: 0;
    margin-bottom: 0;
    max-width: none;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
  }


  .footer-column h4,
  .site-footer .primeiro-h4 {
    text-align: center;
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }

  .footer-social,
  .footer-contact {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .footer-contact li {
    width: 100%;
    margin-bottom: 0;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    text-align: left;
  }

  .footer-social a {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    transform: none;
    box-sizing: border-box;
  }

  .footer-social a:hover {
    color: #fff;
    transform: none;
    background: rgba(255, 255, 255, 0.16);
    padding-left: 1rem;
  }

  .footer-social i {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--sr-accent);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .footer-social a:hover i {
    background: rgba(206, 127, 32, 0.18);
    color: var(--sr-accent);
    transform: none;
  }

  .footer-contact a,
  .footer-contact span {
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    word-break: break-word;
  }

  .footer-contact a:hover {
    color: #fff;
    padding-left: 0;
  }

  .footer-contact i {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--sr-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: background 0.2s ease;
  }

  .footer-contact li:hover i {
    background: rgba(206, 127, 32, 0.18);
    color: var(--sr-accent);
  }

  .site-footer .footer-social .fab,
  .site-footer .footer-contact .fas {
    color: var(--sr-accent);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.25rem;
  }

  .footer-bottom p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

/* Serviços — abas por segmento (grid + fade) */
.tx-serv-segmentos__nav .tx-serv-segmentos__tab {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(28, 55, 98, 0.12);
  background: var(--tx-white);
  color: var(--tx-blue-deep);
  font-family: var(--tx-font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tx-page-servicos .tx-serv-segmentos__nav .tx-serv-segmentos__tab {
  font-family: var(--sr-font-title);
}

.tx-serv-segmentos__tab:hover {
  border-color: rgba(206, 127, 32, 0.45);
  box-shadow: 0 0.2rem 0.6rem rgba(28, 55, 98, 0.08);
}

.tx-serv-segmentos__tab.is-active {
  border-color: var(--tx-accent);
  background: rgba(206, 127, 32, 0.08);
  color: var(--tx-blue-deep);
  box-shadow: 0 0.15rem 0.5rem rgba(206, 127, 32, 0.2);
}

.tx-serv-segmentos__tab:focus-visible {
  outline: 2px solid var(--tx-accent);
  outline-offset: 2px;
}

.tx-serv-segmentos__tab img {
  flex-shrink: 0;
  object-fit: contain;
}

.tx-serv-segmentos__panels {
  display: grid;
  grid-template: 1fr / minmax(0, 1fr);
  min-height: 12rem;
}

.tx-serv-segmentos__panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    visibility 0s linear 0.32s;
}

.tx-serv-segmentos__panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.32s ease,
    visibility 0s linear 0s;
}

.tx-serv-segmentos__line {
  height: 3px;
  width: 4rem;
  background: linear-gradient(90deg, var(--tx-accent), var(--tx-accent-soft));
}

/* ——— Segurança (seguranca.html) ——— */
.tx-page-seguranca .tx-page-head {
  position: relative;
  background: var(--tx-white);
}

.tx-page-seguranca .tx-page-head::before,
.tx-page-seguranca .tx-page-head::after {
  display: none;
}

.tx-page-seguranca .tx-page-head .container {
  position: relative;
  z-index: 1;
}

/* ANTT / ANP — fundo branco + cartões destacados */
.tx-sec-reg {
  background: var(--tx-white);
  color: var(--tx-slate);
}

.tx-sec-reg__kicker {
  font-family: var(--sr-font-title);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--tx-blue);
  max-width: 40rem;
  line-height: 1.45;
  margin-bottom: 0;
}

.tx-sec-reg__card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    155deg,
    rgba(232, 237, 242, 0.98) 0%,
    rgba(244, 247, 250, 0.92) 38%,
    var(--tx-white) 72%,
    var(--tx-white) 100%
  );
  color: var(--tx-slate);
  border-radius: 0;
  padding: clamp(1.35rem, 3.2vw, 2rem);
  border: 1px solid rgba(28, 55, 98, 0.07);
  box-shadow:
    0 0.45rem 1.35rem rgba(12, 28, 52, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tx-sec-reg__card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0.85rem 2rem rgba(12, 28, 52, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.tx-sec-reg__badge {
  position: relative;
  display: inline-block;
  font-family: var(--sr-font-title);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--tx-blue-deep);
  background: rgba(206, 127, 32, 0.16);
  padding: 0.4rem 0.7rem;
  border-radius: 0;
  margin-bottom: 0.75rem;
}

.tx-sec-reg__title {
  position: relative;
  font-family: var(--sr-font-title);
  font-weight: 700;
  color: var(--tx-blue-deep);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  max-width: 100%;
}

.tx-sec-reg__text {
  position: relative;
  color: var(--tx-slate);
  line-height: 1.68;
  margin-bottom: 1rem;
  font-size: 1.02rem;
  font-family: var(--sr-font-text);
}

.tx-sec-reg__text:last-child {
  margin-bottom: 0;
}

.tx-sec-reg strong {
  color: var(--tx-blue-deep);
  font-weight: 700;
}

/* Monitoramento — somente esta faixa em azul sólido */
.tx-sec-mon {
  position: relative;
  background: var(--tx-blue);
}

.tx-sec-mon::before,
.tx-sec-mon::after {
  display: none;
}

.tx-sec-mon .container {
  position: relative;
  z-index: 1;
}

.tx-sec-mon__page-title {
  font-family: var(--sr-font-title);
  font-weight: 700;
  color: var(--tx-white);
  border: none;
  padding: 0;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.tx-sec-mon__intro {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(232, 237, 242, 0.92);
  border: none;
  padding: 0;
  margin-left: 0;
  font-family: var(--sr-font-text);
}

.tx-sec-mon__hint {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.65rem;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--sr-font-text);
}

.tx-sec-mon__hint-ico {
  margin-right: 0.35rem;
  vertical-align: -0.1em;
  color: var(--tx-accent-soft);
}

.tx-sec-mon .tx-serv-segmentos__nav .tx-serv-segmentos__tab.tx-sec-mon__pick:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 2px;
}

/* Abas — fundo sempre opaco (evita mistura com o azul da seção) */
.tx-sec-mon .tx-serv-segmentos__nav .tx-serv-segmentos__tab.tx-sec-mon__pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 0;
  min-height: 4.4rem;
  background: var(--tx-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--tx-blue-deep);
  box-shadow:
    0 0.15rem 0.45rem rgba(12, 28, 52, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  cursor: pointer;
  font-family: var(--sr-font-title);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.tx-sec-mon .tx-serv-segmentos__nav .tx-serv-segmentos__tab.tx-sec-mon__pick:hover:not(.is-active) {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 0.4rem 1.1rem rgba(12, 28, 52, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.tx-sec-mon .tx-serv-segmentos__nav .tx-serv-segmentos__tab.tx-sec-mon__pick.is-active {
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: linear-gradient(165deg, #fff7ec 0%, #fff0dc 38%, #ffe8cc 100%);
  box-shadow:
    0 0.4rem 1.15rem rgba(206, 127, 32, 0.2),
    0 0 0 1px rgba(243, 167, 44, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.tx-sec-mon__pick-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.tx-sec-mon__pick-ico {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-size: 1.1rem;
  background: rgba(40, 72, 117, 0.08);
  color: var(--tx-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.tx-sec-mon .tx-serv-segmentos__tab.tx-sec-mon__pick.is-active .tx-sec-mon__pick-ico {
  background: var(--tx-white);
  color: var(--tx-accent);
  box-shadow:
    0 0.12rem 0.35rem rgba(206, 127, 32, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.tx-sec-mon__pick-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.tx-sec-mon__pick-title {
  font-family: var(--sr-font-title);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--tx-blue-deep);
}

.tx-sec-mon .tx-serv-segmentos__tab.tx-sec-mon__pick.is-active .tx-sec-mon__pick-title {
  color: var(--tx-blue-deep);
}

.tx-sec-mon__pick-sub {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--tx-muted);
  line-height: 1.3;
  font-family: var(--sr-font-text);
}

.tx-sec-mon .tx-serv-segmentos__tab.tx-sec-mon__pick.is-active .tx-sec-mon__pick-sub {
  color: var(--tx-slate);
}

.tx-sec-mon__pick-action {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: rgba(40, 72, 117, 0.4);
  transition: transform 0.2s ease, color 0.2s ease;
}

.tx-sec-mon .tx-serv-segmentos__tab.tx-sec-mon__pick.is-active .tx-sec-mon__pick-action {
  color: var(--tx-accent);
  transform: rotate(90deg);
}

.tx-sec-mon__panels-shell {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--tx-white);
  border: 1px solid rgba(28, 55, 98, 0.12);
  box-shadow: 0 1rem 2.25rem rgba(12, 28, 52, 0.2);
}

.tx-sec-mon__hero-img {
  width: 100%;
  display: block;
  min-height: 14rem;
  height: clamp(14rem, 42vw, 24rem);
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

@media (min-width: 992px) {
  .tx-sec-mon__hero-img {
    height: clamp(15rem, 28vw, 22rem);
  }
}

.tx-sec-mon__panel-body {
  padding: clamp(1.1rem, 2.5vw, 1.45rem) clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.2rem, 2.5vw, 1.55rem);
}

.tx-sec-mon__lead {
  font-family: var(--sr-font-title);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--tx-blue-deep);
}

.tx-sec-mon__body {
  color: var(--tx-muted);
  line-height: 1.65;
  font-family: var(--sr-font-text);
}

@media (min-width: 992px) {
  .tx-sec-mon__lead {
    font-size: 1.2rem;
  }
}

/* NR / SST — fundo branco + faixa com vidro azul bem sutil */
.tx-sec-nr {
  background: var(--tx-white);
}

/* Bloco de texto à parte da foto (antes: faixa contínua com .tx-sec-nr__shell) */
.tx-sec-nr__figure {
  position: relative;
}

.tx-sec-nr__copy {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: linear-gradient(135deg, rgba(232, 237, 242, 0.92) 0%, rgba(255, 255, 255, 0.88) 55%, rgba(232, 237, 242, 0.78) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(28, 55, 98, 0.1);
  box-shadow:
    0 0.65rem 1.85rem rgba(12, 28, 52, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(40, 72, 117, 0.04);
}

.tx-sec-nr__title {
  font-family: var(--sr-font-title);
  font-weight: 700;
  color: var(--tx-blue-deep);
  border: none;
  padding: 0;
  letter-spacing: 0.02em;
}

.tx-sec-nr__text {
  color: var(--tx-slate);
  line-height: 1.68;
  max-width: 38rem;
  font-size: 1.03rem;
  font-family: var(--sr-font-text);
}

@media (prefers-reduced-motion: reduce) {
  .tx-sec-reg__card:hover {
    transform: none;
  }

  .tx-sec-mon .tx-serv-segmentos__nav .tx-serv-segmentos__tab.tx-sec-mon__pick:hover:not(.is-active) {
    transform: none;
  }

  .tx-sec-nr__copy {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .tx-serv-segmentos__panel {
    transition: none;
  }
}

/* Frota — contador / impacto em números */
.tx-fleet-impact {
  --tx-fi-pad: clamp(1rem, 3vw, 1.35rem);
}

.tx-fleet-impact__shell {
  position: relative;
  border-radius: 0;
  background: var(--tx-blue-card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 1rem 2.5rem rgba(12, 28, 52, 0.35),
    0 0 0 1px rgba(243, 167, 44, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tx-fleet-impact__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(120deg, var(--tx-accent-soft), var(--tx-accent), rgba(255, 255, 255, 0.35), var(--tx-accent-soft));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.tx-fleet-impact__hero {
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tx-fleet-impact__photo {
  position: relative;
  min-height: 7.5rem;
  overflow: hidden;
}

.tx-fleet-impact__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 35%, var(--tx-blue-deep) 100%);
  pointer-events: none;
}

.tx-fleet-impact__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
}

.tx-fleet-impact__hero-copy {
  padding: clamp(1.1rem, 3.5vw, 1.65rem) var(--tx-fi-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--tx-light);
  max-width: min(52rem, 100%);
  margin-inline: auto;
}

.tx-fleet-impact__kicker {
  font-family: var(--sr-font-title);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-accent-soft);
  margin-bottom: 0.35rem;
  display: block;
  text-align: center;
}

.tx-fleet-impact__title {
  font-family: var(--sr-font-title);
  color: var(--tx-white) !important;
  letter-spacing: 0.03em;
  text-align: center;
}

.tx-fleet-impact__lead {
  font-size: clamp(0.8rem, 2.1vw, 0.95rem);
  line-height: 1.45;
  color: rgba(232, 237, 242, 0.88);
  margin-top: 0.35rem;
  font-family: var(--sr-font-text);
  text-align: center;
  text-wrap: balance;
  max-width: 100%;
}

.tx-fleet-impact__lead strong {
  color: var(--tx-white);
  font-weight: 600;
}

.tx-fleet-impact__stats {
  display: grid;
  gap: 0.65rem;
  padding: var(--tx-fi-pad);
  padding-top: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .tx-fleet-impact__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }
}

.tx-fleet-impact__stat {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 0;
  padding: 0.85rem 0.75rem 0.95rem;
  border: 1px solid rgba(28, 55, 98, 0.08);
  box-shadow: 0 0.4rem 1rem rgba(10, 22, 40, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  min-width: 0;
}

@media (max-width: 575.98px) {
  .tx-fleet-impact__stat {
    padding: 1rem 0.85rem 1.05rem;
  }
}

.tx-fleet-impact__stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tx-accent), var(--tx-accent-soft));
  opacity: 0.95;
}

.tx-fleet-impact__stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.65rem 1.35rem rgba(10, 22, 40, 0.18);
}

.tx-fleet-impact__stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--tx-blue-deep);
  background: linear-gradient(135deg, rgba(206, 127, 32, 0.2), rgba(243, 167, 44, 0.12));
  margin-bottom: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.tx-fleet-impact__stat-icon--alt {
  background: linear-gradient(135deg, rgba(40, 72, 117, 0.18), rgba(206, 127, 32, 0.12));
}

.tx-fleet-impact__stat-cap {
  display: inline-block;
  font-family: var(--sr-font-title);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tx-accent);
  margin-bottom: 0.15rem;
}

.tx-fleet-impact__stat-num {
  display: block;
  font-family: var(--sr-font-title);
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 2.45rem);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.tx-fleet-impact__stat-num .tx-fleet-impact__num {
  display: inline-block;
  background: linear-gradient(180deg, var(--tx-blue-deep) 0%, var(--tx-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.tx-fleet-impact.tx-fleet-impact--counting .tx-fleet-impact__stat-num .tx-fleet-impact__num {
  animation: tx-fleet-num-pulse 0.45s ease-out;
}

@keyframes tx-fleet-num-pulse {
  0% {
    transform: scale(1.02);
    filter: brightness(1.15);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.tx-fleet-impact__stat-label {
  font-family: var(--sr-font-title);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tx-blue-deep) !important;
  margin: 0.35rem 0 0.2rem;
  letter-spacing: 0.02em;
}

.tx-fleet-impact__stat-hint {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--tx-muted);
  margin: 0;
  font-family: var(--sr-font-text);
}

.tx-fleet-impact__total {
  padding: var(--tx-fi-pad);
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.22) 100%);
}

.tx-fleet-impact__total-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  color: var(--tx-light);
  margin-bottom: 0.65rem;
}

.tx-fleet-impact__total-ico {
  font-size: 1.65rem;
  color: var(--tx-accent-soft);
  flex-shrink: 0;
  margin-top: 0;
  filter: drop-shadow(0 0 0.5rem rgba(243, 167, 44, 0.35));
}

.tx-fleet-impact__total-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: rgba(232, 237, 242, 0.75);
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--sr-font-text);
  text-align: center;
  max-width: 22rem;
  margin-inline: auto;
}

.tx-fleet-impact__total-line {
  font-family: var(--sr-font-title);
  text-align: center;
}

.tx-fleet-impact__total-num {
  font-size: clamp(1.75rem, 4.5vw, 2.15rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--tx-white);
  text-shadow: 0 0 1.25rem rgba(243, 167, 44, 0.25);
  font-family: var(--sr-font-title);
}

.tx-fleet-impact__total-suffix {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(232, 237, 242, 0.88);
  margin-top: 0.15rem;
  letter-spacing: 0.01em;
  font-family: var(--sr-font-text);
  text-align: center;
  max-width: 20rem;
  margin-inline: auto;
}

.tx-fleet-impact__disclaimer {
  color: rgba(232, 237, 242, 0.55);
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding-top: 0.65rem;
  font-family: var(--sr-font-text);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .tx-fleet-impact__stat {
    transition: none;
  }

  .tx-fleet-impact__stat:hover {
    transform: none;
  }

  .tx-fleet-impact.tx-fleet-impact--counting .tx-fleet-impact__stat-num .tx-fleet-impact__num {
    animation: none;
  }
}

/* Frota — composição: texto (≈2/3) + card de destaque (≈1/3), ref. layout editorial */
.tx-frota-split-main__title {
  margin-bottom: 1.25rem;
}

.tx-frota-split-main__text {
  line-height: 1.65;
  font-family: var(--sr-font-text);
}

.tx-frota-pullcard {
  height: 100%;
  margin: 0;
  padding: 1.35rem 1.2rem 1.4rem 1.3rem;
  background: var(--tx-white);
  border-radius: 0;
  border: 1px solid rgba(28, 55, 98, 0.1);
  box-shadow: 0 0.4rem 1.25rem rgba(12, 28, 52, 0.1);
  border-left: 5px solid var(--tx-accent);
}

.tx-frota-pullcard__quote {
  font-family: var(--sr-font-text);
  font-size: 1rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--tx-blue-deep);
}

/* Frota — fundos e blocos por seção */
.tx-frota-composicao {
  background: var(--tx-white);
}

.tx-frota-composicao .tx-frota-split-main {
  text-align: left;
}

.tx-frota-numeros {
  background: var(--tx-white);
}

.tx-frota-manutencao {
  background: var(--tx-white);
}

.tx-frota-info-block {
  height: 100%;
  background: var(--tx-white);
  border-radius: 0;
  padding: 1.5rem 1.35rem 1.55rem;
  border: 1px solid rgba(28, 55, 98, 0.08);
  border-top: 4px solid var(--tx-accent);
  box-shadow: 0 0.3rem 0.9rem rgba(12, 28, 52, 0.06);
}

.tx-frota-info-block__title {
  margin-bottom: 1rem;
  color: var(--tx-blue-deep) !important;
}

.tx-frota-info-block__text {
  color: var(--tx-muted);
  line-height: 1.6;
  font-size: 0.98rem;
  font-family: var(--sr-font-text);
}

/* Títulos da frota usam .tx-section-title sem a barra lateral global */
.tx-frota-composicao .tx-frota-split-main__title.tx-section-title,
.tx-frota-info-block .tx-frota-info-block__title.tx-section-title {
  border-left: 0;
  padding-left: 0;
}

/* ——— Atuação (página) ——— */
.tx-page-atuacao #pilares-titulo.tx-section-title {
  border-left: 0;
  padding-left: 0;
}

.tx-page-atuacao .tx-atu-intro {
  position: relative;
  background: var(--tx-white);
  overflow: hidden;
}

.tx-page-atuacao .tx-atu-intro .container {
  position: relative;
  z-index: 1;
}

.tx-page-atuacao .tx-atu-editorial-title {
  font-family: var(--sr-font-title);
  color: var(--tx-blue-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tx-page-atuacao .tx-atu-editorial-lead {
  font-size: 1.08rem;
  line-height: 1.68;
  color: var(--tx-slate);
  font-family: var(--sr-font-text);
}

.tx-page-atuacao .tx-atu-trust {
  background: var(--tx-white);
}

.tx-page-atuacao .tx-atu-trust__item {
  padding: 0.85rem 0.5rem;
  border-radius: 0;
  border: 1px solid rgba(28, 55, 98, 0.08);
  background: linear-gradient(180deg, var(--tx-white) 0%, var(--tx-light) 100%);
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tx-page-atuacao .tx-atu-trust__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.45rem 1.1rem rgba(10, 22, 40, 0.1);
}

.tx-page-atuacao .tx-atu-trust__ico {
  display: block;
  font-size: 1.65rem;
  color: var(--tx-accent);
  margin-bottom: 0.45rem;
  filter: drop-shadow(0 0.15rem 0.35rem rgba(206, 127, 32, 0.25));
}

.tx-page-atuacao .tx-atu-trust__label {
  display: block;
  font-family: var(--sr-font-title);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tx-blue-deep);
  line-height: 1.3;
}

.tx-page-atuacao .tx-atu-bento {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 992px) {
  .tx-page-atuacao .tx-atu-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* Altura definida para que 1fr reparta em duas linhas iguais (cards 2×2 alinhados). */
    grid-template-rows: repeat(2, minmax(0, 1fr));
    min-height: clamp(22rem, 36vh, 34rem);
  }

  .tx-page-atuacao .tx-atu-bento--tres {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    min-height: clamp(18rem, 30vh, 28rem);
  }
}

.tx-page-atuacao .tx-atu-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 1.75rem 1.5rem 1.75rem 1.65rem;
  border-radius: 0;
  background: var(--tx-white);
  border: 1px solid rgba(28, 55, 98, 0.1);
  box-shadow: 0 0.5rem 1.5rem rgba(10, 22, 40, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tx-page-atuacao .tx-atu-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.85rem 2rem rgba(10, 22, 40, 0.12);
}

.tx-page-atuacao .tx-atu-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--tx-accent-soft), var(--tx-accent));
}

.tx-page-atuacao .tx-atu-tile__icon {
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-size: 1.5rem;
  color: var(--tx-blue-deep);
  background: linear-gradient(135deg, rgba(206, 127, 32, 0.18), rgba(243, 167, 44, 0.1));
  margin-bottom: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.tx-page-atuacao .tx-atu-tile__title {
  font-family: var(--sr-font-title);
  color: var(--tx-blue-deep) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.tx-page-atuacao .tx-atu-tile__text {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  color: var(--tx-slate);
  line-height: 1.6;
  font-family: var(--sr-font-text);
}

.tx-page-atuacao .tx-atu-tile__icon--light {
  color: var(--tx-accent-soft);
  background: linear-gradient(135deg, rgba(40, 72, 117, 0.35), rgba(28, 55, 98, 0.55));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.tx-page-atuacao .tx-atu-tile--slate {
  background: var(--tx-blue-card-gradient);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--tx-light);
}

.tx-page-atuacao .tx-atu-tile--slate::before {
  background: linear-gradient(90deg, var(--tx-accent-soft), var(--tx-warning-line));
}

.tx-page-atuacao .tx-atu-tile--slate .tx-atu-tile__title {
  color: var(--tx-white) !important;
}

.tx-page-atuacao .tx-atu-tile--slate .tx-atu-tile__text {
  color: rgba(232, 237, 242, 0.92);
}

.tx-page-atuacao .tx-atu-tile--slate .tx-atu-tile__text a {
  color: var(--tx-accent-soft);
  font-weight: 600;
}

.tx-page-atuacao .tx-atu-tile--slate .tx-atu-tile__text a:hover {
  color: var(--tx-white);
}

.tx-page-atuacao .tx-atu-coverage {
  background: var(--tx-white);
}

.tx-page-atuacao .tx-atu-prose-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--tx-white);
  border-radius: 0;
  padding: 1.6rem 1.45rem 1.65rem;
  border: 1px solid rgba(28, 55, 98, 0.08);
  box-shadow: 0 0.4rem 1.2rem rgba(12, 28, 52, 0.07);
}

/* Cobertura: faixa laranja é a borda superior do card (colada ao topo) */
.tx-page-atuacao .tx-atu-prose-card:not(.tx-atu-prose-card--accent) {
  border-top: 4px solid var(--tx-accent);
}

.tx-page-atuacao .tx-atu-prose-card:not(.tx-atu-prose-card--accent) .tx-atu-prose-card__title.tx-section-title {
  border-left: 0;
  padding-left: 0;
  margin-bottom: 1.1rem;
  margin-top: 0;
  border-bottom: none;
  padding-bottom: 0;
  border-top: none;
  padding-top: 0;
  display: inline-block;
  width: 100%;
}

/* Bases e pátio: sem linha abaixo do título */
.tx-page-atuacao .tx-atu-prose-card--accent .tx-atu-prose-card__title.tx-section-title {
  border-left: 0;
  padding-left: 0;
  margin-bottom: 1.1rem;
  border-bottom: none;
  border-top: none;
  padding-bottom: 0;
  padding-top: 0;
  display: inline-block;
  width: 100%;
}

.tx-page-atuacao .tx-atu-prose-card__text {
  color: var(--tx-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
  font-family: var(--sr-font-text);
}

.tx-page-atuacao .tx-atu-prose-card__note {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--tx-slate);
  padding: 1rem 1rem 1rem 1.1rem;
  background: rgba(206, 127, 32, 0.08);
  border-radius: 0;
  border-left: 4px solid var(--tx-accent);
  font-family: var(--sr-font-text);
}

.tx-page-atuacao .tx-atu-prose-card--accent {
  background: var(--tx-white);
  border-top: 4px solid var(--tx-accent);
}

.tx-page-atuacao .tx-atu-prose-card--accent .tx-atu-base-list {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(1.35rem, 2.8vmin, 2.35rem);
}

.tx-page-atuacao .tx-atu-prose-card--accent .tx-atu-base-list__item {
  margin-bottom: 0;
  line-height: 1.62;
}

.tx-page-atuacao .tx-atu-base-list__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
  color: var(--tx-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  font-family: var(--sr-font-text);
}

.tx-page-atuacao .tx-atu-base-list__icon {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-size: 1.1rem;
  color: var(--tx-blue-deep);
  background: linear-gradient(135deg, rgba(206, 127, 32, 0.22), rgba(243, 167, 44, 0.12));
}

.tx-page-atuacao .tx-atu-base-list__item a {
  font-weight: 600;
  color: var(--tx-blue);
}

.tx-page-atuacao .tx-atu-base-list__item a:hover {
  color: var(--tx-accent);
}

.tx-page-atuacao .tx-atu-pipeline {
  background: var(--tx-white);
}

.tx-page-atuacao .tx-atu-steps__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(28, 55, 98, 0.1);
}

.tx-page-atuacao .tx-atu-steps__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tx-page-atuacao .tx-atu-steps__badge {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-family: var(--sr-font-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--tx-blue-deep);
  background: linear-gradient(145deg, rgba(243, 167, 44, 0.35), rgba(206, 127, 32, 0.2));
  border: 2px solid rgba(28, 55, 98, 0.12);
  box-shadow: 0 0.2rem 0.5rem rgba(10, 22, 40, 0.08);
}

.tx-page-atuacao .tx-atu-steps__title {
  font-family: var(--sr-font-title);
  color: var(--tx-blue-deep) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tx-page-atuacao .tx-atu-steps__desc {
  font-size: 0.92rem;
  color: var(--tx-muted);
  line-height: 1.55;
  font-family: var(--sr-font-text);
}

.tx-page-atuacao .tx-atu-map {
  background: var(--tx-white);
}

.tx-page-atuacao .tx-atu-map__kicker {
  display: inline-block;
  font-family: var(--sr-font-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tx-accent);
  margin-bottom: 0.4rem;
}

.tx-page-atuacao .tx-atu-map__intro {
  color: var(--tx-muted);
  line-height: 1.6;
  font-size: 0.98rem;
  font-family: var(--sr-font-text);
}

.tx-page-atuacao .tx-atu-map__frame {
  margin: 0;
  padding: 0;
  border: none;
}

/* Mapa: imagem dentro da moldura institucional (.tx-home-institutional__* em atuacao.html) */
.tx-page-atuacao .tx-atu-map__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tx-page-atuacao .tx-atu-map__caption {
  margin-top: 1rem;
  padding: 0 0.25rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--tx-muted);
  text-align: center;
  font-family: var(--sr-font-text);
}

.tx-page-atuacao .tx-atu-cta {
  background: var(--tx-white);
}

.tx-page-atuacao .tx-atu-cta__inner {
  max-width: 38rem;
  margin: 0 auto;
}

.tx-page-atuacao .tx-atu-cta__lead {
  font-family: var(--sr-font-text);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--tx-slate);
}

@media (prefers-reduced-motion: reduce) {
  .tx-page-atuacao .tx-atu-trust__item,
  .tx-page-atuacao .tx-atu-tile {
    transition: none;
  }

  .tx-page-atuacao .tx-atu-trust__item:hover,
  .tx-page-atuacao .tx-atu-tile:hover {
    transform: none;
  }
}

/* Faixa editorial — card de introdução (padrão em todas as páginas e seções) */
.tx-serv-editorial {
  background: linear-gradient(180deg, #edf2f7 0%, #e8edf2 48%, #edf2f7 100%);
}

.tx-serv-editorial-title {
  font-family: var(--sr-font-title);
  color: var(--tx-blue-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.tx-serv-editorial-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--tx-slate);
  font-family: var(--sr-font-text);
}

/* Home — faixa branca sob o hero: logo + título; conteúdo centrado na área branca */
body.tx-page-home #texto-central.tx-serv-editorial {
  background: var(--tx-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding-top: 0.9rem !important;
  padding-bottom: 1.15rem !important;
  min-height: clamp(5.5rem, 13vw, 7.75rem);
}

body.tx-page-home #texto-central.tx-serv-editorial > .container {
  width: 100%;
}

body.tx-page-home #texto-central .tx-home-tagline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  text-align: center;
}

body.tx-page-home #texto-central .tx-home-tagline-head .tx-serv-editorial-title {
  text-align: center;
}

body.tx-page-home #texto-central .tx-home-tagline-head .img-fluid-logo {
  width: 50px !important;
  height: 50px !important;
}

@media (max-width: 575.98px) {
  body.tx-page-home #texto-central .tx-home-tagline-head {
    gap: 0.45rem 0.65rem;
  }

  body.tx-page-home #texto-central .tx-home-tagline-head .img-fluid-logo {
    width: 42px !important;
    height: 42px !important;
  }

  body.tx-page-home #texto-central .tx-home-tagline-head .tx-serv-editorial-title {
    font-size: 1.35rem;
  }
}

.tx-page-servicos .tx-serv-bento {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 992px) {
  .tx-page-servicos .tx-serv-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* Altura mínima + linhas 1fr para as duas fileiras terem a mesma altura (cards uniformes). */
    grid-template-rows: repeat(2, minmax(0, 1fr));
    min-height: clamp(22rem, 36vh, 34rem);
  }
}

.tx-page-servicos .tx-serv-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 1.75rem 1.5rem 1.75rem 1.65rem;
  border-radius: 0;
  background: var(--tx-white);
  border: 1px solid rgba(28, 55, 98, 0.1);
  box-shadow: 0 0.5rem 1.5rem rgba(10, 22, 40, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tx-page-servicos .tx-serv-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.85rem 2rem rgba(10, 22, 40, 0.12);
}

.tx-page-servicos .tx-serv-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--tx-accent-soft), var(--tx-accent));
}

.tx-page-servicos .tx-serv-tile__icon {
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-size: 1.5rem;
  color: var(--tx-blue-deep);
  background: linear-gradient(135deg, rgba(206, 127, 32, 0.18), rgba(243, 167, 44, 0.1));
  margin-bottom: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.tx-page-servicos .tx-serv-tile__title {
  font-family: var(--sr-font-title);
  color: var(--tx-blue-deep) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.tx-page-servicos .tx-serv-tile__text {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  color: var(--tx-slate);
  line-height: 1.6;
  font-family: var(--sr-font-text);
}

.tx-page-servicos .tx-serv-tile__icon--light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--tx-accent-soft);
  box-shadow: none;
}

.tx-page-servicos .tx-serv-tile--slate {
  background: var(--tx-blue-card-gradient);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--tx-light);
}

.tx-page-servicos .tx-serv-tile--slate::before {
  background: linear-gradient(90deg, var(--tx-accent-soft), var(--tx-warning-line));
}

.tx-page-servicos .tx-serv-tile--slate .tx-serv-tile__title {
  color: var(--tx-white) !important;
}

.tx-page-servicos .tx-serv-tile--slate .tx-serv-tile__text {
  color: rgba(232, 237, 242, 0.92);
}

.tx-page-servicos .tx-serv-flow {
  background: var(--tx-white);
}

.tx-page-servicos .tx-serv-steps__item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(28, 55, 98, 0.1);
}

.tx-page-servicos .tx-serv-steps__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tx-page-servicos .tx-serv-steps__badge {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-family: var(--sr-font-title);
  font-weight: 700;
  font-size: 1rem;
  color: var(--tx-blue-deep);
  background: var(--tx-white);
  border: 2px solid var(--tx-accent);
  box-shadow: 0 0.2rem 0.5rem rgba(206, 127, 32, 0.2);
}

.tx-page-servicos .tx-serv-steps__title {
  font-family: var(--sr-font-title);
  color: var(--tx-blue-deep) !important;
  letter-spacing: 0.02em;
}

.tx-page-servicos .tx-serv-steps__desc {
  color: var(--tx-muted);
  font-family: var(--sr-font-text);
}

.tx-page-servicos .tx-serv-quote {
  margin: 0 auto;
  max-width: 52rem;
  padding: 2rem 1.75rem 2rem 2rem;
  border-left: 5px solid var(--tx-accent);
  border-radius: 0;
  background: linear-gradient(90deg, rgba(206, 127, 32, 0.1) 0%, rgba(255, 255, 255, 0.95) 38%);
  box-shadow: 0 0.4rem 1.25rem rgba(10, 22, 40, 0.06);
}

.tx-page-servicos .tx-serv-quote blockquote p {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.65;
  color: var(--tx-blue-deep);
  font-weight: 500;
  margin: 0;
  font-family: var(--sr-font-text);
}

.tx-page-servicos .tx-serv-quote__cap {
  font-size: 0.82rem;
  color: var(--tx-muted);
  font-style: normal;
  font-family: var(--sr-font-text);
}

.tx-page-servicos .tx-serv-scope {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  border-radius: 0;
  background: var(--tx-white);
  border: 1px dashed rgba(206, 127, 32, 0.55);
  box-shadow: 0 0.35rem 1rem rgba(10, 22, 40, 0.06);
}

.tx-page-servicos .tx-serv-scope__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-size: 1.5rem;
  color: var(--tx-accent);
  background: rgba(206, 127, 32, 0.12);
}

.tx-page-servicos .tx-serv-scope__title {
  font-family: var(--sr-font-title);
  color: var(--tx-blue-deep) !important;
}

.tx-page-servicos .tx-serv-scope__text {
  color: var(--tx-slate);
  line-height: 1.6;
  font-family: var(--sr-font-text);
}

@media (max-width: 575.98px) {
  .tx-page-servicos .tx-serv-scope {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tx-page-servicos .tx-serv-tile:hover {
    transform: none;
  }

  .tx-page-servicos .tx-serv-tile {
    transition: none;
  }
}

/* ——— Página Sobre (narrativa + paleta :root) ——— */
.tx-page-sobre .tx-page-head {
  border-top: 2px solid var(--sr-accent);
}

/* Capa Sobre: mesmas medidas do hero-pill da Rede São Roque; regras com maior
   especificidade para o mobile (90% / padding) não perderem para um max-width
   maior só no desktop. */
.tx-page-sobre .tx-sobre-hero .hero-pill {
  max-width: 26rem;
  border-radius: 100px 0 100px 0;
}

@media (max-width: 991.98px) {
  .tx-page-sobre .tx-sobre-hero .hero-pill {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 48px 0 48px 0;
    padding: 1.5rem 1.75rem;
  }
}

/* Capa Home (index2): mesmas medidas da pill da capa Sobre */
.tx-page-home .tx-sobre-hero .hero-pill {
  max-width: 26rem;
  border-radius: 100px 0 100px 0;
}

@media (max-width: 991.98px) {
  .tx-page-home .tx-sobre-hero .hero-pill {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 48px 0 48px 0;
    padding: 1.5rem 1.75rem;
  }
}

.tx-page-sobre .tx-sobre-hero__btn-ghost {
  font-weight: 600;
  color: var(--tx-white) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  background: rgba(28, 55, 98, 0.2);
}

.tx-page-sobre .tx-sobre-hero__btn-ghost:hover {
  background: var(--tx-blue-deep);
  border-color: var(--tx-white) !important;
  color: var(--tx-white) !important;
}

.tx-page-sobre .tx-sobre-editorial {
  position: relative;
  background:
    radial-gradient(ellipse 120% 80% at 10% 0%, rgba(206, 127, 32, 0.09) 0%, transparent 55%),
    linear-gradient(180deg, var(--tx-white) 0%, var(--tx-light) 100%);
  overflow: hidden;
}

.tx-page-sobre .tx-sobre-editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(40, 72, 117, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.tx-page-sobre .tx-sobre-editorial .container {
  position: relative;
  z-index: 1;
}

.tx-page-sobre .tx-sobre-editorial__kicker {
  font-family: var(--sr-font-title);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--tx-accent);
}

.tx-page-sobre .tx-sobre-editorial__lead {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.72;
  color: var(--tx-slate);
  font-weight: 500;
  font-family: var(--sr-font-text);
}

.tx-page-sobre .tx-sobre-editorial__drop {
  float: left;
  font-family: var(--sr-font-title);
  font-size: clamp(3rem, 7vw, 4.25rem);
  line-height: 0.82;
  margin-right: 0.2em;
  margin-top: 0.04em;
  font-weight: 700;
  color: var(--tx-accent);
  text-shadow: 0 0.08em 0 rgba(28, 55, 98, 0.12);
}

.tx-page-sobre .tx-sobre-editorial__lead::after {
  content: "";
  display: table;
  clear: both;
}

.tx-page-sobre .tx-sobre-historico {
  background: var(--tx-white);
}

.tx-page-sobre .tx-sobre-prose {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--tx-slate);
  font-family: var(--sr-font-text);
}

.tx-page-sobre .tx-sobre-timeline {
  position: relative;
  padding-left: 0;
}

.tx-page-sobre .tx-sobre-timeline::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(180deg, var(--tx-accent) 0%, rgba(40, 72, 117, 0.25) 100%);
  border-radius: 0;
}

.tx-page-sobre .tx-sobre-timeline__item {
  position: relative;
  padding-left: 2.35rem;
  margin-bottom: 1.75rem;
}

.tx-page-sobre .tx-sobre-timeline__item:last-child {
  margin-bottom: 0;
}

.tx-page-sobre .tx-sobre-timeline__item::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.35rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 0;
  background: var(--tx-white);
  border: 3px solid var(--tx-accent);
  box-shadow: 0 0 0 4px rgba(206, 127, 32, 0.2);
}

.tx-page-sobre .tx-sobre-timeline__year {
  display: inline-block;
  font-family: var(--sr-font-title);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tx-blue-deep);
  background: rgba(206, 127, 32, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: 0;
  margin-bottom: 0.5rem;
}

.tx-page-sobre .tx-sobre-timeline__item p {
  color: var(--tx-slate);
  line-height: 1.65;
  font-size: 0.98rem;
  font-family: var(--sr-font-text);
}

.tx-page-sobre .tx-sobre-stats {
  padding-top: 0.5rem;
}

/* Alinhado aos tiles da página Serviços (barra lateral, sombra, branco / slate) */
.tx-page-sobre .tx-sobre-stat {
  position: relative;
  height: 100%;
  padding: 1.75rem 1.5rem 1.75rem 1.65rem;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tx-page-sobre .tx-sobre-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--tx-accent-soft), var(--tx-accent));
}

.tx-page-sobre .tx-sobre-stat:hover {
  transform: translateY(-4px);
}

.tx-page-sobre .tx-sobre-stat--light {
  background: var(--tx-white);
  border: 1px solid rgba(28, 55, 98, 0.1);
  box-shadow: 0 0.5rem 1.5rem rgba(10, 22, 40, 0.08);
}

.tx-page-sobre .tx-sobre-stat--light:hover {
  box-shadow: 0 0.85rem 2rem rgba(10, 22, 40, 0.12);
}

.tx-page-sobre .tx-sobre-stat--slate {
  background: var(--tx-blue-card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0.5rem 1.5rem rgba(10, 22, 40, 0.12);
}

.tx-page-sobre .tx-sobre-stat--slate::before {
  background: linear-gradient(180deg, var(--tx-accent-soft), var(--tx-warning-line));
}

.tx-page-sobre .tx-sobre-stat--slate:hover {
  box-shadow: 0 0.85rem 2rem rgba(10, 22, 40, 0.2);
}

.tx-page-sobre .tx-sobre-stat__num {
  display: block;
  font-family: var(--sr-font-title);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 1;
}

.tx-page-sobre .tx-sobre-stat__label {
  font-size: 0.82rem;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  font-family: var(--sr-font-text);
}

.tx-page-sobre .tx-sobre-stat--slate .tx-sobre-stat__num {
  color: var(--tx-white);
}

.tx-page-sobre .tx-sobre-stat--slate .tx-sobre-stat__label {
  color: rgba(232, 237, 242, 0.92);
}

.tx-page-sobre .tx-sobre-stat--light .tx-sobre-stat__num {
  color: var(--tx-blue-deep);
}

.tx-page-sobre .tx-sobre-stat--light .tx-sobre-stat__label {
  color: var(--tx-slate);
}

.tx-page-sobre .tx-sobre-check {
  background: linear-gradient(135deg, rgba(40, 72, 117, 0.04) 0%, var(--tx-white) 40%);
  border-left: 4px solid var(--tx-accent) !important;
}

.tx-page-sobre .tx-sobre-check__title {
  font-family: var(--sr-font-title);
  letter-spacing: 0.1em;
  color: var(--tx-blue-deep);
}

.tx-page-sobre .tx-sobre-check__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(28, 55, 98, 0.08);
  font-size: 0.95rem;
  color: var(--tx-slate);
  font-family: var(--sr-font-text);
}

.tx-page-sobre .tx-sobre-check__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tx-page-sobre .tx-sobre-check__list i {
  flex-shrink: 0;
  color: var(--tx-accent);
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

.tx-page-sobre .tx-sobre-quote {
  background: var(--tx-blue-deep);
  position: relative;
  overflow: hidden;
}

.tx-page-sobre .tx-sobre-quote__inner {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 2rem 1.5rem 2rem 2.25rem;
  border-left: 5px solid var(--tx-accent-soft);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.tx-page-sobre .tx-sobre-quote__inner p {
  font-family: var(--sr-font-title);
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--tx-light);
  margin: 0;
  font-style: italic;
}

.tx-page-sobre .tx-sobre-mvv {
  background: var(--tx-white);
}

.tx-page-sobre .tx-sobre-mvv__kicker {
  font-family: var(--sr-font-title);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--tx-accent);
}

.tx-page-sobre .tx-sobre-mvv__title {
  border: none !important;
  padding: 0 !important;
  color: var(--tx-blue-deep);
}

.tx-page-sobre .tx-sobre-mvv__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border-radius: 0;
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.14);
  color: var(--tx-accent-soft);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tx-page-sobre .missao-box.middle .tx-sobre-mvv__icon {
  background: rgba(206, 127, 32, 0.12);
  color: var(--tx-accent);
  border-color: rgba(206, 127, 32, 0.25);
}

.tx-page-sobre .missao-box.left,
.tx-page-sobre .missao-box.right {
  background: var(--tx-blue-card-gradient);
  color: var(--tx-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 4px solid var(--tx-accent);
  border-radius: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tx-page-sobre .missao-box.left:hover,
.tx-page-sobre .missao-box.right:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(10, 22, 40, 0.35);
}

.tx-page-sobre .missao-box.middle {
  background: var(--tx-white);
  border-radius: 0;
  border: 1px solid rgba(28, 55, 98, 0.1);
  border-top: 4px solid var(--tx-accent);
  box-shadow: 0 1rem 2.5rem rgba(10, 22, 40, 0.12);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .tx-page-sobre .missao-box.middle {
    transform: scale(1.02);
  }
}

.tx-page-sobre .missao-box.left h2,
.tx-page-sobre .missao-box.right h2 {
  color: var(--tx-white);
}

.tx-page-sobre .missao-box.middle h2 {
  color: var(--tx-blue-deep);
}

.tx-page-sobre .tx-sobre-mvv__text {
  line-height: 1.65;
  font-family: var(--sr-font-text);
}

.tx-page-sobre .missao-box.left .tx-sobre-mvv__text,
.tx-page-sobre .missao-box.right .tx-sobre-mvv__text {
  color: rgba(232, 237, 242, 0.92);
}

.tx-page-sobre .missao-box.middle .tx-sobre-mvv__text {
  color: var(--tx-slate);
}

.tx-page-sobre .tx-sobre-equipe {
  background: var(--tx-white);
}

.tx-page-sobre .tx-sobre-equipe__intro {
  align-items: flex-start;
}

@media (min-width: 992px) {
  .tx-page-sobre .tx-sobre-equipe__intro {
    align-items: center;
  }

  .tx-page-sobre .tx-sobre-equipe__quote-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }
}

.tx-page-sobre .tx-sobre-equipe__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.35rem 1.35rem 1.35rem 1.5rem;
  border-radius: 0;
  border: 1px solid rgba(28, 55, 98, 0.12);
  border-left: 4px solid var(--tx-accent);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0.5rem 1.5rem rgba(10, 22, 40, 0.08);
}

@media (max-width: 991.98px) {
  .tx-page-sobre .tx-sobre-equipe__quote-col {
    display: flex;
    justify-content: center;
  }

  .tx-page-sobre .tx-sobre-equipe__visual {
    max-width: 26rem;
    width: 100%;
  }

  .tx-page-sobre .tx-sobre-equipe__visual-text {
    text-align: center;
  }
}

.tx-page-sobre .tx-sobre-equipe__visual-text {
  position: relative;
  z-index: 1;
  max-width: none;
  text-align: left;
  font-family: var(--sr-font-title);
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  color: var(--tx-blue-deep);
  line-height: 1.5;
  margin: 0;
}

.tx-page-sobre .tx-sobre-pilar {
  padding: 1.75rem 1.5rem;
  border-radius: 0;
  background: var(--tx-blue-card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--tx-accent-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tx-page-sobre .tx-sobre-pilar:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.75rem rgba(10, 22, 40, 0.25);
  border-color: rgba(255, 255, 255, 0.2);
  border-top-color: var(--tx-accent-soft);
}

.tx-page-sobre .tx-sobre-pilar__icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  color: var(--tx-accent-soft);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tx-sobre-pilar:not(.tx-sobre-pilar--light) :is(h1, h2, h3, h4, h5, h6) {
  color: var(--tx-white) !important;
  font-weight: 700;
}

.tx-page-sobre .tx-sobre-pilar .small,
.tx-page-sobre .tx-sobre-pilar .text-secondary {
  color: rgba(232, 237, 242, 0.9) !important;
}

.tx-page-sobre .tx-sobre-pilar--light {
  background: var(--tx-white);
  border: 1px solid rgba(28, 55, 98, 0.1);
  border-top: 3px solid var(--tx-accent-soft);
  box-shadow: 0 0.35rem 1rem rgba(10, 22, 40, 0.08);
}

.tx-page-sobre .tx-sobre-pilar--light:hover {
  box-shadow: 0 0.75rem 1.75rem rgba(10, 22, 40, 0.12);
}

.tx-page-sobre .tx-sobre-pilar--light .tx-sobre-pilar__icon {
  color: var(--tx-accent);
  background: rgba(206, 127, 32, 0.12);
  border: 1px solid rgba(206, 127, 32, 0.22);
}

.tx-sobre-pilar--light :is(h1, h2, h3, h4, h5, h6) {
  color: var(--tx-blue-deep) !important;
  font-weight: 700;
}

.tx-page-sobre .tx-sobre-pilar--light .small,
.tx-page-sobre .tx-sobre-pilar--light .text-secondary {
  color: var(--tx-slate) !important;
}

@media (prefers-reduced-motion: reduce) {
  .tx-page-sobre .tx-sobre-stat:hover,
  .tx-page-sobre .missao-box.left:hover,
  .tx-page-sobre .missao-box.right:hover,
  .tx-page-sobre .tx-sobre-pilar:hover {
    transform: none;
  }

  .tx-page-sobre .tx-sobre-equipe__visual {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--tx-light);
  }
}

/* ——— Página Contato ——— */
/* Tipografia alinhada à Rede São Roque (Poppins + letter-spacing 0.02em no body da página, ver topo do arquivo). */

body.tx-page-contato .tx-serv-editorial {
  position: relative;
  overflow: hidden;
}

.tx-page-contato .tx-contato-trust {
  background: var(--tx-white);
}

.tx-page-contato .tx-contato-trust__item {
  padding: 1rem 0.75rem;
  border-radius: 0;
  border: 1px solid rgba(28, 55, 98, 0.08);
  background: linear-gradient(180deg, var(--tx-white) 0%, rgba(232, 237, 242, 0.65) 100%);
  height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tx-page-contato .tx-contato-trust__item:hover {
  box-shadow: 0 0.5rem 1.25rem rgba(10, 22, 40, 0.08);
  transform: translateY(-2px);
}

.tx-page-contato .tx-contato-trust__ico {
  display: block;
  font-size: 1.65rem;
  color: var(--tx-accent);
  margin-bottom: 0.35rem;
}

.tx-page-contato .tx-contato-trust__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tx-blue-deep);
}

.tx-page-contato .tx-contato-trust__detail {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.02em;
  color: rgba(28, 55, 98, 0.62);
  line-height: 1.35;
}

.tx-page-contato .tx-contato-trust__item--action {
  display: block;
  width: 100%;
  text-align: center;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.tx-page-contato .tx-contato-trust__item--action:focus-visible {
  outline: 2px solid var(--tx-accent);
  outline-offset: 2px;
}

.tx-contato-modal {
  border-radius: 0;
}

.tx-contato-modal__title-icon {
  color: var(--tx-accent);
}

.tx-contato-modal__lead {
  color: var(--tx-slate);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.tx-contato-modal__states {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--tx-slate);
  line-height: 1.7;
}

.tx-contato-modal__states li + li {
  margin-top: 0.15rem;
}

.tx-contato-modal__docs-status {
  color: var(--tx-muted);
  line-height: 1.5;
}

.tx-contato-modal__docs {
  margin-top: 1.25rem;
}


.tx-contato-modal__docs li + li {
  margin-top: 0.65rem;
}

.tx-contato-modal__doc-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: inherit;
  background: rgba(10, 22, 40, 0.03);
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-left: 3px solid var(--tx-accent);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.tx-contato-modal__doc-link:hover {
  background: rgba(10, 22, 40, 0.06);
  border-color: rgba(10, 22, 40, 0.14);
  color: inherit;
  transform: translateX(2px);
}

.tx-contato-modal__doc-ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.35rem;
  color: var(--tx-accent);
  background: rgba(232, 119, 34, 0.1);
  border-radius: 0.35rem;
}

.tx-contato-modal__doc-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.tx-contato-modal__doc-title {
  font-weight: 700;
  color: var(--tx-blue-deep);
  line-height: 1.3;
}

.tx-contato-modal__doc-sub {
  font-size: 0.85rem;
  color: var(--tx-slate);
  line-height: 1.4;
}

.tx-contato-modal__doc-action {
  flex-shrink: 0;
  color: var(--tx-slate);
  opacity: 0.7;
}

.tx-contato-modal__viewer-title {
  font-family: var(--tx-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--tx-blue-deep);
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
}

.tx-contato-modal__viewer {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.tx-contato-modal__viewer-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.tx-contato-modal__viewer-back {
  grid-column: 1;
  grid-row: 1;
}

.tx-contato-modal__viewer-download {
  grid-column: 3;
  grid-row: 1;
}

.tx-contato-modal__viewer-zoom-bar {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  grid-column: 1 / -1;
  grid-row: 2;
  padding: 0.35rem 0.5rem;
  background: rgba(10, 22, 40, 0.04);
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 0.35rem;
}

.tx-contato-modal__viewer-zoom-bar .btn {
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tx-contato-modal__viewer-zoom-level {
  min-width: 3rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tx-slate);
}

.tx-contato-modal__viewer-scroll {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: min(70vh, 640px);
  border: 1px solid rgba(10, 22, 40, 0.1);
  border-radius: 0.35rem;
  background: #525659;
}

.tx-contato-modal__viewer-frame {
  display: block;
  width: 100%;
  min-height: min(70vh, 640px);
  height: min(70vh, 640px);
  border: 0;
  background: #525659;
}

#modalDocumentacaoLegalDialog.tx-docs-viewer-open .modal-content.tx-contato-modal--docs {
  min-height: 100%;
}

@media (max-width: 767.98px) {
  #modalDocumentacaoLegalDialog.tx-docs-viewer-open {
    margin: 0;
    max-width: none;
    width: 100%;
    height: 100%;
  }

  #modalDocumentacaoLegalDialog.tx-docs-viewer-open .modal-content.tx-contato-modal--docs {
    min-height: 100dvh;
    border-radius: 0;
  }

  #modalDocumentacaoLegalDialog.tx-docs-viewer-open .modal-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding-bottom: 1rem;
  }

  #modalDocumentacaoLegalDialog.tx-docs-viewer-open .tx-contato-modal__viewer {
    flex: 1 1 auto;
    min-height: 0;
  }

  #modalDocumentacaoLegalDialog.tx-docs-viewer-open .tx-contato-modal__viewer-toolbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.4rem;
  }

  #modalDocumentacaoLegalDialog.tx-docs-viewer-open .tx-contato-modal__viewer-zoom-bar {
    display: flex;
  }

  #modalDocumentacaoLegalDialog.tx-docs-viewer-open .tx-contato-modal__viewer-scroll {
    min-height: 0;
    flex: 1 1 auto;
    max-height: none;
  }

  #modalDocumentacaoLegalDialog.tx-docs-viewer-open .tx-contato-modal__viewer-frame {
    min-height: calc(100dvh - 11.5rem);
    height: calc(100dvh - 11.5rem);
  }
}

.tx-contato-modal__note {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--tx-muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(28, 55, 98, 0.08);
}

/* Modal institucional — mesmo padrão da Rede São Roque (modal-como-chegar) */
.tx-modal-sr {
  position: fixed;
  inset: 0;
  z-index: 10500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(1rem, env(safe-area-inset-top, 0px))
    1rem
    max(1rem, env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.tx-modal-sr[hidden] {
  display: none !important;
}

body.tx-modal-sr-aberto {
  overflow: hidden;
}

.tx-modal-sr__backdrop {
  position: fixed;
  inset: 0;
  border: none;
  padding: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(3px);
  cursor: pointer;
}

.tx-modal-sr__caixa {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  max-height: min(calc(100dvh - 2rem), 92vh);
  overflow-y: auto;
  margin: auto;
  flex-shrink: 0;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 16px 40px rgba(28, 55, 98, 0.22);
}

.tx-modal-sr__cabecalho {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.5rem;
}

.tx-modal-sr__titulo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--tx-accent);
  text-transform: capitalize;
}

.tx-modal-sr__titulo .bi {
  font-size: 1.15rem;
}

.tx-modal-sr__fechar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #333;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.tx-modal-sr__fechar:hover {
  background: #f1f5f9;
}

.tx-modal-sr__corpo {
  padding: 0.25rem 1rem 1rem;
}

.tx-modal-sr__lead {
  color: var(--tx-slate);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.tx-modal-sr__states {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--tx-slate);
  line-height: 1.7;
}

.tx-modal-sr__states li + li {
  margin-top: 0.15rem;
}

.tx-modal-sr__note {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--tx-muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(28, 55, 98, 0.08);
}

.tx-page-contato a.tx-contato-card,
.tx-page-contato .tx-contato-card--action {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
}

.tx-page-contato a.tx-contato-card {
  text-decoration: none;
}

.tx-page-contato a.tx-contato-card:focus-visible {
  outline: 2px solid var(--tx-accent);
  outline-offset: 2px;
}

.tx-page-contato .tx-contato-card--action:focus-visible {
  outline: 2px solid var(--tx-accent);
  outline-offset: 2px;
}

.tx-page-contato .tx-contato-channels-wrap {
  position: relative;
  background: var(--tx-white);
}

.tx-page-contato .tx-contato-channels-wrap .tx-section-title {
  font-weight: 700;
}

/* Canais de contato: 3 cards — azul | branco | azul */
.tx-page-contato #canais > .container {
  max-width: min(100%, 72rem);
}

.tx-page-contato .tx-contato-channels-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
  .tx-page-contato .tx-contato-channels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tx-page-contato .tx-contato-channels-grid > .tx-reveal {
  display: flex;
  min-height: 100%;
}

.tx-page-contato .tx-contato-channels-grid > .tx-reveal .tx-contato-card {
  flex: 1 1 auto;
  width: 100%;
}

.tx-page-contato .tx-contato-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.65rem 1.25rem 1.5rem;
  border-radius: 0;
  background: var(--tx-white);
  border: 1px solid rgba(28, 55, 98, 0.1);
  border-top: 3px solid var(--tx-accent-soft);
  box-shadow: 0 0.35rem 1.1rem rgba(10, 22, 40, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.tx-page-contato .tx-contato-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2.25rem rgba(10, 22, 40, 0.12);
}

.tx-page-contato .tx-contato-card__glow {
  position: absolute;
  width: 140%;
  height: 80%;
  left: -20%;
  bottom: -40%;
  background: radial-gradient(ellipse at center, rgba(40, 72, 117, 0.09) 0%, transparent 65%);
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0.7;
}

.tx-page-contato .tx-contato-card:hover .tx-contato-card__glow {
  opacity: 1;
}

.tx-page-contato .tx-contato-card__icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  color: var(--tx-accent);
  background: linear-gradient(145deg, rgba(206, 127, 32, 0.15), rgba(40, 72, 117, 0.08));
  border: 1px solid rgba(206, 127, 32, 0.22);
}

.tx-page-contato .tx-contato-card__icon--on-dark {
  color: var(--tx-accent-soft);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.tx-page-contato .tx-contato-card__title {
  color: var(--tx-blue-deep);
  font-weight: 700;
  width: 100%;
  padding-inline: 0.5rem;
  flex-shrink: 0;
  margin-bottom: 0.65rem;
}

.tx-page-contato .tx-contato-card--accent {
  background: var(--tx-blue-card-gradient);
  border-color: rgba(255, 255, 255, 0.12);
  border-top-color: var(--tx-accent-soft);
}

.tx-page-contato .tx-contato-card--accent .tx-contato-card__title {
  color: var(--tx-white);
}

.tx-page-contato .tx-contato-card__text {
  flex: 1 1 auto;
  width: 100%;
  padding-inline: 0.5rem;
  margin-bottom: 0 !important;
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: center;
}

.tx-page-contato .tx-contato-card--accent .tx-contato-card__text {
  color: rgba(232, 237, 242, 0.88) !important;
}

.tx-page-contato .tx-contato-card:not(.tx-contato-card--accent) .tx-contato-card__text {
  color: var(--tx-slate);
}

.tx-page-contato .tx-contato-card__link {
  position: relative;
  z-index: 2;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--tx-blue);
  text-decoration: none;
  margin-top: auto;
  flex-shrink: 0;
  padding-top: 0.5rem;
  width: 100%;
  padding-inline: 0.5rem;
}

.tx-page-contato .tx-contato-card__link:hover {
  color: var(--tx-accent);
}

.tx-page-contato .tx-contato-card__link--on-dark {
  color: var(--tx-accent-soft);
}

.tx-page-contato .tx-contato-card__link--on-dark:hover {
  color: var(--tx-white);
}

.tx-page-contato .tx-contato-facts__row {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(28, 55, 98, 0.1);
}

.tx-page-contato .tx-contato-facts__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tx-page-contato .tx-contato-facts__ico {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: rgba(206, 127, 32, 0.12);
  color: var(--tx-accent);
  font-size: 1.1rem;
}

.tx-page-contato .tx-contato-social {
  background: var(--tx-white);
}

.tx-page-contato .tx-contato-social__inner {
  padding: 2rem 1.75rem;
  border-radius: 0;
  background: var(--tx-blue-card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1rem 2rem rgba(10, 22, 40, 0.18);
  position: relative;
  overflow: hidden;
}

.tx-page-contato .tx-contato-social__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.15rem;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--tx-white);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tx-page-contato .tx-contato-social__btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--tx-white);
  transform: translateY(-2px);
}

.tx-page-contato .tx-contato-social__btn--accent {
  background: linear-gradient(90deg, var(--tx-accent), var(--tx-accent-soft));
  border-color: transparent;
  color: var(--tx-blue-deep);
}

.tx-page-contato .tx-contato-social__btn--accent:hover {
  color: var(--tx-blue-deep);
  filter: brightness(1.05);
}

body.tx-page-atuacao main .btn,
body.tx-page-contato main .btn,
body.tx-page-frota main .btn,
body.tx-page-home main .btn,
body.tx-page-seguranca main .btn,
body.tx-page-sobre main .btn,
main.tx-page-servicos .btn {
  border-radius: 0;
}

main .btn-sr-primary,
.tx-team-cta .btn-sr-primary {
  border-radius: 8px;
}

/* Capa Sobre e capa Home (index2): mesma pílula âmbar e botão com cantos da referência */
body.tx-page-sobre .tx-sobre-hero .hero-pill .btn-sr-primary,
body.tx-page-home .tx-sobre-hero .hero-pill .btn-sr-primary {
  border-radius: 25px 0 25px 0;
}

body.tx-page-atuacao .whatsapp-float,
body.tx-page-contato .whatsapp-float,
body.tx-page-frota .whatsapp-float,
body.tx-page-home .whatsapp-float,
body.tx-page-seguranca .whatsapp-float,
body.tx-page-sobre .whatsapp-float,
body:has(main.tx-page-servicos) .whatsapp-float {
  border-radius: 50%;
}

/* Utilitários Bootstrap .rounded-* (Frota, Segurança, Sobre, Serviços, Home) */
body.tx-page-frota main#conteudo-principal [class*="rounded"],
body.tx-page-home main#conteudo-principal [class*="rounded"],
body.tx-page-seguranca main#conteudo-principal [class*="rounded"],
body.tx-page-sobre main#conteudo-principal [class*="rounded"],
main#conteudo-principal.tx-page-servicos [class*="rounded"] {
  border-radius: 0 !important;
}

body.tx-page-home main .card {
  border-radius: 0;
}

body.tx-page-sobre main .card {
  border-radius: 0;
}

/* Elevação ao hover — mesmo padrão dos cards de contato */
:is(
  .tx-card,
  a.card.tx-card.tx-home-topic,
  .card.tx-card.tx-home-topic,
  .tx-pilar-card,
  .tx-sec-reg__card,
  .tx-fleet-impact__stat,
  .tx-page-atuacao .tx-atu-trust__item,
  .tx-page-atuacao .tx-atu-tile,
  .tx-page-servicos .tx-serv-tile,
  .tx-page-sobre .tx-sobre-stat,
  .tx-page-sobre .missao-box,
  .tx-page-sobre .tx-sobre-pilar,
  .tx-page-contato .tx-contato-trust__item,
  .tx-page-contato .tx-contato-card,
  .tx-frota-pullcard,
  .tx-frota-info-block
) {
  transition: var(--tx-card-hover-transition);
}

:is(
  .tx-card,
  a.card.tx-card.tx-home-topic,
  .card.tx-card.tx-home-topic,
  .tx-pilar-card,
  .tx-sec-reg__card,
  .tx-fleet-impact__stat,
  .tx-page-atuacao .tx-atu-trust__item,
  .tx-page-atuacao .tx-atu-tile,
  .tx-page-servicos .tx-serv-tile,
  .tx-page-sobre .tx-sobre-stat,
  .tx-page-sobre .missao-box,
  .tx-page-sobre .tx-sobre-pilar,
  .tx-page-contato .tx-contato-trust__item,
  .tx-page-contato .tx-contato-card,
  .tx-frota-pullcard,
  .tx-frota-info-block
):hover,
.tx-pilar-card.tx-reveal.tx-reveal-visible:hover {
  transform: translateY(var(--tx-card-lift));
  box-shadow: var(--tx-card-shadow-hover);
}

@media (min-width: 768px) {
  .tx-page-sobre .missao-box.middle:hover {
    transform: translateY(var(--tx-card-lift)) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(
    .tx-card,
    a.card.tx-card.tx-home-topic,
    .card.tx-card.tx-home-topic,
    .tx-pilar-card,
    .tx-sec-reg__card,
    .tx-fleet-impact__stat,
    .tx-page-atuacao .tx-atu-trust__item,
    .tx-page-atuacao .tx-atu-tile,
    .tx-page-servicos .tx-serv-tile,
    .tx-page-sobre .tx-sobre-stat,
    .tx-page-sobre .missao-box,
    .tx-page-sobre .tx-sobre-pilar,
    .tx-page-contato .tx-contato-trust__item,
    .tx-page-contato .tx-contato-card,
    .tx-frota-pullcard,
    .tx-frota-info-block
  ):hover,
  .tx-pilar-card.tx-reveal.tx-reveal-visible:hover,
  .tx-page-contato .tx-contato-social__btn:hover {
    transform: none;
  }
}