.core-page {
  background: var(--white);
}

.core-container {
  width: min(1204px, calc(100% - 64px));
  margin-inline: auto;
}

.core-heading--center {
  text-align: center;
}

.core-heading--center > p:not(.corner-tag) {
  width: min(760px, 100%);
  margin: 20px auto 0;
  color: var(--graphite);
}

.icon-focus {
  --icon: url("assets/official/Iconografia/M/Foco-light.svg");
}

.icon-hands {
  --icon: url("assets/official/Iconografia/M/Hands-light.svg");
}

.icon-check {
  --icon: url("assets/official/Iconografia/M/Check-light.svg");
}

.icon-dialogue {
  --icon: url("assets/official/Iconografia/M/Dialogo-light.svg");
}

.icon-chart-line {
  --icon: url("assets/official/Iconografia/M/Grafico_linha-light.svg");
}

.icon-link {
  --icon: url("assets/official/Iconografia/M/Elo-light.svg");
}

.icon-search {
  --icon: url("assets/official/Iconografia/M/Lupa-light.svg");
}

/* Hero */
.core-hero {
  position: relative;
  height: 100vh;
  min-height: 758px;
  overflow: hidden;
  padding: 28px;
  background: var(--black);
  color: var(--frost);
}

.core-hero__background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 44%, rgba(0, 0, 0, 0.84) 100%),
    url("assets/pce-core/images/hero-pce-core@2x.webp") center 45% / cover no-repeat;
  animation: core-hero-background-in 1600ms var(--motion-ease-out) both;
}

.core-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
}

.core-product-label {
  min-height: 46px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(245, 250, 249, 0.2);
  font-size: 22px;
  line-height: 1;
  font-weight: 600;
}

.core-product-label b {
  color: var(--green);
}

.core-product-label sup {
  font-size: 10px;
  vertical-align: super;
}

.core-product-label i {
  flex: 0 0 auto;
  width: 129px;
  height: 20px;
  background: url("assets/sobre/hero-pattern-desktop.svg") center / 100% 100% no-repeat;
  transform: scaleX(-1);
}

.core-hero h1 {
  max-width: 1150px;
  color: var(--frost);
  font-size: 68px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -2.72px;
}

.core-hero__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 250, 249, 0.2);
}

.core-hero__footer p {
  width: min(860px, 70%);
  color: rgba(245, 250, 249, 0.82);
  font-size: 16px;
  line-height: 1.5;
}

.core-hero__footer .button {
  flex: 0 0 auto;
}

html.core-intro-playing,
body.core-intro-playing {
  overflow: hidden;
}

.core-hero__reveal {
  animation: core-hero-content-in 920ms var(--motion-ease-out) both;
  will-change: opacity, transform, filter;
}

.core-hero__reveal--label {
  animation-delay: 160ms;
}

.core-hero__reveal--title {
  animation-delay: 430ms;
}

.core-hero__reveal--footer {
  animation-delay: 720ms;
}

body.core-intro-complete .core-hero__background,
body.core-intro-complete .core-hero__reveal {
  animation: none;
  opacity: 1;
  transform: none;
  filter: none;
  will-change: auto;
}

@keyframes core-hero-background-in {
  from {
    opacity: 0.72;
    transform: scale(1.035);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes core-hero-content-in {
  from {
    opacity: 0;
    transform: translateY(42px);
    filter: blur(7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* How it works */
.core-process {
  height: 952px;
  padding: 80px 0;
  background:
    radial-gradient(circle at 82% 0, rgba(255, 255, 255, 0.98), transparent 38%),
    linear-gradient(180deg, var(--mist) 0 73.573%, var(--white) 73.573%);
}

.core-process__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.core-process .core-heading {
  margin-top: 60px;
}

.core-process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.core-process .process-card {
  min-width: 0;
  height: 360px;
}

.core-process .process-card p {
  font-size: 12px;
  line-height: 1.5;
}

.core-process .process-card__footer > i {
  width: 128px;
  height: 60px;
  flex: 0 0 128px;
  background-position: right center;
  background-size: 128px 60px;
  background-image: url("assets/figma/Pattern-rodape-card-2.svg");
}

.core-numbers .number-card footer > i {
  background-image: url("assets/figma/Pattern-rodape-card-2.svg");
}

.core-process__cta,
.core-advantages__cta {
  width: max-content;
  margin: auto auto 0;
}

/* Advantages */
.core-advantages {
  height: 1528px;
  padding: 80px 0;
  background:
    radial-gradient(circle at 78% 0, rgba(255, 255, 255, 0.94), transparent 33%),
    var(--frost);
}

.core-advantages__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.core-advantages .core-heading h2 {
  margin-top: 20px;
}

.core-advantages__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 540px;
  gap: 20px;
  margin-top: 60px;
}

.core-advantage {
  grid-column: span 5;
  min-width: 0;
  display: grid;
  grid-template-rows: 360px 180px;
  overflow: visible;
  background: var(--mist);
}

.core-advantage--wide {
  grid-column: span 7;
}

.core-advantage:nth-child(3) {
  grid-column: span 5;
}

.core-advantage:nth-child(4) {
  grid-column: span 7;
}

.core-advantage > img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.core-advantage:nth-child(1) > img {
  object-position: center 48%;
}

.core-advantage:nth-child(2) > img {
  object-position: center;
}

.core-advantage:nth-child(3) > img {
  object-position: center 45%;
}

.core-advantage:nth-child(4) > img {
  object-position: center 40%;
}

.core-advantage__copy {
  position: relative;
  padding: 44px 20px 20px;
}

.core-advantage__icon {
  position: absolute;
  top: -30px;
  left: 20px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: var(--charcoal);
}

.core-advantage__icon .brand-icon {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}

.core-advantage h3 {
  font-size: 20px;
  line-height: 1.4;
}

.core-advantage p {
  margin-top: 12px;
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.5;
}

.core-advantages__cta {
  margin-top: auto;
}

/* Reused editorial sections */
.core-testimonials {
  height: 740px;
}

.core-coverage {
  height: 832px;
}

.core-coverage .core-container {
  height: 100%;
}

.core-coverage .coverage-grid {
  grid-template-columns: 1fr 1fr;
}

.core-numbers {
  height: 871px;
}

.core-numbers h2 {
  margin-top: 36px;
  font-size: 88px;
}

.core-numbers .numbers-grid {
  margin-top: 90px;
}

.core-numbers .number-card {
  width: 204px;
}

.core-clients {
  height: 682px;
}

.core-bi {
  height: 840px;
}

.core-contact {
  height: 807px;
}

.core-contact .contact-copy > div {
  margin-top: 124px;
}

.core-contact .contact-copy h2 {
  font-size: 36px;
  line-height: 1.4;
}

.core-contact .contact-copy p {
  font-size: 14px;
}

/* Motion is progressive enhancement: content remains visible without JS. */
html.motion-ready .core-page .motion-reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition:
    opacity 720ms var(--motion-ease-out),
    transform 720ms var(--motion-ease-out),
    filter 720ms var(--motion-ease-out);
  transition-delay: var(--motion-reveal-delay, 0ms);
}

html.motion-ready .core-page .motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 1199px) and (min-width: 768px) {
  .core-container {
    width: calc(100% - 64px);
  }

  .core-clients {
    overflow: hidden;
  }

  .core-page .footer-main {
    grid-template-columns: minmax(0, 58%) minmax(0, 1fr);
    gap: 24px;
  }

  .core-page .footer-contact {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .core-page .footer-contact__brand {
    width: calc(100% - 32px);
    grid-template-columns: 96px 1px minmax(0, 1fr);
    gap: 12px;
    margin-inline: 16px;
  }

  .core-page .footer-contact__brand img {
    width: 96px;
    height: auto;
  }

  .core-page .footer-contact__brand p {
    width: auto;
    font-size: 12px;
  }

  .core-page .footer-contact address,
  .core-page .social-links {
    margin-inline: 16px;
  }

  .core-page .footer-contact address p {
    min-width: 0;
    font-size: 12px;
  }

  .core-hero h1 {
    font-size: 56px;
  }

  .core-process .process-card h3 {
    font-size: 17px;
  }

  .core-process .process-card p {
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .core-container {
    width: calc(100% - 32px);
  }

  .core-heading--center > p:not(.corner-tag) {
    font-size: 14px;
    line-height: 1.5;
  }

  /* 01 — hero */
  .core-hero {
    height: 780px;
    padding: 56px 16px 16px;
  }

  .core-hero__background {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.03) 38%, rgba(0, 0, 0, 0.9) 100%),
      url("assets/pce-core/images/hero-pce-core@2x.webp") 66% center / cover no-repeat;
  }

  .core-hero__content {
    width: 100%;
    gap: 12px;
  }

  .core-product-label {
    min-height: 33px;
    padding-bottom: 16px;
    font-size: 16px;
  }

  .core-product-label i {
    width: 61px;
    height: 16px;
    background-image: url("assets/sobre/hero-pattern-mobile.svg");
  }

  .core-hero h1 {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.6px;
  }

  .core-hero__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding-top: 16px;
  }

  .core-hero__footer p {
    width: 100%;
    font-size: 12px;
    line-height: 1.5;
  }

  .core-hero__footer .button {
    width: 100%;
    font-size: 12px;
  }

  /* 02 — process */
  .core-process {
    height: 1815px;
    min-height: 1815px;
    padding: 60px 0;
    background:
      radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.98), transparent 30%),
      linear-gradient(180deg, var(--mist) 0 89%, var(--white) 89%);
  }

  .core-process .section-rule {
    height: 33px;
    padding-bottom: 16px;
  }

  .core-process .core-heading {
    margin-top: 28px;
    text-align: left;
  }

  .core-process .core-heading h2 {
    font-size: 24px;
  }

  .core-process .core-heading > p:not(.corner-tag) {
    margin-inline: 0;
    text-align: left;
  }

  .core-process__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }

  .core-process .process-card {
    height: auto;
    min-height: 275px;
  }

  .core-process .process-card:nth-child(2),
  .core-process .process-card:nth-child(3) {
    min-height: 296px;
  }

  .core-process .process-card h3 {
    font-size: 20px;
  }

  .core-process .process-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .core-process__cta {
    width: 100%;
    margin-top: 28px;
  }

  /* 03 — advantages */
  .core-advantages {
    height: 2514px;
    min-height: 2514px;
    padding: 40px 0;
  }

  .core-advantages .core-heading h2 {
    margin-top: 16px;
    font-size: 24px;
  }

  .core-advantages__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 540px;
    gap: 20px;
    margin-top: 28px;
  }

  .core-advantage,
  .core-advantage--wide,
  .core-advantage:nth-child(3),
  .core-advantage:nth-child(4) {
    grid-column: 1;
  }

  .core-advantage h3 {
    font-size: 20px;
  }

  .core-advantages__cta {
    width: 100%;
    margin-top: 28px;
  }

  /* 04–09 — shared page modules */
  .core-testimonials {
    height: 620px;
    min-height: 620px;
  }

  .core-coverage {
    min-height: 885px;
  }

  .core-coverage .coverage-grid {
    grid-template-columns: 1fr;
  }

  .core-numbers {
    height: 638px;
    min-height: 638px;
    padding-top: 40px;
  }

  .core-numbers .core-container {
    width: calc(100% - 32px);
  }

  .core-numbers .corner-tag {
    justify-content: center;
    margin-inline: auto;
  }

  .core-numbers h2 {
    margin-top: 20px;
    font-size: 42px;
    line-height: 1;
    text-align: center;
  }

  .core-numbers .numbers-grid {
    grid-template-columns: 220px;
    grid-template-rows: repeat(2, 200px);
    justify-content: center;
    gap: 12px;
    height: 412px;
    margin-top: 32px;
  }

  .core-numbers .number-card,
  .core-numbers .number-card--low {
    width: 220px;
    height: 200px;
    margin: 0;
  }

  .core-numbers .number-card > div {
    padding: 16px;
  }

  .core-numbers .number-card strong {
    font-size: 38px;
  }

  .core-clients {
    height: 492px;
    min-height: 492px;
  }

  .core-bi {
    min-height: 918px;
  }

  .core-bi .bi-panel.container {
    width: calc(100% - 48px);
  }

  .core-contact {
    min-height: 867px;
  }

  .core-contact .contact-copy > div {
    margin-top: 40px;
  }

  .core-contact .contact-copy h2 {
    font-size: 24px;
    line-height: 1.4;
  }

  .core-contact .contact-copy p {
    font-size: 14px;
  }

  .core-page .footer-main {
    padding-top: 38px;
  }

  .core-page .footer-links {
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .core-hero__background,
  .core-hero__reveal {
    animation-delay: 0ms !important;
  }

  .core-page *,
  .core-page *::before,
  .core-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
