*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; padding: 0; font-family: NeueHaasGrotesk, sans-serif; background: #fff; }
a { text-decoration: none; }

.orma-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 3.5rem;
  background: rgba(16,6,159,.92);
  backdrop-filter: blur(8px);
  transition: background .3s;
}

.orma-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.orma-header--scrolled { background: #10069f; }

.orma-header-logo { flex: 1; display: flex; align-items: center; justify-content: flex-start; }
.orma-header-logo img { height: 48px; width: auto; display: block; }

.orma-header-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.orma-header-icons {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.orma-header-icons a img {
  width: 16px;
  height: 16px;
  display: block;
  filter: brightness(0) invert(1) opacity(.65);
  transition: all .2s;
}

.orma-header-icons a:hover img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(86%) sepia(28%) saturate(3025%) hue-rotate(348deg) brightness(104%) contrast(103%);
}

.orma-header-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.orma-header-nav a {
  color: #aba8dd;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0 1rem;
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  transition: color .2s;
  white-space: nowrap;
}

.orma-header-nav a:hover { color: #ffd100; }

.orma-hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .375rem;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}

.orma-hamburger-btn span {
  display: block;
  height: 1.5px;
  background: #fff;
  transition: all .3s;
}

.orma-hamburger-btn span:nth-child(1) { width: 20px; }
.orma-hamburger-btn span:nth-child(2) { width: 14px; }
.orma-hamburger-btn span:nth-child(3) { width: 20px; }

.orma-hamburger-btn.open span:nth-child(1) { width: 20px; transform: translateY(6.5px) rotate(45deg); }
.orma-hamburger-btn.open span:nth-child(2) { opacity: 0; }
.orma-hamburger-btn.open span:nth-child(3) { width: 20px; transform: translateY(-6.5px) rotate(-45deg); }

.orma-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 100vw);
  background: #10069f;
  z-index: 300;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: 5rem 2.5rem 2.5rem;
}

.orma-drawer.open { transform: translateX(0); }

.orma-drawer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.orma-drawer-nav li { border-bottom: 1px solid rgba(255,255,255,.1); }

.orma-drawer-nav li a {
  display: block;
  padding: 1rem 0;
  color: #aba8dd;
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color .2s;
}

.orma-drawer-nav li a:hover { color: #ffd100; }

.orma-drawer-icons {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.orma-drawer-icons a img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1) opacity(.5);
  transition: opacity .2s;
}

.orma-drawer-icons a:hover img { opacity: 1; }

.orma-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}

.orma-overlay.open { opacity: 1; pointer-events: all; }


.orma-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.orma-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.orma-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.orma-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(42,43,62,.85) 0%, rgba(42,43,62,.65) 100%);
}

.orma-hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.orma-hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
  margin: 0 0 1.5rem;
  font-family: NeueHaasGrotesk, sans-serif;
}

.orma-hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  max-width: 38rem;
  margin: 0 0 2rem;
}

.orma-hero-btns {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.orma-hero-link {
  display: inline-block;
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: .25rem;
  border-bottom: 1px solid rgba(255,255,255,.3);
  transition: color .2s, border-color .2s;
}
.orma-hero-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,.8);
}

.link {
  display: inline-block;
  color: #10069f;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: .25rem;
  border-bottom: 2px solid #ffd100;
  transition: color .2s, border-color .2s;
}
.link:hover {
  color: #ffd100;
  border-bottom-color: #ffd100;
}

.orma-hero-counter {
  position: relative;
  z-index: 2;
  margin-top: auto;
  background: #10069f;
  padding: 1.25rem 0;
}

.orma-hero-counter-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.orma-hero-counter-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
  padding: 0 1rem;
}

.orma-hero-counter-item:last-child { border-right: none; }

.orma-hero-counter-val {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #ffd100;
  display: block;
  line-height: 1.1;
}

.orma-hero-counter-label {
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}


.orma-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.1);
  margin-top: 2rem;
}

.orma-content-grid--reverse { direction: rtl; }
.orma-content-grid--reverse > * { direction: ltr; }

.orma-content-grid-text {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.orma-content-grid-image {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.orma-content-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.orma-content-grid-image:hover img { transform: scale(1.04); }


.orma-intro {
  background: #fff;
  padding: 4rem 0;
  text-align: center;
}

.orma-intro-title {
  font-family: NeueHaasGrotesk, sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #10069f;
  letter-spacing: -.5px;
  margin: 0 0 1rem;
}

.orma-intro-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #555;
  max-width: 46rem;
  margin: 0 auto 1.5rem;
}


.orma-split-image-card {
  position: absolute;
  bottom: 2rem;
  right: 0;
  max-width: 200px;
  background: #10069f;
  padding: 1.25rem 1.5rem;
}

.orma-split-image-card-label {
  font-size: .65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin: 0 0 .5rem;
  display: block;
}

.orma-split-image-card-title {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin: 0;
  font-family: NeueHaasGrotesk, sans-serif;
}


.orma-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.07);
}

.orma-service-card {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #0c051e;
  cursor: default;
}

.orma-service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
  filter: brightness(.55);
}

.orma-service-card:hover img {
  transform: scale(1.06);
  filter: brightness(.22);
}

.orma-service-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.5rem 1.25rem;
  background: linear-gradient(0deg, rgba(12,5,30,.9) 0%, transparent 100%);
}

.orma-service-label span {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  transition: color .3s;
}

.orma-service-card:hover .orma-service-label span { color: #ffd100; }


.orma-method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
}

#metodologia {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

#contato {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

.orma-method-card {
  background: #2a2b3e;
  padding: 2.5rem 2rem;
  transition: background .25s;
}

.orma-method-card:hover { background: #10069f; }

.orma-method-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1) opacity(.6);
  transition: opacity .25s;
}

.orma-method-card:hover .orma-method-icon { opacity: 1; }

.orma-method-card h3 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffd100;
  margin: 0 0 .875rem;
  font-family: NeueHaasGrotesk, sans-serif;
}

.orma-method-card p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,.7);
  margin: 0;
}


.orma-clients {
  background: #f5f6f7;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.orma-clients::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/bg-middle.webp');
  background-size: cover;
  opacity: .04;
}

.orma-logo-carousel-wrap {
  margin-top: 2rem;
  overflow: hidden;
}

@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--scroll-dist, -50%)); }
}

.orma-logo-carousel {
  display: flex;
  width: max-content;
  animation: logoScroll 30s linear infinite;
}

.orma-logo-carousel:hover { animation-play-state: paused; }

.orma-logo-carousel--reverse { animation-direction: reverse; animation-delay: -10s; }

.orma-logo-item {
  width: 210px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.125rem;
  background: #fff;
  flex-shrink: 0;
  border-right: 1px solid rgba(0,0,0,.06);
}

.orma-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(.45);
  transition: all .3s;
}

.orma-logo-carousel:hover .orma-logo-item img {
  filter: grayscale(0%) opacity(1);
}


.z-eyebrow {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 0 0 .75rem;
  display: block;
}

.z-title {
  font-family: NeueHaasGrotesk, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.z-divider {
  width: 3rem;
  height: 3px;
  border: none;
  background: #ffd100;
  margin: 0 0 2.5rem;
}

.z-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}


.orma-contact-form input {
  width: 100%;
  padding: .875rem 1rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-family: NeueHaasGrotesk, sans-serif;
  font-size: 1rem; /* ≥16px evita zoom automático no iOS Safari */
  outline: none;
  transition: border-color .2s, background .2s;
  display: block;
  margin-bottom: .875rem;
}

.orma-contact-form input::placeholder {
  color: rgba(255,255,255,.35);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .75rem;
}

.orma-contact-form input:focus {
  border-color: #ffd100;
  background: rgba(255,255,255,.1);
}

.orma-contact-form button {
  background: #ffd100;
  color: #10069f;
  border: none;
  padding: .875rem 2.5rem;
  font-family: NeueHaasGrotesk, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  transition: background .2s;
}

.orma-contact-form button:hover { background: #fff; }

.orma-contact-form button:disabled {
  opacity: .7;
  cursor: wait;
}

.orma-form-status {
  margin-top: .875rem;
  font-family: NeueHaasGrotesk, sans-serif;
  font-size: .8rem;
  line-height: 1.5;
}

.orma-form-status[data-status="success"] {
  color: #ffd100;
}

.orma-form-status[data-status="error"] {
  color: #ffb4b4;
}

.orma-contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.orma-contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
}

.orma-contact-info-list li img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1) opacity(.5);
  flex-shrink: 0;
  margin-top: .15rem;
}

.orma-contact-info-list li a {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  line-height: 1.6;
  transition: color .2s;
}

.orma-contact-info-list li a:hover { color: #ffd100; }

.orma-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}


.orma-footer {
  background: #2a2b3e;
  padding: 1rem 2rem;
  text-align: center;
}

.orma-footer-copy {
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aba8dd;
  margin: 0;
  opacity: .6;
}


.button--yellowline {
  position: relative;
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  border: 1px solid transparent;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: all .3s;
  z-index: 10;
}
.button--yellowline::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: .25rem;
  background-color: #ffd100;
  transition: transform .3s cubic-bezier(0,0,.2,1);
}
.button--yellowline:hover::after {
  transform: translateY(-.25rem);
}

.button--yellowline .text-span,
.text-span {
  display: block;
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: 5px;
  line-height: 1;
  padding-bottom: 1.5rem;
  color: rgb(229,232,234);
  text-transform: uppercase;
}

.button--box-lightblue .text-span {
  padding-bottom: 0;
}

.button--box-lightblue {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.375rem;
  padding: .75rem 2rem;
  background-color: #1297e4;
  color: #fff;
  border: 1px solid transparent;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: color .15s, background-color .15s, border-color .15s;
  z-index: 10;
}
.button--box-lightblue:hover {
  background-image: linear-gradient(259deg, #1297e4, #063ed1);
}

.bg-gradient-green-yellow {
  background-image: linear-gradient(45deg, #5ba50e, #dfd51c);
}

.bg-color-primary {
  background-color: #10069f;
}

.bg-dark {
  color: #fff;
}

.hero-banner-subtitle {
  font-family: NeueHaasGrotesk, sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 1.5rem;
}


.orma-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  z-index: 999;
  transition: transform .2s;
}

.orma-wa:hover { transform: scale(1.1); }
.orma-wa img { width: 28px; height: 28px; filter: brightness(0) invert(1); }


@media (max-width: 1024px) {
  .orma-method-grid        { grid-template-columns: repeat(2, 1fr); }
  .orma-services-grid      { grid-template-columns: repeat(2, 1fr); }
  .orma-content-grid       { grid-template-columns: 1fr; }
  .orma-content-grid--reverse { direction: ltr; }
  .orma-content-grid-image { min-height: 280px; }
  .orma-split { grid-template-columns: 1fr; min-height: auto; }
  .orma-split--reverse { direction: ltr; }
  .orma-split-text { padding: 3rem 2rem; }
  .orma-split-image { min-height: 320px; }
  .orma-contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .orma-header-nav     { display: none; }
  .orma-hamburger-btn  { display: flex; }
  .orma-header-icons   { display: none; }
  .orma-header-logo    { flex: 1; }
  .orma-header-logo img { height: 32px; }

  .z-container { padding: 0 1.25rem; }
  .orma-hero-counter-inner { padding: 0 1.25rem; }

  section:not(.orma-hero) { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .orma-clients { padding-top: 3rem !important; padding-bottom: 3rem !important; }

  .orma-hero-title { font-size: clamp(2.2rem, 10vw, 2.75rem); letter-spacing: -1px; margin-bottom: 1rem; }
  .orma-hero-sub { font-size: 1.05rem; line-height: 1.6; margin-bottom: 2rem; color: rgba(255,255,255,.9); }
  .orma-hero-content { padding-top: 8rem; padding-bottom: 3rem; }
  .orma-hero-btns { gap: 1.25rem; }
  .orma-hero-counter { padding: 0; }

  .orma-hero-counter-inner { flex-direction: column; gap: 0; }
  .orma-hero-counter-item  {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: .875rem 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.15);
    gap: 1rem;
    width: 100%;
  }
  .orma-hero-counter-item:last-child { border-bottom: none; border-right: none; }
  .orma-hero-counter-val   { font-size: 1.4rem; }
  .orma-hero-counter-label { font-size: .65rem; }

  .orma-content-grid-text { padding: 2rem 1.25rem; }

  .orma-method-grid   { grid-template-columns: 1fr; }
  .orma-method-card   { padding: 1.75rem 1.25rem; }

  .orma-services-grid { grid-template-columns: repeat(2, 1fr); }
  .orma-service-card  { height: 200px; }

  .orma-contact-grid { gap: 2rem; }

  .hero-banner-subtitle { font-size: 1.25rem !important; }

  .z-title { font-size: 1.6rem; letter-spacing: -.5px; }
}

@media (max-width: 480px) {
  .z-container { padding: 0 1rem; }
  .orma-hero-counter-inner { padding: 0 1rem; }
  .orma-services-grid { grid-template-columns: repeat(2, 1fr); }
  .orma-service-card  { height: 170px; }
  .orma-content-grid-text { padding: 1.75rem 1rem; }
}
