/* Presentation layer for the Totem landing page. Inline content and behavior remain intact. */
.totem-page {
  --blue: #2D8CD4;
  --navy: #0A1A2A;
  --line: #DDE5EE;
  background: #F5F8FB;
  -webkit-font-smoothing: antialiased;
}
.totem-page *, .totem-page *::before, .totem-page *::after { box-sizing: border-box; }
.totem-page > div { max-width: 1600px; margin-inline: auto; }
.totem-page h1, .totem-page h2, .totem-page h3 { font-weight: 700 !important; text-wrap: balance; }
.totem-page h2 { font-size: clamp(30px, 3.2vw, 44px) !important; line-height: 1.14 !important; }
.totem-page p { text-wrap: pretty; }
.totem-page a, .totem-page button, .totem-page input, .totem-page select, .totem-page textarea { transition: background-color .2s, border-color .2s, box-shadow .2s; }
.totem-page :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #2D8CD4; outline-offset: 5px; }
.totem-page .nav { padding: 18px clamp(24px, 5vw, 80px) !important; border-top: 0; gap: 20px !important; }
.totem-page .nav > a:first-child { padding: 8px 0 !important; }
.totem-page .nav img { height: 34px !important; }
.totem-page .navlinks { gap: 28px !important; font-size: 14px !important; font-weight: 500; }
.totem-page .navlinks a { padding-block: 12px; }
.totem-page .nav > a:last-child,
.totem-page .hero-copy a,
.totem-page .diagnostic-form button { border-radius: 999px !important; justify-content: center; text-align: center; line-height: 1.45; }
.totem-page .nav > a:last-child { background: var(--blue) !important; padding: 13px 24px !important; }
.totem-page .nav > a:last-child:hover { background: #1D6FB3 !important; }
.totem-page #topo { margin: 0 24px; border-radius: 24px; overflow: hidden; background: var(--blue) !important; color: var(--navy) !important; flex-wrap: nowrap !important; }
.totem-page .hero-copy { flex: 1 1 55% !important; padding: clamp(40px, 5vw, 76px) clamp(28px, 4vw, 64px) !important; gap: 24px !important; }
.totem-page .hero-copy h1 { color: #FFFFFF !important; font-size: clamp(38px, 4.15vw, 62px) !important; line-height: 1.06 !important; letter-spacing: -.045em !important; }
.totem-page .hero-copy > div:first-child { color: #FFFFFF !important; font-size: 11px !important; letter-spacing: .16em !important; }
.totem-page .hero-copy > div:first-child span { background: #FFFFFF !important; width: 24px !important; }
.totem-page .hero-copy p { color: #FFFFFF !important; }
.totem-page .hero-copy > p:first-of-type { font-size: 17px !important; line-height: 1.7 !important; }
.totem-page .hero-copy > p:last-child { font-size: 12px !important; }
.totem-page .hero-copy a { font-size: 14px !important; padding: 14px 22px !important; }
.totem-page .hero-copy a:first-child { background: var(--navy) !important; box-shadow: 0 6px 18px #0a1a2a20; }
.totem-page .hero-copy a:first-child:hover { background: #12273B !important; }
.totem-page .hero-copy a:last-child { color: var(--navy) !important; border-color: #0a1a2a60 !important; }
.totem-page .hero-copy a:last-child:hover { background: #ffffff20; }
.totem-page #topo > div:last-child { flex: 1 1 45% !important; min-width: 0; min-height: 560px !important; }
.totem-page #topo > div:last-child > div { left: 24px !important; right: 24px; bottom: 24px !important; border-radius: 18px !important; padding: 20px !important; max-width: 310px !important; }
.totem-page #topo > div:last-child > div > div:first-child { font-family: inherit !important; font-weight: 600; }
.totem-page .proof-section { background: transparent !important; color: var(--navy) !important; margin: 0 64px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.totem-page .proof-section > div { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.totem-page .proof-section > div > div { padding: 16px 28px !important; border-color: var(--line) !important; }
.totem-page .proof-section span { color: #4A5A6B !important; }
.totem-page .proof-section > div > div > span:first-child:not(:last-child) { font-family: inherit !important; }
.totem-page .proof-section > div > div:not(:last-child) > span:first-child { color: #1D6FB3 !important; font-size: 40px !important; font-weight: 700; letter-spacing: -.04em; }
.totem-page .proof-section > div > div:last-child > span:first-child { font-size: 10px !important; letter-spacing: .12em !important; }
.totem-page .proof-section > p { padding: 24px 28px 0 !important; color: #6B7C8D !important; font-size: 12px !important; }
.totem-page section:has(> .rail) { position: relative; padding-inline: clamp(24px, 5vw, 80px); border-top: 0 !important; }
.totem-page .rail { flex-basis: 36px; padding: 76px 0; border: 0; align-items: flex-start; }
.totem-page .rail > span:nth-child(2) { font-size: 10px !important; letter-spacing: .18em !important; }
.totem-page .pad { padding: 76px 0 76px 24px !important; gap: 40px !important; }
.totem-page .challenge-section .pad > div:last-of-type { gap: 0 32px !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.totem-page .challenge-section .pad > div:last-of-type > div { font-size: 15px !important; min-height: 80px; }
.totem-page .challenge-section .pad > div:last-of-type span { width: 36px !important; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: #E5F1FC; color: #1D6FB3 !important; }
.totem-page blockquote { border-radius: 20px !important; padding: 32px 40px !important; font-family: inherit !important; font-size: clamp(21px, 2.2vw, 30px) !important; font-weight: 500; }
.totem-page .jr-text, .totem-page .hw-text { flex-basis: 300px !important; }
.totem-page .jr-comp { flex-basis: 580px !important; }
.totem-page .jr-photo { width: 46% !important; border-radius: 24px !important; }
.totem-page .jr-step { gap: 12px !important; }
.totem-page .jr-step > span { width: 48px !important; height: 48px !important; }
.totem-page #plataforma .pad > div:last-child { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.totem-page #plataforma .pad > div:last-child > div { border-radius: 20px !important; padding: 28px !important; }
.totem-page #plataforma ul { grid-template-columns: 1fr !important; line-height: 1.6; }
.totem-page #integracao { margin: 0 24px; border-radius: 24px; }
.totem-page #integracao .pad > div:last-child > div { border-radius: 14px !important; }
.totem-page .operation-section figure { border-radius: 20px !important; padding: 16px !important; }
.totem-page .operation-section figure img { border-radius: 10px !important; }
.totem-page .equipment-section .hw-text > div { border-radius: 16px !important; }
.totem-page #diagnostico { background: #1D6FB3 !important; margin: 0 24px; border-radius: 24px; }
.totem-page #diagnostico .pad > div > span,
.totem-page #diagnostico .pad > div > p,
.totem-page #diagnostico li span,
.totem-page #diagnostico .rail span { color: #EAF4FD !important; }
.totem-page .diagnostic-form { border-radius: 24px !important; padding: 32px !important; box-shadow: 0 20px 48px #0a1a2a20; }
.totem-page .diagnostic-form :is(input:not([type=radio]):not([type=checkbox]), select, textarea) { width: 100%; min-width: 0; border-radius: 10px !important; background: #F5F8FB !important; font-family: inherit; }
.totem-page .diagnostic-form label { min-width: 0; line-height: 1.5; }
.totem-page .diagnostic-form label:has(> input[type=radio]:checked) { background: #EAF4FD; border-color: #2D8CD4 !important; }
.totem-page .diagnostic-form label:has(> input[name=lgpd]) { display: block !important; }
.totem-page input[name=lgpd] { vertical-align: middle; margin-right: 8px !important; }
.totem-page .diagnostic-form button:hover { background: #1D6FB3 !important; }
.totem-page .faq-section details { background: #FFFFFF; border: 1px solid var(--line) !important; border-radius: 14px; padding: 0 24px; margin-bottom: 12px; }
.totem-page .faq-section .pad > div:last-child { border-top: 0 !important; }
.totem-page .faq-section summary { font-size: 17px !important; }
.totem-page footer { border-radius: 24px 24px 0 0; padding: 48px clamp(24px, 5vw, 80px) 32px !important; margin: 0 24px; }
@media (max-width: 1100px) {
  .totem-page .navlinks { gap: 16px !important; }
  .totem-page #topo > div:last-child { min-height: 520px !important; }
  .totem-page .hero-copy { padding: 40px 28px !important; }
  .totem-page .proof-section { margin-inline: 24px; }
  .totem-page .proof-section > div > div { padding-inline: 16px !important; }
  .totem-page .jr-photo { width: 42% !important; }
}
@media (max-width: 820px) {
  .totem-page .nav { padding: 12px 20px !important; }
  .totem-page .nav > a:last-child { font-size: 12px !important; padding: 12px 16px !important; }
  .totem-page .nav img { height: 28px !important; }
  .totem-page #topo { flex-direction: column; margin-inline: 12px; border-radius: 20px; }
  .totem-page .hero-copy { flex-basis: auto !important; padding: 40px 28px !important; }
  .totem-page .hero-copy h1 { max-width: 590px !important; }
  .totem-page #topo > div:last-child { flex-basis: auto !important; min-height: 440px !important; }
  .totem-page .proof-section > div { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 20px; }
  .totem-page .proof-section > div > div:nth-child(2) { border-right: 0 !important; }
  .totem-page section:has(> .rail) { padding-inline: 24px; }
  .totem-page .pad { padding: 56px 0 !important; gap: 32px !important; }
  .totem-page .jr-photo { width: 100% !important; height: 460px !important; }
  .totem-page .jr-steps { width: 100%; }
  .totem-page .jr-step { min-height: 86px; }
  .totem-page #integracao, .totem-page #diagnostico { margin-inline: 12px; }
  .totem-page footer { margin-inline: 12px; }
}
@media (max-width: 540px) {
  .totem-page .hero-copy { padding: 32px 22px !important; }
  .totem-page .hero-copy > div:first-child { font-size: 10px !important; gap: 8px !important; }
  .totem-page .hero-copy h1 { font-size: 38px !important; }
  .totem-page .hero-copy a { width: 100%; }
  .totem-page #topo > div:last-child { min-height: 390px !important; }
  .totem-page .proof-section { margin-inline: 20px; }
  .totem-page .proof-section > div > div { padding: 12px !important; }
  .totem-page .proof-section > div > div:not(:last-child) > span:first-child { font-size: 32px !important; }
  .totem-page .proof-section > div > div > span:last-child { font-size: 13px !important; }
  .totem-page .proof-section > p { padding-inline: 12px !important; }
  .totem-page .challenge-section .pad > div:last-of-type,
  .totem-page #plataforma .pad > div:last-child,
  .totem-page #formFields > div[style*="display: grid"] { grid-template-columns: minmax(0, 1fr) !important; }
  .totem-page #plataforma .pad > div:last-child > div { padding: 24px !important; }
  .totem-page blockquote { padding: 28px !important; }
  .totem-page .diagnostic-form { padding: 24px 18px !important; }
  .totem-page #diagnostico { padding-inline: 16px; }
  .totem-page .faq-section details { padding-inline: 18px; }
  .totem-page footer > div > div:last-child { text-align: left !important; }
}
/* Continuous photographic hero with a curved lower edge. */
.totem-page #topo {
  position: relative;
  isolation: isolate;
  margin: 0;
  border-radius: 0;
  min-height: 680px;
  background: #2D8CD4 !important;
}
.totem-page #topo::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: auto 0 -1px;
  height: 70px;
  background: url("../img/hero-wave.svg") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
.totem-page #topo .hero-copy {
  position: relative;
  z-index: 2;
  flex: 0 0 56% !important;
  padding: 80px 40px 118px clamp(28px, 5vw, 80px) !important;
  justify-content: center;
}
.totem-page #topo .hero-copy h1 { font-size: clamp(38px, 4vw, 60px) !important; }
.totem-page #topo > div:last-child {
  position: absolute !important;
  inset: 0;
  min-height: 0 !important;
  overflow: hidden;
}
.totem-page #topo > div:last-child > img {
  left: auto !important;
  width: 68% !important;
  object-position: center 35% !important;
}
.totem-page #topo > div:last-child::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #2D8CD4 0%, #2D8CD4 30%, rgba(45,140,212,.95) 39%, rgba(45,140,212,.65) 49%, rgba(45,140,212,.08) 67%, transparent 80%);
  pointer-events: none;
}
.totem-page #topo > div:last-child > div {
  z-index: 2;
  left: auto !important;
  right: clamp(28px, 5vw, 80px);
  bottom: 90px !important;
  width: 310px;
  max-width: calc(100% - 48px) !important;
}
@media (max-width: 820px) {
  .totem-page #topo { min-height: 0; }
  .totem-page #topo .hero-copy {
    flex-basis: auto !important;
    width: 100%;
    padding: 44px 28px 24px !important;
  }
  .totem-page #topo > div:last-child {
    position: relative !important;
    inset: auto;
    width: 100%;
    min-height: 460px !important;
  }
  .totem-page #topo > div:last-child > img { width: 100% !important; }
  .totem-page #topo > div:last-child::after {
    background: linear-gradient(180deg, #2D8CD4, rgba(45,140,212,.25) 24%, transparent 48%);
  }
  .totem-page #topo > div:last-child > div { right: 24px; bottom: 64px !important; }
  .totem-page #topo::after { height: 44px; }
}
@media (max-width: 540px) {
  .totem-page #topo .hero-copy { padding: 36px 24px 20px !important; }
  .totem-page #topo > div:last-child { min-height: 410px !important; }
}
/* One-time, staggered hero reveal. Only presentation is animated. */
@keyframes totem-hero-enter {
  from { opacity: 0; transform: translateX(-48px) translateY(16px); }
  to { opacity: 1; transform: translateX(0) translateY(0); }
}
@keyframes totem-hero-photo {
  from { transform: scale(1.16); clip-path: inset(0 0 0 100%); }
  55% { clip-path: inset(0 0 0 0); }
  to { transform: scale(1); clip-path: inset(0 0 0 0); }
}
@keyframes totem-hero-card {
  0% { opacity: 0; transform: translateY(64px) scale(.88) rotate(-4deg); }
  65% { opacity: 1; transform: translateY(-10px) scale(1.025) rotate(1deg); }
  82% { transform: translateY(4px) scale(.99) rotate(-.5deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .totem-page .hero-copy > * {
    animation: totem-hero-enter 900ms cubic-bezier(.16, 1, .3, 1) both;
  }
  .totem-page .hero-copy > :nth-child(2) { animation-delay: 160ms; }
  .totem-page .hero-copy > :nth-child(3) { animation-delay: 320ms; }
  .totem-page .hero-copy > :nth-child(4) { animation-delay: 480ms; }
  .totem-page .hero-copy > :nth-child(5) { animation-delay: 600ms; }
  .totem-page #topo > div:last-child > img {
    animation: totem-hero-photo 1700ms cubic-bezier(.22, 1, .36, 1) both;
  }
  .totem-page #topo > div:last-child > div {
    animation: totem-hero-card 950ms ease-out 700ms both;
  }
}
@media (prefers-reduced-motion: reduce) {
  .totem-page *, .totem-page *::before, .totem-page *::after { animation: none !important; transition: none !important; }
}

/* Full-viewport hero, independent of the page's content width. */
.totem-page { overflow-x: clip; }
.totem-page #topo {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  min-height: calc(100svh - 88px);
}
@media (max-width: 820px) {
  .totem-page #topo { min-height: calc(100svh - 68px); }
}

/* Align the navigation with the full-width hero. */
.totem-page .nav {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

/* Second proof card stays above the service-time card at every breakpoint. */
.totem-page #topo > div:last-child > .hero-people-card {
  bottom: 250px !important;
}
@media (prefers-reduced-motion: no-preference) {
  .totem-page #topo > div:last-child > .hero-people-card { animation-delay: 950ms; }
}
@media (max-width: 820px) {
  .totem-page #topo > div:last-child > .hero-people-card { bottom: 224px !important; }
}

/* Hero actions contrast with the blue background. */
.totem-page #topo .hero-copy a:first-child {
  background: #FFFFFF !important;
  color: #1D6FB3 !important;
}
.totem-page #topo .hero-copy a:first-child:hover {
  background: #EAF4FD !important;
}
.totem-page #topo .hero-copy a:last-child {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, .8) !important;
}
.totem-page #topo .hero-copy a:last-child:hover {
  background: rgba(255, 255, 255, .16);
}

@keyframes totem-challenge-enter {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes totem-challenge-number {
  from { transform: scale(.65) rotate(-18deg); }
  to { transform: scale(1) rotate(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .totem-page .challenge-section .challenge-enter {
    animation: totem-challenge-enter 850ms cubic-bezier(.16, 1, .3, 1) var(--challenge-delay, 0ms) both;
  }
  .totem-page .challenge-section .challenge-enter > span:first-child {
    animation: totem-challenge-number 750ms cubic-bezier(.34, 1.56, .64, 1) var(--challenge-delay, 0ms) both;
  }
}

/* Extend the journey's white background without moving its content. */
.totem-page #jornada::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #FFFFFF;
  pointer-events: none;
  z-index: -1;
}
.totem-page #jornada { isolation: isolate; }

/* Journey: dramatic reveal with staggered, spring-like steps. */
@keyframes journey-copy-in {
  from { opacity: 0; transform: translateY(80px) rotate(-3deg); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes journey-photo-in {
  from { opacity: 0; transform: translateY(70px) scale(.88); clip-path: inset(0 0 100% 0 round 80px); }
  to { opacity: 1; transform: translateY(0) scale(1); clip-path: inset(0 0 0 0 round 24px); }
}
@keyframes journey-photo-zoom {
  from { transform: scale(1.42) rotate(-4deg); }
  to { transform: scale(1); }
}
@keyframes journey-step-in {
  0% { opacity: 0; transform: translateX(70px) translateY(30px) scale(.8); }
  65% { opacity: 1; transform: translateX(-12px) translateY(-6px) scale(1.03); }
  82% { transform: translateX(5px) translateY(2px) scale(.99); }
  100% { opacity: 1; transform: none; }
}
@keyframes journey-icon-in {
  0% { transform: scale(.25) rotate(-65deg); box-shadow: 0 0 0 0 rgba(47,177,133,.3); }
  50% { transform: scale(1.35) rotate(12deg); box-shadow: 0 0 0 24px rgba(47,177,133,0); }
  75% { transform: scale(.9) rotate(-8deg); box-shadow: 0 0 0 8px rgba(47,177,133,.15); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes journey-path-in {
  from { clip-path: inset(0 -20px 100% -20px); }
  to { clip-path: inset(0 -20px 0 -20px); }
}
@media (prefers-reduced-motion: no-preference) {
  .totem-page #jornada.journey-motion .jr-step,
  .totem-page #jornada.journey-motion .jr-photo-img { animation: none; }
  .totem-page #jornada.journey-motion .jr-photo-img { transform: scale(1); }
  .totem-page #jornada.journey-motion .jr-text.journey-enter {
    animation: journey-copy-in 1200ms cubic-bezier(.16,1,.3,1) both;
  }
  .totem-page #jornada.journey-motion .jr-photo.journey-enter {
    animation: journey-photo-in 1500ms cubic-bezier(.22,1,.36,1) both;
  }
  .totem-page #jornada.journey-motion .jr-photo.journey-enter .jr-photo-img {
    animation: journey-photo-zoom 2200ms cubic-bezier(.22,1,.36,1) both;
  }
  .totem-page #jornada.journey-motion .jr-step.journey-enter {
    animation: journey-step-in 1200ms ease-out var(--journey-delay, 0ms) both;
  }
  .totem-page #jornada.journey-motion .jr-step.journey-enter > span:first-child {
    animation: journey-icon-in 1400ms ease-out var(--journey-delay, 0ms) both;
  }
  .totem-page #jornada.journey-motion .jr-path.journey-enter {
    animation: journey-path-in 2600ms ease-in-out both;
  }
}

/* Integration labels can wrap without compressing the diagram on phones. */
.totem-page #integracao .pad > div:last-child > div:has(> strong) {
  flex-wrap: wrap;
  gap: 8px 16px !important;
}
.totem-page #integracao .pad > div:last-child > div:has(> strong) > span {
  line-height: 1.5;
}
.totem-page .haiko-highlight {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(95, 176, 239, .35);
  border-radius: 14px;
  background: rgba(45, 140, 212, .1);
}
.totem-page .haiko-highlight strong {
  color: #5FB0EF;
  font-size: 16px;
  line-height: 1.5;
}
.totem-page .haiko-highlight p {
  margin: 8px 0 0;
  color: #C9D6E3;
  font-size: 14px;
  line-height: 1.6;
}

/* Integration overview: readable copy and a dedicated diagram column. */
.totem-page #integracao {
  background: radial-gradient(ellipse at 100% 0%, #173950 0%, #0A1A2A 65%) !important;
  border: 1px solid #233C50;
  border-radius: 28px;
}
.totem-page #integracao .pad {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px) !important;
  align-items: center !important;
}
.totem-page #integracao .integration-copy { gap: 24px !important; }
.totem-page #integracao h2 {
  max-width: 640px;
  font-size: clamp(30px, 3vw, 44px) !important;
  line-height: 1.15 !important;
}
.totem-page #integracao .integration-copy > p {
  font-size: 16px !important;
  line-height: 1.75 !important;
}
.totem-page #integracao .integration-copy > p:last-of-type {
  padding: 4px 0 4px 18px;
  border-left: 2px solid #5FB0EF;
  color: #B4CADD !important;
  font-size: 15px !important;
}
.totem-page #integracao .integration-features {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px !important;
  margin-top: 4px !important;
}
.totem-page #integracao .integration-features > span {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #ffffff15 !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  line-height: 1.55;
}
.totem-page #integracao .integration-features > span::before {
  content: "";
  flex: 0 0 6px;
  height: 6px;
  border-radius: 50%;
  background: #5FB0EF;
}
.totem-page #integracao .integration-diagram {
  width: 100%;
  max-width: none !important;
  padding: 28px;
  background: #ffffff04;
  border: 1px solid #ffffff12;
  border-radius: 24px;
}
.totem-page #integracao .integration-diagram > .integration-node {
  flex-direction: column;
  align-items: flex-start !important;
  padding: 22px 24px !important;
  gap: 6px !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px #00000010;
}
.totem-page #integracao .integration-node > strong {
  font-size: 19px !important;
  letter-spacing: -.02em;
}
.totem-page #integracao .integration-node > span {
  font-size: 13px !important;
  color: #BCD0E0 !important;
}
.totem-page #integracao .integration-node-primary {
  background: #2D8CD4 !important;
  border: 1px solid #6AB3EA;
  box-shadow: 0 8px 28px #2D8CD425 !important;
}
.totem-page #integracao .integration-node-primary > span { color: #FFFFFF !important; }
.totem-page #integracao .integration-connector {
  position: relative;
  height: 28px !important;
  background: #5FB0EF80 !important;
}
.totem-page #integracao .integration-connector::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid #5FB0EF;
  border-bottom: 1px solid #5FB0EF;
  transform: rotate(45deg);
}
.totem-page #integracao .haiko-highlight {
  margin-top: 24px;
  padding: 22px 24px;
  background: #EAF4FD;
  border: 0;
  border-radius: 16px;
}
.totem-page #integracao .haiko-highlight strong { color: #1D6FB3; }
.totem-page #integracao .haiko-highlight p { color: #3E4F60; line-height: 1.65; }
@media (max-width: 1000px) {
  .totem-page #integracao .pad { grid-template-columns: minmax(0, 1fr); }
  .totem-page #integracao .integration-diagram { max-width: 620px !important; justify-self: center; }
}
@media (max-width: 540px) {
  .totem-page #integracao .integration-features { grid-template-columns: minmax(0, 1fr); gap: 0 !important; }
  .totem-page #integracao .integration-diagram { padding: 16px; border-radius: 20px; }
  .totem-page #integracao .integration-diagram > .integration-node,
  .totem-page #integracao .haiko-highlight { padding: 20px 16px !important; }
}


/* Integration section on the page's neutral background. */
.totem-page #integracao {
  background: transparent !important;
  color: #0A1A2A !important;
  border-color: transparent;
}
.totem-page #integracao .integration-copy > p,
.totem-page #integracao .integration-copy > p:last-of-type,
.totem-page #integracao .integration-features > span {
  color: #4A5A6B !important;
}
.totem-page #integracao .integration-copy > span,
.totem-page #integracao .rail > span:first-child {
  color: #1D6FB3 !important;
}
.totem-page #integracao .rail > span:nth-child(2) { color: #6B7C8D !important; }
.totem-page #integracao .integration-features > span { border-bottom-color: #DDE5EE !important; }
.totem-page #integracao .integration-diagram {
  background: #FFFFFF;
  border-color: #DDE5EE;
}
.totem-page #integracao .integration-node { color: #FFFFFF; }

/* Full-width diagnostic background with the existing content alignment. */
.totem-page #diagnostico {
  isolation: isolate;
  border-radius: 0;
}
.totem-page #diagnostico::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #1D6FB3;
  pointer-events: none;
  z-index: -1;
}

/* Full-width light footer. */
.totem-page footer {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  border-radius: 0;
  background: #FFFFFF !important;
  color: #4A5A6B !important;
  border-top: 1px solid #DDE5EE;
}
.totem-page footer p { color: #0A1A2A !important; }
.totem-page footer a { color: #1D6FB3 !important; }
.totem-page footer a:hover { color: #0A1A2A !important; }
.totem-page footer > div:last-child {
  color: #4A5A6B !important;
  border-top-color: #DDE5EE !important;
}

/* Contemporary footer: generous spacing and a restrained contact panel. */
.totem-page footer {
  padding: 64px max(28px, calc((100vw - 1320px) / 2)) 28px !important;
  gap: 44px !important;
  border-top: 0;
}
.totem-page footer > div:first-child {
  align-items: center !important;
  gap: 40px 64px !important;
}
.totem-page footer > div:first-child > div:first-child {
  flex: 1 1 400px;
  max-width: 650px !important;
  gap: 24px !important;
}
.totem-page footer > div:first-child > div:first-child > span {
  padding: 0 !important;
  border-radius: 0 !important;
}
.totem-page footer img { height: 48px !important; }
.totem-page footer p {
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.35 !important;
  max-width: 620px;
}
.totem-page footer > div:first-child > div:last-child {
  flex: 0 1 340px;
  min-width: 0;
  text-align: left !important;
  padding: 26px 30px;
  gap: 12px !important;
  background: transparent;
  border: 0;
  border-radius: 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.totem-page footer > div:first-child > div:last-child > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 19px !important;
  letter-spacing: -.02em;
  padding-bottom: 12px;
  border-bottom: 1px solid #DDE5EE;
}
.totem-page footer > div:first-child > div:last-child > a::after {
  content: "";
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 82% 100%, 82% 30%, 12% 100%, 0 88%, 70% 18%, 0 18%);
}
.totem-page footer > div:last-child {
  padding-top: 24px !important;
  align-items: center;
  font-size: 12px !important;
  line-height: 1.6;
}
.totem-page footer > div:last-child a {
  text-decoration: none;
  text-underline-offset: 4px;
  padding-block: 10px;
}
.totem-page footer > div:last-child a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .totem-page footer { padding: 44px 24px 20px !important; gap: 28px !important; }
  .totem-page footer > div:first-child { gap: 28px !important; }
  .totem-page footer > div:first-child > div:last-child {
    flex-basis: 100%;
    padding: 22px 24px;
  }
  .totem-page footer > div:last-child { gap: 4px !important; align-items: flex-start; flex-direction: column; }
}

/* Equipment: oversized entrance and sequential component pulses. */
@keyframes hardware-kiosk-in {
  0% { opacity: 0; transform: translateY(100px) scale(.72) rotate(-8deg); }
  65% { opacity: 1; transform: translateY(-18px) scale(1.04) rotate(2deg); }
  82% { transform: translateY(8px) scale(.98) rotate(-1deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes hardware-item-in {
  0% { opacity: 0; transform: translateX(var(--hardware-offset)) scale(.65); }
  65% { opacity: 1; transform: translateX(calc(var(--hardware-offset) * -.12)) scale(1.06); }
  82% { transform: translateX(4px) scale(.98); }
  100% { opacity: 1; transform: none; }
}
@keyframes hardware-icon-in {
  0% { transform: scale(.3) rotate(-60deg); box-shadow: 0 0 0 0 rgba(45,140,212,.35); }
  50% { transform: scale(1.35) rotate(15deg); box-shadow: 0 0 0 24px rgba(45,140,212,0); }
  75% { transform: scale(.9) rotate(-8deg); }
  100% { transform: scale(1); }
}
@keyframes hardware-line-in {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .totem-page .hardware-motion .hw-item,
  .totem-page .hardware-motion .hw-kiosk-img { animation: none; }
  .totem-page .hardware-motion .hw-l { --hardware-offset: -70px; }
  .totem-page .hardware-motion .hw-r { --hardware-offset: 70px; }
  .totem-page .hardware-motion .hw-text.hardware-enter {
    animation: journey-copy-in 1200ms cubic-bezier(.16,1,.3,1) both;
  }
  .totem-page .hardware-motion .hw-kiosk.hardware-enter {
    animation: hardware-kiosk-in 1800ms ease-out both;
  }
  .totem-page .hardware-motion .hw-item.hardware-enter {
    animation: hardware-item-in 1200ms ease-out var(--hardware-delay, 0ms) both;
  }
  .totem-page .hardware-motion .hw-item.hardware-enter > span:nth-child(2) {
    animation: hardware-icon-in 1400ms ease-out var(--hardware-delay, 0ms) both;
  }
  .totem-page .hardware-motion .hw-item.hardware-enter .hw-line {
    animation: hardware-line-in 1000ms ease-out var(--hardware-delay, 0ms) both;
  }
  @media (max-width: 820px) {
    .totem-page .hardware-motion .hw-l { --hardware-offset: -24px; }
    .totem-page .hardware-motion .hw-r { --hardware-offset: 24px; }
  }
}

/* Let the expanded navigation fit without changing its visual style. */
.totem-page .navlinks { flex-wrap: wrap; justify-content: center; }
.totem-page .navlinks a { white-space: nowrap; }
.totem-page .nav > a { flex-shrink: 0; }
@media (max-width: 1100px) {
  .totem-page .nav { flex-wrap: wrap; }
  .totem-page .navlinks {
    display: flex;
    order: 3;
    flex-basis: 100%;
    gap: 4px 20px !important;
  }
  .totem-page [id] { scroll-margin-top: 180px; }
}

/* White background across the full dashboard section width. */
.totem-page .operation-section {
  position: relative;
  isolation: isolate;
  background: #FFFFFF;
}
.totem-page .operation-section::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #FFFFFF;
  pointer-events: none;
  z-index: -1;
}

/* Documented results and centralized administration. */
.totem-page .proof-section > div > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--line);
}
.totem-page .proof-section > div > div:last-child { border-right: 0; justify-content: center; }
.totem-page .proof-section > div > div:last-child > span:last-child { font-size: 30px; font-weight: 600; }
.totem-page .integration-promise { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--navy); }
.totem-page .management-section { display: flex; background: #F3F8FD; }
.totem-page .management-section .rail { color: #1D6FB3; font-size: 13px; font-weight: 600; }
.totem-page .management-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.totem-page .management-intro { max-width: 780px; }
.totem-page .management-eyebrow { color: #1D6FB3; font-size: 13px; font-weight: 600; letter-spacing: .2em; }
.totem-page .management-intro h2 { margin: 20px 0; }
.totem-page .management-intro p { margin: 0; max-width: 680px; font-size: 17px; line-height: 1.6; color: #4A5A6B; }
.totem-page .management-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.totem-page .management-grid li { padding: 28px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; }
.totem-page .management-grid li:last-child { grid-column: span 2; }
.totem-page .management-number { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: #EAF4FD; color: #1D6FB3; border-radius: 12px; font-size: 14px; font-weight: 600; }
.totem-page .management-grid h3 { margin: 20px 0 10px; font-size: 19px; line-height: 1.3; }
.totem-page .management-grid p { margin: 0; font-size: 15px; line-height: 1.6; color: #4A5A6B; }
.totem-page .management-link { align-self: flex-start; display: inline-flex; gap: 16px; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
@media (max-width: 1000px) {
  .totem-page .management-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .totem-page .management-grid { grid-template-columns: 1fr; }
  .totem-page .management-grid li:last-child { grid-column: auto; }
  .totem-page .management-grid li { padding: 24px; }
}
