:root {
  --premium-shadow:
    0 0 0 1px oklch(0 0 0 / 0.06),
    0 14px 30px -18px oklch(0 0 0 / 0.26),
    0 28px 60px -36px oklch(0 0 0 / 0.22);
  --premium-shadow-hover:
    0 0 0 1px oklch(0 0 0 / 0.09),
    0 18px 36px -16px oklch(0 0 0 / 0.28),
    0 32px 72px -34px oklch(0 0 0 / 0.24);
  --content-outline: oklch(0 0 0 / 0.1);
}

body {
  background:
    radial-gradient(circle at 85% 5%, oklch(0.9 0.04 55 / 0.18), transparent 20rem),
    #fff;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 3px;
  background: oklch(0.24 0.04 248 / 0.08);
  pointer-events: none;
}

.reading-progress-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ff642d 0%, #ff9a70 100%);
  box-shadow: 0 0 10px oklch(0.68 0.19 38 / 0.45);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 80ms linear;
  will-change: transform;
}

.header-scrolled {
  background: oklch(1 0 0 / 0.9);
  box-shadow:
    0 0 0 1px oklch(0 0 0 / 0.04),
    0 12px 40px oklch(0.24 0.04 248 / 0.1);
  backdrop-filter: blur(20px);
}

.hero-backdrop {
  background:
    radial-gradient(circle at 78% 18%, oklch(0.64 0.18 35 / 0.16), transparent 23rem),
    radial-gradient(circle at 12% 82%, oklch(0.42 0.07 235 / 0.45), transparent 28rem),
    linear-gradient(128deg, #1f2f42 0%, #152233 56%, #101b29 100%);
  isolation: isolate;
}

.hero-backdrop::before {
  content: "";
  position: absolute;
  width: 32rem;
  height: 32rem;
  right: -12rem;
  top: -18rem;
  border-radius: 9999px;
  background: oklch(0.68 0.19 38 / 0.12);
  filter: blur(42px);
  animation: premium-glow 12s ease-in-out infinite alternate;
}

.hero-grid {
  opacity: 0.72;
  background-size: 56px 56px;
  mask-image: linear-gradient(135deg, transparent 18%, #000 72%, transparent);
}

.hero-title {
  text-wrap: balance;
  text-shadow: 0 10px 40px oklch(0 0 0 / 0.12);
}

.hero-title .text-orange {
  color: transparent;
  background: linear-gradient(100deg, #ff642d 10%, #ff9a70 55%, #ff642d 90%);
  background-size: 180% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: premium-shimmer 7s ease-in-out infinite;
}

.hero-visual {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 180ms ease-out;
}

.hero-visual > div.relative,
.hero-visual > figure,
.hero-visual > img {
  box-shadow:
    0 32px 90px oklch(0 0 0 / 0.38),
    0 0 0 1px oklch(1 0 0 / 0.1);
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 7rem;
  height: 7rem;
  right: -2.5rem;
  bottom: -2.5rem;
  z-index: -1;
  border-radius: 9999px;
  background: oklch(0.68 0.19 38 / 0.2);
  filter: blur(18px);
}

img {
  outline: 1px solid var(--content-outline);
  outline-offset: -1px;
}

.eyebrow {
  text-wrap: nowrap;
}

.section-heading {
  text-wrap: balance;
}

.body-copy,
[id] > .shell p,
.faq-item p,
.card-number,
.project-image,
.footer-link {
  text-wrap: pretty;
}

.btn-orange,
.btn-outline {
  border: 1px solid transparent;
  text-box: trim-both cap alphabetic;
}

.btn-orange {
  padding-block: 8px;
  padding-inline: 16px;
  box-shadow:
    0 8px 20px oklch(0.68 0.19 38 / 0.2),
    inset 0 1px oklch(1 0 0 / 0.16);
}

.btn-outline {
  box-shadow: inset 0 1px oklch(1 0 0 / 0.08);
}

.rounded-2xl,
.rounded-\[1\.5rem\],
.rounded-\[1\.75rem\],
.rounded-\[1\.7rem\] {
  border: 1px solid transparent;
}

article.rounded-2xl,
.project-card,
article.group,
[id="oferta"] [data-reveal].flex {
  box-shadow: var(--premium-shadow);
  transition-property: box-shadow, transform, border-color;
  transition-duration: 280ms;
  transition-timing-function: ease-out;
}

[id="projetos"] article.group {
  border-radius: 24px;
  padding: 0;
}

[id="projetos"] article.group > div:first-child {
  border-top-left-radius: 23px;
  border-top-right-radius: 23px;
}

.project-image {
  transition-property: transform, filter;
  transition-duration: 700ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item summary {
  transition: color 180ms ease;
}

.faq-item[open] summary {
  color: #ff642d;
}

.faq-plus {
  border: 1px solid transparent;
  box-shadow: 0 0 0 1px oklch(0.24 0.04 248 / 0.15);
}

.mobile-app-nav {
  box-shadow:
    0 -12px 36px oklch(0.12 0.04 248 / 0.24),
    0 0 0 1px oklch(1 0 0 / 0.06);
  backdrop-filter: blur(24px) saturate(140%);
}

.mobile-app-link {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 3.85rem;
  padding-inline: 0.15rem;
  text-align: center;
  line-height: 1.15;
}

.whatsapp-fab {
  position: fixed;
  right: 1.75rem;
  bottom: 1.75rem;
  z-index: 40;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border-radius: 9999px;
  background-color: #ff642d;
  color: #fff;
  box-shadow: 0 12px 32px rgba(255, 100, 45, 0.38);
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.whatsapp-fab:hover {
  transform: translateY(-0.2rem);
  background-color: #eb5520;
}

.whatsapp-fab svg {
  width: 1.6rem;
  height: 1.6rem;
}

@media (max-width: 1023px) {
  .whatsapp-fab {
    right: 0.9rem;
    bottom: calc(4.55rem + env(safe-area-inset-bottom, 0px));
    width: 2.85rem;
    height: 2.85rem;
    box-shadow:
      0 8px 22px rgba(16, 27, 41, 0.24),
      0 0 0 1px rgba(255, 255, 255, 0.22);
  }

  .whatsapp-fab svg {
    width: 1.35rem;
    height: 1.35rem;
  }
}

@media (hover: hover) {
  .nav-link,
  .footer-link,
  .btn-orange,
  .btn-outline,
  article.rounded-2xl,
  article.group,
  [id="oferta"] [data-reveal].flex {
    transition-property: color, background-color, border-color, box-shadow, transform;
  }

  .nav-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
  }

  article.rounded-2xl:hover,
  article.group:hover,
  [id="oferta"] [data-reveal].flex:hover {
    box-shadow: var(--premium-shadow-hover);
  }

  .project-card:hover .project-image,
  article.group:hover .project-image {
    filter: saturate(1.08) contrast(1.02);
  }

  .btn-orange:hover,
  .btn-outline:hover {
    filter: saturate(1.04);
  }
}

@media (hover: none) {
  [class*="hover\\:-translate"] {
    transform: none !important;
  }

  .project-image {
    transition: none;
  }
}

@keyframes premium-glow {
  to {
    transform: translate3d(-3rem, 2rem, 0) scale(1.08);
  }
}

@keyframes premium-shimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-backdrop::before,
  .hero-title .text-orange,
  .hero-visual {
    animation: none;
  }

  .hero-visual {
    transform: none !important;
  }
}

/* 2026 visual direction: cleaner hierarchy, stronger contrast, and fewer decorative surfaces. */
:root {
  --premium-orange: #ff642d;
  --premium-ink: #101b29;
  --premium-navy: #1f2f42;
  --premium-paper: #f7f9fb;
  --premium-line: oklch(0.24 0.04 248 / 0.11);
}

body {
  background: #fff;
}

.header-scrolled {
  background: oklch(1 0 0 / 0.92);
  box-shadow:
    0 1px 0 oklch(0.24 0.04 248 / 0.08),
    0 16px 36px oklch(0.24 0.04 248 / 0.08);
}

header .shell {
  max-width: 86rem;
}

.hero-backdrop {
  background:
    linear-gradient(90deg, oklch(0.24 0.04 248 / 0.96) 0%, oklch(0.20 0.035 248 / 0.96) 58%, oklch(0.13 0.025 248 / 1) 100%);
}

#inicio.hero-backdrop {
  min-height: min(780px, calc(100vh - 12px));
}

.article-hero {
  padding-top: 8.25rem;
  padding-bottom: 3.75rem;
}

.article-content {
  padding-top: 3.75rem;
  padding-bottom: 5rem;
}

@media (min-width: 640px) {
  .article-hero {
    padding-top: 9.25rem;
    padding-bottom: 4.5rem;
  }

  .article-content {
    padding-top: 4.5rem;
    padding-bottom: 6rem;
  }
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 68%, oklch(0.68 0.19 38 / 0.08) 68% 68.2%, transparent 68.2%),
    radial-gradient(circle at 82% 46%, oklch(0.68 0.19 38 / 0.13), transparent 19rem);
  pointer-events: none;
}

.hero-backdrop .shell {
  max-width: 86rem;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.72fr);
}

.hero-title {
  max-width: 780px;
  font-size: clamp(3.4rem, 6.2vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-title .text-orange {
  display: block;
  width: fit-content;
  margin-top: 0.08em;
  background: linear-gradient(100deg, #ff642d 10%, #ffb08f 72%, #ff642d 100%);
  background-size: 180% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-backdrop .eyebrow {
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 9999px;
  padding: 0.55rem 0.85rem 0.55rem 0.65rem;
  background: oklch(1 0 0 / 0.055);
  backdrop-filter: blur(12px);
  text-wrap: nowrap;
}

.hero-backdrop .eyebrow::before {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 9999px;
  box-shadow: 0 0 0 5px oklch(0.68 0.19 38 / 0.12);
  flex: 0 0 auto;
}

.hero-backdrop [data-hero-visual] {
  max-width: 33rem;
  justify-self: end;
}

.hero-visual > div.relative {
  border-radius: 30px;
  border: 1px solid oklch(1 0 0 / 0.16);
  box-shadow:
    0 38px 90px oklch(0 0 0 / 0.38),
    0 0 0 12px oklch(1 0 0 / 0.025);
}

.hero-visual img {
  aspect-ratio: 5 / 6;
  border-radius: 29px;
}

.hero-status {
  position: absolute;
  z-index: 10;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.5rem;
  border: 1px solid oklch(1 0 0 / 0.13);
  border-radius: 9999px;
  padding: 0.55rem 0.85rem;
  background: oklch(0.13 0.025 248 / 0.78);
  box-shadow: 0 12px 28px oklch(0 0 0 / 0.22);
  backdrop-filter: blur(14px);
  color: oklch(1 0 0 / 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #8ed081;
  box-shadow: 0 0 0 5px oklch(0.8 0.14 145 / 0.12);
}

.hero-visual figcaption {
  margin-left: 0.5rem;
  color: oklch(1 0 0 / 0.58);
}

.hero-visual::before {
  width: 11rem;
  height: 11rem;
  right: -3.75rem;
  bottom: -3.75rem;
  background: oklch(0.68 0.19 38 / 0.22);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2.5rem;
  padding: 0;
  border: 0;
  color: oklch(1 0 0 / 0.68);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-proof span::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: var(--premium-orange);
  box-shadow: 0 0 0 4px oklch(0.68 0.19 38 / 0.12);
}

.shell {
  max-width: 78rem;
}

.section-heading {
  max-width: 54rem;
  font-size: clamp(2.5rem, 4.8vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.body-copy {
  color: oklch(0.4 0.025 248);
}

.pilar-strip {
  border-bottom: 1px solid var(--premium-line);
  background: oklch(0.985 0.008 248);
}

.pilar-strip .shell {
  border: 0;
  gap: 0;
}

.pilar-strip .shell > div {
  min-height: 7.25rem;
  border-right: 1px solid var(--premium-line);
}

.pilar-strip .shell > div:last-child {
  border-right: 0;
}

.pilar-strip span {
  color: oklch(0.68 0.19 38);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

#site,
#oferta,
#projetos {
  position: relative;
}

#site {
  background:
    linear-gradient(180deg, oklch(0.974 0.009 248), oklch(0.996 0.003 248));
}

#site::before,
#oferta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(78rem, calc(100% - 3rem));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--premium-line), transparent);
}

#site .mt-14,
#crm .mt-14,
#projetos .mt-12,
#processo .mt-14,
#oferta .mt-14 {
  margin-top: 3.5rem;
}

#site article.rounded-2xl {
  min-height: 17.5rem;
  border: 1px solid oklch(0.24 0.04 248 / 0.08);
  border-radius: 20px;
  background:
    linear-gradient(145deg, oklch(1 0 0), oklch(0.99 0.008 248));
}

#site article.rounded-2xl:last-child {
  background:
    linear-gradient(145deg, #1f2f42, #101b29);
  border: 1px solid oklch(1 0 0 / 0.1);
  box-shadow:
    0 24px 48px -28px oklch(0.24 0.04 248 / 0.5),
    0 0 0 1px oklch(1 0 0 / 0.04);
}

#crm {
  background:
    radial-gradient(circle at 92% 10%, oklch(0.68 0.19 38 / 0.12), transparent 22rem),
    linear-gradient(145deg, #101b29 0%, #152235 62%, #101b29 100%);
}

#crm article.rounded-2xl {
  border-radius: 20px;
  background: oklch(0.24 0.04 248 / 0.82);
  border: 1px solid oklch(1 0 0 / 0.085);
  box-shadow:
    0 18px 44px -28px oklch(0 0 0 / 0.7),
    inset 0 1px oklch(1 0 0 / 0.025);
}

#crm article.rounded-2xl:nth-child(3) {
  border-color: oklch(0.68 0.19 38 / 0.44);
  background:
    linear-gradient(145deg, oklch(0.28 0.055 248), oklch(0.18 0.04 248));
}

#crm [class*="rounded-[1.75rem]"] {
  border-radius: 24px;
  background:
    linear-gradient(145deg, oklch(0.26 0.045 248 / 0.96), oklch(0.16 0.035 248 / 0.96));
  border: 1px solid oklch(1 0 0 / 0.12);
  box-shadow:
    0 28px 70px -42px oklch(0 0 0 / 0.7),
    0 0 0 1px oklch(1 0 0 / 0.025);
}

#projetos article.group {
  border-radius: 24px;
  border: 1px solid oklch(0.24 0.04 248 / 0.09);
  background: #fff;
  box-shadow:
    0 20px 50px -38px oklch(0.24 0.04 248 / 0.38),
    0 0 0 1px oklch(1 0 0 / 0.7);
}

#projetos article.group > div:first-child {
  height: 15rem;
  border-radius: 23px 23px 0 0;
  background: #eef2f5;
}

#projetos .project-image {
  height: 15rem;
  object-fit: cover;
  object-position: center;
}

#projetos article.group:nth-child(1) .project-image {
  object-position: 58% 50%;
}

#processo {
  background:
    radial-gradient(circle at 78% 20%, oklch(0.68 0.19 38 / 0.07), transparent 20rem),
    #101b29;
}

#processo [class*="rounded-[1.5rem]"] {
  border-radius: 24px;
  background: oklch(1 0 0 / 0.09);
  box-shadow:
    0 28px 60px -44px oklch(0 0 0 / 0.8),
    0 0 0 1px oklch(1 0 0 / 0.02);
}

#processo article {
  background: oklch(0.24 0.04 248 / 0.82);
  border-right: 1px solid oklch(1 0 0 / 0.07);
}

#processo article:last-child {
  border-right: 0;
}

#oferta {
  background:
    linear-gradient(180deg, oklch(0.974 0.009 248), oklch(0.998 0.003 248));
}

#oferta [data-reveal].flex {
  border-radius: 24px;
  box-shadow:
    0 24px 60px -42px oklch(0.24 0.04 248 / 0.42),
    0 0 0 1px oklch(0.24 0.04 248 / 0.08);
}

#oferta [data-reveal].flex:nth-child(1) {
  border: 1px solid oklch(0.24 0.04 248 / 0.11);
}

#oferta [data-reveal].flex:nth-child(2) {
  border: 1px solid oklch(1 0 0 / 0.12);
  background:
    linear-gradient(145deg, #1f2f42 0%, #101b29 100%);
  box-shadow:
    0 28px 60px -38px oklch(0.24 0.04 248 / 0.58),
    0 0 0 1px oklch(1 0 0 / 0.05);
}

#sobre [data-reveal].relative {
  border-radius: 24px;
  background:
    linear-gradient(145deg, #1f2f42 0%, #101b29 100%);
  box-shadow:
    0 28px 70px -46px oklch(0.24 0.04 248 / 0.58),
    0 0 0 1px oklch(1 0 0 / 0.04);
}

#faq,
#contato {
  border-top: 1px solid var(--premium-line);
}

.btn-orange,
.btn-outline {
  border-radius: 9999px;
  min-height: 2.5rem;
  padding: 0.55rem 1.25rem;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.h-5 {
  height: 1.125rem;
}

.w-5 {
  width: 1.125rem;
}

.btn-orange svg,
.btn-outline svg,
header a[data-whatsapp] svg,
a[data-whatsapp] svg.h-5 {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

header a[data-whatsapp] {
  min-height: 2.375rem;
  padding-inline: 1.1rem;
  gap: 0.45rem;
  font-size: 0.8125rem;
}

.btn-orange {
  box-shadow:
    0 8px 20px oklch(0.68 0.19 38 / 0.18),
    inset 0 1px oklch(1 0 0 / 0.16);
}

@media (max-width: 1023px) {
  .hero-backdrop {
    min-height: auto;
  }

  .hero-backdrop .shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
  }

  .hero-backdrop [data-hero-visual] {
    max-width: 38rem;
    justify-self: start;
  }

  .hero-title {
    max-width: 46rem;
  }

  .hero-visual img {
    aspect-ratio: 16 / 10;
  }

  #processo article {
    border-right: 0;
  }
}

@media (max-width: 639px) {
  .hero-backdrop {
    padding-top: 8.5rem;
  }

  .hero-title {
    font-size: clamp(2.75rem, 13vw, 4.25rem);
  }

  .hero-title .text-orange {
    margin-top: 0.12em;
  }

  .hero-backdrop [data-hero-visual] {
    width: 100%;
  }

  .hero-visual img {
    aspect-ratio: 4 / 5;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pilar-strip .shell > div {
    min-height: 5.75rem;
    border-right: 0;
  }

  #site .mt-14,
  #crm .mt-14,
  #projetos .mt-12,
  #processo .mt-14,
  #oferta .mt-14 {
    margin-top: 2.5rem;
  }

  #projetos article.group > div:first-child,
  #projetos .project-image {
    height: 13.5rem;
  }
}

/* Contraste AA em números e rótulos de seção sobre fundos claros. */
.pilar-strip .text-orange,
.card-number.text-orange {
  color: #b8320b;
}

/* Mantem o laranja vibrante em fundos escuros e usa uma tonalidade AA em fundos claros. */
.text-orange {
  color: #b8320b;
}

.hero-backdrop .text-orange,
.bg-navy .text-orange {
  color: #ff642d;
}

.eyebrow {
  color: #b8320b;
}

.hero-backdrop .eyebrow {
  color: inherit;
}

.hero-title .text-orange {
  color: transparent;
}

.btn-orange,
.whatsapp-fab,
.mobile-app-link--primary {
  background-color: #b8320b;
}
