/* ==========================================================
   LUPA VISUAL 3D — style.css

   COMO PERSONALIZAR A IDENTIDADE VISUAL:
   Altere apenas as variáveis em :root abaixo.
   Não é necessário tocar no restante do arquivo.
   • Cor de destaque (CTAs, links ativos): --color-accent
   • Tipografia: troque os nomes das fontes em --font-heading / --font-body
     (lembre de atualizar o link do Google Fonts no <head> de cada página)
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Cores */
  --color-bg:          #FFFFFF;
  --color-bg-alt:      #F7F6F4;
  --color-bg-dark:     #111111;
  --color-text:        #1A1A1A;
  --color-text-muted:  #6B6B6B;
  --color-border:      #E8E6E1;

  /* Destaque — troque aqui para mudar a cor dos CTAs e ênfases */
  --color-accent:      #C87941;
  --color-accent-dark: #A5612F;
  --color-accent-tint: #FFF2E8;

  /* Tipografia */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Escala tipográfica */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Layout */
  --container-max: 1280px;
  --container-pad: 2rem;
  --header-h:      72px;
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     16px;

  /* Animações */
  --transition-fast: 120ms ease;
  --transition-base: 240ms ease;
  --transition-slow: 380ms ease;

  /* Sombras */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.13);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.17);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ── UTILITIES ──────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.section       { padding: 5rem 0; }
.section--alt  { background: var(--color-bg-alt); }
.section--dark { background: var(--color-bg-dark); color: #fff; }

.section__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.625rem;
}

.section__title {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  margin-bottom: 1rem;
}

.section__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 580px;
  line-height: 1.75;
}

.section__header { margin-bottom: 3.5rem; }
.text-center { text-align: center; }
.text-center .section__sub { margin: 0 auto; }

/* ── BOTÕES ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline { border: 1.5px solid var(--color-accent); color: var(--color-accent); }
.btn--outline:hover { background: var(--color-accent); color: #fff; }

.btn--outline-light {
  border: 1.5px solid rgba(255,255,255,0.55);
  color: rgba(255,255,255,0.9);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}

.btn--lg { padding: 1.0625rem 2.375rem; font-size: var(--text-base); }

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* Logo wordmark — para trocar por imagem: substitua o <span> abaixo
   por <img src="assets/images/logo.svg" alt="Lupa Visual 3D">
   (há um segundo ponto de troca idêntico no footer) */
.logo { display: inline-flex; align-items: center; }
.logo__image {
  display: block;
  height: 32px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}
.logo__image--dark { filter: none; }
.logo__image--light { filter: brightness(0) invert(1); }
.logo__text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--color-text);
  line-height: 1;
}
.logo__accent { color: var(--color-accent); }
.logo__3d {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  vertical-align: super;
  margin-left: 3px;
}

/* Nav */
.nav__list { display: flex; align-items: center; gap: 2.5rem; }
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
  position: relative;
  padding: 4px 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transition: width var(--transition-base);
}
.nav__link:hover,
.nav__link.active { color: var(--color-text); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.header__cta { display: flex; align-items: center; gap: 0.875rem; }

/* Hambúrguer — mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-right: -8px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 580px;
  max-height: 920px;
  overflow: hidden;
}

.hero__slides { position: relative; width: 100%; height: 100%; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero__slide.active { opacity: 1; }

.hero__slide-bg { width: 100%; height: 100%; object-fit: cover; }

/* Gradientes de fallback quando as imagens ainda não existem */
.hero__slide--p1 { background: linear-gradient(145deg, #1c1b18 0%, #2a2520 100%); }
.hero__slide--p2 { background: linear-gradient(145deg, #101418 0%, #151c25 100%); }
.hero__slide--p3 { background: linear-gradient(145deg, #181210 0%, #251a14 100%); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.68) 30%,
    rgba(0,0,0,0.22) 70%,
    rgba(0,0,0,0.04) 100%
  );
  z-index: 1;
}

.hero__content {
  position: absolute;
  top: var(--header-h);
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero__text { max-width: 680px; color: #fff; }

.hero__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.125rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.hero__sub {
  font-size: clamp(var(--text-base), 1.5vw, var(--text-xl));
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.hero__nav {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-base);
}
.hero__dot.active {
  background: var(--color-accent);
  width: 24px;
  border-radius: 4px;
}

.hero__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-base);
}
.hero__arrow:hover { background: rgba(255,255,255,0.25); }
.hero__arrow--prev { left: 1.75rem; }
.hero__arrow--next { right: 1.75rem; }

/* ── PROPOSTA DE VALOR ──────────────────────────────────────── */
.value-prop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.value-prop__item { text-align: center; }
.value-prop__icon {
  width: 56px; height: 56px;
  margin: 0 auto 1.125rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-accent-tint);
  border-radius: var(--radius-md);
}
.value-prop__icon svg { width: 26px; height: 26px; stroke: var(--color-accent); fill: none; }
.value-prop__title { font-size: var(--text-lg); font-weight: 600; margin-bottom: 0.5rem; }
.value-prop__desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.75; }

/* ── GRID DE PORTFÓLIO ──────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
  cursor: pointer;
}
.project-card__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.project-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #232323 0%, #3a3a3a 100%);
}
.project-card__placeholder svg { width: 48px; height: 48px; stroke: rgba(255,255,255,0.18); fill: none; }
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.74) 40%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex; align-items: flex-end;
  padding: 1.5rem;
  z-index: 1;
}
.project-card:hover .project-card__overlay { opacity: 1; }
.project-card:hover .project-card__img { transform: scale(1.04); }
.project-card__info { color: #fff; }
.project-card__category {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}
.project-card__title { font-size: var(--text-lg); font-weight: 600; line-height: 1.2; }
.project-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Loading state do grid */
.portfolio-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ── CARDS DE SERVIÇOS ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  transition: all var(--transition-base);
}
.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-card__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-accent-tint);
  border-radius: var(--radius-sm);
  margin-bottom: 1.125rem;
}
.service-card__icon svg { width: 22px; height: 22px; stroke: var(--color-accent); fill: none; }
.service-card__title { font-size: var(--text-base); font-weight: 600; margin-bottom: 0.5rem; }
.service-card__desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; }

/* ── FAIXA CTA ──────────────────────────────────────────────── */
.cta-band {
  padding: 5.5rem 0;
  background: var(--color-bg-dark);
  color: #fff;
  text-align: center;
}
.cta-band__title {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  margin-bottom: 0.875rem;
}
.cta-band__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.58);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto; margin-right: auto;
  line-height: 1.65;
}
.cta-band__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── CLIENTES (seção oculta até ter logos) ──────────────────── */
.clients {
  padding: 4rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.clients__label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2.25rem;
}
.clients__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3.5rem;
}
.clients__logo {
  width: 110px;
  opacity: 0.4;
  filter: grayscale(1);
  transition: all var(--transition-base);
}
.clients__logo:hover { opacity: 0.65; filter: grayscale(0); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: #0d0d0d;
  color: rgba(255,255,255,0.65);
  padding: 4.5rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand .logo__text { color: #fff; }
.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.38);
  margin-top: 0.875rem;
  line-height: 1.65;
  max-width: 260px;
}
.footer__col-title {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.125rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.42);
  transition: color var(--transition-base);
}
.footer__link:hover { color: var(--color-accent); }
.footer__social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer__social-link {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition-base);
}
.footer__social-link:hover { border-color: var(--color-accent); color: var(--color-accent); }
.footer__social-link svg { width: 17px; height: 17px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.24);
}

/* ── HERO DE PÁGINAS INTERNAS ───────────────────────────────── */
.page-hero {
  padding: calc(var(--header-h) + 4.5rem) 0 4rem;
  background: var(--color-bg-alt);
}
.page-hero__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.page-hero__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  margin-bottom: 1rem;
}
.page-hero__sub {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ── SOBRE — PROCESSO ───────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.process-step {
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.process-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.process-step__num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: rgba(200,121,65,0.15);
  line-height: 1;
  margin-bottom: 0.875rem;
}
.process-step__title { font-size: var(--text-base); font-weight: 600; margin-bottom: 0.5rem; }
.process-step__desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; }

/* Tags de ferramentas */
.tools-grid { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.tool-tag {
  padding: 0.4375rem 0.9375rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  transition: border-color var(--transition-base);
}
.tool-tag:hover { border-color: var(--color-accent); }

/* Diferenciais */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.diferencial-item {
  padding: 2rem 1.5rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-accent);
}
.diferencial-item__title { font-size: var(--text-base); font-weight: 600; margin-bottom: 0.5rem; }
.diferencial-item__desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; }

/* ── PÁGINA DE SERVIÇOS ─────────────────────────────────────── */
.service-section { padding: 5rem 0; }
.service-section + .service-section { border-top: 1px solid var(--color-border); }

.service-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.service-section__grid.reverse { direction: rtl; }
.service-section__grid.reverse > * { direction: ltr; }

.service-section__visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.service-section__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-section__placeholder {
  width: 100%; height: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, #222 0%, #383838 100%);
  display: flex; align-items: center; justify-content: center;
}
.service-section__placeholder svg { width: 72px; height: 72px; stroke: rgba(255,255,255,0.12); fill: none; }

.service-section__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.service-section__title {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  margin-bottom: 1rem;
}
.service-section__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.service-section__features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.service-section__features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.service-section__features li::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ── FILTROS DO PORTFÓLIO ───────────────────────────────────── */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-base);
}
.filter-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.filter-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* ── PÁGINA DE PROJETO ──────────────────────────────────────── */
.project-hero { padding: calc(var(--header-h) + 3rem) 0 2.5rem; }
.project-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
}
.project-badge {
  padding: 0.25rem 0.875rem;
  background: var(--color-accent-tint);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.project-year { font-size: var(--text-sm); color: var(--color-text-muted); }

.project-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.project-gallery__main { grid-column: span 8; }
.project-gallery__side {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.project-gallery__img {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-bg-alt);
}
.project-gallery__main .project-gallery__img { aspect-ratio: 16 / 10; }
.project-gallery__side .project-gallery__img { flex: 1; min-height: 0; }
.project-gallery__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}
.project-gallery__img:hover img { transform: scale(1.02); }

.project-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.project-gallery__thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-bg-alt);
}
.project-gallery__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.project-gallery__thumb:hover img { transform: scale(1.04); }

/* ── LIGHTBOX ───────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.93);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  user-select: none;
}
.lightbox__close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: background var(--transition-base);
}
.lightbox__close:hover { background: rgba(255,255,255,0.22); }
.lightbox__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-base);
}
.lightbox__arrow:hover { background: rgba(255,255,255,0.22); }
.lightbox__arrow--prev { left: 1.25rem; }
.lightbox__arrow--next { right: 1.25rem; }
.lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%; transform: translateX(-50%);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}

/* ── CONTATO ────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5rem;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-label { font-size: var(--text-sm); font-weight: 500; }
.form-label .required { color: var(--color-accent); }

.form-input,
.form-textarea {
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  width: 100%;
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200,121,65,0.12);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(107,107,107,0.55); }
.form-success {
  padding: 1rem 1.25rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-sm);
  color: #166534;
  font-size: var(--text-sm);
  display: none;
}
.form-success.visible { display: block; }

.contact-info { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item__icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--color-accent-tint);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.contact-item__icon svg { width: 20px; height: 20px; stroke: var(--color-accent); fill: none; }
.contact-item__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
  display: block;
}
.contact-item__value { font-size: var(--text-base); font-weight: 500; color: var(--color-text); }
.contact-item__value a { transition: color var(--transition-base); }
.contact-item__value a:hover { color: var(--color-accent); }

/* ── ANIMAÇÕES DE REVEAL ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }

/* ── RESPONSIVO — 1024px ────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --container-pad: 1.75rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .service-section__grid { gap: 3rem; }
  .project-gallery__main { grid-column: span 7; }
  .project-gallery__side { grid-column: span 5; }
}

/* ── RESPONSIVO — 768px ─────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --container-pad: 1.25rem;
    --header-h: 64px;
  }

  .section { padding: 3.5rem 0; }

  /* Header mobile */
  .hamburger { display: flex; }
  .header__cta .btn { display: none; }

  .header__nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem var(--container-pad) 2rem;
    transform: translateY(-6px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
  }
  .header__nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .nav__link { font-size: var(--text-base); }

  /* Hero */
  .hero { height: 90svh; max-height: none; }
  .hero__arrow { display: none; }

  /* Grids */
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
  .services-grid { grid-template-columns: 1fr; }
  .value-prop__grid { grid-template-columns: 1fr; gap: 2rem; }
  .process-steps { grid-template-columns: 1fr; }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .service-section__grid,
  .service-section__grid.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Project gallery */
  .project-gallery {
    display: flex;
    flex-direction: column;
  }
  .project-gallery__side {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
  }
  .project-gallery__side .project-gallery__img {
    flex: 0 0 200px;
    height: 150px;
    min-height: unset;
  }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .cta-band__actions { flex-direction: column; align-items: center; }
}

/* ── RESPONSIVO — 480px ─────────────────────────────────────── */
@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .project-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
