:root {
  --navy-950: #050b13;
  --navy-900: #07111f;
  --navy-800: #0b1b30;
  --blue-600: #0877d1;
  --blue-500: #1296f3;
  --cyan-400: #45d6ff;
  --white: #ffffff;
  --slate-50: #f7f9fc;
  --slate-100: #eef3f8;
  --slate-200: #dce5ee;
  --slate-500: #68788a;
  --slate-700: #34465a;
  --text: #102134;
  --page: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue-600);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.detail-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  width: var(--page);
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.detail-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.detail-brand-mark {
  position: relative;
  width: 56px;
  height: 42px;
  display: flex;
  align-items: center;
  color: var(--white);
}

.detail-brand-mark::before {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 2px;
  left: 1px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500), transparent);
  border-radius: 99px;
}

.detail-brand-mark::after {
  content: "";
  position: absolute;
  right: 0;
  top: 4px;
  width: 6px;
  height: 6px;
  background: var(--cyan-400);
  border: 2px solid rgba(69, 214, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(69, 214, 255, 0.75);
}

.detail-brand-mark b,
.detail-brand-mark em {
  position: relative;
  z-index: 1;
  font-size: 1.82rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.12em;
  transform: skewX(-7deg);
}

.detail-brand-mark em {
  margin-left: -2px;
  color: var(--cyan-400);
}

.detail-brand-mark i {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 8px;
  height: 8px;
  background: var(--navy-900);
  border: 2px solid var(--cyan-400);
  border-radius: 50%;
}

.detail-brand-copy {
  display: flex;
  flex-direction: column;
}

.detail-brand-copy strong {
  line-height: 1.2;
}

.detail-brand-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.detail-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.detail-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

.detail-nav a:hover,
.detail-nav a:focus-visible {
  color: var(--white);
}

.detail-hero {
  position: relative;
  min-height: 680px;
  padding: 170px max(20px, calc((100% - 1160px) / 2)) 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  background: var(--navy-950);
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: -2;
  background: url("../assets/hero-background.webp") 66% center / cover no-repeat;
  animation: detailBackground 24s ease-in-out infinite alternate;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 11, 19, 0.99), rgba(5, 11, 19, 0.88) 46%, rgba(5, 11, 19, 0.26)),
    linear-gradient(0deg, rgba(5, 11, 19, 0.58), transparent 50%);
}

@keyframes detailBackground {
  from {
    transform: scale(1.05) translate3d(-0.5%, 0, 0);
  }
  to {
    transform: scale(1.09) translate3d(0.8%, -0.4%, 0);
  }
}

.detail-hero-content {
  width: min(780px, 100%);
}

.detail-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cyan-400);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.detail-kicker img {
  width: 28px;
  height: 28px;
  filter: invert(86%) sepia(35%) saturate(1067%) hue-rotate(163deg) brightness(103%) contrast(103%);
}

.detail-hero h1 {
  max-width: 850px;
  margin: 24px 0 0;
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  line-height: 1.01;
  letter-spacing: -0.055em;
}

.detail-hero-copy {
  max-width: 700px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.08rem;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 51px;
  padding: 13px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.detail-nav a:focus-visible {
  outline: 3px solid var(--cyan-400);
  outline-offset: 3px;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  box-shadow: 0 14px 36px rgba(18, 150, 243, 0.28);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.detail-section {
  width: var(--page);
  margin: 0 auto;
  padding: 100px 0;
}

.detail-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: start;
}

.section-label {
  margin: 0 0 14px;
  color: var(--blue-600);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.detail-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.043em;
}

.intro-lead {
  margin: 0;
  color: var(--slate-500);
  font-size: 1.08rem;
}

.problem-section {
  padding-top: 10px;
}

.problem-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.problem-card {
  min-height: 220px;
  padding: 28px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 18px;
}

.problem-card span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: #e4f3ff;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 850;
}

.problem-card h3 {
  margin: 30px 0 10px;
  font-size: 1.05rem;
}

.problem-card p {
  margin: 0;
  color: var(--slate-500);
  font-size: 0.87rem;
}

.scope {
  width: 100%;
  padding: 96px max(20px, calc((100% - 1160px) / 2));
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(5, 11, 19, 0.85), rgba(5, 11, 19, 0.96)),
    url("../assets/company-background.webp") left center / cover no-repeat;
}

.scope-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.scope .section-label {
  color: var(--cyan-400);
}

.scope-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.scope-list li {
  padding: 16px 18px 16px 46px;
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-size: 0.86rem;
}

.scope-list li::before {
  content: "✓";
  position: absolute;
  left: 17px;
  color: var(--cyan-400);
  font-weight: 900;
}

.process-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-step {
  padding: 29px 0;
  border-top: 2px solid var(--blue-500);
}

.process-step small {
  color: var(--blue-600);
  font-weight: 850;
  letter-spacing: 0.12em;
}

.process-step h3 {
  margin: 20px 0 9px;
  font-size: 1.08rem;
}

.process-step p {
  margin: 0;
  color: var(--slate-500);
  font-size: 0.87rem;
}

.result-band {
  width: var(--page);
  margin: 10px auto 85px;
  padding: 62px;
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 45px;
  color: var(--white);
  background: linear-gradient(130deg, var(--navy-900), #0a3154);
  border-radius: 26px;
  box-shadow: 0 26px 65px rgba(4, 22, 41, 0.16);
}

.result-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.result-band p {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.67);
}

.social-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-float a {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 50%;
  box-shadow: 0 14px 35px rgba(1, 11, 20, 0.27);
  transition: transform 180ms ease;
}

.social-float a:hover,
.social-float a:focus-visible {
  transform: translateY(-3px);
}

.social-float img {
  width: 25px;
  height: 25px;
}

.social-instagram {
  background: linear-gradient(135deg, #6a35d5, #d62976 58%, #f6a23a);
}

.social-whatsapp {
  background: linear-gradient(135deg, #1ebb63, #0b8f49);
}

.detail-footer {
  padding: 38px max(20px, calc((100% - 1160px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.55);
  background: var(--navy-950);
  font-size: 0.76rem;
}

.detail-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

@media (max-width: 820px) {
  :root {
    --page: min(100% - 28px, 1160px);
  }

  .detail-nav a:first-child {
    display: none;
  }

  .detail-hero {
    min-height: 620px;
    padding-top: 145px;
  }

  .detail-hero::after {
    background: linear-gradient(90deg, rgba(5, 11, 19, 0.95), rgba(5, 11, 19, 0.66));
  }

  .detail-intro,
  .scope-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .problem-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .scope-list {
    grid-template-columns: 1fr;
  }

  .result-band {
    padding: 40px 24px;
    grid-template-columns: 1fr;
    border-radius: 20px;
  }
}

@media (max-width: 520px) {
  .detail-brand-copy small {
    display: none;
  }

  .detail-nav a {
    font-size: 0.76rem;
  }

  .detail-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .detail-section {
    padding: 76px 0;
  }

  .detail-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@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;
  }
}
