/* ═══════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════ */
:root {
  --bg: #ffffff;
  --fg: #0f0f0f;
  --muted: #666666;
  --border: #ebebeb;
  --accent: #247bff;
  --accent-fg: #ffffff;
  --font-heading: "Inter", sans-serif;
  --font-serif: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
}

/* ═══════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* prevent any accidental horizontal overflow */
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden; /* Fix responsividade: previne scroll horizontal */
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

/* ═══════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════ */
.section-padding {
  padding-left: clamp(2rem, 4vw, 4rem);
  padding-right: clamp(2rem, 4vw, 4rem);
}

.section-padding .title-lg {
  line-height: 1.1;
}

.section-padding .body-text {
  line-height: 1.3;
}

.section-spacing {
  padding-top: clamp(3rem, 6vw, 3rem);
  padding-bottom: clamp(3rem, 6vw, 3rem);
}

.border-top {
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════ */
.label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.label-sm {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.title-xl {
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 0.95;
  font-size: clamp(2.5rem, 10vw, 7rem);
}
.title-lg {
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--fg);
  max-width: 90%;
}
.body-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.accent {
  color: var(--accent);
}
.accent-text {
  color: var(--accent);
  font-weight: 600;
}
.link-nav {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.link-nav:hover {
  color: var(--fg);
}

/* ═══════════════════════════════════════════════
   BUTTONS & LANGUAGE SWITCHER
   ═══════════════════════════════════════════════ */
.btn-primary {
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s;
}
.btn-primary:hover {
  background: rgba(0, 0, 0, 0.72);
}
.btn-primary.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.75rem;
}

.btn-outline {
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.3s;
}
.btn-outline:hover {
  border-color: var(--fg);
}

/* LANGUAGE SWITCHER CSS */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.lang-btn {
  font-family: var(--font-heading, "Inter", sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted, #666666);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.lang-btn:hover {
  color: var(--fg, #0f0f0f);
}

.lang-btn.active {
  color: var(--bg, #ffffff);
  background: var(--fg, #0f0f0f);
}

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition:
    background 0.5s,
    border-color 0.5s,
    backdrop-filter 0.5s;
}
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
#site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 5rem;
}
@media (max-width: 767px) {
  #site-header nav {
    height: 4rem;
    padding: 0 1.5rem;
  }
}
.logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-left: auto;
  margin-right: 1.5rem;
}
@media (max-width: 767px) {
  .nav-links {
    display: none;
    margin-left: auto;
    margin-right: 1.5rem;
  }
}

/* Envolve o switcher de idioma e o botão de menu mobile */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
@media (max-width: 767px) {
  .header-actions {
    gap: 1rem;
  }
  .lang-btn {
    padding: 0.25rem 0.4rem;
    font-size: 0.7rem;
  }
  #site-header nav {
    padding: 0 1rem; /* Dá um pouco mais de respiro em telas pequenas */
  }
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--fg);
  transition: transform 0.3s;
}
.menu-toggle.open span:first-child {
  transform: rotate(45deg) translateY(3.5px);
}
.menu-toggle.open span:last-child {
  transform: rotate(-45deg) translateY(-3.5px);
}
@media (max-width: 767px) {
  .menu-toggle {
    display: flex;
  }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.mobile-menu {
  position: relative;
}

@media (max-width: 767px) {
  /* Make mobile menu an overlay panel aligned to the right and bounded by margins */
  .mobile-menu {
    position: absolute;
    top: calc(100% + 0.25rem);
    right: 1rem;
    left: auto;
    z-index: 9999; /* ensure it sits above header and other elements */
    width: calc(100% - 2rem);
    max-width: 360px;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: var(--bg);
    pointer-events: auto; /* ensure it receives touch/clicks */
  }
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}
.mobile-cta {
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
#hero {
  display: flex;
  flex-direction: column;
  padding-bottom: 4rem;
  padding-top: 8rem;
  text-align: center;
  align-items: center;
}
.hero-inner {
  max-width: 72rem;
}
.hero-sub {
  margin-top: 2.5rem;
  line-height: 1.4;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ═══════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════ */
.marquee-bar {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  background: var(--fg);
}
.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  min-width: 200%;
  animation: marquee 25s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  margin: 0 1.5rem;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ═══════════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════════ */
.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
}
.portfolio-header .title-lg {
  font-size: 3rem;
}
@media (max-width: 767px) {
  .portfolio-header .title-lg {
    font-size: 1.875rem;
  }
}
.portfolio-tagline {
  display: block;
  max-width: 18rem;
  text-align: right;
  font-size: 0.875rem;
}
@media (max-width: 767px) {
  .portfolio-tagline {
    display: none;
  }
}

/* Mobile: place tagline under title and add small margins to portfolio images */
@media (max-width: 767px) {
  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  .portfolio-tagline {
    display: block;
    max-width: 100%;
    text-align: left;
    font-size: 0.9rem;
    margin-top: 0.25rem;
  }

  /* Add small horizontal padding so images don't touch edges */
  .project-list {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    gap: 0.75rem;
  }
  .project-card {
    min-height: 11rem;
  }
}

.project-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  aspect-ratio: 1 / 1;
  min-height: auto;
  cursor: pointer;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.project-card::before {
  /* remove colored overlay used previously; keep transparent to avoid layout shifts */
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  transition: none;
  pointer-events: none;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 15, 15, 0.12);
}
.project-card::after {
  /* hide the plus/text that appeared on hover */
  display: none;
}
.project-card figure {
  overflow: hidden;
  height: 100%;
}
.project-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s ease;
}
.project-card:hover figure img {
  transform: scale(1.06);
  opacity: 1; /* keep full color; only a slight zoom on hover */
}
.project-meta,
.meta-line,
.project-title,
.project-link {
  /* project metadata removed — styles kept intentionally blank for backward compatibility */
  display: none;
}
.arrow {
  display: inline-block;
  transition: transform 0.3s;
}

@media (max-width: 1023px) {
  .project-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-card {
    min-height: 12rem;
  }
}
@media (max-width: 540px) {
  .project-list {
    grid-template-columns: 1fr;
  }
  .project-card {
    min-height: 9rem;
  }
  .project-info {
    padding: 1rem;
  }
  .project-title {
    font-size: 1.5rem;
  }
}
.project-card:hover .arrow {
  transform: translateX(8px);
}

/* Limit visible portfolio items: show only first 8 by default, 6 on mobile */
.project-list .project-card:nth-child(n + 9) {
  display: none;
}
@media (max-width: 767px) {
  .project-list .project-card:nth-child(n + 7) {
    display: none;
  }
}

/* Desktop: add lateral breathing so portfolio images don't touch screen edges */
@media (min-width: 1024px) {
  .project-list {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    gap: 1.25rem;
  }
}

/* ═══════════════════════════════════════════════
   STATS & CLIENTS
   ═══════════════════════════════════════════════ */
.bg-dark {
  background: var(--fg);
}
.clients-label {
  color: rgba(255, 255, 255, 0.4) !important;
  text-align: center;
  margin-bottom: 2.5rem;
}
.clients-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
}
.clients-list span {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.3s;
  cursor: default;
}
.clients-list span:hover {
  color: var(--accent);
}

/* Clients marquee (uppercase, grey, sliding like the top marquee but without dots) */
.clients-marquee {
  overflow: hidden;
  width: 100%;
}
.clients-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  min-width: 200%;
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.clients-track span {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  margin: 0 2rem;
  font-weight: 700;
  cursor: default;
}

/* Keep hover subtle color but prefer grey as requested */
.clients-track span:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 0.25rem;
  max-width: 80rem;
  margin: 0 auto;
  align-items: center;
}
@media (max-width: 767px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
.about-photo {
  /* container for stacked photos */
}
.photo-wrap {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin-top: 2rem;
  display: block;
}
.photo-wrap .photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
  transition: opacity 300ms ease;
}
.photo-wrap .photo-main {
  position: relative;
  z-index: 1;
}
.photo-wrap .photo-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none; /* allow hover to pass through to main image */
}

/* Swap images only when hovering the main image itself */
.photo-wrap .photo-main:hover {
  opacity: 0;
}
.photo-wrap .photo-main:focus + .photo-hover,
.photo-wrap .photo-main:hover + .photo-hover {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .photo-wrap .photo {
    transition: none;
  }
  .photo-wrap .photo-hover,
  .photo-wrap .photo-main {
    opacity: 1;
  }
}
.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-title {
  font-size: 3rem;
  margin-bottom: 2rem;
  line-height: 1.15;
}
@media (max-width: 1023px) {
  .about-title {
    font-size: 2.25rem;
  }
}
@media (max-width: 767px) {
  .about-title {
    font-size: 1.875rem;
  }
}
.about-text .body-text {
  max-width: 28rem;
  margin-bottom: 1.5rem;
}
.specialties {
  margin-top: 1rem;
}
.specialties .label-sm {
  margin-bottom: 1rem;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border);
  transition:
    background 0.3s,
    color 0.3s;
  cursor: default;
}
.tag:hover {
  background: var(--fg);
  color: var(--bg);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
}
.contact-email {
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 4.5rem;
  line-height: 1.15;
  display: block;
  margin-top: 1.5rem;
  transition: color 0.3s;
}
.contact-email:hover {
  color: var(--accent);
}
@media (max-width: 1023px) {
  .contact-email {
    font-size: 3rem;
  }
}
@media (max-width: 767px) {
  .contact-email {
    font-size: 1.875rem;
  }
}
.mobile-break {
  display: none;
}
@media (max-width: 767px) {
  .mobile-break {
    display: inline;
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 5rem;
}
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-grid .label-sm {
  margin-bottom: 0.75rem;
}
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.social-links a {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  transition: color 0.3s;
}
.social-links a:hover {
  color: var(--accent);
}
.footer-text {
  font-family: var(--font-heading);
  font-size: 0.875rem;
}
.footer-text.muted {
  color: var(--muted);
  margin-top: 0.25rem;
}
.availability {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.footer-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  gap: 0.5rem;
}
.footer-bottom p {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════
   PROJECT DETAIL
   ═══════════════════════════════════════════════ */
.project-detail {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  overflow-y: auto;
}
.project-detail.hidden {
  display: none;
}
#detail-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
#detail-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 5rem;
}
@media (max-width: 767px) {
  #detail-header nav {
    padding: 0 1.5rem;
    height: 4rem;
  }
}
.detail-hero {
  width: 100%;
  height: 70vh;
  overflow: hidden;
}
@media (max-width: 767px) {
  .detail-hero {
    height: 50vh;
  }
}
.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-title {
  padding: 4rem 3rem;
}
@media (max-width: 767px) {
  .detail-title {
    padding: 3rem 1.5rem;
  }
}
.detail-title h1 {
  font-size: 4.5rem;
}
@media (max-width: 1023px) {
  .detail-title h1 {
    font-size: 3.75rem;
  }
}
@media (max-width: 767px) {
  .detail-title h1 {
    font-size: 2.5rem;
  }
}
.tech-sheet {
  padding: 2rem 3rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 48rem;
}
@media (max-width: 767px) {
  .tech-sheet {
    padding: 2rem 1.5rem;
  }
}
@media (max-width: 639px) {
  .tech-sheet {
    grid-template-columns: 1fr;
  }
}
.tech-sheet dt {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.tech-sheet dd {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
}
.detail-description {
  padding: 5rem 3rem;
  max-width: 48rem;
}
@media (max-width: 767px) {
  .detail-description {
    padding: 4rem 1.5rem;
  }
}
.detail-description p.context-label {
  margin-bottom: 1rem;
}
.detail-description p.context-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.7;
  font-style: italic;
}
@media (max-width: 767px) {
  .detail-description p.context-text {
    font-size: 1.25rem;
  }
}
.detail-full-image {
  padding: 0 3rem 4rem;
}
@media (max-width: 767px) {
  .detail-full-image {
    padding: 0 1.5rem 4rem;
  }
}
.detail-full-image img {
  width: 100%;
  object-fit: cover;
}
.next-project {
  border-top: 1px solid var(--border);
  padding: 5rem 3rem;
  cursor: pointer;
}
@media (max-width: 767px) {
  .next-project {
    padding: 4rem 1.5rem;
  }
}
.next-project h2 {
  font-size: 3rem;
  transition: color 0.3s;
}
@media (max-width: 767px) {
  .next-project h2 {
    font-size: 1.875rem;
  }
}
.next-project:hover h2 {
  color: var(--accent);
}
.back-button {
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
}
@media (max-width: 767px) {
  .back-button {
    padding: 2rem 1.5rem;
  }
}

/* ═══════════════════════════════════════════════
   COMO AJUDAR / SERVIÇOS
   ═══════════════════════════════════════════════ */
#servicos {
  padding: 5rem 0 4rem;
  background: white;
}
.servicos-header {
  display: none;
}
.servicos-content {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
  align-items: start;
  max-width: 96rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 3rem;
}
@media (max-width: 767px) {
  .servicos-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
  }
}
.servicos-left {
  display: grid;
  gap: 1.5rem;
}
.servicos-left .label {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.servicos-left .title-lg {
  margin: 0;
  font-size: clamp(2.2rem, 2.8vw, 3.6rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
  font-family: var(--font-serif);
}
.servicos-left .body-text {
  /* max-width: 620px; */
  max-width: 85%;
  margin: 0 0 2.5rem;
  color: var(--muted);
  opacity: 0.95;
  line-height: 1.7;
  font-size: 1rem;
}
.servicos-left .btn-primary {
  border-radius: 4px;
  width: fit-content;
  padding: 1rem 2rem;
  align-self: flex-start;
}
.servicos-right {
  display: grid;
  gap: 1.5rem;
}
.servicos-stat {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(16, 16, 16, 0.04);
  min-height: 260px;
  display: grid;
  gap: 1.25rem;
}
.servicos-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  color: var(--fg);
  line-height: 0.9;
  letter-spacing: -0.07em;
  margin: 0;
}
.servicos-percent {
  font-size: 1.2rem;
  color: var(--accent);
  margin-left: 0;
  vertical-align: baseline;
}
.servicos-stat .servicos-text {
  margin: 0;
  color: var(--muted);
  opacity: 0.85;
  line-height: 1.7;
  font-size: 0.95rem;
}
.servicos-stat .servicos-text strong {
  color: var(--fg);
  font-weight: 600;
}
.servicos-highlight {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.35rem 1.75rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 30px 80px rgba(16, 16, 16, 0.04);
}
.highlight-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.servicos-highlight-text {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.servicos-list {
  border: none;
  display: grid;
  gap: 0.85rem;
  max-width: 96rem;
  margin: 0 auto;
  padding: 0 3rem;
}
@media (max-width: 767px) {
  .servicos-list {
    padding: 0 1.5rem;
  }
}
.servicos-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  color: var(--fg);
  font-weight: 700;
  cursor: default;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.servicos-item:hover {
  background: rgba(255, 69, 0, 0.02);
  border-color: var(--accent);
}
.servicos-item-number {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.servicos-item-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
  transition: color 0.3s;
}
.servicos-item:hover .servicos-item-title {
  color: var(--accent);
}
.servicos-item-toggle {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s;
  flex-shrink: 0;
}
.servicos-item:hover .servicos-item-toggle {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* ═══════════════════════════════════════════════
   REVEAL ANIMATION
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════ */
.hidden {
  display: none;
}

/* ═══════════════════════════════════════════════
       LIGHTBOX
       ═══════════════════════════════════════════════ */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}
.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}
.close-lightbox {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.project-card {
  cursor: zoom-in !important;
}

/* ═══════════════════════════════════════════════
   ENHANCED FLUIDITY & ANIMATIONS
   ═══════════════════════════════════════════════ */
.btn-primary,
.btn-outline,
.cv-back-button {
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.btn-primary:hover,
.btn-outline:hover,
.cv-back-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.servicos-item {
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.servicos-item:hover {
  transform: translateX(8px);
  box-shadow: -4px 10px 25px rgba(0, 0, 0, 0.05);
}

.social-links a {
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
  display: inline-block;
}
.social-links a:hover {
  transform: translateY(-3px);
}

.contact-email {
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
  display: inline-block;
}
.contact-email:hover {
  transform: scale(1.02) translateX(4px);
}

.link-nav {
  position: relative;
}
.link-nav::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.link-nav:hover::after {
  width: 100%;
}

.logo {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: inline-block;
}
.logo:hover {
  transform: scale(1.05);
}

/* Padronização do arredondamento dos botões solicitada (4px) */
.btn-primary,
.btn-outline,
.cv-back-button,
.lang-btn,
.contact-email {
  border-radius: 4px !important;
}
