:root {
  --bg: #000;
  --paper: #050505;
  --ink: #fff;
  --muted: rgba(255, 255, 255, .72);
  --line: rgba(255, 255, 255, .15);
  --brand: #ff4900;
  --brand-dark: #ff4900;
  --teal: #ff4900;
  --green: #ff4900;
  --focus: rgba(255, 73, 0, .46);
  --shadow: 0 18px 42px rgba(255, 73, 0, .16);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

.portal-skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 40;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
}

.portal-skip:focus {
  top: 16px;
}

.portal-container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.portal-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(222, 215, 202, .72);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.portal-nav {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.portal-brand {
  display: flex;
  min-width: 190px;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.portal-brand::before,
.portal-footer__brand::before {
  content: "";
  display: block;
  flex: 0 0 72px;
  width: 72px;
  height: 40px;
  background-image: url("/images/logo.png");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 290px auto;
}

.portal-brand img {
  display: none;
}

.portal-brand span {
  display: block;
  max-width: 170px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.25;
}

.portal-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: .92rem;
  font-weight: 700;
}

.portal-menu a {
  border-radius: 999px;
  color: #fff;
  padding: 10px 12px;
}

.portal-menu a:hover,
.portal-menu a.is-active {
  background: #000;
  color: var(--brand-dark);
}

.portal-menu__contact {
  margin-left: 4px;
  border: 1px solid var(--line);
}

.portal-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.portal-menu-button span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.portal-menu-button span:nth-child(1) {
  transform: translateY(-6px);
}

.portal-menu-button span:nth-child(3) {
  transform: translateY(6px);
}

.portal-menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.portal-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.portal-menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.portal-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #27180f;
}

.portal-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/og/hero.png");
  background-position: center;
  background-size: cover;
  filter: saturate(.9) contrast(1.05);
}

.portal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(21, 19, 15, .68);
}

body[data-page="para-pessoas"] .portal-hero::before {
  background: linear-gradient(
    90deg,
    rgba(33, 21, 14, .95) 0%,
    rgba(33, 21, 14, .91) 42%,
    rgba(33, 21, 14, .58) 63%,
    rgba(33, 21, 14, .16) 100%
  );
}

body[data-page="para-pessoas"] .portal-hero__media {
  background-position: 72% center;
}

.portal-hero__content {
  padding: 72px 0 68px;
  color: #fff;
}

.portal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .74);
  font-size: .92rem;
  font-weight: 700;
}

.portal-breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.portal-kicker {
  margin: 0 0 14px;
  color: #ff4900;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portal-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 5.85rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: .98;
}

.portal-hero__lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.58;
}

body[data-page="para-pessoas"] .portal-breadcrumb {
  color: rgba(255, 255, 255, .86);
  font-weight: 800;
}

body[data-page="para-pessoas"] .portal-hero h1 {
  max-width: 750px;
  font-size: clamp(2.2rem, 6.05vw, 5.15rem);
  line-height: 1.03;
}

body[data-page="para-pessoas"] .portal-hero__lead {
  max-width: 680px;
  margin-top: 26px;
  color: rgba(255, 255, 255, .93);
  font-size: clamp(1.14rem, 2.08vw, 1.38rem);
  line-height: 1.72;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.portal-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ff894f;
  border-radius: var(--radius);
  background: var(--brand);
  color: #160d07;
  padding: 13px 17px;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 10px 24px rgba(159, 59, 17, .24);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.portal-btn:hover {
  background: #ff7b3f;
  box-shadow: 0 14px 28px rgba(159, 59, 17, .3);
  transform: translateY(-1px);
}

.portal-btn--secondary {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  box-shadow: none;
}

.portal-btn--secondary:hover {
  background: rgba(255, 255, 255, .18);
  box-shadow: none;
}

.portal-section {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.portal-section:nth-of-type(odd) {
  background: var(--paper);
}

.portal-section__inner {
  padding: 76px 0;
}

.portal-section__head {
  max-width: 840px;
}

.portal-section h2 {
  margin: 0;
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.portal-lead {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.portal-card {
  grid-column: span 4;
  min-height: 186px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px;
  box-shadow: 0 10px 24px rgba(36, 27, 18, .07);
}

.portal-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.25;
}

.portal-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.portal-card__action {
  margin-top: 18px;
}

.portal-card__action .portal-btn {
  min-height: 42px;
  border-color: var(--line);
  background: #000;
  color: var(--brand-dark);
  padding: 10px 12px;
  box-shadow: none;
}

.portal-card__action .portal-btn:hover {
  background: #ff4900;
}

.portal-timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.portal-timeline li {
  position: relative;
  min-height: 84px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 14px;
  color: var(--ink);
  font-weight: 800;
}

.portal-timeline li::before {
  content: counter(list-item, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: .82rem;
}

.portal-timeline span {
  display: block;
  overflow-wrap: anywhere;
}

.portal-section__action {
  margin-top: 30px;
}

.portal-section__action .portal-btn--secondary,
.portal-section__action .portal-btn {
  color: #160d07;
}

.portal-footer {
  background: #000;
  color: #fff;
}

.portal-footer__top {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  padding: 48px 0;
}

.portal-footer__brand img {
  display: none;
}

.portal-footer__brand p {
  max-width: 300px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .74);
  line-height: 1.6;
}

.portal-footer__group h2 {
  margin: 0 0 14px;
  color: #ff4900;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portal-footer__group a {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.35;
}

.portal-footer__group a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.portal-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding: 20px 0 28px;
  color: rgba(255, 255, 255, .7);
  font-size: .92rem;
}

.portal-footer__bottom a {
  color: #ff4900;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 1060px) {
  .portal-brand span {
    display: none;
  }

  .portal-menu {
    font-size: .86rem;
    gap: 2px;
  }

  .portal-menu a {
    padding: 9px 8px;
  }

  .portal-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .portal-container {
    width: min(100% - 28px, 1160px);
  }

  .portal-menu-button {
    position: relative;
    display: inline-flex;
  }

  .portal-menu {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: none;
    max-height: calc(100svh - var(--header-height));
    overflow: auto;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    padding: 12px 14px 18px;
    box-shadow: var(--shadow);
  }

  .portal-menu.is-open {
    display: grid;
  }

  .portal-menu a {
    border-radius: var(--radius);
    padding: 14px 12px;
  }

  .portal-menu__contact {
    margin-left: 0;
  }

  .portal-hero {
    min-height: calc(92svh - var(--header-height));
  }

  body[data-page="para-pessoas"] .portal-hero__media {
    background-position: 84% center;
  }

  body[data-page="para-pessoas"] .portal-hero::before {
    background: linear-gradient(
      90deg,
      rgba(33, 21, 14, .96) 0%,
      rgba(33, 21, 14, .93) 64%,
      rgba(33, 21, 14, .72) 100%
    );
  }

  body[data-page="para-pessoas"] .portal-hero h1 {
    max-width: min(100%, 21rem);
    overflow-wrap: break-word;
    font-size: clamp(1.9rem, 9vw, 2.7rem);
    line-height: 1.06;
  }

  body[data-page="para-pessoas"] .portal-hero__lead {
    max-width: min(100%, 21rem);
    margin-top: 22px;
    font-size: clamp(1.08rem, 4.15vw, 1.2rem);
    line-height: 1.74;
  }

  .portal-hero__content {
    padding: 54px 0 48px;
  }

  .portal-actions,
  .portal-btn {
    width: 100%;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  .portal-card {
    grid-column: auto;
  }

  .portal-timeline {
    grid-template-columns: 1fr;
  }

  .portal-timeline li {
    min-height: 0;
  }

  .portal-footer__top {
    grid-template-columns: 1fr;
  }

  .portal-footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .portal-brand {
    min-width: 0;
  }

  .portal-brand img {
    width: auto;
    height: 30px;
  }

  .portal-section__inner {
    padding: 58px 0;
  }

  .portal-card {
    padding: 18px;
  }
}

/* Meva identity and motion layer */
body {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 73, 0, .14), transparent 34%),
    linear-gradient(180deg, #000 0%, #050505 52%, #000 100%);
}

.portal-header {
  border-bottom-color: rgba(255, 73, 0, .24);
  background: rgba(0, 0, 0, .86);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .38);
}

.portal-brand,
.portal-menu a {
  color: #fff;
}

.portal-brand span {
  color: rgba(255, 255, 255, .7);
}

.portal-menu a,
.portal-menu-button,
.portal-btn,
.portal-card,
.portal-timeline li,
.portal-footer__group a {
  transition:
    transform .24s ease,
    border-color .24s ease,
    background .24s ease,
    color .24s ease,
    box-shadow .24s ease,
    filter .24s ease;
}

.portal-menu a:hover,
.portal-menu a.is-active {
  background: #ff4900;
  color: #fff;
  box-shadow: 0 12px 26px rgba(255, 73, 0, .22);
}

.portal-menu__contact {
  border-color: rgba(255, 73, 0, .42);
  background: rgba(255, 73, 0, .1);
}

.portal-menu-button {
  border-color: rgba(255, 73, 0, .36);
  background: #000;
  color: #fff;
}

.portal-hero {
  background: #000;
  min-height: calc(88svh - var(--header-height));
  align-items: center;
}

.portal-hero__media {
  filter: saturate(1.12) contrast(1.08);
  transform: scale(1.03);
}

.portal-hero::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .98) 0%, rgba(0, 0, 0, .9) 48%, rgba(0, 0, 0, .54) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .12) 50%);
}

.portal-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: #ff4900;
  box-shadow: 0 0 34px rgba(255, 73, 0, .7);
}

.portal-kicker {
  color: #ff4900;
}

.portal-hero__lead {
  color: rgba(255, 255, 255, .88);
}

.portal-btn {
  border-color: #ff4900;
  background: #ff4900;
  color: #fff;
  box-shadow: 0 16px 34px rgba(255, 73, 0, .28);
}

.portal-btn:hover,
.portal-btn:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #000;
  box-shadow: 0 18px 40px rgba(255, 73, 0, .34);
  transform: translateY(-4px);
}

.portal-btn--secondary {
  border-color: rgba(255, 255, 255, .44);
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.portal-btn--secondary:hover,
.portal-btn--secondary:focus-visible {
  border-color: #ff4900;
  background: #ff4900;
  color: #fff;
}

.portal-section,
.portal-section:nth-of-type(odd) {
  border-bottom-color: rgba(255, 73, 0, .18);
  background: #000;
}

.portal-section:nth-of-type(even) {
  background:
    linear-gradient(135deg, rgba(255, 73, 0, .1), transparent 36%),
    #050505;
}

.portal-section h2,
.portal-card h3,
.portal-timeline span {
  color: #fff;
}

.portal-lead,
.portal-card p {
  color: rgba(255, 255, 255, .72);
}

.portal-card,
.portal-timeline li {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, .14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)),
    #050505;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.portal-card::before,
.portal-timeline li::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: #ff4900;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
  pointer-events: none;
}

.portal-timeline li::before {
  color: #ff4900;
}

.portal-card__action .portal-btn {
  border-color: rgba(255, 73, 0, .38);
  background: #000;
  color: #fff;
}

.portal-section__action .portal-btn,
.portal-section__action .portal-btn--secondary {
  color: #fff;
}

.portal-section__action .portal-btn:hover,
.portal-section__action .portal-btn--secondary:hover,
.portal-section__action .portal-btn:focus-visible,
.portal-section__action .portal-btn--secondary:focus-visible {
  color: #000;
}

.portal-footer {
  background: #000;
  border-top: 1px solid rgba(255, 73, 0, .24);
}

.portal-footer__group h2,
.portal-footer__bottom a {
  color: #ff4900;
}

.portal-footer__group a:hover,
.portal-footer__group a:focus-visible {
  transform: translateX(6px);
  color: #ff4900;
  text-decoration-color: #ff4900;
}

.portal-footer__bottom {
  border-top-color: rgba(255, 73, 0, .28);
}

@media (hover: hover) and (pointer: fine) {
  .portal-brand:hover,
  .portal-menu-button:hover {
    transform: translateY(-2px);
  }

  .portal-card:hover,
  .portal-timeline li:hover {
    transform: translateY(-7px);
    border-color: #ff4900;
    background: #ff4900;
    color: #fff;
    box-shadow:
      0 18px 42px rgba(255, 73, 0, .3),
      inset 0 1px 0 rgba(255, 255, 255, .24);
  }

  .portal-card:hover::before,
  .portal-timeline li:hover::after {
    transform: scaleX(1);
  }

  .portal-card:hover h3,
  .portal-card:hover p,
  .portal-timeline li:hover span,
  .portal-timeline li:hover::before {
    color: #fff;
  }

  .portal-card:hover .portal-btn {
    border-color: #fff;
    background: #fff;
    color: #000;
    box-shadow: none;
  }
}

@media (max-width: 860px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .portal-container {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }

  .portal-hero__content {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }

  .portal-hero h1 {
    width: 100%;
    max-width: 21rem !important;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    font-size: clamp(1.75rem, 8.8vw, 2.22rem);
    line-height: 1.08;
  }

  .portal-hero__lead,
  .portal-lead {
    max-width: 21rem !important;
    overflow-wrap: break-word;
  }

  .portal-section h2 {
    max-width: 21rem !important;
    overflow-wrap: break-word;
    word-break: break-word;
    font-size: clamp(1.55rem, 7.2vw, 2rem);
    line-height: 1.12;
  }

  .portal-actions {
    width: 100%;
    max-width: 21rem;
  }

  .portal-btn {
    max-width: 100%;
  }

  .portal-menu {
    border-bottom-color: rgba(255, 73, 0, .24);
    background: #000;
  }
}
