:root {
  --verde-escuro: #2f4a1e;
  --verde-profundo: #213416;
  --verde-medio: #4a6b2a;
  --verde-tela: #2b3d1c;
  --bege: #e8dcae;
  --bege-claro: #efe6c9;
  --laranja: #c26a1e;
  --laranja-claro: #d98a3d;
  --creme: #f2ecd4;
  --ink: #243617;
  --radius: 12px;
  --shadow: 0 24px 65px rgba(31, 49, 20, 0.13);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



::selection {
  background-color: #d98b3d7b;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;

  scrollbar-color: var(--laranja) var(--ink);
  scrollbar-width: auto;
}

body {
  font-family: "Courier New", Courier, monospace;
  background: var(--bege);
  color: var(--verde-escuro);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

h1,
h2,
h3,
.display {
  font-family: "Arial Narrow", "Helvetica Neue", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  line-height: .96;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  background: var(--laranja);
  color: white;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 0;
}

/* NAV */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(47, 74, 30, .94);
  border-bottom: 1px solid rgba(232, 220, 174, .13);
  backdrop-filter: blur(14px);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.site-nav::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--laranja), transparent);
  opacity: .85;
}

.site-nav.is-scrolled {
  background: rgba(35, 55, 23, .97);
  box-shadow: 0 12px 32px rgba(15, 25, 10, .2);
}

.nav-inner {
  min-height: 74px;
  max-width: 1180px;
  margin: auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: min-height .3s ease;
}

.site-nav.is-scrolled .nav-inner {
  min-height: 66px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
}

.nav-logo img {
  width: auto;
  height: 5rem;
  display: block;
  transition: height .3s ease;
}

.site-nav.is-scrolled .nav-logo img {
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav-links>a:not(.btn) {
  position: relative;
  color: var(--bege);
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding-block: 10px;
  transition: color .25s ease;
}

.nav-links>a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  background: var(--laranja-claro);
  transition: right .3s ease;
}

.nav-links>a:hover,
.nav-links>a.is-active {
  color: var(--laranja-claro);
}

.nav-links>a:hover::after,
.nav-links>a.is-active::after {
  right: 0;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(232, 220, 174, .35);
  background: transparent;
  border-radius: 7px;
  cursor: pointer;
}

.nav-toggle span {
  width: 21px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--bege);
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* BUTTONS */
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  isolation: isolate;

  background: var(--laranja);
  color: var(--bege-claro);
  padding: 13px 25px;
  text-decoration: none;
  border: 2px solid var(--laranja);
  border-radius: 6px;

  font-family: "Arial Narrow", sans-serif;
  font-size: .96rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .075em;
  box-shadow: 0 0 0 rgba(194, 106, 30, 0);

  transition:
    transform .25s ease,
    background .25s ease,
    color .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}
    .btn:not(.btn-ghost)::after {
  content: "";

  position: absolute;

  inset: 5px;

  border: 1px solid rgba(255, 248, 231, .35);

  border-radius: 3px;

  opacity: 0;

  transform: scale(.96);

  pointer-events: none;

  transition:
    opacity .3s ease,
    transform .3s ease;
}

.btn:not(.btn-ghost):hover::after {
  opacity: 1;
  transform: scale(1);
}


.btn:not(.btn-ghost)::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 248, 231, .18),
    transparent
  );

  transform: skewX(-20deg);
  pointer-events: none;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  background: var(--laranja-claro);
  border-color: var(--laranja-claro);
  box-shadow:
    0 12px 30px rgba(194, 106, 30, .24);
    box-shadow:
    0 10px 25px rgba(194, 106, 30, .22),
    0 0 18px rgba(229, 138, 58, .12);
}


/* anima o brilho */
.btn:not(.btn-ghost):hover::before {
  left: 130%;
  transition: left .65s ease;
}

.btn:active {
  transform: translateY(-1px) scale(.985);
}

.btn-arrow {
  display: inline-block;
  transition: transform .25s ease;
}

.btn:hover .btn-arrow {
  transform: translate(3px, -2px);
}

.btn:not(.btn-ghost)::after {
  content: "";

  position: absolute;
  inset: -2px;

  border: 2px solid var(--laranja-claro);
  border-radius: 6px;

  opacity: 0;

  transform: scale(.92);

  pointer-events: none;

  transition:
    transform .4s ease,
    opacity .4s ease;
}

.btn:not(.btn-ghost):hover::after {
  opacity: .7;
  transform: scale(1.08);
}

.btn-ghost {
  position: relative;

  /* permite a borda animada ficar exatamente sobre a borda */
  overflow: visible;
  background: transparent;
  color: var(--bege);
  border-color: rgba(232, 220, 174, .35);
  box-shadow: none;
}

/* Borda laranja animada */
.btn-ghost::before {
  content: "";
  position: absolute;

  /* coloca a borda exatamente sobre a original */
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  border: 2px solid var(--laranja);
  border-radius: 6px;
  pointer-events: none;

  /* começa escondida */
  clip-path: inset(0 100% 0 0);
  transition: clip-path .45s ease;
  z-index: 2;
}

.btn-ghost:hover {
  background: transparent;
  color: var(--laranja-claro);

  /* mantém a borda original */
  border-color: rgba(232, 220, 174, .35);
  box-shadow: none;
  box-shadow:
    0 10px 25px rgba(194, 106, 30, .22),
    0 0 18px rgba(229, 138, 58, .12);

}

.btn-ghost:hover::before {
  clip-path: inset(0 0 0 0);
}

.btn-ghost:hover .btn-arrow {
  transform: translate(5px, -2px);
}

.btn-nav {
  min-height: 40px;
  padding: 8px 17px;
  font-size: .78rem;
}

/* HERO */
.hero {
  min-height: 760px;
  padding: 155px 0 105px;
  position: relative;
  overflow: hidden;
  background: var(--verde-escuro);
  color: var(--bege);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0, 0, 0, .055) 3px, rgba(0, 0, 0, .055) 4px);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .2;
  background-image: linear-gradient(rgba(232, 220, 174, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 220, 174, .1) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 72% 44%, black, transparent 62%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.28fr .9fr;
  gap: 64px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.terminal-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 7px 13px;
  color: var(--laranja-claro);
  border: 1px solid rgba(232, 220, 174, .22);
  border-radius: 5px;
  background: rgba(33, 52, 22, .32);
  font-size: .77rem;
  letter-spacing: .1em;
}

.blink {
  width: 8px;
  height: 14px;
  background: var(--laranja);
  animation: blink 1.1s steps(2) infinite;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 5.6vw, 5.4rem);
  text-wrap: balance;
}

.hero .accent {
  color: var(--laranja-claro);
  text-shadow: 0 0 34px rgba(217, 138, 61, .16);
}

.hero .sub {
  max-width: 610px;
  margin-bottom: 34px;
  color: var(--bege-claro);
  font-size: 1.01rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  color: rgba(239, 230, 201, .72);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--laranja);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--laranja);
}

.hero-intro {
  opacity: 0;
  transform: translateY(20px);
  animation: heroEnter .75s cubic-bezier(.22, .8, .2, 1) forwards;
  animation-delay: calc(120ms + var(--delay));
}

.hero-art {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  perspective: 900px;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform .25s ease-out;
}

.hero-art img {
  width: min(100%, 360px);
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 23px 33px rgba(0, 0, 0, .38));
  animation: float 5.5s ease-in-out infinite;
}

.device-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 138, 61, .22), transparent 65%);
  filter: blur(8px);
}

.device-orbit {
  position: absolute;
  width: 390px;
  aspect-ratio: 1;
  border: 1px solid rgba(232, 220, 174, .18);
  border-radius: 50%;
  animation: rotate 18s linear infinite;
}

.device-orbit::before,
.device-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  aspect-ratio: 1;
  background: var(--laranja-claro);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--laranja);
}

.device-orbit::before {
  top: 20%;
  left: 5%;
}

.device-orbit::after {
  right: 13%;
  bottom: 11%;
}

.status-chip {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 55px;
  padding: 8px 13px;
  border: 1px solid rgba(232, 220, 174, .2);
  background: rgba(33, 52, 22, .82);
  backdrop-filter: blur(7px);
  border-radius: 5px;
  color: var(--bege-claro);
  font-size: .69rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  box-shadow: 0 12px 25px rgba(0, 0, 0, .18);
}

.status-chip i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #a3c779;
  box-shadow: 0 0 11px #a3c779;
  animation: statusPulse 1.8s ease-in-out infinite;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(239, 230, 201, .62);
  text-decoration: none;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.scroll-cue span {
  width: 16px;
  height: 26px;
  border: 1px solid rgba(239, 230, 201, .4);
  border-radius: 10px;
  position: relative;
}

.scroll-cue span::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 6px;
  left: 5px;
  top: 5px;
  border-radius: 3px;
  background: var(--laranja-claro);
  animation: scrollDot 1.7s ease infinite;
}

/* BASE */
section {
  padding: 100px 0;
  position: relative;
}

.section-heading {
  margin-bottom: 50px;
}

.eyebrow {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--laranja);
  font-size: .76rem;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: ">";
  font-weight: 700;
}

.section-title {
  max-width: 820px;
  margin-bottom: 17px;
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  text-wrap: balance;
}

.section-lead {
  max-width: 680px;
  color: var(--verde-medio);
  font-size: .98rem;
  line-height: 1.75;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(3px);
  transition: opacity .72s ease var(--reveal-delay, 0ms), transform .72s cubic-bezier(.22, .8, .2, 1) var(--reveal-delay, 0ms), filter .72s ease var(--reveal-delay, 0ms);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* SERVICES */
.services {
  background: var(--bege);
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: radial-gradient(var(--verde-medio) .55px, transparent .55px);
  background-size: 11px 11px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.card {
  min-height: 310px;
  position: relative;
  overflow: hidden;
  padding: 30px 24px 27px;
  background: rgba(242, 236, 212, .94);
  border: 1.5px solid var(--verde-escuro);
  border-radius: var(--radius);
  box-shadow: 0 8px 0 -8px var(--laranja);
  transition: transform .35s cubic-bezier(.22, .8, .2, 1), box-shadow .35s ease, border-color .35s ease, background .35s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 100% 0 0;
  background: linear-gradient(120deg, transparent, rgba(217, 138, 61, .08), transparent);
  transition: inset .55s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--laranja);
  background: var(--creme);
  box-shadow: 0 16px 0 -7px var(--laranja), var(--shadow);
}

.card:hover::before {
  inset: 0 -100% 0 100%;
}

.card-index {
  position: absolute;
  right: 20px;
  top: 19px;
  color: rgba(47, 74, 30, .28);
  font-family: "Arial Narrow", sans-serif;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.ico {
  width: 55px;
  height: 55px;
  margin-bottom: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--verde-escuro);
  color: var(--bege);
  transition: transform .35s ease, background .35s ease;
}

.ico svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card:hover .ico {
  transform: translateY(-3px) rotate(-2deg);
  background: var(--laranja);
}

.card h3 {
  margin-bottom: 13px;
  font-size: 1.22rem;
  line-height: 1.05;
}

.card p {
  color: var(--verde-medio);
  font-size: .88rem;
  line-height: 1.68;
}

/* PROCESS */
.process {
  background: var(--verde-escuro);
  color: var(--bege);
  overflow: hidden;
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(217, 138, 61, .1), transparent 34%), radial-gradient(circle at 90% 80%, rgba(74, 107, 42, .25), transparent 38%);
}

.process .section-heading,
.process .steps {
  position: relative;
  z-index: 1;
}

.process .eyebrow {
  color: var(--laranja-claro);
}

.process .section-title {
  color: var(--bege);
}

.process .section-lead {
  color: rgba(239, 230, 201, .75);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
  padding-top: 42px;
}

.process-line {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 68px;
  height: 2px;
  background: rgba(232, 220, 174, .16);
  overflow: hidden;
}

.process-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--laranja), var(--laranja-claro));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.45s cubic-bezier(.22, .8, .2, 1) .15s;
}

.process.is-visible .process-line span {
  transform: scaleX(1);
}

.step {
  position: relative;
  padding-top: 66px;
}

.step-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid var(--laranja);
  background: var(--verde-escuro);
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--verde-escuro);
}

.step .num {
  color: var(--laranja-claro);
  font-family: "Arial Narrow", sans-serif;
  font-weight: 800;
  font-size: 1rem;
}

.step h3 {
  margin-bottom: 13px;
  color: var(--bege-claro);
  font-size: 1.32rem;
}

.step p {
  max-width: 330px;
  color: rgba(239, 230, 201, .75);
  font-size: .9rem;
  line-height: 1.75;
}

/* WORK */
.work {
  background: var(--bege);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.12fr .94fr .94fr;
  gap: 22px;
}

.work-card {
  overflow: hidden;
  background: var(--creme);
  border: 1.5px solid var(--verde-escuro);
  border-radius: var(--radius);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.work-card:hover {
  transform: translateY(-7px);
  border-color: var(--laranja);
  box-shadow: var(--shadow);
}

.work-thumb {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: var(--verde-tela);
}

.featured-project .work-thumb {
  height: 290px;
}

.browser-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #1f2e17;
  color: rgba(239, 230, 201, .48);
  font-size: .63rem;
}

.browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--laranja);
  opacity: .8;
}

.browser-bar i:nth-child(2) {
  background: var(--bege);
  opacity: .45;
}

.browser-bar i:nth-child(3) {
  background: var(--verde-medio);
  opacity: .9;
}

.browser-bar span {
  margin-left: auto;
  margin-right: auto;
}

.project-screen {
  height: calc(100% - 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 17px;
  background: radial-gradient(circle at 50% 45%, rgba(217, 138, 61, .16), transparent 38%), linear-gradient(140deg, var(--verde-tela), var(--verde-profundo));
  transition: transform .6s cubic-bezier(.22, .8, .2, 1);
}

.project-screen img {
  width: 180px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .2));
}

.project-screen span {
  color: var(--laranja-claro);
  font-size: .74rem;
  letter-spacing: .12em;
}

.work-card:hover .project-screen {
  transform: scale(1.035);
}

.project-action {
  position: absolute;
  inset: auto 16px 15px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 13px;
  border: 1px solid rgba(239, 230, 201, .2);
  border-radius: 5px;
  background: rgba(31, 46, 23, .82);
  backdrop-filter: blur(6px);
  color: var(--bege-claro);
  font-size: .67rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}

.work-card:hover .project-action {
  opacity: 1;
  transform: translateY(0);
}

.concept-thumb {
  display: grid;
  place-items: center;
}

.concept-one {
  background: linear-gradient(145deg, #344c23, #213416);
}

.concept-window {
  width: 150px;
  height: 145px;
  padding: 18px;
  border: 1px solid rgba(239, 230, 201, .25);
  border-radius: 8px;
  background: rgba(239, 230, 201, .07);
  color: var(--bege-claro);
  box-shadow: 18px 18px 0 rgba(194, 106, 30, .16);
  transition: transform .45s ease;
}

.work-card:hover .concept-window {
  transform: rotate(-2deg) scale(1.04);
}

.concept-window span {
  display: block;
  color: var(--laranja-claro);
  font-size: .67rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.concept-window strong {
  display: block;
  margin: 14px 0 8px;
  font-family: "Arial Narrow", sans-serif;
  font-size: 2.25rem;
  line-height: 1;
}

.concept-window small {
  color: rgba(239, 230, 201, .65);
  font-size: .6rem;
}

.concept-two {
  background: repeating-linear-gradient(45deg, #2b3d1c, #2b3d1c 13px, #314722 13px, #314722 26px);
}

.catalog-grid {
  width: 170px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  transform: rotate(-3deg);
  transition: transform .45s ease;
}

.catalog-grid i {
  height: 74px;
  border: 1px solid rgba(239, 230, 201, .26);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(239, 230, 201, .12), rgba(194, 106, 30, .12));
}

.catalog-grid i:nth-child(2),
.catalog-grid i:nth-child(3) {
  background: linear-gradient(145deg, rgba(217, 138, 61, .2), rgba(239, 230, 201, .07));
}

.work-card:hover .catalog-grid {
  transform: rotate(0) scale(1.04);
}

.work-body {
  padding: 22px 22px 24px;
}

.work-body .tag {
  display: block;
  margin-bottom: 9px;
  color: var(--laranja);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.work-body h3 {
  margin-bottom: 9px;
  font-size: 1.17rem;
  line-height: 1.08;
}

.work-body p {
  min-height: 70px;
  color: var(--verde-medio);
  font-size: .84rem;
  line-height: 1.65;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.project-meta span {
  padding: 5px 8px;
  border: 1px solid rgba(47, 74, 30, .25);
  border-radius: 4px;
  color: var(--verde-medio);
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ABOUT */
.about {
  background: var(--verde-tela);
  color: var(--bege);
  overflow: hidden;
}

.about::before {
  content: "FIDES";
  position: absolute;
  right: -2vw;
  bottom: -6vw;
  color: rgba(232, 220, 174, .025);
  font-family: Impact, sans-serif;
  font-size: 25vw;
  line-height: .8;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.about-art {
  min-height: 430px;
  position: relative;
  display: grid;
  place-items: center;
  perspective: 900px;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .25s ease-out;
}

.about-art img {
  width: min(100%, 280px);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .3));
}

.about-frame {
  position: absolute;
  width: 310px;
  height: 360px;
  border: 1px solid rgba(239, 230, 201, .2);
  border-radius: 50% 50% 10px 10px;
  transform: rotate(4deg);
}

.about-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(217, 138, 61, .34);
  border-radius: inherit;
}

.about-code {
  position: absolute;
  z-index: 3;
  left: 5%;
  bottom: 42px;
  padding: 7px 10px;
  background: var(--laranja);
  color: var(--verde-profundo);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.about .eyebrow {
  color: var(--laranja-claro);
}

.about h2 {
  max-width: 670px;
  margin-bottom: 26px;
  color: var(--bege);
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  text-wrap: balance;
}

.about p {
  max-width: 690px;
  margin-bottom: 17px;
  color: rgba(239, 230, 201, .84);
  font-size: .98rem;
  line-height: 1.8;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 29px;
}

.value-pill {
  padding: 8px 15px;
  border: 1px solid rgba(217, 138, 61, .75);
  border-radius: 999px;
  color: var(--laranja-claro);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* CTA */
.cta {
  overflow: hidden;
  background: var(--laranja);
  color: var(--verde-escuro);
  text-align: center;
  padding: 105px 0;
}

.cta-grid {
  position: absolute;
  inset: 0;
  opacity: .11;
  background-image: linear-gradient(var(--verde-escuro) 1px, transparent 1px), linear-gradient(90deg, var(--verde-escuro) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(500px) rotateX(55deg) scale(1.5);
  transform-origin: center bottom;
}

.cta .wrap {
  position: relative;
  z-index: 1;
}

.cta-kicker {
  display: inline-block;
  margin-bottom: 17px;
  color: rgba(33, 52, 22, .72);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cta h2 {
  max-width: 900px;
  margin: 0 auto 17px;
  color: var(--verde-profundo);
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  text-wrap: balance;
}

.cta p {
  max-width: 680px;
  margin: 0 auto 30px;
  color: var(--verde-profundo);
  font-size: .96rem;
}

.cta .btn {
  background: var(--verde-escuro);
  border-color: var(--verde-escuro);
  color: var(--bege-claro);
}

.cta .btn:hover {
  background: var(--verde-profundo);
  border-color: var(--verde-profundo);
  box-shadow: 0 14px 35px rgba(33, 52, 22, .23);
}

.contact-note {
  display: block;
  max-width: 520px;
  margin: 15px auto 0;
  color: rgba(33, 52, 22, .65);
  font-size: .64rem;
}

/* FOOTER */
footer {
  background: var(--verde-profundo);
  color: var(--bege);
  padding: 51px 0 29px;
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.foot-grid img {
  width: auto;
  height: 6rem;
  display: block;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.foot-links a {
  position: relative;
  color: var(--bege);
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: .07em;
}

.foot-links a:hover {
  color: var(--laranja-claro);
}

.foot-sig {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(232, 220, 174, .14);
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(232, 220, 174, .55);
  font-size: .69rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.footer-cursor {
  width: 7px;
  height: 13px;
  margin-left: 8px;
  background: var(--laranja);
  animation: blink 1.1s steps(2) infinite;
}

/* ANIMATIONS */
@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

@keyframes heroEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(.2deg);
  }

  50% {
    transform: translateY(-8px) rotate(-.2deg);
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: .75;
    transform: translateY(-50%) scale(.96);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
  }
}

@keyframes statusPulse {

  0%,
  100% {
    opacity: .65;
  }

  50% {
    opacity: 1;
  }
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* RESPONSIVE */
@media (max-width: 1020px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .featured-project {
    grid-column: 1 / -1;
  }

  .featured-project .work-thumb {
    height: 330px;
  }

  .about-grid {
    gap: 45px;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-nav,
  .site-nav.is-scrolled {
    background: rgba(35, 55, 23, .98);
  }

  .nav-inner,
  .site-nav.is-scrolled .nav-inner {
    width: 100%;
    min-height: 72px;
    padding: 8px 20px;
    gap: 14px;
  }

  .nav-logo {
    position: relative;
    z-index: 4;
    flex: 0 1 auto;
    min-width: 0;
  }

  .nav-logo img,
  .site-nav.is-scrolled .nav-logo img {
    width: auto;
    height: 44px;
    max-width: min(210px, 62vw);
    object-fit: contain;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 4;
    flex: 0 0 46px;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 3;
    min-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: calc(94px + env(safe-area-inset-top)) 24px calc(32px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    background: rgba(33, 52, 22, .995);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .34s cubic-bezier(.22, .8, .2, 1), opacity .25s ease, visibility 0s linear .34s;
  }

  .nav-links.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .nav-links>a:not(.btn) {
    width: 100%;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(232, 220, 174, .13);
    font-family: "Arial Narrow", sans-serif;
    font-size: clamp(1.15rem, 5vw, 1.4rem);
    font-weight: 800;
    line-height: 1.15;
  }

  .nav-links>a:not(.btn)::after {
    display: none;
  }

  .nav-links > div {
    width: 100%;
  }

  .btn-nav {
    width: 100%;
    margin-top: 18px;
  }

  .hero {
    min-height: auto;
    padding: 125px 0 95px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-art {
    order: -1;
    min-height: 280px;
  }

  .hero-art img {
    width: 220px;
  }

  .device-orbit {
    width: 280px;
  }

  .status-chip {
    right: 8%;
    bottom: 20px;
  }

  .hero-copy {
    text-align: center;
  }

  .terminal-tag {
    margin-inline: auto;
  }

  .hero .sub {
    margin-inline: auto;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .scroll-cue {
    display: none;
  }

  section {
    padding: 78px 0;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-left: 35px;
  }

  .process-line {
    left: 26px;
    right: auto;
    top: 55px;
    bottom: 35px;
    width: 2px;
    height: auto;
  }

  .process-line span {
    transform: scaleY(0);
    transform-origin: top;
  }

  .process.is-visible .process-line span {
    transform: scaleY(1);
  }

  .step {
    padding: 4px 0 4px 52px;
  }

  .step-marker {
    top: 0;
    left: -35px;
    width: 50px;
    height: 50px;
  }

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

  .about-art {
    min-height: 340px;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 34px, 1180px);
  }

  .nav-inner,
  .site-nav.is-scrolled .nav-inner {
    padding-inline: 16px;
  }

  .nav-logo img,
  .site-nav.is-scrolled .nav-logo img {
    height: 40px;
    max-width: 60vw;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-art {
    min-height: 245px;
  }

  .hero-art img {
    width: 185px;
  }

  .device-orbit {
    width: 235px;
  }

  .status-chip {
    font-size: .58rem;
    right: 0;
  }

  .hero h1 {
    font-size: clamp(2.42rem, 12vw, 3.35rem);
  }

  .hero .sub {
    font-size: .91rem;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .trust-row {
    gap: 8px 14px;
  }

  .cards,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .featured-project {
    grid-column: auto;
  }

  .card {
    min-height: auto;
  }

  .work-thumb,
  .featured-project .work-thumb {
    height: 260px;
  }

  .project-action {
    opacity: 1;
    transform: none;
  }

  .about-art {
    min-height: 300px;
  }

  .about-frame {
    width: 245px;
    height: 290px;
  }

  .about-art img {
    width: 220px;
  }

  .foot-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .foot-links {
    gap: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .hero-intro,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .process-line span {
    transform: none !important;
  }
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--laranja-claro);
  outline-offset: 4px;
}
/* PREMIUM PORTFOLIO CAROUSEL */
.portfolio-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 44px;
}

.portfolio-heading .section-heading { margin-bottom: 0; }
.portfolio-copy { max-width: 760px; }

.portfolio-counter {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 7px;
  color: var(--verde-escuro);
  font-family: "Arial Narrow", sans-serif;
}

.portfolio-counter strong { font-size: 1.45rem; line-height: 1; }
.portfolio-counter span { width: 58px; height: 1px; background: rgba(47, 74, 30, .35); }
.portfolio-counter small { color: var(--verde-medio); font-size: .72rem; }

.portfolio-carousel { position: relative; }
.portfolio-viewport {
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  cursor: grab;
  touch-action: pan-y;
}
.portfolio-viewport.is-dragging { cursor: grabbing; }

.portfolio-track {
  display: flex;
  transition: transform .72s cubic-bezier(.22, .78, .18, 1);
  will-change: transform;
}
.portfolio-viewport.is-dragging .portfolio-track { transition: none; }

.project-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(310px, .82fr);
  min-height: 520px;
  overflow: hidden;
  border: 1.5px solid var(--verde-escuro);
  border-radius: calc(var(--radius) + 2px);
  background: var(--creme);
}

.project-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--verde-tela);
}
.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 70% 20%, rgba(217, 138, 61, .2), transparent 34%);
}
.visual-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .17;
  background-image: linear-gradient(rgba(239,230,201,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(239,230,201,.18) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom right, black, transparent 78%);
}
.visual-label {
  position: absolute;
  left: 22px;
  bottom: 19px;
  color: rgba(239, 230, 201, .72);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-info {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4vw, 62px);
  background: linear-gradient(145deg, var(--creme), #e9dfbd);
}
.project-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: rgba(47, 74, 30, .18);
}
.project-number {
  margin-bottom: 50px;
  color: var(--verde-escuro);
  font-family: "Arial Narrow", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}
.project-number span { color: rgba(47, 74, 30, .4); font-size: .72rem; }
.project-info .tag {
  margin-bottom: 12px;
  color: var(--laranja);
  font-size: .65rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.project-info h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: .95;
  letter-spacing: -.035em;
}
.project-info p {
  max-width: 430px;
  color: var(--verde-medio);
  font-size: .9rem;
  line-height: 1.72;
}
.project-info .project-meta { margin-top: 24px; }
.project-link {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(47, 74, 30, .45);
  color: var(--verde-escuro);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s ease, gap .25s ease, border-color .25s ease;
}
.project-link:hover { gap: 34px; color: var(--laranja); border-color: var(--laranja); }

.portfolio-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 20px;
}
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrows button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(47, 74, 30, .4);
  border-radius: 50%;
  background: transparent;
  color: var(--verde-escuro);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.carousel-arrows button:hover { background: var(--verde-escuro); color: var(--bege); transform: translateY(-2px); }
.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 8px; }
.carousel-dots button {
  width: 26px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(47, 74, 30, .22);
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.carousel-dots button.is-active { width: 52px; background: var(--laranja); }
.carousel-hint { color: var(--verde-medio); font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; }

/* Project mockups */
.project-browser { width: min(82%, 650px); transform: perspective(1200px) rotateY(-5deg) rotateX(2deg); box-shadow: 0 30px 60px rgba(12, 23, 8, .42); transition: transform .7s cubic-bezier(.22,.8,.2,1); }
.project-slide.is-active .project-browser { transform: perspective(1200px) rotateY(-2deg) rotateX(0); }
.finance-dashboard { height: 330px; display: grid; grid-template-columns: 56px 1fr; background: #f4efd9; }
.mock-sidebar { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 18px 0; background: #243919; }
.mock-sidebar b { display:grid; place-items:center; width:27px; height:27px; border-radius:6px; background:var(--laranja); color:#fff; font-size:.58rem; }
.mock-sidebar i { width:16px; height:3px; border-radius:9px; background:rgba(239,230,201,.35); }
.mock-content { padding: 24px; overflow:hidden; }
.mock-top { display:flex; justify-content:space-between; color:#243919; font-size:.72rem; font-weight:800; }
.mock-top small { padding:5px 9px; border:1px solid rgba(47,74,30,.18); border-radius:4px; font-size:.52rem; }
.metric-row { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-top:25px; }
.metric-row div { padding:14px; border:1px solid rgba(47,74,30,.1); border-radius:6px; background:#fffdf4; }
.metric-row small,.chart-card>span { display:block; color:#617154; font-size:.48rem; text-transform:uppercase; letter-spacing:.08em; }
.metric-row strong { display:block; margin-top:7px; color:#243919; font-size:.8rem; }
.chart-card { margin-top:12px; padding:16px; background:#fffdf4; border:1px solid rgba(47,74,30,.1); border-radius:6px; }
.chart-bars { height:105px; display:flex; align-items:flex-end; gap:9px; padding-top:15px; }
.chart-bars i { flex:1; height:45%; border-radius:2px 2px 0 0; background:#c26a1e; opacity:.75; }
.chart-bars i:nth-child(2){height:62%}.chart-bars i:nth-child(3){height:50%}.chart-bars i:nth-child(4){height:82%}.chart-bars i:nth-child(5){height:72%}.chart-bars i:nth-child(6){height:94%}.chart-bars i:nth-child(7){height:78%}

.project-visual--jl { background: linear-gradient(135deg,#182315,#354a26); }
.jl-device { width:min(78%,610px); min-height:350px; padding:0 38px 30px; background:#eee5c8; box-shadow:0 32px 65px rgba(10,20,7,.45); transform:rotate(-2deg); }
.jl-nav { height:58px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid rgba(47,74,30,.18); color:#223719; }
.jl-nav b { font-family:"Arial Narrow",sans-serif; font-size:1.25rem; }
.jl-nav span { font-size:.46rem; letter-spacing:.08em; text-transform:uppercase; }
.jl-hero { min-height:220px; display:flex; flex-direction:column; justify-content:center; position:relative; }
.jl-hero small { color:#c26a1e; font-size:.55rem; letter-spacing:.12em; text-transform:uppercase; }
.jl-hero strong { max-width:430px; margin-top:14px; color:#223719; font-size:clamp(1.6rem,3vw,2.7rem); line-height:.94; letter-spacing:-.04em; }
.jl-hero i { width:70px; height:3px; margin-top:25px; background:#c26a1e; }
.jl-bottom { display:flex; gap:8px; }
.jl-bottom span { padding:6px 9px; border:1px solid rgba(47,74,30,.25); color:#405633; font-size:.46rem; text-transform:uppercase; }

.project-visual--logistics { background:linear-gradient(145deg,#17271c,#2d472f); }
.logistics-screen { width:min(82%,650px); background:#eef0e8; border-radius:7px; overflow:hidden; box-shadow:0 30px 60px rgba(7,18,10,.5); transform:perspective(1000px) rotateY(4deg); }
.logistics-head { height:52px; display:flex; align-items:center; gap:16px; padding:0 19px; background:#f8faf4; color:#213a26; font-size:.62rem; }
.logistics-head b { display:grid; place-items:center; width:28px; height:28px; border-radius:5px; background:#d48734; color:#fff; }
.logistics-head small { margin-left:auto; color:#438353; font-size:.48rem; }
.logistics-body { min-height:300px; display:grid; grid-template-columns:1.3fr .7fr; gap:12px; padding:15px; }
.route-map { position:relative; overflow:hidden; border-radius:5px; background:linear-gradient(35deg,#dfe6da,#f4f5ef); background-image:linear-gradient(35deg,transparent 48%,rgba(66,103,72,.13) 49%,rgba(66,103,72,.13) 51%,transparent 52%),linear-gradient(-35deg,transparent 48%,rgba(66,103,72,.1) 49%,rgba(66,103,72,.1) 51%,transparent 52%); background-size:90px 70px; }
.route-line { position:absolute; width:70%; height:45%; left:14%; top:28%; border-top:3px dashed #d48734; border-radius:50%; transform:rotate(-12deg); }
.pin { position:absolute; width:12px; height:12px; border:3px solid #fff; border-radius:50% 50% 50% 0; background:#315c3a; transform:rotate(-45deg); box-shadow:0 3px 8px rgba(0,0,0,.2); }
.pin-a{left:16%;top:57%}.pin-b{left:50%;top:33%}.pin-c{right:13%;top:49%}
.trip-panel { display:flex; flex-direction:column; padding:18px; border-radius:5px; background:#fff; color:#29422d; }
.trip-panel small { color:#718271; font-size:.42rem; letter-spacing:.1em; }
.trip-panel strong { margin-top:20px; font-size:1.35rem; }
.trip-panel span { margin-top:7px; color:#438353; font-size:.49rem; }
.trip-panel div { display:flex; gap:5px; margin-top:auto; }.trip-panel i { width:26px; height:4px; border-radius:9px; background:#d48734; }.trip-panel i:nth-child(2){background:#9db19f}.trip-panel i:nth-child(3){background:#d7ded3}

.project-visual--fides { background:radial-gradient(circle at 50% 45%,rgba(217,138,61,.22),transparent 35%),linear-gradient(140deg,var(--verde-tela),var(--verde-profundo)); }
.fides-mark { display:flex; flex-direction:column; align-items:center; gap:22px; transform:scale(1.15); }
.fides-mark img { width:min(52%,330px); filter:drop-shadow(0 12px 24px rgba(0,0,0,.25)); }
.fides-mark span { color:var(--laranja-claro); font-size:.72rem; letter-spacing:.14em; }

@media (max-width: 900px) {
  .project-slide { grid-template-columns:1fr; }
  .project-visual { min-height:400px; }
  .project-info { min-height:390px; }
  .project-number { margin-bottom:28px; }
  .project-info::before { width:100%; height:1px; }
}

@media (max-width: 620px) {
  .portfolio-heading { align-items:flex-start; margin-bottom:28px; }
  .portfolio-counter { display:none; }
  .project-visual { min-height:310px; }
  .project-browser,.logistics-screen { width:91%; }
  .finance-dashboard { height:230px; grid-template-columns:42px 1fr; }
  .mock-content { padding:14px; }.metric-row div:nth-child(3){display:none}.metric-row{grid-template-columns:1fr 1fr}.chart-bars{height:55px}.mock-sidebar{gap:13px;padding-top:12px}
  .jl-device { width:88%; min-height:260px; padding:0 22px 20px; }.jl-hero{min-height:160px}.jl-nav span{display:none}
  .logistics-body { min-height:215px; grid-template-columns:1fr; }.trip-panel{display:none}
  .project-info { min-height:auto; padding:32px 25px 36px; }
  .project-number { margin-bottom:22px; font-size:1.45rem; }
  .project-info h3 { font-size:2.25rem; }
  .project-link { margin-top:28px; }
  .portfolio-controls { grid-template-columns:auto 1fr; }
  .carousel-hint { display:none; }
  .carousel-dots { justify-content:flex-end; }
  .carousel-arrows button { width:42px;height:42px; }
}

/* Brand signatures inside portfolio cards */
.project-brand {
  width: fit-content;
  min-height: 58px;
  margin: 2px 0 20px;
  display: flex;
  align-items: center;
}
.project-brand--aponteb {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: #263c1c;
}
.project-brand--aponteb strong {
  font-size: clamp(2.05rem, 3.15vw, 3.2rem);
  line-height: .88;
  letter-spacing: -.055em;
  font-weight: 900;
}
.project-brand--aponteb strong i {
  display: inline-block;
  margin-right: 1px;
  color: var(--laranja);
  font-style: normal;
}
.project-brand--aponteb small {
  margin-left: 3px;
  color: var(--verde-medio);
  font-size: .48rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.project-brand--jl { gap: 13px; }
.project-brand--jl img {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(28, 46, 21, .12);
}
.project-brand--jl div { display: flex; flex-direction: column; gap: 2px; }
.project-brand--jl strong {
  color: #0d315a;
  font-size: clamp(1.75rem, 2.8vw, 2.55rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.project-brand--jl small {
  color: #a66f10;
  font-size: .5rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.project-brand--magia {
  position: relative;
  gap: 9px;
  padding: 5px 38px 5px 0;
  color: #2d4422;
}
.project-brand--magia > span {
  align-self: flex-start;
  margin-top: 2px;
  color: var(--laranja);
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
}
.project-brand--magia strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.85vw, 2.65rem);
  line-height: .84;
  letter-spacing: -.045em;
  font-weight: 500;
}
.project-brand--magia > i {
  position: absolute;
  top: 4px;
  right: 7px;
  color: var(--laranja);
  font-size: 1rem;
  font-style: normal;
}

/* Magia dos Detalhes project art */
.project-visual--magia {
  background:
    radial-gradient(circle at 24% 20%, rgba(228, 158, 81, .28), transparent 27%),
    radial-gradient(circle at 79% 72%, rgba(239, 230, 201, .12), transparent 29%),
    linear-gradient(140deg, #172617, #344a25 64%, #1d2f19);
}
.magia-experience {
  position: relative;
  width: min(82%, 650px);
  min-height: 370px;
  display: grid;
  place-items: center;
}
.magia-ticket {
  position: relative;
  z-index: 2;
  width: min(84%, 520px);
  padding: 46px 48px 43px;
  border: 1px solid rgba(239,230,201,.42);
  background: rgba(239,230,201,.95);
  color: #243919;
  box-shadow: 0 34px 70px rgba(7,15,5,.45);
  transform: rotate(-2deg);
}
.magia-ticket::before,
.magia-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #263d20;
  transform: translateY(-50%);
}
.magia-ticket::before { left: -12px; }
.magia-ticket::after { right: -12px; }
.magia-ticket small {
  display: block;
  margin-bottom: 31px;
  color: #8d6a36;
  font-size: .48rem;
  font-weight: 800;
  letter-spacing: .15em;
}
.magia-ticket .magia-kicker {
  display: block;
  color: #5e6f52;
  font-family: Georgia, serif;
  font-size: clamp(.95rem, 1.6vw, 1.3rem);
  font-style: italic;
}
.magia-ticket strong {
  display: block;
  margin-top: 2px;
  color: #263d20;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.06em;
}
.magia-stars { display: flex; gap: 8px; margin: 28px 0 18px; color: #c26a1e; }
.magia-stars i { font-style: normal; font-size: .85rem; }
.magia-ticket p { max-width: 340px; color: #536349; font-size: .62rem; line-height: 1.6; }
.magia-orbit {
  position: absolute;
  border: 1px solid rgba(239,230,201,.17);
  border-radius: 50%;
  pointer-events: none;
}
.magia-orbit--one { width: 340px; height: 340px; right: -30px; top: -5px; }
.magia-orbit--two { width: 230px; height: 230px; left: -14px; bottom: -5px; }

@media (max-width: 620px) {
  .project-brand { margin-bottom: 18px; min-height: 50px; }
  .project-brand--jl img { width: 50px; height: 50px; }
  .magia-experience { width: 94%; min-height: 270px; }
  .magia-ticket { width: 87%; padding: 34px 30px 31px; }
  .magia-ticket small { margin-bottom: 22px; }
  .magia-stars { margin: 19px 0 13px; }
  .magia-orbit--one { width: 240px; height: 240px; }
  .magia-orbit--two { width: 160px; height: 160px; }
}

/* Official client logos in portfolio cards */
.project-brand--aponteb,
.project-brand--jl,
.project-brand--magia {
  padding: 0;
  flex-direction: row;
  align-items: center;
  gap: 0;
}

.project-brand--aponteb img {
  display: block;
  width: clamp(150px, 20vw, 220px);
  height: auto;
  max-height: 88px;
  object-fit: contain;
  object-position: left center;
}

.project-brand--jl img {
  display: block;
  width: clamp(72px, 8vw, 92px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.project-brand--magia img {
  display: block;
  width: clamp(82px, 9vw, 108px);
  height: auto;
  max-height: 104px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 620px) {
  .project-brand--aponteb img { width: 165px; max-height: 72px; }
  .project-brand--jl img { width: 70px; height: auto; }
  .project-brand--magia img { width: 78px; max-height: 82px; }
}
