﻿:root {
  /* --tds-teal: #078891; */
  --tds-teal: #008ea1;
  --tds-teal-dark: #006f7d;
  --tds-deep: #003d4a;
  --whatsapp: #00b765;
  --white: #ffffff;
  --page-width: 1920px;
  --font-main: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Mantém o documento atual visível enquanto a próxima página é preparada. */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 160ms;
  animation-timing-function: ease-out;
}

:focus-visible {
  outline: 3px solid #f5c84c;
  outline-offset: 4px;
}

body {
  min-width: 320px;
  background: #ffffff;
  color: var(--tds-deep);
  font-family: var(--font-main);
  overflow-x: hidden;
}

body.about-page {
  background: #ffffff;
}

img {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.01ms !important;
  }
}

a,
a:link,
a:visited,
a:hover,
a:active {
  /* color: inherit; */
  text-decoration: none !important;
}

.main-header {
  position: relative;
  z-index: 10;
  height: 93px;
  background: var(--tds-teal);
}

.header-inner {
  width: min(100%, var(--page-width));
  height: 100%;
  margin: 0 auto;
  padding: 0 268px 0 270px;
  display: grid;
  grid-template-columns: 160px 1fr 274px;
  align-items: center;
  column-gap: 80px;
}

.brand img {
  width: 220px;
  height: auto;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 52px;
  list-style: none;
}

.main-nav a {
  display: inline-block;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  padding-bottom: 6px;
  border-bottom: 4px solid transparent;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: #023f53;
  border-bottom-color: #023f53;
}

.main-nav a:hover {
  transform: translateY(-2px);
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.whatsapp-button--header {
  width: 274px;
  height: 56px;
  padding-inline: 18px;
  background: #ffffff;
  color: var(--whatsapp);
  font-size: 20px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

.whatsapp-mark {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 4px solid var(--whatsapp);
  border-radius: 50%;
}

.whatsapp-mark::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 8px;
  height: 12px;
  border-right: 4px solid var(--whatsapp);
  border-bottom: 4px solid var(--whatsapp);
  border-radius: 2px;
  transform: rotate(-32deg);
}

.whatsapp-mark::after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: -4px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-left: 4px solid var(--whatsapp);
  transform: rotate(-18deg);
}

.menu-toggle {
  display: none;
}

.hero-section {
  position: relative;
  height: min(956px, 49.63vw);
  overflow: hidden;
  background-color: #062844;
  background-image: url("../assets/img/CAPA-HOME.png");
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0, 19, 52, 0.56) 0%,
      rgba(0, 33, 47, 0.35) 50%,
      rgba(0, 28, 55, 0.6) 100%),
    rgba(0, 0, 0, 0.14);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(100%, var(--page-width));
  height: 100%;
  margin: 0 auto;
}

.hero-copy {
  position: absolute;
  left: clamp(150px, 14.27vw, 274px);
  top: clamp(120px, 10.9vw, 209px);
  z-index: 2;
  width: clamp(500px, 40vw, 768px);
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
}

.hero-copy h1 {
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(54px, 3.605vw, 69.22px);
  line-height: 1.075;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy p {
  margin-top: clamp(28px, 1.82vw, 35px);
  width: clamp(500px, 34vw, 653px);
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  /* font-size: clamp(17px, 1.094vw, 21px); */
  font-size: clamp(25px, 1.094vw, 29px);
  line-height: 1.16;
  font-weight: 500;
}

.whatsapp-button--hero {
  margin-top: clamp(24px, 1.5vw, 29px);
  width: clamp(360px, 22.5vw, 432px);
  height: clamp(56px, 3.55vw, 68px);
  background: #ffffff;
  color: var(--tds-teal-dark);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(20px, 1.283vw, 24.64px);
  font-weight: 500;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.hero-person {
  position: absolute;
  z-index: 1;
  right: clamp(96px, 7.86vw, 151px);
  bottom: clamp(-296px, -15.42vw, -185px);
  width: clamp(626px, 52.09vw, 1000px);
  /* right: clamp(110px, 9.95vw, 191px);
  bottom: clamp(-39px, -2vw, -24px);
  width: clamp(600px, 39.5vw, 758px); */
  max-width: none;
}

.identity-section {
  width: min(100%, var(--page-width));
  min-height: 1960px;
  margin: 0 auto 80px;
  padding-top: 53px;
  background: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
}

.identity-logo {
  display: flex;
  justify-content: center;
}

.identity-logo img {
  width: 478px;
  height: auto;
}

.mvv-grid {
  width: 1740px;
  margin: 58px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 43px;
  align-items: stretch;
}

.mvv-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.mvv-item h2 {
  color: var(--tds-teal-dark);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 69.22px;
  line-height: 1;
  font-weight: 800;
  text-align: center;
  margin-bottom: 28px;
}

.mvv-card {
  height: auto;
  min-height: 280px;
  flex: 1;
  border: 2px solid #87bfdc;
  border-radius: 28px;
  background: linear-gradient(180deg, #d9d9d9 0%, #ffffff 70%);
  padding: 58px 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 63, 83, 0.08);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.mvv-item:hover .mvv-card {
  transform: translateY(-10px);
  border-color: var(--tds-teal);
  box-shadow: 0 22px 45px rgba(0, 63, 83, 0.18);
}

.mvv-card p,
.mvv-card li {
  color: #004153;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(28px, 1.875vw, 36px);
  line-height: 1.16;
  font-weight: 400;
}

.mvv-card--values {
  padding: 58px 38px;
  text-align: left;
}

.mvv-card--values ul {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  list-style: none;
}

.mvv-card--values li {
  font-size: clamp(26px, 1.875vw, 36px);
  line-height: 1.12;
}

.mvv-card--values li::before {
  content: "•";
  margin-right: 5px;
}

.whatsapp-button--center {
  display: flex;
  width: 789px;
  height: 128px;
  margin: 115px auto 0;
  background: var(--tds-teal-dark);
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 45.08px;
  font-weight: 500;
}

.whatsapp-button--center .whatsapp-mark::after,
.whatsapp-button--center .whatsapp-mark {
  background: transparent;
}

.states-panel {
  position: relative;
  z-index: 1;
  width: 1408px;
  height: 560px;
  margin: 116px 0 0 90px;
  border: 2px solid #c5dff0;
  border-radius: 28px;
  background: linear-gradient(180deg, #d9d9d9 0%, #ffffff 72%);
  overflow: visible;
  box-shadow: 0 16px 36px rgba(0, 63, 83, 0.1);
}

.states-panel p {
  position: absolute;
  left: 97px;
  top: 50%;
  width: 790px;
  color: #004153;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 48px;
  line-height: 1.21;
  font-weight: 400;
  transform: translateY(-50%);
}

.states-panel img {
  position: absolute;
  z-index: 2;
  right: -300px;
  top: -105px;
  width: 760px;
  max-width: none;
  filter: drop-shadow(0 16px 18px rgba(0, 63, 83, 0.18));
  transition:
    transform 360ms ease,
    filter 360ms ease;
}

.states-panel:hover img {
  transform: translateY(-8px) scale(1.025);
  filter: drop-shadow(0 24px 24px rgba(0, 63, 83, 0.28));
}

.contact-footer {
  width: min(100%, var(--page-width));
  height: 472px;
  margin: 0 auto 80px;
  padding: 121px 169px 0 165px;
  display: grid;
  grid-template-columns: 790px 1fr;
  align-items: flex-start;
  background: linear-gradient(90deg, #f8fbfc 0%, #b8d9f0 100%);
}

.footer-logo img {
  width: 639px;
  height: auto;
}

.contact-list {
  color: #004153;
  font-style: normal;
  font-size: 25px;
  line-height: 1.13;
  font-weight: 800;
}

.contact-list p+p {
  margin-top: 23px;
}

.contact-icon {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-right: 9px;
  place-items: center;
  border-radius: 50%;
  background: #16a6bd;
  color: #ffffff;
  font-size: 19px;
  line-height: 1;
  vertical-align: -2px;
}

.contact-icon--inline {
  margin-left: 22px;
}

.history-page {
  background: #ffffff;
}

.history-header {
  position: relative;
  z-index: 5;
}

.history-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 4370px;
  overflow: hidden;
  background: linear-gradient(180deg,
      #087d89 0%,
      #006b78 28%,
      #005866 56%,
      #003d4a 100%);
}

.history-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  width: 100%;
  height: 78vw;
  min-height: 1120px;
  max-height: 1840px;
  background:
    linear-gradient(180deg, rgba(0, 61, 74, 0.08), rgba(0, 107, 120, 0.28)),
    url("../assets/img/bg1-nossa-historia-tds.png") center top / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(180deg,
      #000000 0%,
      #000000 62%,
      rgba(0, 0, 0, 0.72) 76%,
      rgba(0, 0, 0, 0.22) 92%,
      transparent 100%);
  mask-image: linear-gradient(180deg,
      #000000 0%,
      #000000 62%,
      rgba(0, 0, 0, 0.72) 76%,
      rgba(0, 0, 0, 0.22) 92%,
      transparent 100%);
  pointer-events: none;
}

.history-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: max(100vw, 1900px);
  background:
    linear-gradient(180deg,
      rgba(0, 136, 145, 0) 0%,
      rgba(0, 125, 145, 0.2) 24%,
      rgba(0, 61, 74, 0.12) 100%),
    url("../assets/img/bg2-nossa-historia-tds.png") center bottom / 100% auto no-repeat;
  opacity: 0.58;
  transform: scale(1.03) rotate(-2deg);
  -webkit-mask-image: linear-gradient(180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.35) 16%,
      #000000 34%,
      #000000 100%);
  mask-image: linear-gradient(180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.35) 16%,
      #000000 34%,
      #000000 100%);
  z-index: 0;
}

.history-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 51% 6%,
      rgba(4, 133, 145, 0.18) 0 15%,
      transparent 37%),
    linear-gradient(90deg,
      rgba(0, 58, 69, 0.48) 0%,
      rgba(0, 91, 104, 0.38) 46%,
      rgba(0, 54, 63, 0.52) 100%);
  pointer-events: none;
  z-index: 0;
}

.history-inner {
  position: relative;
  z-index: 1;
  width: 1600px;
  min-height: 4370px;
  margin: 0 auto;
  padding-top: 72px;
}

.history-inner h1 {
  color: #ffffff;
  font-size: 78px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
}

.history-timeline {
  position: relative;
  min-height: 4880px;
}

.history-entry {
  --history-entry-gap: 42px;
  position: absolute;
  display: grid;
  align-items: center;
  column-gap: var(--history-entry-gap);
  z-index: 2;
}

.history-entry p {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 39px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0;
}

.history-photo {
  position: relative;
  z-index: 2;
  width: 610px;
  height: 610px;
  overflow: hidden;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 14px 35px rgba(0, 25, 35, 0.3);
  transition:
    transform 280ms ease,
    box-shadow 280ms ease;
}

.history-entry:hover .history-photo {
  transform: scale(1.035);
  box-shadow: 0 22px 48px rgba(0, 25, 35, 0.42);
}

.history-photo--large {
  width: 610px;
  height: 610px;
}

.history-photo--white-border {
  border: 8px solid #ffffff;
}

.history-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-entry--first {
  top: 120px;
  left: 95px;
  width: 1410px;
  grid-template-columns: 610px 1fr;
}

.history-entry--first .history-photo img {
  object-position: 49% 50%;
}

.history-entry--second {
  top: 820px;
  left: 45px;
  width: 1460px;
  grid-template-columns: 760px 610px;
}

.history-entry--second p {
  text-align: right;
}

.history-entry--second .history-photo img {
  object-position: 42% 50%;
}

.history-entry--third {
  top: 1510px;
  left: 40px;
  width: 1460px;
  grid-template-columns: 610px 1fr;
}

.history-entry--third .history-photo img {
  object-position: 42% 50%;
}

.history-entry--fourth {
  top: 2200px;
  left: 35px;
  width: 1470px;
  grid-template-columns: 760px 610px;
}

.history-entry--fourth p {
  text-align: right;
}

.history-entry--fourth .history-photo img {
  object-position: 56% 50%;
}

.history-entry--fifth {
  top: 2890px;
  left: 40px;
  width: 1460px;
  grid-template-columns: 610px 1fr;
}

.history-entry--fifth .history-photo img {
  object-position: 47% 50%;
}

.history-entry--sixth {
  top: 3570px;
  left: 30px;
  width: 1480px;
  grid-template-columns: 780px 610px;
}

.history-entry--sixth p {
  text-align: right;
}

.history-entry--sixth .history-photo img {
  object-position: 50% 50%;
}

.history-entry--seventh {
  --history-entry-gap: 20px;
  top: 4250px;
  left: 40px;
  width: 1460px;
  grid-template-columns: 610px 1fr;
}

.history-entry--seventh .history-photo img {
  object-position: 50% 50%;
}

.history-photo--certificate {
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}

.history-photo--certificate img {
  object-fit: contain;
}

.history-entry:hover .history-photo--certificate {
  box-shadow: none;
}

.history-whatsapp {
  display: flex;
  position: relative;
  left: auto;
  bottom: auto;
  width: 790px;
  height: 90px;
  margin: 80px auto 92px;
  transform: none;
  background: var(--tds-teal-dark);
  color: #ffffff;
  font-size: 35px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.history-whatsapp .whatsapp-mark,
.history-whatsapp .whatsapp-mark::after {
  background: transparent;
}

.history-footer {
  width: min(100%, var(--page-width));
  height: 472px;
  margin: 0 auto;
  padding: 121px 169px 0 165px;
  display: grid;
  grid-template-columns: 790px 1fr;
  align-items: flex-start;
  background: linear-gradient(90deg, #f8fbfc 0%, #b8d9f0 100%);
}

.history-footer-logo img {
  width: 639px;
  height: auto;
}

.history-contact-list {
  color: #004153;
  font-style: normal;
  font-size: 25px;
  line-height: 1.13;
  font-weight: 800;
}

.history-contact-list p+p {
  margin-top: 23px;
}

@media (max-width: 1500px) {
  .main-header {
    height: 70px;
  }

  .header-inner {
    padding: 0 202px;
    grid-template-columns: 120px 1fr 206px;
    column-gap: 60px;
  }

  .brand img {
    width: 165px;
    height: auto;
  }

  .main-nav ul {
    gap: 39px;
  }

  .main-nav a {
    font-size: 15px;
  }

  .main-nav a.active {
    border-bottom-width: 3px;
    padding-bottom: 5px;
  }

  .whatsapp-button--header {
    width: 206px;
    height: 42px;
    font-size: 15px;
  }

  .whatsapp-mark {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
    border-width: 3px;
  }

  .whatsapp-mark::before {
    left: 4px;
    top: 4px;
    width: 6px;
    height: 9px;
    border-right-width: 3px;
    border-bottom-width: 3px;
  }

  .whatsapp-mark::after {
    left: -2px;
    bottom: -3px;
    width: 8px;
    height: 8px;
    border-left-width: 3px;
  }

  .hero-section {
    height: 717px;
  }

  .hero-copy {
    left: 202px;
    top: 153px;
    width: 488px;
  }

  .hero-copy h1 {
    font-size: 52px;
  }

  .hero-copy p {
    margin-top: 28px;
    width: 465px;
    font-size: 17px;
  }

  .whatsapp-button--hero {
    margin-top: 25px;
    width: 324px;
    height: 51px;
    font-size: 19px;
  }

  .hero-person {
    right: 12.67vw;
    bottom: -8.06vw;
    width: 45.78vw;
  }

  .identity-section {
    min-height: 1466px;
    padding-top: 40px;
  }

  .identity-logo img {
    width: 358px;
  }

  .mvv-grid {
    width: 1305px;
  }

  .states-panel {
    width: 1056px;
  }

  .mvv-grid {
    margin-top: 25px;
    column-gap: 32px;
  }

  .mvv-item h2 {
    font-size: 37px;
    margin-bottom: 21px;
  }

  .mvv-card {
    height: auto;
    min-height: 420px;
    border-radius: 21px;
    padding: 42px;
  }

  .mvv-card p,
  .mvv-card li {
    font-size: 22px;
    line-height: 1.14;
  }

  .mvv-card--values {
    padding: 28px 29px 21px;
  }

  .mvv-card--values li {
    font-size: 22px;
    line-height: 1.15;
  }

  .whatsapp-button--center {
    display: flex;
    width: 592px;
    height: 67px;
    margin-top: 86px;
    font-size: 26px;
  }

  .states-panel {
    height: 420px;
    margin: 87px 0 0 68px;
    border-radius: 21px;
  }

  .states-panel p {
    left: 73px;
    top: 50%;
    width: 593px;
    font-size: 35px;
    transform: translateY(-50%);
  }

  .states-panel img {
    right: -225px;
    top: -78px;
    width: 570px;
  }

  .contact-footer {
    height: 386px;
    padding: 108px 127px 0 124px;
    grid-template-columns: 593px 1fr;
  }

  .footer-logo img {
    width: 479px;
  }

  .contact-list {
    font-size: 19px;
  }

  .contact-list p+p {
    margin-top: 17px;
  }

  .contact-icon {
    width: 23px;
    height: 23px;
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
  .main-header {
    height: auto;
    min-height: 72px;
  }

  .header-inner {
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
  }

  .brand img {
    width: 165px;
    height: auto;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    background: var(--tds-teal);
    padding: 18px 24px 24px;
  }

  .main-nav.nav-active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 22px;
  }

  .whatsapp-button--header {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 30;
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .hamburger,
  .hamburger::before,
  .hamburger::after {
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: #ffffff;
  }

  .hamburger {
    position: relative;
  }

  .hamburger::before,
  .hamburger::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .hamburger::before {
    top: -9px;
  }

  .hamburger::after {
    top: 9px;
  }

  .menu-toggle.toggle-active .hamburger {
    background: transparent;
  }

  .menu-toggle.toggle-active .hamburger::before,
  .menu-toggle.toggle-active .hamburger::after {
    top: 0;
  }

  .menu-toggle.toggle-active .hamburger::before {
    transform: rotate(45deg);
  }

  .menu-toggle.toggle-active .hamburger::after {
    transform: rotate(-45deg);
  }

  .hero-section {
    height: 670px;
    background-position: 55% center;
  }

  .hero-copy {
    left: 24px;
    right: 24px;
    top: 80px;
    width: auto;
  }

  .hero-copy h1 {
    max-width: 560px;
    font-size: clamp(38px, 8vw, 60px);
  }

  .hero-copy p {
    width: min(100%, 520px);
    font-size: 17px;
  }

  .hero-person {
    right: -84px;
    width: min(58vw, 360px);
  }

  .identity-section {
    padding: 36px 24px 0;
    min-height: auto;
  }

  .identity-logo img {
    width: min(75vw, 340px);
  }

  .mvv-grid {
    width: 100%;
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .mvv-card {
    height: auto;
    min-height: 220px;
  }

  .mvv-card p,
  .mvv-card li {
    font-size: 22px;
  }

  .whatsapp-button--center {
    width: min(100%, 592px);
    font-size: 24px;
  }

  .states-panel {
    width: 100%;
    height: auto;
    min-height: 620px;
    margin: 72px auto 0;
    padding: 48px 32px;
  }

  .states-panel p {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    font-size: 28px;
    transform: none;
  }

  .states-panel img {
    right: 50%;
    top: auto;
    bottom: -10px;
    width: min(92vw, 520px);
    transform: translateX(50%);
  }

  .contact-footer {
    height: auto;
    margin-bottom: 0;
    padding: 56px 24px;
    grid-template-columns: 1fr;
    row-gap: 34px;
  }

  .footer-logo img {
    width: min(82vw, 470px);
  }
}

@media (max-width: 540px) {
  .hero-section {
    height: 720px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .whatsapp-button--hero,
  .whatsapp-button--center {
    width: 100%;
    padding: 0 16px;
    font-size: 19px;
  }

  .hero-person {
    width: 310px;
    right: -120px;
  }

  .mvv-item h2 {
    font-size: 38px;
  }

  .mvv-card {
    padding: 32px 24px;
  }

  .mvv-card p,
  .mvv-card li,
  .states-panel p {
    font-size: 20px;
  }

  .states-panel {
    min-height: 570px;
    padding: 36px 22px;
  }

  .contact-list {
    font-size: 17px;
  }
}

@media (max-width: 1500px) {
  .history-section {
    min-height: 3800px;
  }

  .history-inner {
    width: 1200px;
    min-height: 3800px;
    padding-top: 54px;
  }

  .history-inner h1 {
    font-size: 59px;
  }

  .history-timeline {
    min-height: 3650px;
  }

  .history-entry {
    --history-entry-gap: 32px;
  }

  .history-entry p {
    font-size: 29px;
  }

  .history-photo {
    width: 458px;
    height: 458px;
  }

  .history-photo--large {
    width: 458px;
    height: 458px;
  }

  .history-entry--first {
    top: 90px;
    left: 71px;
    width: 1058px;
    grid-template-columns: 458px 1fr;
  }

  .history-entry--second {
    top: 615px;
    left: 34px;
    width: 1095px;
    grid-template-columns: 570px 458px;
  }

  .history-entry--third {
    top: 1133px;
    left: 30px;
    width: 1095px;
    grid-template-columns: 458px 1fr;
  }

  .history-entry--fourth {
    top: 1650px;
    left: 26px;
    width: 1103px;
    grid-template-columns: 570px 458px;
  }

  .history-entry--fifth {
    top: 2168px;
    left: 30px;
    width: 1095px;
    grid-template-columns: 458px 1fr;
  }

  .history-entry--sixth {
    top: 2678px;
    left: 23px;
    width: 1110px;
    grid-template-columns: 585px 458px;
  }

  .history-entry--seventh {
    --history-entry-gap: 16px;
    top: 3188px;
    left: 30px;
    width: 1095px;
    grid-template-columns: 458px 1fr;
  }

  .history-whatsapp {
    bottom: auto;
    width: 593px;
    height: 68px;
    margin: 60px auto 69px;
    font-size: 26px;
  }

  .history-footer {
    height: 354px;
    padding: 91px 127px 0 124px;
    grid-template-columns: 593px 1fr;
  }

  .history-footer-logo img {
    width: 479px;
  }

  .history-contact-list {
    font-size: 19px;
  }

  .history-contact-list p+p {
    margin-top: 17px;
  }
}

@media (max-width: 1200px) {
  .history-section {
    min-height: auto;
  }

  .history-section::after {
    width: 100%;
    height: max(100vw, 760px);
    right: 0;
    bottom: 0;
    opacity: 0.38;
  }

  .history-inner {
    width: 100%;
    min-height: auto;
    padding: 34px 24px 96px;
  }

  .history-inner h1 {
    font-size: clamp(34px, 7vw, 52px);
  }

  .history-timeline {
    min-height: 0;
    margin: 36px auto 0;
    display: grid;
    gap: 38px;
  }

  .history-entry,
  .history-entry--first,
  .history-entry--second,
  .history-entry--third,
  .history-entry--fourth,
  .history-entry--fifth,
  .history-entry--sixth {
    position: static;
    width: min(100%, 650px);
    margin: 0 auto;
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 18px;
  }

  .history-entry--second .history-photo,
  .history-entry--fourth .history-photo,
  .history-entry--sixth .history-photo {
    order: -1;
  }

  .history-entry p,
  .history-entry--second p,
  .history-entry--fourth p,
  .history-entry--sixth p {
    text-align: center;
    font-size: clamp(19px, 4vw, 28px);
  }

  .history-photo,
  .history-photo--large {
    width: min(58vw, 300px);
    height: min(58vw, 300px);
  }

  .history-photo--white-border {
    border-width: 4px;
  }

  .history-whatsapp {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100%, 424px);
    margin: 64px auto 0;
    transform: none;
  }

  .history-footer {
    height: auto;
    padding: 56px 24px;
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 34px;
  }

  .history-footer-logo img {
    width: min(82vw, 470px);
  }

  .history-contact-list {
    font-size: 17px;
  }
}

/* ============================================================
   UMT PAGE - estilos exclusivos da pagina umt.html
   ============================================================ */

.umt-page {
  --umt-deep: #003f58;
  --umt-teal: #007d91;
  background: #ffffff;
}

.umt-page .main-header {
  height: clamp(70px, 4.85vw, 93px);
}

.umt-page .header-inner {
  display: grid;
  align-items: center;
  width: min(100%, var(--page-width));
  padding: 0 clamp(202px, 14.05vw, 270px);
  grid-template-columns: clamp(120px, 8.33vw, 160px) minmax(360px, 1fr) clamp(206px,
      14.27vw,
      274px);
  column-gap: clamp(56px, 4.16vw, 80px);
}

.umt-page .brand img {
  width: clamp(165px, 11.46vw, 220px);
  height: auto;
}

.umt-page .main-nav {
  position: static;
  display: block;
  padding: 0;
  background: transparent;
}

.umt-page .main-nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 2.7vw, 52px);
}

.umt-page .main-nav a {
  font-size: clamp(15px, 1.04vw, 20px);
  line-height: 1;
}

.umt-page .whatsapp-button--header {
  display: inline-flex;
  width: clamp(206px, 14.27vw, 274px);
  height: clamp(42px, 2.91vw, 56px);
  gap: clamp(9px, 0.62vw, 12px);
  font-size: clamp(15px, 1.04vw, 20px);
}

.umt-page .menu-toggle {
  display: none;
}

.umt-page .whatsapp-mark {
  width: clamp(21px, 1.45vw, 28px);
  height: clamp(21px, 1.45vw, 28px);
  flex-basis: clamp(21px, 1.45vw, 28px);
  border-width: clamp(3px, 0.2vw, 4px);
}

.umt-page .whatsapp-mark::before {
  left: 21%;
  top: 19%;
  width: 29%;
  height: 43%;
  border-right-width: clamp(3px, 0.2vw, 4px);
  border-bottom-width: clamp(3px, 0.2vw, 4px);
}

.umt-page .whatsapp-mark::after {
  left: -9%;
  bottom: -13%;
  width: 38%;
  height: 38%;
  border-left-width: clamp(3px, 0.2vw, 4px);
}

.umt-wrapper {
  position: relative;
  width: 100%;
  min-height: clamp(1160px, 125.9vw, 2418px);
  overflow: hidden;
  background: #ffffff;
}

.umt-hero-copy {
  position: relative;
  z-index: 2;
  width: 53.8%;
  min-height: clamp(450px, 48.8vw, 938px);
  padding: clamp(54px, 3.95vw, 76px) clamp(44px, 3.5vw, 67px) clamp(42px, 3vw, 58px) clamp(120px, 10.6vw, 204px);
  background: #ffffff;
}

.umt-hero-copy h1 {
  max-width: 820px;
  color: var(--umt-deep);
  font-size: clamp(46px, 3.54vw, 68px);
  line-height: 1.03;
  font-weight: 900;
  white-space: nowrap;
  margin-bottom: clamp(28px, 2.18vw, 42px);
}

.umt-hero-copy p {
  max-width: 720px;
  color: var(--umt-deep);
  font-size: clamp(22px, 1.76vw, 34px);
  line-height: 1.14;
  font-weight: 600;
  margin-bottom: clamp(28px, 2.2vw, 42px);
}

.umt-whatsapp,
.umt-gwo-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 0.72vw, 14px);
  min-height: clamp(54px, 5.95vw, 114px);
  padding: 0 clamp(34px, 3.65vw, 70px);
  background: var(--umt-teal);
  color: #ffffff;
  border-radius: 999px;
  font-size: clamp(16px, 1.78vw, 34px);
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
}

.umt-whatsapp {
  margin-top: clamp(8px, 0.9vw, 18px);
}

.umt-whatsapp .whatsapp-mark,
.umt-gwo-whatsapp .whatsapp-mark {
  border-color: #ffffff;
}

.umt-whatsapp .whatsapp-mark::before,
.umt-gwo-whatsapp .whatsapp-mark::before {
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
}

.umt-whatsapp .whatsapp-mark::after,
.umt-gwo-whatsapp .whatsapp-mark::after {
  background: var(--umt-teal);
  border-left-color: #ffffff;
}

.umt-info-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: clamp(710px, 77.3vw, 1484px);
  overflow: hidden;
  border-radius: clamp(28px, 2.38vw, 46px) clamp(28px, 2.38vw, 46px) 0 0;
  background:
    linear-gradient(90deg,
      rgba(0, 67, 79, 0.86) 0%,
      rgba(0, 120, 142, 0.66) 49%,
      rgba(0, 142, 162, 0.16) 100%),
    url("../assets/img/bg-umt.jpg") center center / auto 135% no-repeat,
    #007d91;
  box-shadow: 0 18px 45px rgba(0, 63, 83, 0.16);
}

.umt-info-content {
  width: 52.2%;
  padding: clamp(54px, 3.85vw, 74px) clamp(44px, 3.6vw, 69px) clamp(62px, 4.8vw, 92px) clamp(120px, 10.6vw, 204px);
}

.umt-info-content h2 {
  max-width: 710px;
  color: #ffffff;
  font-size: clamp(28px, 2.3vw, 44px);
  line-height: 1.04;
  font-weight: 800;
  margin-bottom: clamp(46px, 3.85vw, 74px);
}

.umt-info-content>p,
.umt-info-content li,
.umt-info-content h3 {
  color: #ffffff;
}

/* ============================================================
   TRAINING PAGE - estilos exclusivos de treinamentos.html
   ============================================================ */

.training-page {
  --training-deep: #004153;
  --training-teal: #007f91;
  background: #ffffff;
  font-family: var(--font-main);
}

.training-header {
  position: relative;
  z-index: 5;
}

.training-page .main-nav ul {
  gap: 38px;
}

.training-page .main-nav a {
  font-size: 18px;
}

.training-hero {
  position: relative;
  width: min(100%, var(--page-width));
  height: 1510px;
  margin: 0 auto;
  overflow: hidden;
  background: url("../assets/img/bg-treinamentos.png") center center / cover no-repeat;
  background-position: center center;
}

.training-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0, 19, 52, 0.56) 0%,
      rgba(0, 33, 47, 0.35) 50%,
      rgba(0, 28, 55, 0.6) 100%),
    rgba(0, 0, 0, 0.14);
  pointer-events: none;
}

.training-hero-copy {
  position: absolute;
  z-index: 1;
  left: 204px;
  bottom: 190px;
  width: 850px;
  color: #ffffff;
}

.training-hero-copy h1 {
  color: #ffffff;
  font-size: 86px;
  line-height: 1;
  font-weight: 900;
}

.training-hero-copy p {
  max-width: 820px;
  margin-top: 34px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.16;
  font-weight: 600;
}

.training-catalog {
  width: min(100%, var(--page-width));
  min-height: 3273px;
  margin: 0 auto;
  padding: 101px 0 104px;
  background: #ffffff;
}

.training-catalog-inner {
  width: 1460px;
  margin: 0 auto;
}

.training-catalog h2 {
  color: var(--training-deep);
  font-size: 66px;
  line-height: 1.05;
  font-weight: 900;
  text-align: center;
}

.training-intro {
  max-width: 1320px;
  margin: 34px auto 0;
  color: var(--training-deep);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
}

.training-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, 630px);
  column-gap: 122px;
  row-gap: 133px;
  transform: translateX(84px);
}

.training-card {
  position: relative;
  width: 630px;
  height: 356px;
  padding: 62px 34px 28px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #91c8e8;
  border-radius: 25px;
  background: linear-gradient(180deg, #e1e1e1 0%, #ffffff 50%);
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 63, 83, 0.09);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.training-card:hover {
  transform: translateY(-10px);
  border-color: var(--training-teal);
  box-shadow: 0 24px 48px rgba(0, 63, 83, 0.2);
}

.training-card img {
  position: absolute;
  left: -81px;
  top: -82px;
  width: 181px;
  height: 181px;
  object-fit: contain;
}

.training-card h3 {
  margin-top: 20px;
  color: var(--training-deep);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.training-card p {
  margin-top: 0;
  color: var(--training-deep);
  font-size: 36px;
  line-height: 1.05;
  font-weight: 800;
}

.training-card-more {
  min-width: 170px;
  min-height: 48px;
  margin-top: 22px;
  padding: 10px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--training-teal);
  border-radius: 999px;
  background: var(--training-teal);
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.training-card-more:hover,
.training-card-more:focus-visible {
  background: #ffffff;
  color: var(--training-teal);
  transform: translateY(-2px);
}

.training-card--last {
  grid-column: 1 / -1;
  justify-self: center;
}

.training-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 789px;
  height: 128px;
  margin: 139px auto 0;
  border-radius: 999px;
  background: var(--training-teal);
  color: #ffffff;
  font-size: 45px;
  line-height: 1;
  font-weight: 700;
}

.training-whatsapp .whatsapp-mark,
.training-whatsapp .whatsapp-mark::after {
  background: transparent;
}

.site-footer {
  width: min(100%, var(--page-width));
  min-height: 427px;
  margin: 0 auto 89px;
  padding: 20px 162px 0 165px;
  display: grid;
  grid-template-columns: 900px 1fr;
  align-items: center;
  background: linear-gradient(90deg, #f8fbfc 0%, #b8d9f0 100%);
}

.site-footer-logo img {
  width: 751px;
  height: auto;
}

.site-contact-list {
  color: var(--training-deep);
  font-style: normal;
  font-size: 25px;
  line-height: 1.18;
  font-weight: 700;
}

.site-contact-list p {
  display: flex;
  align-items: center;
}

.site-contact-list p+p {
  margin-top: 22px;
}

.site-contact-list img {
  width: 44px;
  height: 44px;
  margin-right: 10px;
  object-fit: contain;
}

.site-contact-list .site-contact-inline {
  margin-left: 22px;
}

@media (max-width: 1500px) {
  .training-page .main-nav ul {
    gap: 24px;
  }

  .training-hero {
    height: 1133px;
    background-position: center center;
  }

  .training-hero-copy {
    left: 153px;
    bottom: 143px;
    width: 638px;
  }

  .training-hero-copy h1 {
    font-size: 65px;
  }

  .training-hero-copy p {
    margin-top: 26px;
    font-size: 26px;
  }

  .training-catalog {
    min-height: 2455px;
    padding: 76px 0 78px;
  }

  .training-catalog-inner {
    width: 1095px;
  }

  .training-catalog h2 {
    font-size: 50px;
  }

  .training-intro {
    max-width: 990px;
    font-size: 23px;
  }

  .training-grid {
    margin-top: 0;
    grid-template-columns: repeat(2, 473px);
    column-gap: 92px;
    row-gap: 100px;
    transform: translateX(63px);
  }

  .training-card {
    width: 473px;
    height: 267px;
    min-height: 0;
    padding: 47px 26px 21px 48px;
    border-radius: 19px;
  }

  .training-card img {
    left: -61px;
    top: -62px;
    width: 136px;
    height: 136px;
  }

  .training-card h3 {
    margin-top: 15px;
    font-size: 26px;
  }

  .training-card p {
    margin-top: 0;
    font-size: 27px;
  }

  .training-whatsapp {
    width: 592px;
    height: 96px;
    margin-top: 104px;
    font-size: 34px;
  }

  .site-footer {
    min-height: 320px;
    margin-bottom: 67px;
    padding: 15px 122px 0 124px;
    grid-template-columns: 675px 1fr;
  }

  .site-footer-logo img {
    width: 563px;
  }

  .site-contact-list {
    font-size: 19px;
  }

  .site-contact-list img {
    width: 33px;
    height: 33px;
  }
}

@media (max-width: 1100px) {
  .training-page .main-nav ul {
    gap: 22px;
  }

  .training-hero {
    height: 760px;
    background-position: 58% center;
  }

  .training-hero-copy {
    left: 40px;
    right: 40px;
    bottom: 64px;
    width: auto;
  }

  .training-hero-copy h1 {
    font-size: clamp(46px, 8vw, 68px);
  }

  .training-hero-copy p {
    max-width: 620px;
    font-size: clamp(20px, 3.4vw, 28px);
  }

  .training-catalog {
    min-height: auto;
    padding: 72px 40px 88px;
  }

  .training-catalog-inner {
    width: min(100%, 720px);
  }

  .training-catalog h2 {
    font-size: clamp(38px, 6.5vw, 54px);
  }

  .training-intro {
    font-size: clamp(18px, 3vw, 24px);
  }

  .training-grid {
    margin-top: 64px;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
    transform: none;
  }

  .training-card {
    width: 100%;
    height: auto;
    min-height: 250px;
    padding: 70px 28px 34px;
  }

  .training-card img {
    left: 28px;
    top: -58px;
    width: 116px;
    height: 116px;
  }

  .training-card p {
    font-size: clamp(24px, 4vw, 32px);
  }

  .training-whatsapp {
    width: min(100%, 592px);
    height: 78px;
    margin-top: 72px;
    font-size: clamp(22px, 4vw, 30px);
  }

  .site-footer {
    min-height: 0;
    margin-bottom: 0;
    padding: 64px 40px 56px;
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 28px;
  }

  .site-footer-logo img {
    width: min(470px, 82vw);
  }

  .site-contact-list {
    width: min(560px, 100%);
    font-size: 17px;
  }
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--tds-deep);
  font-size: 16px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Hero compartilhada: ocupa a primeira dobra sem alterar o enquadramento de cada página */
:root {
  --fold-header-height: 93px;
}

.fold-hero {
  height: max(620px, calc(100svh - var(--fold-header-height))) !important;
}

.hero-section.fold-hero {
  background-size: cover;
  background-position: center top;
}

@media (min-width: 1101px) {
  .hero-section.fold-hero {
    background-position: center 72% !important;
  }

  .hero-section.fold-hero .hero-person {
    width: min(820px, 42.7vw) !important;
    right: clamp(150px, 11.5vw, 220px) !important;
    bottom: clamp(-220px, -10vw, -110px) !important;
  }
}

.services-hero.fold-hero {
  background-size: 100% auto;
}

.services-hero.fold-hero .services-hero-copy {
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%);
}

.training-hero.fold-hero {
  background-size: cover;
}

.sst-hero.fold-hero {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Rodapé institucional e ações flutuantes compartilhadas */
.site-footer {
  margin-bottom: 0;
}

.footer-info {
  width: min(100%, var(--page-width));
  min-height: 25px;
  margin: 0 auto;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #000000;
  font-size: clamp(14px, 1vw, 18px);
  line-height: 1.4;
  text-align: center;
}

.footer-info strong {
  font-weight: 800;
}

/* Ícone dos botões de atendimento especializado. */
.whatsapp-mark {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent url("../assets/img/icone-falar-com-especialista.png") center / contain no-repeat !important;
}

/* ============================================================
   Camada responsiva consolidada
   Notebooks antigos, tablets e celulares
   ============================================================ */

@media (min-width: 1101px) and (max-width: 1366px) {

  .header-inner,
  .umt-page .header-inner {
    padding-inline: clamp(40px, 5vw, 72px);
    grid-template-columns: 110px minmax(0, 1fr) 206px;
    column-gap: 24px;
  }

  .main-nav ul,
  .umt-page .main-nav ul {
    gap: 20px !important;
  }

  .whatsapp-button--header {
    width: 206px;
    padding-inline: 12px;
    gap: 8px;
  }

  .whatsapp-button--header .whatsapp-mark {
    width: 26px !important;
    height: 26px !important;
    flex-basis: 26px !important;
  }

  .hero-copy {
    left: clamp(56px, 9vw, 124px);
  }

  .mvv-grid {
    width: min(calc(100% - 48px), 1305px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .states-panel {
    width: min(calc(100% - 96px), 1056px);
    margin-inline: auto;
  }

  .services-hero-copy,
  .training-hero-copy {
    left: clamp(64px, 10vw, 136px);
  }

  .services-grid,
  .training-grid {
    width: min(calc(100% - 64px), 1095px);
    grid-template-columns: repeat(2, minmax(0, 473px));
    justify-content: center;
    column-gap: clamp(52px, 6vw, 82px);
    transform: none;
  }

  .service-card,
  .training-card {
    width: 100%;
  }

  .sst-content-inner {
    width: min(calc(100% - 64px), 1137px);
  }

  .sst-grid {
    grid-template-columns: repeat(2, minmax(0, 537px));
    justify-content: center;
    column-gap: clamp(36px, 4vw, 54px);
  }

  .sst-card {
    width: 100%;
  }
}

/* Aviso de privacidade compartilhado por todas as páginas. */
.cookie-notice {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  width: min(calc(100% - 40px), 470px);
  animation: cookie-notice-in 260ms ease-out both;
}

.cookie-notice__content {
  width: 100%;
  padding: 18px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(0, 61, 74, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  box-shadow: 0 18px 48px rgba(0, 30, 38, 0.3);
}

.cookie-notice__text {
  flex: 1;
}

.cookie-notice__text h2 {
  margin-bottom: 5px;
  font-size: 20px;
  line-height: 1.2;
}

.cookie-notice__text p {
  font-size: 15px;
  line-height: 1.5;
}

.cookie-notice__text a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-notice__button {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--tds-teal-dark);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.cookie-notice__button:hover {
  background: #dff5f5;
}

.cookie-notice--closing {
  animation: cookie-notice-out 200ms ease-in both;
}

.footer-privacy-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-info:has(.footer-privacy-link) {
  flex-wrap: wrap;
  gap: 6px 18px;
}

@keyframes cookie-notice-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes cookie-notice-out {
  to {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* Página de Política de Privacidade. */
.privacy-page {
  background: #f3f8f9;
}

.privacy-hero {
  padding: clamp(64px, 7vw, 112px) 24px clamp(72px, 8vw, 128px);
  border-radius: 0 0 clamp(32px, 4vw, 72px) clamp(32px, 4vw, 72px);
  background: #023f53;
  color: #ffffff;
  text-align: center;
}

.privacy-hero__inner {
  width: min(100%, 920px);
  margin-inline: auto;
}

.privacy-hero__eyebrow {
  margin-bottom: 14px;
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-hero h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  text-transform: uppercase;
}

.privacy-hero p:last-child {
  max-width: 760px;
  margin: 22px auto 0;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5;
}

.privacy-content {
  width: min(calc(100% - 48px), 1040px);
  margin: clamp(-48px, -3vw, -30px) auto 80px;
  padding: clamp(28px, 5vw, 68px);
  border: 1px solid #d9e7ea;
  border-radius: clamp(26px, 3vw, 44px);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(0, 63, 83, 0.1);
}

.privacy-content section+section {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid #d9e7ea;
}

.privacy-content h2 {
  margin-bottom: 14px;
  color: var(--tds-teal-dark);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.2;
}

.privacy-content p,
.privacy-content li {
  font-size: 17px;
  line-height: 1.7;
}

.privacy-content p+p,
.privacy-content ul,
.privacy-content ol {
  margin-top: 14px;
}

.privacy-content ul,
.privacy-content ol {
  padding-left: 24px;
}

.privacy-content li+li {
  margin-top: 8px;
}

.privacy-content a {
  color: var(--tds-teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-preference-button {
  margin-top: 18px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--tds-teal-dark);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.privacy-preference-button:disabled {
  background: #55777d;
  cursor: default;
}

.privacy-preference-status:not(:empty) {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 4px solid var(--tds-teal);
  border-radius: 6px;
  background: #edf8f9;
  color: var(--tds-deep);
  font-weight: 700;
}

@media (max-width: 600px) {
  .cookie-notice {
    right: 12px;
    bottom: 12px;
    width: min(calc(100% - 24px), 420px);
  }

  .cookie-notice__content {
    padding: 18px;
    display: block;
    border-radius: 16px;
  }

  .cookie-notice__text h2 {
    font-size: 18px;
  }

  .cookie-notice__text p {
    font-size: 14px;
  }

  .cookie-notice__button {
    min-height: 46px;
  }

  .privacy-hero {
    padding: 54px 18px 74px;
  }

  .privacy-content {
    width: calc(100% - 28px);
    margin-top: -32px;
    margin-bottom: 48px;
    padding: 28px 20px 38px;
  }

  .privacy-content p,
  .privacy-content li {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .cookie-notice,
  .cookie-notice--closing {
    animation: none;
  }
}

@media (min-width: 1367px) and (max-width: 1500px) {
  .whatsapp-button--header {
    padding-inline: 12px;
    gap: 8px;
  }

  .whatsapp-button--header .whatsapp-mark {
    width: 26px !important;
    height: 26px !important;
    flex-basis: 26px !important;
  }
}

@media (max-width: 1100px) {

  .header-inner,
  .umt-page .header-inner {
    width: 100%;
  }

  .main-nav {
    z-index: 20;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .main-nav a {
    display: block;
    min-height: 44px;
    padding-block: 10px;
  }

  .identity-logo,
  .identity-logo img,
  .history-photo,
  .history-photo img,
  .umt-gwo-logo,
  .umt-gwo-logo img,
  .site-footer-logo,
  .site-footer-logo img {
    margin-inline: auto;
  }

  .mvv-grid,
  .services-grid,
  .training-grid,
  .sst-grid {
    justify-content: center;
    justify-items: center;
  }

  .mvv-item,
  .mvv-card,
  .service-card,
  .training-card,
  .sst-card {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
  }

  .service-card img,
  .training-card img {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-copy h1,
  .services-hero-copy h1,
  .training-hero-copy h1,
  .umt-hero-copy h1,
  .sst-content h2,
  .history-inner h1 {
    overflow-wrap: break-word;
  }

  .hero-copy p,
  .services-hero-copy p,
  .training-hero-copy p,
  .umt-hero-copy p,
  .umt-info-content,
  .sst-content-inner,
  .history-entry p {
    max-width: 100%;
  }

  .umt-hero-copy,
  .umt-info-content,
  .umt-gwo-inner {
    margin-inline: auto;
  }

  .site-contact-list {
    margin-inline: auto;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 760px) {

  .training-catalog,
  .services-list,
  .sst-content {
    padding-inline: clamp(18px, 5vw, 32px);
  }

  .training-grid {
    grid-template-columns: minmax(0, 560px);
    gap: 72px;
  }

  .training-card--last {
    grid-column: auto;
  }

  .service-card,
  .training-card,
  .sst-card {
    max-width: 560px;
  }

  .states-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .states-panel p {
    text-align: center;
  }

  .hero-person {
    right: 50%;
    width: min(82vw, 420px);
    transform: translateX(50%);
  }

  .umt-right-media,
  .umt-hero-figure,
  .umt-hero-figure img {
    margin-inline: auto;
  }
}

@media (max-width: 540px) {

  .header-inner,
  .umt-page .header-inner {
    padding-inline: 18px;
  }

  .hero-copy,
  .services-hero-copy,
  .training-hero-copy {
    left: 20px;
    right: 20px;
  }

  .hero-copy h1,
  .services-hero-copy h1,
  .training-hero-copy h1 {
    line-height: 1.04;
  }

  .mvv-card,
  .service-card,
  .training-card,
  .sst-card {
    max-width: 100%;
  }

  .whatsapp-button--hero,
  .whatsapp-button--center,
  .history-whatsapp,
  .services-whatsapp,
  .training-whatsapp,
  .sst-whatsapp,
  .umt-whatsapp,
  .umt-gwo-whatsapp {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }

  .history-whatsapp {
    min-height: 58px;
    height: auto;
    padding: 12px 18px;
    gap: 10px;
    font-size: 18px;
  }

  .history-whatsapp .whatsapp-mark {
    width: 28px !important;
    height: 28px !important;
    flex-basis: 28px !important;
  }

  .site-contact-list p {
    flex-wrap: wrap;
  }

  .footer-info p {
    max-width: 32rem;
  }
}

/* Botões do menu e CTA principal da hero inicial. */
.whatsapp-button--header .whatsapp-mark,
.whatsapp-button--hero .whatsapp-mark {
  background-image: url("../assets/img/icone-falar-no-whatsapp.png") !important;
}

.whatsapp-mark::before,
.whatsapp-mark::after {
  content: none !important;
  display: none !important;
}

.floating-actions {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

.floating-action {
  position: absolute;
  bottom: 24px;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(0, 48, 68, 0.3);
  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    transform 180ms ease;
}

.floating-action:hover,
.floating-action:focus-visible {
  transform: translateY(-4px) scale(1.04);
}

.floating-action:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.floating-whatsapp {
  left: 24px;
  width: 64px;
  height: 64px;
  background: transparent;
}

.floating-whatsapp img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.back-to-top {
  right: 24px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  background: linear-gradient(145deg, var(--tds-teal) 0%, var(--tds-deep) 100%);
  color: #ffffff;
  box-shadow:
    0 6px 18px rgba(0, 48, 68, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
}

.back-to-top svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 1px rgba(0, 35, 46, 0.28));
}

.site-contact-list a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}

.site-contact-list a:hover,
.site-contact-list a:focus-visible {
  color: var(--tds-teal);
  text-decoration: none;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .footer-info {
    min-height: 76px;
    padding: 22px 18px;
  }

  .floating-action {
    bottom: 16px;
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp {
    left: 16px;
    width: 56px;
    height: 56px;
  }

  .floating-whatsapp img {
    width: 56px;
    height: 56px;
  }

  .back-to-top {
    right: 16px;
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-action {
    transition: none;
  }
}

@media (max-width: 1500px) {
  :root {
    --fold-header-height: 70px;
  }
}

@media (max-width: 1100px) {
  :root {
    --fold-header-height: 72px;
  }

  .fold-hero {
    height: max(560px, calc(100svh - var(--fold-header-height))) !important;
  }

  .services-hero.fold-hero {
    background-size: auto 120%;
  }
}

@media (max-width: 540px) {
  .training-hero {
    height: 620px;
  }

  .training-hero-copy {
    left: 22px;
    right: 22px;
    bottom: 42px;
  }

  .training-hero-copy h1 {
    font-size: 39px;
  }

  .training-hero-copy p {
    margin-top: 20px;
    font-size: 17px;
  }

  .training-catalog {
    padding: 56px 22px 64px;
  }

  .training-catalog h2 {
    font-size: 34px;
  }

  .training-intro {
    font-size: 17px;
  }

  .training-grid {
    margin-top: 48px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .training-card {
    min-height: 280px;
  }

  .training-card img {
    width: 130px;
    height: 130px;
  }

  .training-card h3 {
    font-size: 25px;
  }

  .training-card p {
    font-size: 17px;
  }

  .training-whatsapp {
    height: 60px;
    padding: 0 16px;
    font-size: 18px;
  }

  .site-footer {
    padding: 50px 22px 44px;
  }

  .site-contact-list {
    font-size: 13px;
  }

  .site-contact-list img {
    width: 25px;
    height: 25px;
  }
}

.umt-info-content>p,
.umt-info-content li {
  font-weight: 600;
}

.umt-info-content h3 {
  font-weight: 800;
}

.umt-info-content>p {
  max-width: 700px;
  font-size: clamp(21px, 1.72vw, 33px);
  line-height: 1.12;
  margin-bottom: clamp(34px, 2.7vw, 52px);
}

.umt-info-content h3 {
  font-size: clamp(21px, 1.74vw, 33px);
  line-height: 1.08;
  margin: clamp(36px, 3vw, 58px) 0 clamp(10px, 0.9vw, 17px);
  text-transform: uppercase;
}

.umt-info-content ul {
  max-width: 710px;
  list-style: disc;
  padding-left: clamp(28px, 2.38vw, 46px);
}

.umt-info-content li {
  font-size: clamp(21px, 1.74vw, 33px);
  line-height: 1.08;
}

.umt-right-media {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  overflow: hidden;
}

.umt-gwo-seal {
  position: absolute;
  z-index: 5;
  left: clamp(180px, 12.8vw, 246px);
  top: clamp(28px, 2.7vw, 52px);
  width: clamp(250px, 23.8vw, 457px);
  height: auto;
  filter: drop-shadow(0 4px 13px rgba(0, 0, 0, 0.28));
}

.umt-hero-figure {
  width: 100%;
  height: 100%;
  margin: 0;
}

.umt-hero-figure img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: left top;
  transform: translateY(-2.5%);
}

.umt-gwo-section {
  min-height: clamp(720px, 65.9vw, 1266px);
  padding: clamp(64px, 5.1vw, 98px) clamp(80px, 9.9vw, 190px);
  background: #ffffff;
}

.umt-gwo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(56px, 4.7vw, 90px);
  max-width: 1536px;
  margin: 0 auto;
}

.umt-gwo-logo {
  width: clamp(560px, 54.3vw, 1042px);
  height: auto;
}

.umt-gwo-text {
  color: var(--umt-deep);
  font-size: clamp(24px, 2.05vw, 39px);
  line-height: 1.12;
  font-weight: 600;
  text-align: justify;
}

.umt-gwo-text::before {
  content: "• ";
}

.umt-gwo-whatsapp {
  padding: 0 clamp(38px, 3.9vw, 75px);
}

.umt-page .contact-footer {
  width: 100%;
  height: clamp(354px, 26.86vw, 516px);
  margin: 0 auto clamp(80px, 11.34vw, 218px);
  padding: clamp(91px, 6.55vw, 126px) clamp(96px, 7.76vw, 149px) 0 clamp(124px, 9.55vw, 183px);
  grid-template-columns: 44% 1fr;
  column-gap: clamp(28px, 1.8vw, 35px);
  background: linear-gradient(90deg, #f8fbfc 0%, #b8d9f0 100%);
}

.umt-page .footer-logo img {
  width: clamp(479px, 39.1vw, 751px);
  height: auto;
}

.umt-page .contact-list {
  padding-top: 0;
  font-size: clamp(16px, 1.31vw, 25px);
  line-height: 1.18;
  font-weight: 600;
}

.umt-page .contact-list p+p {
  margin-top: clamp(14px, 1.2vw, 23px);
}

.umt-page .contact-icon {
  width: clamp(29px, 2.38vw, 46px);
  height: clamp(29px, 2.38vw, 46px);
  margin-right: clamp(8px, 0.6vw, 12px);
  font-size: clamp(15px, 1.2vw, 23px);
}

.umt-page .contact-icon--inline {
  margin-left: clamp(18px, 1.5vw, 29px);
}

@media (max-width: 1280px) {
  .umt-page .header-inner {
    padding: 0 48px;
    grid-template-columns: 120px minmax(320px, 1fr) 206px;
    column-gap: 36px;
  }

  .umt-page .main-nav ul {
    gap: 26px;
  }

  .umt-hero-copy {
    padding-left: 72px;
  }

  .umt-info-content {
    padding-left: 72px;
  }

  .umt-gwo-seal {
    width: 220px;
  }
}

@media (max-width: 1100px) {
  .umt-desktop-break {
    display: none;
  }

  .umt-page .main-header {
    height: auto;
    min-height: 72px;
  }

  .umt-page .header-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 24px;
  }

  .umt-page .brand img {
    width: 165px;
  }

  .umt-page .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    padding: 18px 24px 24px;
    background: var(--tds-teal);
  }

  .umt-page .main-nav.nav-active {
    display: block;
  }

  .umt-page .main-nav ul {
    flex-direction: column;
    gap: 22px;
  }

  .umt-page .main-nav a {
    font-size: 18px;
  }

  .umt-page .whatsapp-button--header {
    display: none;
  }

  .umt-page .menu-toggle {
    display: inline-flex;
  }

  .umt-wrapper {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .umt-hero-copy {
    width: 100%;
    min-height: auto;
    padding: 56px 40px 48px;
  }

  .umt-hero-copy h1,
  .umt-hero-copy p {
    max-width: 720px;
  }

  .umt-hero-copy h1 {
    font-size: clamp(38px, 6vw, 56px);
    white-space: normal;
  }

  .umt-hero-copy p {
    font-size: clamp(18px, 2.6vw, 24px);
    line-height: 1.25;
  }

  .umt-right-media {
    position: relative;
    order: 2;
    width: 100%;
    height: clamp(520px, 82vw, 720px);
  }

  .umt-gwo-seal {
    left: clamp(28px, 7vw, 64px);
    top: 28px;
    width: clamp(150px, 28vw, 240px);
  }

  .umt-hero-figure img {
    height: 100%;
    object-position: 55% 44%;
    transform: none;
  }

  .umt-info-panel {
    order: 3;
    min-height: auto;
    border-radius: 28px 28px 0 0;
    background:
      linear-gradient(90deg, rgba(0, 67, 79, 0.86), rgba(0, 120, 142, 0.64)),
      url("../assets/img/bg-umt.jpg") center center / auto 135% no-repeat,
      #007d91;
  }

  .umt-info-content {
    width: 100%;
    max-width: 760px;
    padding: 48px 40px 64px;
  }

  .umt-info-content h2,
  .umt-info-content>p,
  .umt-info-content ul {
    max-width: none;
  }

  .umt-info-content h2 {
    font-size: clamp(28px, 4.8vw, 40px);
    line-height: 1.08;
    margin-bottom: 28px;
  }

  .umt-info-content>p,
  .umt-info-content h3,
  .umt-info-content li {
    font-size: clamp(18px, 2.8vw, 24px);
    line-height: 1.22;
  }

  .umt-gwo-section {
    min-height: auto;
    padding: 64px 40px 72px;
  }

  .umt-gwo-inner {
    gap: 36px;
  }

  .umt-gwo-logo {
    width: min(560px, 86vw);
  }

  .umt-gwo-text {
    font-size: clamp(18px, 2.7vw, 24px);
    line-height: 1.3;
  }

  .umt-page .contact-footer {
    height: auto;
    margin-bottom: 0;
    padding: 56px 40px;
    grid-template-columns: 1fr;
    row-gap: 28px;
    justify-items: center;
    text-align: left;
  }

  .umt-page .footer-logo img {
    width: min(470px, 82vw);
  }

  .umt-page .contact-list {
    width: min(470px, 100%);
    font-size: 16px;
  }
}

@media (max-width: 540px) {
  .umt-hero-copy {
    padding: 36px 22px 32px;
  }

  .umt-hero-copy h1 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .umt-hero-copy p {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
  }

  .umt-whatsapp,
  .umt-gwo-whatsapp {
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    font-size: 14px;
  }

  .umt-page .whatsapp-mark {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .umt-right-media {
    height: clamp(540px, 165vw, 680px);
  }

  .umt-gwo-seal {
    width: 132px;
    left: 32px;
    top: 18px;
  }

  .umt-info-panel {
    border-radius: 20px 20px 0 0;
    background:
      linear-gradient(90deg, rgba(0, 67, 79, 0.88), rgba(0, 120, 142, 0.68)),
      url("../assets/img/bg-umt.jpg") center center / auto 135% no-repeat,
      #007d91;
  }

  .umt-info-content {
    padding: 36px 22px 48px;
  }

  .umt-info-content h2 {
    font-size: 24px;
  }

  .umt-info-content>p,
  .umt-info-content h3,
  .umt-info-content li {
    font-size: 15px;
    line-height: 1.28;
  }

  .umt-info-content ul {
    padding-left: 20px;
  }

  .umt-gwo-section {
    padding: 48px 22px 56px;
  }

  .umt-gwo-inner {
    gap: 28px;
  }

  .umt-gwo-logo {
    width: min(330px, 86vw);
  }

  .umt-gwo-text {
    font-size: 15px;
    line-height: 1.38;
    text-align: left;
  }

  .umt-page .contact-footer {
    padding: 44px 22px;
  }

  .umt-page .footer-logo img {
    width: min(310px, 88vw);
  }

  .umt-page .contact-list {
    font-size: 13px;
    line-height: 1.25;
  }

  .umt-page .contact-icon {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }
}

/* ============================================================
   SERVICES PAGE - estilos exclusivos da pagina servicos.html
   ============================================================ */

.services-page {
  --services-deep: #004153;
  --services-teal: #007f91;
  background: #ffffff;
}

.services-header {
  position: relative;
  z-index: 5;
}

.services-page .main-nav a.active {
  color: #023f53;
  border-bottom-color: #023f53;
}

.services-hero {
  position: relative;
  width: min(100%, var(--page-width));
  height: 1510px;
  margin: 0 auto;
  overflow: hidden;
  background: url("../assets/img/bg-servicos-tds.png") center top / 100% auto no-repeat;
  background-position: center -590px;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.24) 0%,
      rgba(0, 0, 0, 0.09) 42%,
      rgba(124, 63, 0, 0.2) 100%),
    rgba(0, 0, 0, 0.03);
  pointer-events: none;
}

.services-hero-copy {
  position: absolute;
  left: 218px;
  top: 763px;
  z-index: 1;
  width: 735px;
  color: #ffffff;
}

.services-hero-copy h1 {
  color: #ffffff;
  font-size: 67px;
  line-height: 0.99;
  font-weight: 900;
  letter-spacing: 0;
}

.services-hero-copy p {
  width: 724px;
  margin-top: 34px;
  color: #ffffff;
  font-size: 36px;
  line-height: 1.09;
  font-weight: 500;
  letter-spacing: 0;
}

.services-list {
  width: min(100%, var(--page-width));
  min-height: 2412px;
  margin: 0 auto;
  padding-top: 101px;
  background: #ffffff;
}

.services-grid {
  width: 1460px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 630px);
  column-gap: 122px;
  row-gap: 133px;
  transform: translateX(84px);
}

/* Centraliza o último card quando ele fica sozinho em uma grade de duas colunas. */
.services-grid>.service-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
}

.service-card {
  position: relative;
  width: 630px;
  height: 356px;
  padding: 74px 34px 28px 64px;
  display: grid;
  place-items: center;
  border: 2px solid #91c8e8;
  border-radius: 25px;
  background: linear-gradient(180deg, #dddddd 0%, #ffffff 47%);
  box-shadow: 0 12px 30px rgba(0, 63, 83, 0.09);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--services-teal);
  box-shadow: 0 24px 48px rgba(0, 63, 83, 0.2);
}

.service-card img {
  position: absolute;
  left: -81px;
  top: -82px;
  width: 161px;
  height: auto;
  max-width: none;
  transition:
    transform 300ms ease,
    filter 300ms ease;
}

.service-card:hover img {
  transform: translateY(-5px) rotate(-3deg) scale(1.05);
  filter: drop-shadow(0 10px 12px rgba(0, 63, 83, 0.2));
}

.service-card p {
  color: var(--services-deep);
  font-size: 39px;
  line-height: 1.04;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0;
}

.service-card--long p {
  font-size: 37px;
  line-height: 1.04;
}

.services-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  /* width: 789px; */
  max-width: 720px;
  height: 128px;
  margin: 139px auto 0;
  border-radius: 999px;
  background: var(--services-teal);
  color: #ffffff;
  font-size: 45px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.services-whatsapp .whatsapp-mark {
  width: 53px;
  height: 53px;
  flex-basis: 53px;
  border-width: 5px;
  border-color: #08b96d;
}

.services-whatsapp .whatsapp-mark::before {
  left: 12px;
  top: 10px;
  width: 12px;
  height: 22px;
  border-right-width: 5px;
  border-bottom-width: 5px;
  border-color: #08b96d;
}

.services-whatsapp .whatsapp-mark::after {
  left: -4px;
  bottom: -5px;
  width: 17px;
  height: 17px;
  background: var(--services-teal);
  border-left-width: 5px;
  border-color: #08b96d;
}

.services-footer {
  width: min(100%, var(--page-width));
  height: 533px;
  margin: 0 auto 80px;
  padding: 126px 162px 0 165px;
  display: grid;
  grid-template-columns: 900px 1fr;
  align-items: flex-start;
  background: linear-gradient(90deg, #f8fbfc 0%, #b8d9f0 100%);
}

.services-footer-logo img {
  width: 751px;
  height: auto;
}

.services-contact-list {
  color: var(--services-deep);
  font-style: normal;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 900;
}

.services-contact-list p+p {
  margin-top: 25px;
}

.services-contact-icon {
  display: inline-grid;
  width: 45px;
  height: 45px;
  margin-right: 10px;
  place-items: center;
  border-radius: 50%;
  background: #16a6bd;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  font-family: Arial, sans-serif;
  font-weight: 700;
  vertical-align: -7px;
}

.services-contact-icon--inline {
  margin-left: 22px;
}

@media (max-width: 1500px) {
  .services-hero {
    height: 1133px;
    background-position: center -442px;
  }

  .services-hero-copy {
    left: 164px;
    top: 572px;
    width: 552px;
  }

  .services-hero-copy h1 {
    font-size: 54px;
  }

  .services-hero-copy p {
    width: 543px;
    margin-top: 26px;
    font-size: 27px;
  }

  .services-list {
    min-height: 1809px;
    padding-top: 76px;
  }

  .services-grid {
    width: 1095px;
    grid-template-columns: repeat(2, 473px);
    column-gap: 92px;
    row-gap: 100px;
    transform: translateX(63px);
  }

  .service-card {
    width: 473px;
    height: 267px;
    padding: 56px 26px 21px 48px;
    border-radius: 19px;
  }

  .service-card img {
    left: -61px;
    top: -62px;
    width: 121px;
  }

  .service-card p {
    font-size: 29px;
  }

  .service-card--long p {
    font-size: 28px;
  }

  .services-whatsapp {
    width: 592px;
    height: 96px;
    margin-top: 104px;
    font-size: 34px;
  }

  .services-whatsapp .whatsapp-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-width: 4px;
  }

  .services-whatsapp .whatsapp-mark::before {
    left: 9px;
    top: 8px;
    width: 9px;
    height: 17px;
    border-right-width: 4px;
    border-bottom-width: 4px;
  }

  .services-whatsapp .whatsapp-mark::after {
    width: 13px;
    height: 13px;
    border-left-width: 4px;
  }

  .services-footer {
    height: 400px;
    padding: 95px 122px 0 124px;
    grid-template-columns: 675px 1fr;
  }

  .services-footer-logo img {
    width: 563px;
  }

  .services-contact-list {
    font-size: 21px;
  }

  .services-contact-list p+p {
    margin-top: 19px;
  }

  .services-contact-icon {
    width: 34px;
    height: 34px;
    font-size: 17px;
    vertical-align: -5px;
  }
}

/* ============================================================
   sst PAGE - estilos exclusivos de consultoria-de-sst.html
   ============================================================ */

.sst-page {
  --sst-blue: #00427a;
  --sst-yellow: #f4ae00;
  --sst-green: #277c35;
  --sst-red: #c91c22;
  background: #ffffff;
  font-family: var(--font-main);
}

.sst-header {
  position: relative;
  z-index: 5;
}

.sst-page .main-nav ul {
  gap: 38px;
}

.sst-page .main-nav a {
  font-size: 18px;
}

.sst-hero {
  position: relative;
  width: 100%;
  height: 1510px;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff url("../assets/img/bg-sst.png") center center / cover no-repeat;
}

.sst-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sst-content {
  width: min(100%, var(--page-width));
  min-height: 3070px;
  margin: 0 auto;
  padding: 24px 0 56px;
  background: #ffffff;
}

.sst-content-inner {
  width: 1516px;
  margin: 0 auto;
}

.sst-content h2 {
  color: var(--tds-deep);
  font-size: 70px;
  line-height: 1.02;
  font-weight: 900;
  text-align: center;
}

.sst-lead {
  max-width: 1380px;
  margin: 40px auto 0;
  color: var(--tds-deep);
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
}

.sst-grid {
  margin-top: 105px;
  display: grid;
  grid-template-columns: repeat(2, 716px);
  column-gap: 84px;
  row-gap: 50px;
}

.sst-card {
  width: 716px;
  height: 356px;
  min-height: 0;
  padding: 34px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #79b7df;
  border-radius: 25px;
  background: linear-gradient(180deg, #d8d8d8 0%, #ffffff 52%);
  text-align: center;
  box-shadow: 0 14px 34px rgba(0, 63, 83, 0.1);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease;
}

.sst-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 63, 83, 0.2);
}

.sst-card--quality {
  color: var(--sst-blue);
}

.sst-card--safety {
  color: var(--sst-yellow);
}

.sst-card--environment {
  color: var(--sst-green);
}

.sst-card--health {
  color: var(--sst-red);
}

.sst-letter {
  font-size: 128px;
  line-height: 0.8;
  font-weight: 900;
}

.sst-card h3 {
  margin-top: 38px;
  font-size: 48px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.sst-card p {
  margin-top: 0;
  color: var(--tds-deep);
  font-size: 32px;
  line-height: 1.08;
  font-weight: 700;
}

.sst-card--last {
  grid-column: 1 / -1;
  justify-self: center;
}

.sst-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 789px;
  height: 128px;
  margin: 105px auto 0;
  border-radius: 999px;
  background: var(--tds-teal-dark);
  color: #ffffff;
  font-size: 43px;
  line-height: 1;
  font-weight: 600;
}

.sst-whatsapp .whatsapp-mark,
.sst-whatsapp .whatsapp-mark::after {
  background: transparent;
}

@media (max-width: 1500px) {
  .sst-page .main-nav ul {
    gap: 24px;
  }

  .sst-hero {
    height: 1133px;
  }

  .sst-content {
    min-height: 2303px;
    padding: 18px 0 42px;
  }

  .sst-content-inner {
    width: 1137px;
  }

  .sst-content h2 {
    font-size: 53px;
  }

  .sst-lead {
    max-width: 1035px;
    margin-top: 30px;
    font-size: 24px;
  }

  .sst-grid {
    margin-top: 79px;
    grid-template-columns: repeat(2, 537px);
    column-gap: 63px;
    row-gap: 38px;
  }

  .sst-card {
    width: 537px;
    height: 267px;
    min-height: 0;
    padding: 26px 32px;
    border-radius: 19px;
  }

  .sst-letter {
    font-size: 96px;
  }

  .sst-card h3 {
    margin-top: 29px;
    font-size: 36px;
  }

  .sst-card p {
    margin-top: 0;
    font-size: 24px;
  }

  .sst-whatsapp {
    width: 592px;
    height: 96px;
    margin-top: 79px;
    font-size: 32px;
  }
}

@media (max-width: 1100px) {
  .sst-page .main-nav ul {
    gap: 22px;
  }

  .sst-hero {
    height: 760px;
    background-size: cover;
    background-position: center center;
  }

  .sst-content {
    min-height: auto;
    padding: 24px 40px 88px;
  }

  .sst-content-inner {
    width: min(100%, 720px);
  }

  .sst-content h2 {
    font-size: clamp(42px, 7vw, 58px);
  }

  .sst-lead {
    font-size: clamp(19px, 3vw, 25px);
  }

  .sst-grid {
    margin-top: 64px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .sst-card {
    width: 100%;
    height: auto;
    min-height: 250px;
    padding: 42px 36px;
  }

  .sst-letter {
    font-size: 84px;
  }

  .sst-card h3 {
    margin-top: 24px;
    font-size: 32px;
  }

  .sst-card p {
    margin-top: 0;
    font-size: 21px;
  }

  .sst-whatsapp {
    width: min(100%, 592px);
    height: 78px;
    margin-top: 72px;
    font-size: clamp(22px, 4vw, 30px);
  }
}

@media (max-width: 540px) {
  .sst-content {
    padding: 18px 22px 64px;
  }

  .sst-content h2 {
    font-size: 36px;
  }

  .sst-lead {
    margin-top: 24px;
    font-size: 17px;
  }

  .sst-grid {
    margin-top: 48px;
  }

  .sst-card {
    min-height: 220px;
    padding: 36px 24px;
    border-radius: 20px;
  }

  .sst-letter {
    font-size: 68px;
  }

  .sst-card h3 {
    margin-top: 20px;
    font-size: 27px;
  }

  .sst-card p {
    margin-top: 0;
    font-size: 17px;
  }

  .sst-whatsapp {
    height: 60px;
    padding: 0 16px;
    font-size: 18px;
  }
}

/* Navbar compartilhada: tipografia e espaçamento idênticos em todas as páginas */
.main-nav ul {
  gap: 38px !important;
}

.main-nav a {
  font-size: 18px !important;
}

@media (min-width: 1101px) and (max-width: 1500px) {
  .main-nav ul {
    gap: 24px !important;
  }
}

@media (max-width: 1100px) {
  .main-nav ul {
    gap: 22px !important;
  }

  .main-nav a {
    font-size: 18px !important;
  }
}

@media (max-width: 1100px) {
  .services-hero {
    height: 700px;
    background-position: 48% -195px;
  }

  .services-hero-copy {
    left: 40px;
    right: 40px;
    top: 310px;
    width: auto;
  }

  .services-hero-copy h1 {
    font-size: clamp(40px, 7vw, 58px);
  }

  .services-hero-copy p {
    width: min(100%, 560px);
    font-size: clamp(20px, 3.3vw, 28px);
    line-height: 1.18;
  }

  .services-list {
    min-height: auto;
    padding: 82px 40px 96px;
  }

  .services-grid {
    width: min(100%, 640px);
    grid-template-columns: 1fr;
    row-gap: 92px;
    transform: none;
  }

  .service-card {
    width: 100%;
    min-height: 250px;
    height: auto;
    padding: 70px 28px 34px;
  }

  .service-card img {
    left: 28px;
    top: -58px;
    width: 116px;
  }

  .service-card p,
  .service-card--long p {
    font-size: clamp(26px, 5vw, 36px);
  }

  .services-whatsapp {
    width: min(100%, 592px);
    height: 78px;
    margin-top: 74px;
    font-size: clamp(22px, 4.5vw, 34px);
  }

  .services-footer {
    height: auto;
    margin-bottom: 0;
    padding: 56px 40px;
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 28px;
  }

  .services-footer-logo img {
    width: min(470px, 82vw);
  }

  .services-contact-list {
    width: min(560px, 100%);
    font-size: 18px;
  }
}

@media (max-width: 540px) {
  .services-hero {
    height: 620px;
    background-position: 45% -145px;
  }

  .services-hero-copy {
    left: 22px;
    right: 22px;
    top: 280px;
  }

  .services-hero-copy h1 {
    font-size: 34px;
  }

  .services-hero-copy p {
    margin-top: 22px;
    font-size: 17px;
  }

  .services-list {
    padding: 70px 22px 64px;
  }

  .services-grid {
    row-gap: 72px;
  }

  .service-card {
    min-height: 210px;
    padding: 56px 18px 26px;
    border-radius: 16px;
  }

  .service-card img {
    left: 18px;
    top: -45px;
    width: 90px;
  }

  .service-card p,
  .service-card--long p {
    font-size: 22px;
    line-height: 1.08;
  }

  .services-whatsapp {
    height: 58px;
    padding: 0 18px;
    gap: 10px;
    font-size: 18px;
  }

  .services-whatsapp .whatsapp-mark {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-width: 3px;
  }

  .services-whatsapp .whatsapp-mark::before {
    left: 6px;
    top: 5px;
    width: 7px;
    height: 12px;
    border-right-width: 3px;
    border-bottom-width: 3px;
  }

  .services-whatsapp .whatsapp-mark::after {
    width: 9px;
    height: 9px;
    border-left-width: 3px;
  }

  .services-footer {
    padding: 44px 22px;
  }

  .services-footer-logo img {
    width: min(310px, 88vw);
  }

  .services-contact-list {
    font-size: 13px;
    line-height: 1.25;
  }

  .services-contact-icon {
    width: 22px;
    height: 22px;
    margin-right: 7px;
    font-size: 11px;
    vertical-align: -5px;
  }
}

/* Garantias finais da camada responsiva após os estilos específicos das páginas. */
@media (min-width: 1101px) and (max-width: 1366px) {

  .header-inner,
  .umt-page .header-inner {
    padding-inline: clamp(40px, 5vw, 72px);
    grid-template-columns: 110px minmax(0, 1fr) 190px;
    column-gap: 24px;
  }

  .main-nav ul,
  .umt-page .main-nav ul {
    gap: 20px !important;
  }

  .states-panel {
    width: calc(100% - 369px);
    max-width: 997px;
    margin: 87px 0 0 68px;
  }

  .states-panel p {
    left: 73px;
    width: 593px;
    font-size: 35px;
  }

  .states-panel img {
    right: -285px;
    width: 570px;
    max-width: none;
  }

  .services-grid,
  .training-grid {
    width: min(calc(100% - 64px), 1095px);
    grid-template-columns: repeat(2, minmax(0, 473px));
    justify-content: center;
    column-gap: clamp(52px, 6vw, 82px);
    transform: none;
  }

  .service-card,
  .training-card,
  .sst-card {
    width: 100%;
  }

  .sst-content-inner {
    width: min(calc(100% - 64px), 1137px);
  }

  .sst-grid {
    grid-template-columns: repeat(2, minmax(0, 537px));
    justify-content: center;
    column-gap: clamp(36px, 4vw, 54px);
  }
}

@media (max-width: 1100px) {

  .services-grid,
  .training-grid,
  .sst-grid {
    justify-content: center;
    justify-items: center;
  }

  .service-card,
  .training-card,
  .sst-card {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
  }

  .service-card img,
  .training-card img {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-person {
    right: 50%;
    width: min(58vw, 420px);
    transform: translateX(50%);
  }
}

@media (max-width: 760px) {
  .training-grid {
    grid-template-columns: minmax(0, 560px);
    gap: 72px;
  }

  .training-card--last {
    grid-column: auto;
  }

  .hero-person {
    width: min(82vw, 420px);
  }
}

@media (max-width: 540px) {

  .header-inner,
  .umt-page .header-inner {
    padding-inline: 18px;
  }

  .service-card img,
  .training-card img {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-person {
    width: min(84vw, 330px);
  }
}

/* Rodapé compartilhado: organização dos contatos em telas pequenas. */
@media (max-width: 600px) {
  .site-footer {
    padding: 40px 20px 36px;
    row-gap: 32px;
  }

  .site-footer-logo,
  .site-footer-logo img {
    width: min(280px, 75vw);
  }

  .site-contact-list {
    width: min(100%, 380px);
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .site-contact-list p {
    display: grid;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    row-gap: 12px;
  }

  .site-contact-list p+p {
    margin-top: 18px;
  }

  .site-contact-list img,
  .site-contact-list .site-contact-inline {
    width: 28px;
    height: 28px;
    margin: 0;
  }

  .site-contact-list a {
    min-width: 0;
    min-height: 36px;
    display: flex;
    align-items: center;
    overflow-wrap: anywhere;
  }

  .footer-info {
    min-height: 0;
    padding: 18px 20px;
    font-size: 13px;
  }
}

@media (min-width: 360px) and (max-width: 600px) {
  .site-contact-list p:has(.site-contact-inline) {
    grid-template-columns: 28px max-content 28px minmax(0, 1fr);
    column-gap: 8px;
  }
}

/* Treinamentos: alinhamento do hero, ações dos cards e modal de detalhes. */
@media (min-width: 1101px) {

  .training-page .training-catalog,
  .services-page .services-list {
    padding-top: clamp(92px, 6.2vw, 120px);
  }
}

.training-page .training-hero-copy,
.sst-page .training-hero-copy {
  top: 50%;
  bottom: auto;
  max-width: min(920px, calc(100% - 80px));
  transform: translateY(-50%);
}

.training-page .training-hero-copy h1,
.sst-page .training-hero-copy h1 {
  font-size: clamp(48px, 4.5vw, 78px);
  line-height: 1.04;
}

.training-page .training-card {
  height: 390px;
  min-height: 0;
  padding-bottom: 36px;
}

.training-page .training-card p {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(24px, 1.75vw, 32px);
}

.training-page .training-card-more {
  flex: 0 0 auto;
  margin-top: 18px;
}

/* Consultoria de SST: mantém o mesmo respiro inicial do catálogo de treinamentos. */
.sst-page .sst-content {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: clamp(92px, 6.2vw, 120px);
}

.sst-page .sst-content h2 span {
  display: block;
}

@media (min-width: 1101px) {
  .sst-page .sst-content h2 span {
    white-space: nowrap;
  }
}

.sst-page .sst-card p {
  color: var(--training-deep);
  font-size: clamp(24px, 1.75vw, 32px);
  line-height: 1.05;
  font-weight: 800;
}

.training-modal[hidden] {
  display: none !important;
}

.training-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 24, 34, 0.72);
  backdrop-filter: blur(4px);
}

.training-modal-panel {
  position: relative;
  width: min(100%, 980px);
  max-height: min(90dvh, 900px);
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  border: 2px solid #91c8e8;
  border-radius: 24px;
  background: #ffffff;
  color: var(--training-deep);
  box-shadow: 0 28px 70px rgba(0, 28, 40, 0.4);
}

.training-modal-description {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding: 64px 44px 48px;
  font-size: 17px;
  line-height: 1.62;
}

.training-plan {
  max-width: 78ch;
  margin-inline: auto;
}

.training-plan-nr,
.training-plan-kicker {
  margin: 0;
  color: var(--training-teal);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.training-plan-nr {
  margin-bottom: 12px;
  font-size: 15px;
}

.training-plan-course+.training-plan-course {
  margin-top: 42px;
  padding-top: 36px;
  border-top: 2px solid #cbe4ed;
}

.training-plan-course>h3 {
  margin: 10px 0 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #d7eaf2;
  font-size: clamp(23px, 2.5vw, 31px);
}

.training-modal-description p {
  margin: 0;
}

.training-modal-description p+p,
.training-modal-description ul+p,
.training-modal-description p+ul {
  margin-top: 1em;
}

.training-modal-description h3,
.training-modal-description h4 {
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  color: var(--training-deep);
  line-height: 1.2;
}

.training-modal-description h4 {
  padding-left: 14px;
  border-left: 4px solid var(--training-teal);
  font-size: 19px;
}

.training-modal-description ul,
.training-modal-description ol {
  margin: 0.8em 0 1.35em;
  padding-left: 1.4em;
}

.training-modal-description li+li {
  margin-top: 0.45em;
}

.training-plan-note {
  margin-top: 1.25em !important;
  padding: 14px 16px;
  border-left: 4px solid #f1b84b;
  border-radius: 0 10px 10px 0;
  background: #fff8e9;
  font-weight: 700;
}

.training-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #e4f4f6;
  color: var(--training-deep);
  font: inherit;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
}

.training-modal-close:hover,
.training-modal-close:focus-visible {
  background: var(--training-teal);
  color: #ffffff;
}

body.training-modal-open {
  overflow: hidden;
}

@media (max-width: 1500px) and (min-width: 1101px) {
  .training-page .training-card {
    height: 320px;
  }

  .training-card-more {
    min-width: 145px;
    min-height: 42px;
    margin-top: 16px;
    font-size: 17px;
  }
}

@media (max-width: 1100px) {

  .training-page .training-hero-copy,
  .sst-page .training-hero-copy {
    left: 40px;
    right: 40px;
    max-width: none;
  }

  .training-page .training-card {
    height: 330px;
  }

  .sst-page .sst-content {
    margin-top: 0;
    padding-top: 72px;
  }
}

@media (max-width: 540px) {

  .training-page .training-hero-copy,
  .sst-page .training-hero-copy {
    left: 22px;
    right: 22px;
  }

  .training-page .training-hero-copy h1,
  .sst-page .training-hero-copy h1 {
    font-size: 38px;
  }

  .sst-page .sst-content {
    padding-top: 56px;
  }

  .training-page .training-card {
    height: 300px;
    padding: 76px 22px 30px;
  }

  .training-page .training-card p {
    font-size: 20px;
  }

  .sst-page .sst-card p {
    font-size: 20px;
  }

  .training-card-more {
    min-width: 150px;
    min-height: 44px;
    margin-top: 20px;
    font-size: 17px;
  }

  .training-modal {
    padding: 16px;
  }

  .training-modal-panel {
    border-radius: 18px;
  }

  .training-modal-description {
    padding: 62px 22px 34px;
    font-size: 16px;
  }

  .training-modal-close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 400px) and (max-width: 600px) {
  .site-contact-list p:has(.site-contact-inline) {
    grid-template-columns: 28px max-content 38px minmax(0, 1fr);
  }

  .site-contact-list .site-contact-inline {
    justify-self: end;
  }
}

/* Home mobile: o mapa ultrapassa o painel sem manter o fundo até sua base. */
@media (max-width: 600px) {
  .states-panel {
    height: auto;
    min-height: 0;
    margin-bottom: calc(min(92vw, 520px) - 80px);
    padding: 36px 22px 52px;
  }

  .states-panel img {
    top: calc(100% - 80px);
    bottom: auto;
    transition: none;
  }

  .states-panel:hover img {
    transform: translateX(50%);
    filter: drop-shadow(0 16px 18px rgba(0, 63, 83, 0.18));
  }
}

/* Navbar compartilhada: dropdown de Serviços & Treinamentos. */
.main-nav .main-menu {
  align-items: center;
}

.nav-dropdown {
  position: relative;
}

/* Área invisível que conecta o botão ao submenu e tolera movimentos diagonais do mouse. */
.nav-dropdown::after {
  position: absolute;
  z-index: 19;
  top: 100%;
  left: 50%;
  width: max(100%, 220px);
  height: 16px;
  content: "";
  transform: translateX(-50%);
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-bottom: 4px solid transparent;
  padding: 0 0 6px;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown-toggle.active,
.nav-dropdown.submenu-open .nav-dropdown-toggle {
  color: #023f53;
  border-bottom-color: #023f53;
}

.nav-dropdown-arrow {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown:focus-within .nav-dropdown-arrow,
.nav-dropdown.submenu-open .nav-dropdown-arrow {
  transform: translateY(2px) rotate(225deg);
}

.main-nav .nav-submenu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 12px);
  left: 50%;
  display: none;
  width: max-content;
  min-width: 220px;
  padding: 10px;
  flex-direction: column;
  align-items: stretch;
  gap: 2px !important;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 45, 58, 0.24);
  list-style: none;
  transform: translateX(-50%);
}

.umt-page .main-nav .nav-submenu {
  display: none;
  flex-direction: column;
  align-items: stretch;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.submenu-open .nav-submenu,
.umt-page .nav-dropdown:hover .nav-submenu,
.umt-page .nav-dropdown:focus-within .nav-submenu,
.umt-page .nav-dropdown.submenu-open .nav-submenu {
  display: flex;
}

.main-nav .nav-submenu a {
  display: block;
  padding: 11px 14px;
  border: 0;
  border-radius: 9px;
  color: var(--tds-deep);
  font-size: 15px !important;
  line-height: 1.2;
  white-space: nowrap;
}

.main-nav .nav-submenu a:hover,
.main-nav .nav-submenu a:focus-visible,
.main-nav .nav-submenu a.active {
  background: #e4f4f6;
  color: var(--tds-teal-dark);
  transform: none;
}

@media (max-width: 1100px) {
  .nav-dropdown {
    width: 100%;
    text-align: center;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown-toggle {
    font-size: 18px;
  }

  .main-nav .nav-submenu {
    position: static;
    width: min(100%, 320px);
    margin: 12px auto 0;
    transform: none;
  }
}

/* ============================================================
   CLIENTES PAGE
   ============================================================ */
.clients-page {
  background: #f4f8f9;
}

.clients-hero {
  padding: clamp(64px, 7vw, 118px) 24px clamp(72px, 8vw, 132px);
  border-radius: 0 0 clamp(32px, 4vw, 72px) clamp(32px, 4vw, 72px);
  background: #023f53;
  color: #ffffff;
  text-align: center;
}

.clients-hero-inner {
  width: min(100%, 980px);
  margin: 0 auto;
}

.clients-eyebrow {
  margin-bottom: 14px;
  font-size: clamp(14px, 1.1vw, 19px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clients-hero h1 {
  font-size: clamp(44px, 5vw, 82px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.clients-hero-inner>p:last-child {
  max-width: 760px;
  margin: 24px auto 0;
  font-size: clamp(17px, 1.5vw, 24px);
  line-height: 1.4;
  font-weight: 500;
}

.clients-section {
  width: min(calc(100% - 48px), 1440px);
  margin: clamp(-52px, -3vw, -32px) auto 80px;
  padding: clamp(28px, 4vw, 64px);
  border: 1px solid #d9e7ea;
  border-radius: clamp(28px, 3vw, 48px);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(0, 63, 83, 0.12);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}

.client-card {
  grid-column: span 2;
  min-width: 0;
  aspect-ratio: 14 / 7.5;
  padding: clamp(12px, 1.2vw, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: 1px solid #dfebed;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 63, 83, 0.07);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

/* Centraliza os três clientes da última linha na grade desktop de quatro cards. */
.client-card--last-row-start {
  grid-column: 2 / span 2;
  grid-row: 7;
}

.client-card--last-row-middle {
  grid-column: 4 / span 2;
  grid-row: 7;
}

.client-card--last-row-end {
  grid-column: 6 / span 2;
  grid-row: 7;
}

.client-card:hover {
  transform: translateY(-5px);
  border-color: #8fc8d0;
  box-shadow: 0 14px 28px rgba(0, 63, 83, 0.14);
}

.client-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  flex: 0 1 auto;
  object-fit: contain;
  object-position: center;
}

/* Compensa as margens brancas incorporadas nestes arquivos de logo. */
.client-card--pecem,
.client-card--tecer,
.client-card--white-martins,
.client-card--sao-geraldo,
.client-card--ocean-pact,
.client-card--araujo-abreu,
.client-card--termaco,
.client-card--varandas-beach {
  overflow: hidden;
}

.client-card--pecem img {
  transform: scale(2);
}

.client-card--tecer img {
  transform: scale(1.35);
}

.client-card--white-martins img {
  transform: scale(2);
}

.client-card--sao-geraldo img {
  transform: scale(1.65);
}

.client-card--ocean-pact img {
  transform: scale(1.25);
}

.client-card--araujo-abreu img {
  transform: scale(1.12);
}

.client-card--termaco img,
.client-card--varandas-beach img {
  transform: scale(1.08);
}

.clients-cta {
  margin-top: clamp(46px, 5vw, 76px);
  text-align: center;
}

.clients-cta>p {
  color: var(--tds-teal-dark);
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.clients-whatsapp {
  width: fit-content;
  min-height: 62px;
  margin: 28px auto 0;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  background: var(--tds-teal-dark);
  color: #ffffff;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.1;
  font-weight: 800;
}

@media (max-width: 900px) {
  .clients-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .client-card,
  .client-card--last-row-start,
  .client-card--last-row-middle,
  .client-card--last-row-end {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .clients-hero {
    padding: 54px 20px 76px;
  }

  .clients-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .clients-section {
    width: calc(100% - 28px);
    margin-top: -34px;
    margin-bottom: 48px;
    padding: 20px 14px 38px;
    border-radius: 26px;
  }

  .clients-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .client-card {
    grid-column: span 2;
    padding: 10px;
    border-radius: 13px;
  }

  .clients-grid>.client-card:last-child:nth-child(odd) {
    grid-column: 2 / span 2;
  }

  .client-card:hover {
    transform: none;
  }

  .clients-cta {
    margin-top: 42px;
  }

  .clients-whatsapp {
    width: min(100%, 330px);
    min-height: 54px;
    padding: 10px 16px;
    font-size: 16px;
  }
}

/* Home mobile: composição do hero conforme a referência visual. */
@media (max-width: 600px) {
  .hero-section.fold-hero {
    height: auto !important;
    min-height: 620px;
    background-position: 52% center;
  }

  .hero-section .hero-inner {
    height: auto;
    min-height: 620px;
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    position: static;
    width: auto;
    margin: 52px 20px 0;
  }

  .hero-copy h1 {
    max-width: 340px;
    font-size: clamp(29px, 8.5vw, 36px);
    line-height: 1.02;
  }

  .hero-copy p {
    width: min(100%, 330px);
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.3;
  }

  .whatsapp-button--hero {
    position: absolute;
    z-index: 3;
    top: auto;
    bottom: clamp(105px, 32vw, 125px);
    left: 50%;
    width: min(82vw, 285px);
    height: 44px;
    margin: 0;
    padding-inline: 14px;
    gap: 8px;
    font-size: 14px;
    transform: translateX(-50%);
  }

  .whatsapp-button--hero .whatsapp-mark {
    width: 22px !important;
    height: 22px !important;
    flex-basis: 22px !important;
  }

  .hero-person {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: min(85vw, 335px);
    margin: 20px auto -1px;
    transform: none;
  }
}

/* CTAs de especialista: respiro lateral compacto e proporcional ao vertical. */
.whatsapp-button--hero,
.whatsapp-button--center,
.history-whatsapp,
.services-whatsapp,
.training-whatsapp,
.sst-whatsapp,
.umt-whatsapp,
.umt-gwo-whatsapp {
  width: fit-content;
  height: auto;
  min-height: 1em;
  padding: 0.7em 0.8em;
  gap: 0.45em;
}

/* CTA da barra de menu: padding lateral equilibrado com a altura do texto. */
.whatsapp-button--header {
  width: fit-content;
  height: auto;
  min-height: 56px;
  padding: 0.7em 0.8em;
}

/* Mobile: CTAs de especialista com conteúdo em uma linha e padding uniforme. */
@media (max-width: 600px) {
  .whatsapp-button--hero,
  .whatsapp-button--center,
  .history-whatsapp,
  .services-whatsapp,
  .training-whatsapp,
  .sst-whatsapp,
  .umt-whatsapp,
  .umt-gwo-whatsapp,
  .clients-whatsapp {
    width: fit-content;
    max-width: calc(100% - 32px);
    height: auto;
    min-height: 0;
    padding: 12px;
    gap: 10px;
    white-space: nowrap;
    line-height: 1.15;
  }

  .services-page .services-hero.fold-hero .services-hero-copy {
    top: calc(50% + 90px) !important;
  }

  .sst-page .sst-hero.fold-hero {
    background-size: auto 102%;
    background-position: 45% center;
  }
}

/* Evita a barra horizontal e a emenda visual sob os heroes em telas móveis. */
@media (max-width: 760px) {

  body.training-page,
  body.services-page,
  body.sst-page,
  .training-page main,
  .services-page main,
  .sst-page main {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  main > .fold-hero {
    max-width: 100%;
    margin-bottom: -1px;
    border-bottom: 0;
    box-shadow: none;
  }

  main > .fold-hero + section {
    position: relative;
    z-index: 1;
    margin-top: -1px;
  }

  .skip-link,
  .site-contact-list a,
  .footer-privacy-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .privacy-content a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding-block: 8px;
  }
}
