:root {
  --black: #050505;
  --gold: #d2ae6d;
  --champagne: #e4c488;
  --ink: #111111;
  --panel: #0c0c0c;
  --panel-soft: #141414;
  --line: rgba(228, 196, 136, 0.16);
  --text: #f7f1e7;
  --muted: rgba(247, 241, 231, 0.74);
  --soft: rgba(247, 241, 231, 0.58);
  --glow: 0 0 34px rgba(210, 174, 109, 0.18);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 104px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #0a0a0a;
}

/* Scrollbar personalizada (dourado sobre preto) — WebKit: Chrome, Edge, Safari. */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #050505;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--champagne), var(--gold));
  background-clip: padding-box;
  border: 3px solid transparent;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #efd7a2, var(--champagne));
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, var(--gold), #b6924f);
  background-clip: padding-box;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 12%, rgba(210, 174, 109, 0.08), transparent 28rem),
    radial-gradient(circle at 10% 46%, rgba(228, 196, 136, 0.055), transparent 24rem),
    var(--black);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(228, 196, 136, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228, 196, 136, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 80%, transparent);
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--champagne);
  color: var(--black);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(5, 5, 5, 0.78);
  border-color: rgba(228, 196, 136, 0.12);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.nav {
  width: min(calc(100% - 40px), 1240px);
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 158px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 30px;
  color: rgba(247, 241, 231, 0.78);
  font-size: 0.93rem;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--champagne);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links-cta {
  display: none;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.nav-cta:focus-visible,
.btn:focus-visible {
  outline: 2px solid rgba(228, 196, 136, 0.72);
  outline-offset: 4px;
}

.nav-cta,
.btn-primary {
  background: var(--gold);
  color: var(--black);
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--champagne);
  border-color: var(--champagne);
}

.btn-secondary {
  background: rgba(5, 5, 5, 0.18);
  color: var(--text);
  border-color: rgba(228, 196, 136, 0.36);
}

.btn-secondary:hover {
  background: rgba(228, 196, 136, 0.12);
  color: var(--champagne);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.2s ease;
}

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

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 132px 0 72px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  animation: heroImageDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    radial-gradient(circle at 20% 62%, rgba(210, 174, 109, 0.18), transparent 26rem),
    linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.74) 40%, rgba(5, 5, 5, 0.2) 78%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.18) 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin-left: max(20px, calc((100vw - var(--container)) / 2));
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--champagne);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.12;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(2.9rem, 5.2vw, 4.85rem);
  max-width: 860px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.7vw, 3.55rem);
  max-width: 830px;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 640px;
  color: rgba(247, 241, 231, 0.88);
  font-size: 1.1rem;
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin: 50px 0 0;
  padding: 0;
  list-style: none;
  background: transparent;
  border: 0;
}

.hero-highlights li {
  position: relative;
  padding: 15px 18px 15px 40px;
  border: 1px solid rgba(228, 196, 136, 0.13);
  background: rgba(5, 5, 5, 0.38);
  color: rgba(247, 241, 231, 0.82);
  font-size: 0.91rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--champagne);
  transform: translateY(-50%);
}

.section {
  position: relative;
  padding: 122px 0;
  background: transparent;
  overflow: hidden;
}

.section:nth-of-type(odd) {
  background: rgba(255, 255, 255, 0.012);
}

.section::before {
  content: "";
  position: absolute;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(210, 174, 109, 0.08), transparent 68%);
  pointer-events: none;
  right: -18rem;
  top: 12%;
  transform: translate3d(0, 0, 0);
  animation: ambientGlow 16s ease-in-out infinite alternate;
}

.section-heading,
.portfolio-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px;
  margin-bottom: 64px;
}

.section-heading p:not(.eyebrow),
.portfolio-heading > p {
  max-width: 470px;
  color: var(--muted);
  font-size: 1rem;
}

.benefit-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card,
.mini-card,
.testimonial {
  border: 1px solid rgba(228, 196, 136, 0.12);
  background:
    linear-gradient(180deg, rgba(228, 196, 136, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(12, 12, 12, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, background 0.32s ease;
}

.feature-card:hover,
.mini-card:hover,
.testimonial:hover,
.solution-item:hover {
  transform: translateY(-6px);
  border-color: rgba(228, 196, 136, 0.38);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32), var(--glow);
}

.feature-card {
  min-height: 250px;
  padding: 38px 34px;
}

.feature-card span,
.process-list span {
  color: var(--champagne);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin-top: 38px;
  font-family: "Playfair Display", serif;
  font-size: 1.72rem;
  font-weight: 600;
}

.feature-card p,
.mini-card p,
.solution-item p,
.testimonial p,
.faq-item p,
.about-copy p,
.process-list p,
.final-cta p,
.footer p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 96px;
  align-items: start;
}

.about-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
}

.about-content h2 {
  max-width: 620px;
  font-size: clamp(1.85rem, 3.2vw, 3.05rem);
  line-height: 1.12;
}

.about-copy {
  max-width: 650px;
  margin-top: 28px;
  font-size: 1.02rem;
  line-height: 1.86;
}

.about-copy p {
  margin-bottom: 16px;
}

.about-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 0.82;
  overflow: hidden;
  border: 1px solid rgba(228, 196, 136, 0.2);
  background: rgba(12, 12, 12, 0.72);
  box-shadow: 0 30px 86px rgba(0, 0, 0, 0.34), 0 0 42px rgba(210, 174, 109, 0.08);
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 1;
  border: 1px solid rgba(228, 196, 136, 0.16);
  pointer-events: none;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.34));
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform-origin: 62% 46%;
  transition: transform 1.2s ease, filter 1.2s ease;
}

.about-visual:hover img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.03);
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.about-highlights li {
  padding: 11px 14px;
  border: 1px solid rgba(228, 196, 136, 0.14);
  background: rgba(228, 196, 136, 0.045);
  color: rgba(247, 241, 231, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

.portfolio {
  padding: 150px 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.2), rgba(5, 5, 5, 0.76)),
    radial-gradient(circle at 20% 0%, rgba(210, 174, 109, 0.14), transparent 34%),
    radial-gradient(circle at 92% 78%, rgba(228, 196, 136, 0.07), transparent 24rem),
    #050505;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr) minmax(0, 0.88fr);
  grid-auto-rows: 230px;
  gap: clamp(12px, 1.7vw, 22px);
}

.portfolio-card {
  display: block;
  position: relative;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(228, 196, 136, 0.14);
  appearance: none;
  background: var(--panel);
  color: inherit;
  font: inherit;
  text-align: left;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  transition: border-color 0.36s ease, box-shadow 0.36s ease, transform 0.36s ease;
}

.portfolio-card::after,
.portfolio-full-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.04), rgba(5, 5, 5, 0.28)),
    rgba(5, 5, 5, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  border-color: rgba(228, 196, 136, 0.42);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.42), var(--glow);
  outline: none;
}

.portfolio-card-large {
  grid-row: span 2;
  grid-column: span 1;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1), filter 1.15s ease;
}

.portfolio-card:hover img,
.portfolio-card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.04) brightness(0.88);
}

.portfolio-card:hover::after,
.portfolio-card:focus-visible::after,
.portfolio-full-card:hover::after,
.portfolio-full-card:focus-visible::after {
  opacity: 1;
}

.portfolio-action {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.portfolio-action .btn {
  min-width: 220px;
  min-height: 50px;
  border-color: rgba(228, 196, 136, 0.56);
  background: rgba(210, 174, 109, 0.1);
  color: var(--champagne);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
}

.solution-list {
  display: grid;
  gap: 14px;
  border-top: 0;
}

.solution-item {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 52px;
  padding: 30px 32px;
  border: 1px solid rgba(228, 196, 136, 0.1);
  background: linear-gradient(90deg, rgba(228, 196, 136, 0.045), rgba(255, 255, 255, 0.012));
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, background 0.32s ease;
}

.solution-item h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
}

.differential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mini-card {
  padding: 34px;
  min-height: 210px;
}

.mini-card h3 {
  color: var(--champagne);
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: transparent;
  border: 0;
}

.process-list::before {
  display: none;
}

.process-list li {
  position: relative;
  min-height: 260px;
  padding: 78px 24px 28px;
  border: 1px solid rgba(228, 196, 136, 0.11);
  background: rgba(12, 12, 12, 0.68);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.2);
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, background 0.32s ease;
}

.process-list li:hover {
  transform: translateY(-6px);
  border-color: rgba(228, 196, 136, 0.4);
  background: linear-gradient(180deg, rgba(228, 196, 136, 0.075), rgba(12, 12, 12, 0.76));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34), var(--glow);
}

.process-list h3 {
  margin-top: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.46rem;
  font-weight: 600;
}

.process-list span {
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(228, 196, 136, 0.32);
  background: #050505;
  border-radius: 999px;
  transition: color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.process-list li:hover span {
  color: #050505;
  border-color: var(--champagne);
  background: var(--champagne);
  box-shadow: var(--glow);
  transform: scale(1.06);
}

.testimonial {
  margin: 0;
  padding: 38px 34px 42px;
}

.testimonial p {
  font-family: "Playfair Display", serif;
  margin-top: 28px;
  font-size: 1.25rem;
  line-height: 1.48;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 1px solid rgba(228, 196, 136, 0.38);
  border-radius: 999px;
  object-fit: cover;
  background: rgba(5, 5, 5, 0.8);
  box-shadow: 0 0 0 4px rgba(228, 196, 136, 0.055);
}

.testimonial cite {
  display: block;
  color: var(--champagne);
  font-style: normal;
  font-weight: 700;
}

.testimonial-role {
  display: block;
  max-width: 250px;
  margin-top: 2px;
  color: rgba(247, 241, 231, 0.62);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--champagne);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.rating strong {
  color: var(--text);
  letter-spacing: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid rgba(228, 196, 136, 0.12);
  background: rgba(12, 12, 12, 0.74);
  transition: border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(228, 196, 136, 0.34);
  box-shadow: var(--glow);
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  padding: 24px 60px 24px 26px;
  color: var(--text);
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 26px;
  top: 50%;
  color: var(--champagne);
  font-size: 1.4rem;
  font-weight: 400;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.28s ease, color 0.28s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  transition: max-height 0.32s ease, padding-bottom 0.32s ease;
}

.faq-item[open] p {
  padding-bottom: 26px;
}

.final-cta {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(210, 174, 109, 0.16), transparent 28rem),
    linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.72)),
    url("assets/hero-lumina.jpg") center / cover;
  background-attachment: fixed;
}

.final-cta-inner {
  max-width: 820px;
  text-align: center;
}

.final-cta h2,
.final-cta p {
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  max-width: 620px;
  margin-top: 22px;
  margin-bottom: 32px;
}

.footer {
  padding: 62px 0;
  border-top: 1px solid rgba(228, 196, 136, 0.12);
  background: #030303;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 44px;
}

.footer p {
  margin: 0;
}

.footer-copy {
  display: grid;
  gap: 8px;
  max-width: 520px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 0.96rem;
}

.footer-links a:hover {
  color: var(--champagne);
}

.footer-credit {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(228, 196, 136, 0.1);
  font-size: 0.82rem;
}

.footer-credit a {
  color: rgba(247, 241, 231, 0.46);
  transition: color 0.24s ease;
}

.footer-credit a:hover {
  color: var(--champagne);
}

.portfolio-page {
  min-height: 100svh;
  padding: 150px 0 100px;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.82)),
    radial-gradient(circle at 16% 0%, rgba(210, 174, 109, 0.13), transparent 28rem),
    radial-gradient(circle at 82% 28%, rgba(228, 196, 136, 0.07), transparent 24rem),
    var(--black);
}

.portfolio-page .portfolio-heading {
  margin-bottom: 56px;
}

.portfolio-page h1 {
  font-size: clamp(2.25rem, 4.2vw, 4.1rem);
  line-height: 1.1;
}

.back-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--champagne);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.24s ease, transform 0.24s ease;
}

.back-link:hover {
  color: var(--text);
  transform: translateX(-3px);
}

.portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 120px;
  gap: clamp(12px, 1.45vw, 20px);
}

.portfolio-full-card {
  display: block;
  position: relative;
  grid-column: span 4;
  grid-row: span 3;
  width: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(228, 196, 136, 0.14);
  appearance: none;
  background: var(--panel);
  color: inherit;
  font: inherit;
  text-align: left;
  box-shadow: 0 24px 78px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: border-color 0.32s ease, box-shadow 0.32s ease, transform 0.32s ease;
}

.portfolio-full-card:nth-child(1),
.portfolio-full-card:nth-child(8) {
  grid-column: span 6;
  grid-row: span 4;
}

.portfolio-full-card:nth-child(4),
.portfolio-full-card:nth-child(11) {
  grid-column: span 5;
}

.portfolio-full-card:nth-child(6),
.portfolio-full-card:nth-child(13) {
  grid-column: span 7;
  grid-row: span 4;
}

.portfolio-full-card img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1), filter 1.15s ease;
}

.portfolio-full-card:hover,
.portfolio-full-card:focus-visible {
  border-color: rgba(228, 196, 136, 0.42);
  box-shadow: 0 30px 92px rgba(0, 0, 0, 0.36), var(--glow);
  outline: none;
}

.portfolio-full-card:hover img,
.portfolio-full-card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.04) brightness(0.88);
}

.portfolio-final-cta {
  margin-top: 70px;
  padding: 54px;
  border: 1px solid rgba(228, 196, 136, 0.14);
  background: linear-gradient(135deg, rgba(228, 196, 136, 0.08), rgba(255, 255, 255, 0.018));
  text-align: center;
}

.portfolio-final-cta h2,
.portfolio-final-cta p {
  margin-left: auto;
  margin-right: auto;
}

.portfolio-final-cta p {
  max-width: 620px;
  color: var(--muted);
}

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(0.96);
}

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 72px 84px;
  background: rgba(5, 5, 5, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox-frame {
  width: min(100%, 1040px);
  margin: 0;
}

.lightbox-frame img {
  width: 100%;
  max-height: min(78vh, 760px);
  object-fit: contain;
  border: 1px solid rgba(228, 196, 136, 0.22);
  background: #050505;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.58), var(--glow);
}

.lightbox-frame figcaption {
  margin-top: 16px;
  color: rgba(247, 241, 231, 0.78);
  text-align: center;
  font-size: 0.94rem;
}

.lightbox-frame figcaption:empty {
  display: none;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(228, 196, 136, 0.28);
  background: rgba(5, 5, 5, 0.72);
  color: var(--champagne);
  cursor: pointer;
  transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  border-color: var(--champagne);
  background: rgba(210, 174, 109, 0.14);
  outline: none;
  transform: translateY(-2px);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 52px;
  height: 52px;
  font-size: 2.6rem;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  transform: translateY(calc(-50% - 2px));
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.floating-social {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: grid;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-social.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.nav-open .floating-social {
  opacity: 0;
  pointer-events: none;
}

.floating-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(228, 196, 136, 0.32);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.66);
  color: var(--champagne);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.floating-button:hover {
  transform: translateY(-4px);
  border-color: var(--champagne);
  background: rgba(210, 174, 109, 0.16);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.44), var(--glow);
}

.floating-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-button:first-child svg path {
  fill: none;
}

@keyframes heroImageDrift {
  to {
    transform: scale(1.08) translate3d(1.2%, -1%, 0);
  }
}

@keyframes ambientGlow {
  to {
    transform: translate3d(-6%, 5%, 0);
  }
}

@media (max-width: 1040px) {
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-header.is-open {
    background: var(--black);
    backdrop-filter: none;
  }

  .nav-links {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 46;
    justify-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 12px min(28px, 6vw) calc(26px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: var(--black);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 20px 6px;
    font-size: 1.16rem;
    font-weight: 600;
    color: rgba(247, 241, 231, 0.9);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a.is-active {
    color: var(--champagne);
  }

  .nav-links a:not(.nav-links-cta) + a:not(.nav-links-cta) {
    border-top: 1px solid rgba(228, 196, 136, 0.12);
  }

  .nav-links a.nav-links-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    margin-bottom: 4px;
    min-height: 54px;
    padding: 0 20px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: var(--black);
    font-weight: 700;
    font-size: 0.95rem;
  }

  .section-heading,
  .portfolio-heading,
  .split,
  .about-layout {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
    gap: 24px;
  }

  .about-visual {
    aspect-ratio: 16 / 10;
  }

  .lightbox {
    padding: 76px 68px;
  }

  .benefit-grid,
  .testimonial-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list::before {
    display: none;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 240px;
  }

  .portfolio-full-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 118px;
  }

  .portfolio-card-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .portfolio-full-card,
  .portfolio-full-card:nth-child(1),
  .portfolio-full-card:nth-child(4),
  .portfolio-full-card:nth-child(6),
  .portfolio-full-card:nth-child(8),
  .portfolio-full-card:nth-child(11),
  .portfolio-full-card:nth-child(13) {
    grid-column: span 3;
    grid-row: span 3;
  }
}

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

  .container,
  .nav {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav {
    height: 74px;
    min-height: 74px;
    grid-template-columns: auto auto;
  }

  .nav-links {
    top: 74px;
  }

  .brand-logo {
    width: 128px;
    max-height: 48px;
  }

  .hero {
    min-height: auto;
    padding: 126px 0 64px;
  }

  .hero-content {
    margin-left: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.42), rgba(5, 5, 5, 0.97) 62%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.32));
  }

  h1 {
    font-size: clamp(2.28rem, 10.8vw, 3.3rem);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.12;
  }

  .hero-text,
  .about-copy {
    font-size: 1rem;
    line-height: 1.78;
  }

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

  .hero-highlights,
  .benefit-grid,
  .testimonial-grid,
  .differential-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .hero-highlights li {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .section,
  .portfolio {
    padding: 92px 0;
  }

  .section-heading,
  .portfolio-heading {
    margin-bottom: 46px;
  }

  .feature-card {
    min-height: auto;
    padding: 28px;
  }

  .portfolio-card,
  .portfolio-card img {
    min-height: 0;
  }

  .solution-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 26px 24px;
  }

  .about-visual {
    width: 100%;
    margin-top: 34px;
    aspect-ratio: 4 / 3;
  }

  .final-cta {
    padding: 110px 0;
    background-attachment: scroll;
  }

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

  .portfolio-page {
    padding: 118px 0 76px;
  }

  /* Mosaico "escadinha" no mobile: colunas com imagens de tamanhos diferentes,
     mesma ideia do bento do desktop. column-count faz o empilhamento sem deixar
     buracos de grid; alguns cards ocupam a largura toda (column-span) para variar
     também a largura, e alturas alternadas criam o degrau entre as colunas. */
  .portfolio-grid,
  .portfolio-full-grid {
    display: block;
    column-count: 2;
    column-gap: 12px;
    grid-template-columns: none;
    grid-auto-rows: auto;
  }

  .portfolio-card,
  .portfolio-full-card {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    break-inside: avoid;
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 3 / 4;
  }

  .portfolio-full-card:nth-child(2n),
  .portfolio-card:nth-child(2n) {
    aspect-ratio: 1 / 1;
  }

  .portfolio-full-card:nth-child(4n + 3),
  .portfolio-card:nth-child(4n + 3) {
    aspect-ratio: 9 / 16;
  }

  .portfolio-card-large,
  .portfolio-full-card:nth-child(1),
  .portfolio-full-card:nth-child(8) {
    column-span: all;
    aspect-ratio: 16 / 10;
    margin-bottom: 12px;
  }

  .portfolio-final-cta {
    padding: 36px 24px;
  }

  .lightbox {
    padding: 74px 14px 32px;
  }

  .lightbox-frame img {
    max-height: 70vh;
  }

  .lightbox-frame figcaption {
    padding: 0 48px;
    font-size: 0.86rem;
  }

  .lightbox-close {
    top: 16px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 20px;
    width: 44px;
    height: 44px;
    font-size: 2.1rem;
    transform: none;
  }

  .lightbox-nav:hover,
  .lightbox-nav:focus-visible {
    transform: translateY(-2px);
  }

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }

  .floating-social {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .floating-button {
    width: 48px;
    height: 48px;
  }

  .floating-button svg {
    width: 21px;
    height: 21px;
  }
}

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