/* ============================================================
   CARMOVIZ STUDIO — Main Stylesheet
   Paleta: #000000 (Black) · #C5A059 (Gold) · #0c0c0c (Graphite)
   Fontes: Montserrat (display) · Inter (body)
   ============================================================ */

:root {
  --navy:     #000000;
  --gold:     #C5A059;
  --graphite: #0c0c0c;
  --white:    #FFFFFF;
  --offwhite: #F8F9FA;
  --gray:     #9CA3AF;
  --border:   rgba(197,160,89,0.2);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Seleção de texto na cor da marca (dourado) em vez do azul padrão */
::selection      { background: rgba(197,160,89,0.85); color: #0a0a0a; }
::-moz-selection { background: rgba(197,160,89,0.85); color: #0a0a0a; }

button {
  background: none;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── TIPOGRAFIA ─────────────────────────────────────────── */

.t-display {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.t-caption {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gray);
}

.t-gold { color: var(--gold); }
.t-gray { color: var(--gray); }

/* ── CURSOR PERSONALIZADO ───────────────────────────────── */

@media (pointer: fine) {
  * { cursor: none !important; }
}

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.3s ease;
  will-change: left, top;
}
.cursor-dot.hover { width: 12px; height: 12px; background: rgba(197,160,89,0.55); }
.cursor-dot.hidden { opacity: 0; }

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 30px; height: 30px;
  border: 0.5px solid rgba(197,160,89,0.38);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  will-change: left, top;
}
.cursor-ring.hover { width: 50px; height: 50px; border-color: rgba(197,160,89,0.55); }
.cursor-ring.hidden { opacity: 0; }

/* ── TELA DE ENTRADA (PORTAL INTERATIVO) ────────────────── */

#entry-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(ellipse at 50% 42%, #121212 0%, #070707 62%, #030303 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 1.8s ease;
}
#entry-screen.exiting {
  opacity: 0;
  pointer-events: none;
}
#entry-screen.gone { display: none; }

#entry-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.entry-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  text-align: center;
  pointer-events: none;
  padding: 0 24px;
}

/* A marca e o indicador só aparecem depois que o giro 3D estabiliza (via .show) */
.entry-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(14px);
}
.entry-brand.show { animation: entryRise 1.3s cubic-bezier(0.22,0.61,0.36,1) forwards; }
.entry-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: clamp(2rem, 6.5vw, 3.8rem);
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: #fff;
}
.entry-brand-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(0.55rem, 1.4vw, 0.72rem);
  letter-spacing: 0.9em;
  text-indent: 0.9em;
  color: var(--gold);
}

.entry-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(14px);
}
.entry-scroll.show { animation: entryRise 1.2s cubic-bezier(0.22,0.61,0.36,1) forwards; }
.entry-scroll-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.entry-scroll-track {
  position: relative;
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, rgba(197,160,89,0.5), transparent);
  overflow: hidden;
}
.entry-scroll-dot {
  position: absolute;
  top: 0; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold);
  animation: entryScrollDot 1.6s ease-in-out infinite;
}

/* Ao entrar: o conteúdo se expande e some, indo para a home */
#entry-screen.exiting .entry-content {
  transform: scale(1.35);
  opacity: 0;
  transition: transform 1.9s cubic-bezier(0.33,0,0.2,1), opacity 1.5s ease;
}

@keyframes entryRise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes entryScrollDot {
  0%   { transform: translateY(-8px); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateY(46px); opacity: 0; }
}

/* ── MALHA GRÁFICA DO HERO (reativa ao scroll) ──────────── */

#hero-graphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(150px, 30vh, 300px);
  z-index: 1;
  pointer-events: none;
  display: block;
}

/* ── BOTÃO DE TEMA (claro / escuro) ─────────────────────── */

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0.5px solid var(--border);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--gold); border-color: rgba(197,160,89,0.6); }
.theme-ico { width: 16px; height: 16px; }
.theme-ico-sun { display: none; }
html[data-theme="light"] .theme-ico-moon { display: none; }
html[data-theme="light"] .theme-ico-sun  { display: block; }
.theme-toggle-mob { margin-top: 26px; }

@media (prefers-reduced-motion: reduce) {
  .entry-brand.show, .entry-scroll.show { opacity: 1; transform: none; animation: none; }
  .entry-scroll-dot { animation: none; }
}

/* ── NAVEGAÇÃO ──────────────────────────────────────────── */

#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), padding var(--transition);
}

#nav.scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  padding: 18px 60px;
  border-bottom: 0.5px solid var(--border);
}

.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); }
.nav-logo svg { width: 185px; height: auto; }

.nav-right { display: flex; align-items: center; gap: 40px; }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.25s, color 0.25s;
}
.nav-links a:hover { opacity: 1; color: var(--gold); }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.lang-toggle span {
  opacity: 0.4;
  transition: opacity 0.25s, color 0.25s;
  color: var(--white);
}
.lang-toggle span.active { opacity: 1; color: var(--gold); }
.lang-toggle .divider { opacity: 0.25; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: transparent;
  border: none;
  outline: none;
  -webkit-appearance: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: color 0.25s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ── HERO ───────────────────────────────────────────────── */

#hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

/* Gráfico archviz interativo (substitui o vídeo no hero) */
#hero-archviz {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.88) 100%),
    radial-gradient(ellipse at 60% 40%, rgba(197,160,89,0.05) 0%, transparent 65%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--gold) 0.5px, transparent 0.5px),
    linear-gradient(90deg, var(--gold) 0.5px, transparent 0.5px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 0 60px 110px;
  width: 100%;
}

.hero-symbol {
  width: 80px;
  height: auto;
}

.hero-tagline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(2.9rem, 8.2vw, 5.6rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.96;
  max-width: 1000px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.hero-tagline span { display: inline-block; }
.hero-tagline span:last-child { color: var(--gold); }

.hero-sub {
  font-size: 0.85rem;
  color: var(--gray);
  letter-spacing: 0.15em;
}

.hero-ctas {
  display: flex;
  gap: 20px;
}

/* Reveal sincronizado com o intro overlay */
.hero-enter {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.hero-enter.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-gold {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1.5px solid var(--gold);
  background: var(--gold);
  padding: 14px 36px;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.2);
}

.btn-ghost {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  padding: 14px 36px;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.btn-ghost:hover {
  color: var(--white);
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
/* hero-scroll precisa combinar translate de posição com o reveal */
.hero-scroll.hero-enter       { transform: translateX(-50%) translateY(18px); }
.hero-scroll.hero-enter.visible { transform: translateX(-50%) translateY(0); }
.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50%       { opacity: 1;   transform: scaleY(1);   }
}

/* fadeUp mantido para uso futuro */

/* ── HERO COORDS ────────────────────────────────────────── */

.hero-coords {
  position: absolute;
  bottom: 40px;
  right: 60px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.52rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(197,160,89,0.45);
}
.hero-coords-sep { opacity: 0.5; }

/* ── SEÇÕES COMUNS ──────────────────────────────────────── */

section { padding: 100px 60px; }

.section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.1;
}

.section-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }



/* ── PORTFÓLIO ──────────────────────────────────────────── */

#portfolio {
  background: #000;
  padding: 120px 0 0;
}

#portfolio .section-header  { padding: 0 60px; }
#portfolio .portfolio-filters { padding: 0 60px 48px; }

.portfolio-filters {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 24px;
  border-radius: 9999px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.filter-btn:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.filter-btn.active {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  grid-auto-flow: dense;
  gap: 8px;
}

.portfolio-card.extra-card { display: none; }

/* Padrão masonry para 42 cards */
.portfolio-card:nth-child(1),
.portfolio-card:nth-child(3),
.portfolio-card:nth-child(8),
.portfolio-card:nth-child(10),
.portfolio-card:nth-child(15),
.portfolio-card:nth-child(17),
.portfolio-card:nth-child(22),
.portfolio-card:nth-child(24),
.portfolio-card:nth-child(29),
.portfolio-card:nth-child(31),
.portfolio-card:nth-child(36),
.portfolio-card:nth-child(38) { grid-row: span 2; }

/* Animação de escala ao entrar no viewport */
.portfolio-card.reveal {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.95s ease, transform 0.95s cubic-bezier(0.34, 1.15, 0.64, 1);
}
.portfolio-card.reveal.visible {
  opacity: 1;
  transform: scale(1);
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}

.portfolio-card.hidden { display: none; }

.portfolio-card img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.portfolio-card:hover img { transform: scale(1.06); }

/* Card de vídeo (showreel) na grade do portfólio */
.portfolio-card.portfolio-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-video { cursor: default; }
.pf-video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  border: 0.5px solid rgba(197,160,89,0.5);
}
.pf-video-badge::before {
  content: '';
  position: absolute;
  left: 11px; top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pfLive 1.6s ease-in-out infinite;
}
@keyframes pfLive { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── VER MAIS PROJETOS ─────────────────────────────────── */

.portfolio-more {
  display: flex;
  justify-content: center;
  padding: 64px 60px 80px;
  background: #000;
}

.btn-ver-mais {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 18px 52px 18px 44px;
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
  transition: color 0.35s, border-color 0.35s, background-color 0.35s, gap 0.35s;
}
.btn-ver-mais:hover {
  color: var(--gold);
  border-color: var(--gold);
  background-color: rgba(197, 160, 89, 0.05);
  gap: 22px;
}
.btn-ver-mais svg {
  width: 34px;
  height: 8px;
  stroke: currentColor;
  fill: none;
  stroke-width: 0.9;
  transition: transform 0.35s;
  flex-shrink: 0;
}
.btn-ver-mais:hover svg { transform: translateX(5px); }

/* ── MODAL / LIGHTBOX ──────────────────────────────────── */

#modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,12,14,0.97);
  flex-direction: column;
}
#modal.open { display: flex; }

.modal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  border-bottom: 0.5px solid var(--border);
}

.modal-project-info { display: flex; flex-direction: column; gap: 4px; }
.modal-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.modal-loc { font-size: 0.72rem; color: var(--gold); letter-spacing: 0.08em; }

.modal-close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: 0.5px solid var(--border);
  transition: border-color 0.25s, color 0.25s;
  font-size: 1.2rem;
  color: var(--gray);
}
.modal-close:hover { border-color: var(--gold); color: var(--white); }

.modal-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 80px;
}
.modal-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.modal-img-wrap video {
  max-width: 100%;
  max-height: 100%;
  outline: none;
}

.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  border: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--gray);
  font-size: 1rem;
  transition: border-color 0.25s, color 0.25s;
  background: rgba(18,22,26,0.5);
  z-index: 10;
}
.modal-arrow:hover { border-color: var(--gold); color: var(--gold); }
.modal-prev { left: 20px; }
.modal-next { right: 20px; }

.modal-footer {
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top: 0.5px solid var(--border);
}
.modal-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.25s;
}
.modal-dot.active { background: var(--gold); }

.modal-counter {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--gold);
}

/* ── PROCESSO (scroller horizontal) ─────────────────────── */

#process {
  position: relative;
  height: 300vh;              /* distância de rolagem = 200vh presos */
  background: var(--navy);
  padding: 0;
}
.process-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
  overflow: hidden;
  padding: 96px 60px 56px;
}
.process-scroller {
  margin: 0 -60px;
  padding: 0 60px;
  overflow: hidden;           /* rolagem horizontal controlada pela vertical */
  scrollbar-width: none;
}
.process-scroller::-webkit-scrollbar { display: none; }

.process-track {
  display: flex;
  width: max-content;
}

.process-card {
  flex: 0 0 clamp(360px, 62vw, 860px);
  padding: 40px 56px 36px;
  border-left: 0.5px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 400px;
  transition: background 0.35s ease;
  user-select: none;
}
.process-card:first-child { border-left: none; padding-left: 0; }
.process-card:hover { background: rgba(197,160,89,0.05); }

.process-num {
  position: relative;
  display: inline-block;
  width: max-content;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(6rem, 13vw, 11rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(197,160,89,0.30);
  transition: -webkit-text-stroke-color 0.35s ease;
  margin-bottom: 10px;
}
.process-card:hover .process-num { -webkit-text-stroke-color: rgba(197,160,89,0.6); }
.process-num-dot {
  position: absolute;
  right: -18px;
  bottom: 12px;
  width: 15px; height: 15px;
  background: var(--gold);
  transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1);
}
.process-card:hover .process-num-dot { transform: scale(1.3); }

.process-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.process-desc {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.75;
  max-width: 32ch;
}
.process-duration {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  margin-top: auto;
  padding-top: 18px;
}

.process-progress {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 6px;
}
.process-progress-track {
  position: relative;
  height: 2px;
  width: clamp(140px, 22vw, 260px);
  background: var(--border);
  overflow: hidden;
}
.process-progress-bar {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0.06);
  transform-origin: left center;
  transition: transform 0.1s linear;
}
.process-hint {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray);
  opacity: 0.6;
}

/* ── SERVIÇOS ───────────────────────────────────────────── */

/* Serviços sempre em tema branco (independe do tema global) */
#services { background: #F4F1EA; overflow: hidden; }
#services .t-caption { color: rgba(28,24,19,0.5); }
#services .section-title { color: #1C1813; }
#services #section-services-sub { color: #6A6155; }
#services .section-line { background: #B08A3A; }

.services-grid {
  overflow: hidden;
  background: transparent;
  border: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.services-track {
  display: flex;
  width: max-content;
  animation: servicesMarquee 36s linear infinite;
}
@media (hover: hover) and (pointer: fine) {
  .services-grid:hover .services-track { animation-play-state: paused; }
}
@keyframes servicesMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.service-card {
  flex: 0 0 clamp(300px, 30vw, 400px);
  margin-right: 24px;               /* espaço embutido → loop sem emenda */
  background: #FFFFFF;
  border: 1px solid rgba(140,109,40,0.18);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}
.service-card:hover {
  border-color: rgba(140,109,40,0.42);
  box-shadow: 0 24px 60px rgba(60,45,15,0.12);
  transform: translateY(-6px);
}

.service-icon { width: 50px; height: 50px; color: #8C6D28; }

.service-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1C1813;
}

.service-desc {
  font-size: 0.83rem;
  color: #6A6155;
  line-height: 1.8;
}

.service-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(140,109,40,0.18);
  margin-top: auto;
}
.service-spec {
  display: flex;
  gap: 10px;
  font-size: 0.72rem;
  color: #6A6155;
  align-items: flex-start;
}
.service-spec::before {
  content: '✦';
  color: #8C6D28;
  font-size: 0.5rem;
  margin-top: 2px;
  flex-shrink: 0;
}

#about {
  background: var(--navy);
  padding: 120px 0 100px;
}

.about-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.about-main-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.about-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-section-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 8px;
}

.about-section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 6px;
}

.about-section-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 48px;
}

.about-lead-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
}

.about-body {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 620px;
}

.about-body p + p {
  margin-top: 1.15em;
}

.about-cta-row {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.about-cta-wrap {
  display: inline-block;
}

.about-cta {
  color: var(--gold) !important;
  border: 1.5px solid var(--gold) !important;
  padding: 14px 36px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.about-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.25);
}

.about-cta svg {
  transition: transform 0.3s;
}

.about-cta:hover svg {
  transform: translateX(4px);
}

.about-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-social a {
  color: var(--gray);
  transition: color 0.25s, transform 0.25s, filter 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-social a:hover {
  color: var(--gold);
  transform: scale(1.18);
  filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.4));
}

.about-social svg {
  width: 20px;
  height: 20px;
}

/* Coluna Direita — Imagem Conceitual Premium */
.about-right-col {
  position: relative;
  width: 100%;
}

.about-graphic-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-graphic-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-graphic-wrap:hover .about-graphic-img {
  transform: scale(1.03);
}

.about-graphic-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Grade de Estatísticas — Glassmorphism */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: rgba(12, 12, 12, 0.45);
  border: 1.5px solid rgba(197, 160, 89, 0.12);
  border-radius: 16px;
  padding: 36px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-card:hover {
  border-color: rgba(197, 160, 89, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(197, 160, 89, 0.08);
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 200;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
}

.stat-chip-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  opacity: 0.85;
}

.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.6;
}er);
}

.pipeline-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.pipeline-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 0.5px solid rgba(197,160,89,0.1);
  font-size: 0.82rem;
}
.pipeline-item:last-child { border-bottom: none; }
.pipeline-arrow { color: var(--gold); font-size: 0.7rem; }
.pipeline-tool { color: var(--white); letter-spacing: 0.05em; }
.pipeline-role { color: var(--gray); font-size: 0.72rem; margin-left: auto; }

.about-right { display: flex; flex-direction: column; gap: 40px; margin-top: -30px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.stat {
  background: var(--navy);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 200;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── CONTATO (rework centralizado + gráfico interativo) ─── */

#contact {
  background: var(--graphite);
  position: relative;
  overflow: hidden;
}
#contact-graphic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact-headline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 6vw, 4.4rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 15ch;
}
.contact-lead {
  margin-top: 22px;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  max-width: 640px;
}
.cf-lead-gold { color: var(--gold); font-weight: 600; }

.contact-form2 {
  width: 100%;
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: left;
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cf-field { display: flex; flex-direction: column; gap: 12px; }
.cf-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.cf-hint {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255,255,255,0.4);
}
.cf-input {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(197,160,89,0.25);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 16px 24px;
  outline: none;
  width: 100%;
  border-radius: 9999px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.cf-textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(197,160,89,0.25);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 18px 24px;
  outline: none;
  width: 100%;
  border-radius: 20px;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.cf-input:focus, .cf-textarea:focus {
  border-color: var(--gold);
  background: rgba(197,160,89,0.05);
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.15);
}
.cf-input::placeholder, .cf-textarea::placeholder { color: rgba(255,255,255,0.3); }

/* ── TELEFONE + PAÍS ────────────────────────────────────── */

.cf-phone-row { position: relative; display: flex; gap: 10px; }

.cf-country-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(197,160,89,0.25);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 16px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.cf-country-trigger:hover,
.cf-phone-row.open .cf-country-trigger {
  border-color: var(--gold);
  background: rgba(197,160,89,0.05);
}
.cf-country-flag { font-size: 1.1rem; line-height: 1; }
.cf-country-code { font-size: 0.85rem; color: rgba(255,255,255,0.75); }
.cf-country-trigger .cs-arrow { width: 9px; color: var(--gray); transition: transform 0.25s; }
.cf-phone-row.open .cf-country-trigger .cs-arrow { transform: rotate(180deg); }

.cf-phone-input { flex: 1; min-width: 0; }

.cf-country-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 300px;
  max-width: 90vw;
  background: #0c0c0c;
  border: 0.5px solid var(--gold);
  z-index: 50;
  flex-direction: column;
}
.cf-phone-row.open .cf-country-dropdown { display: flex; }

.cf-country-search {
  background: rgba(255,255,255,0.03);
  border: none;
  border-bottom: 0.5px solid rgba(197,160,89,0.25);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  padding: 12px 18px;
  outline: none;
}
.cf-country-search::placeholder { color: rgba(255,255,255,0.3); }

.cf-country-list { max-height: 220px; overflow-y: auto; }

.cf-country-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.83rem;
  font-weight: 300;
  color: var(--gray);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cf-country-option:hover { background: rgba(197,160,89,0.1); color: var(--gold); }
.cf-country-option.active { color: var(--gold); }
.cf-country-option .cf-country-flag { font-size: 1rem; }
.cf-country-option-name { flex: 1; }
.cf-country-option-dial { color: rgba(156,163,175,0.5); font-size: 0.78rem; }
.cf-country-empty { padding: 14px 18px; font-size: 0.8rem; color: rgba(156,163,175,0.5); }

.cf-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 44px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23C5A059' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 24px center;
  color: #fff;
}
.cf-select:has(option[value=""]:checked) { color: rgba(255,255,255,0.42); }
.cf-select option { background: #17130b; color: #fff; }

/* Dropdown customizado do Tipo de serviço (sem o azul do navegador) */
.svc-wrap { position: relative; }
.svc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(197,160,89,0.25);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 16px 24px;
  cursor: pointer;
  outline: none;
  border-radius: 9999px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.svc-trigger:hover, .svc-trigger:focus-visible, .svc-wrap.open .svc-trigger {
  border-color: var(--gold);
  background: rgba(197,160,89,0.05);
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.15);
}
.svc-value { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-value.placeholder { color: rgba(255,255,255,0.42); }
.svc-arrow { width: 12px; height: 8px; color: var(--gold); flex-shrink: 0; transition: transform 0.25s; }
.svc-wrap.open .svc-arrow { transform: rotate(180deg); }
.svc-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #17130b;
  border: 1px solid rgba(197,160,89,0.4);
  z-index: 20;
  max-height: 264px;
  overflow-y: auto;
  box-shadow: 0 22px 54px rgba(0,0,0,0.55);
  border-radius: 12px;
}
.svc-wrap.open .svc-menu { display: block; }
.svc-option {
  padding: 13px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.svc-option:hover { background: rgba(197,160,89,0.12); color: var(--gold); }
.svc-option.active { color: var(--gold); }

.cf-submit {
  margin-top: 8px;
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 18px 40px;
  border: 1.5px solid var(--gold);
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.cf-submit:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(197, 160, 89, 0.25);
}
.cf-note {
  text-align: center;
  margin-top: 4px;
  font-size: 0.72rem;
  font-style: italic;
  color: rgba(255,255,255,0.4);
}
.contact-inner .contact-social { margin-top: 46px; justify-content: center; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ── CUSTOM SELECT ──────────────────────────────────────── */

.cs-wrap {
  position: relative;
  border: 0.5px solid rgba(197,160,89,0.3);
  transition: border-color 0.25s;
  cursor: pointer;
}
.cs-wrap.open { border-color: var(--gold); }

.cs-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--white);
  user-select: none;
}

.cs-value { color: rgba(156,163,175,0.4); flex: 1; }
.cs-value.selected { color: var(--white); }

.cs-arrow {
  width: 11px;
  height: auto;
  color: var(--gray);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.cs-wrap.open .cs-arrow { transform: rotate(180deg); }

.cs-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: -0.5px;
  right: -0.5px;
  background: #0c0c0c;
  border: 0.5px solid var(--gold);
  z-index: 50;
  max-height: 240px;
  overflow-y: auto;
}
.cs-wrap.open .cs-dropdown { display: block; }

.cs-option {
  padding: 12px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--gray);
  transition: background 0.2s, color 0.2s;
}
.cs-option:hover { background: rgba(197,160,89,0.1); color: var(--gold); }
.cs-option.active { color: var(--gold); }

/* ── ─────────────────────────────────────────────────────── */

.form-input, .form-textarea, .form-select {
  background: transparent;
  border: 0.5px solid rgba(197,160,89,0.3);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(156,163,175,0.4); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--graphite); }

.form-submit {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 16px 40px;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  align-self: flex-start;
}
.form-submit:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.contact-info { display: flex; flex-direction: column; gap: 36px; }

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 28px;
  border-bottom: 0.5px solid var(--border);
}
.contact-info-block:last-child { border-bottom: none; }
.contact-info-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}
.contact-info-value a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.25s;
}
.contact-info-value a:hover { color: var(--white); }

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0.5px solid var(--border);
  color: var(--gray);
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s;
  flex-shrink: 0;
}
.social-icon-link:hover { color: var(--gold); border-color: var(--gold); }
.social-icon-link svg { width: 17px; height: 17px; }

/* ── VOLTAR AO TOPO ─────────────────────────────────────── */

.back-to-top-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 60px;
  background: var(--navy);
  border-top: 0.5px solid var(--border);
}

.back-to-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: rgba(156,163,175,0.5);
  transition: color 0.4s ease;
}
.back-to-top:hover { color: var(--gold); }

.btt-arrow {
  width: 20px;
  height: 36px;
  transition: transform 0.4s ease;
}
.back-to-top:hover .btt-arrow { transform: translateY(-5px); }

.btt-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

/* ── RODAPÉ ─────────────────────────────────────────────── */

footer {
  background: var(--navy);
  padding: 60px 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 0.5px solid var(--border);
}

/* Título de Legal do rodapé estilo referência */
.footer-legal-title {
  color: #ff3344;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-bottom: 36px;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
}

.footer-links-row a {
  font-size: 0.72rem;
  color: rgba(156, 163, 175, 0.7);
  text-decoration: none;
  transition: color 0.25s, opacity 0.25s;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
  font-weight: 500;
}

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

/* Divisor horizontal estilo referência */
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(156, 163, 175, 0.15);
  margin-bottom: 24px;
}

.footer-copy {
  font-size: 0.68rem;
  color: rgba(156, 163, 175, 0.5);
  letter-spacing: 0.05em;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 12px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-info {
  font-size: 0.68rem;
  color: rgba(156, 163, 175, 0.5);
  letter-spacing: 0.05em;
  font-family: 'Montserrat', sans-serif;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-socials a {
  font-size: 0.68rem;
  color: rgba(156, 163, 175, 0.7);
  text-decoration: none;
  transition: color 0.25s;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
}

.footer-socials a:hover {
  color: var(--gold);
}

.footer-link-sep {
  color: rgba(156, 163, 175, 0.3);
  font-size: 0.68rem;
  user-select: none;
}

.footer-logo { margin-bottom: 24px; }
.footer-logo svg { width: 140px; height: auto; color: var(--white); }

/* ── RESPONSIVO ─────────────────────────────────────────── */

@media (max-width: 1024px) {
  #nav { padding: 22px 30px; }
  #nav.scrolled { padding: 14px 30px; }
  section { padding: 72px 30px; }
  #portfolio { padding: 72px 0 0; }
  #portfolio .section-header,
  #portfolio .portfolio-filters { padding-left: 30px; padding-right: 30px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; gap: 6px; }
  .portfolio-card:nth-child(1),
  .portfolio-card:nth-child(3),
  .portfolio-card:nth-child(8),
  .portfolio-card:nth-child(10) { grid-row: span 2; }
  .portfolio-more { padding: 48px 30px 64px; }
  .process-pin { padding: 90px 30px 48px; }
  .process-scroller { margin: 0 -30px; padding: 0 30px; }
  .about-main-row, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
  #nav { padding: 20px 24px; }
  #nav.scrolled { padding: 14px 24px; }
  .nav-links, .nav-right .lang-toggle { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 60px 24px; }
  #portfolio { padding: 60px 0 0; }
  #portfolio .section-header,
  #portfolio .portfolio-filters { padding-left: 24px; padding-right: 24px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 0; }
  .portfolio-more { padding: 40px 24px 56px; }
  .btn-ver-mais { padding: 16px 36px 16px 30px; }
  .process-pin { padding: 84px 24px 40px; gap: 24px; }
  .process-scroller { margin: 0 -24px; padding: 0 24px; }
  .process-card { flex-basis: 80vw; min-height: 300px; padding: 28px 30px 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; gap: 24px; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content { padding: 0 24px 90px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  footer { padding: 40px 24px; align-items: center; text-align: center; }
  .footer-links-row { justify-content: center; gap: 12px 18px; margin-bottom: 24px; }
  .footer-bottom-row { flex-direction: column; gap: 12px; }
  .modal-img-wrap { padding: 10px 50px; }
  .nav-right .theme-toggle { display: none; }
}

@media (max-width: 576px) {
  .about-stats-grid { grid-template-columns: 1fr; }
  .stat-card { padding: 28px 24px; }
}

/* ══════════════════════════════════════════════════════════
   TEMA CLARO
   O hero (vídeo escuro) permanece escuro nos dois temas;
   apenas as seções de conteúdo trocam para papel claro.
══════════════════════════════════════════════════════════ */

html[data-theme="light"] {
  --navy:     #F4F1EA;   /* fundo principal — papel quente */
  --graphite: #EAE4D8;   /* painéis alternados (serviços/contato) */
  --white:    #1C1813;   /* texto primário */
  --offwhite: #2A241C;
  --gray:     #6A6155;   /* texto secundário */
  --gold:     #8C6D28;   /* dourado mais profundo p/ contraste no claro */
  --border:   rgba(140,109,40,0.30);
}

/* Fundos que estavam fixos em preto */
html[data-theme="light"] #portfolio,
html[data-theme="light"] .portfolio-more { background: var(--navy); }
html[data-theme="light"] .portfolio-card { background: #d9d3c6; }
html[data-theme="light"] .cs-dropdown { background: #fff; }

/* Botão "Ver mais" no claro */
html[data-theme="light"] .btn-ver-mais {
  color: rgba(28,24,19,0.62);
  border-color: rgba(28,24,19,0.22);
}
html[data-theme="light"] .btn-ver-mais:hover {
  color: var(--gold);
  border-color: rgba(140,109,40,0.6);
}

/* NAV — sobre o hero escuro (topo) mantém controles claros */
html[data-theme="light"] #nav:not(.scrolled) .nav-links a,
html[data-theme="light"] #nav:not(.scrolled) .lang-toggle span,
html[data-theme="light"] #nav:not(.scrolled) .theme-toggle { color: #fff; }
html[data-theme="light"] #nav:not(.scrolled) .theme-toggle { border-color: rgba(255,255,255,0.28); }
html[data-theme="light"] #nav:not(.scrolled) .nav-hamburger span { background: #fff; }

/* NAV — rolado sobre papel claro: controles escuros */
html[data-theme="light"] #nav.scrolled {
  background: rgba(244,241,234,0.92);
  border-bottom: 0.5px solid var(--border);
}
html[data-theme="light"] #nav.scrolled .nav-links a,
html[data-theme="light"] #nav.scrolled .lang-toggle span { color: var(--white); }
html[data-theme="light"] #nav.scrolled .lang-toggle span.active { color: var(--gold); }
html[data-theme="light"] #nav.scrolled .nav-hamburger span { background: var(--white); }

/* Menu mobile no claro (fundo papel via var, links via var) */
html[data-theme="light"] .modal { background: rgba(20,18,15,0.97); }

/* HERO permanece escuro nos dois temas → texto sempre claro */
html[data-theme="light"] #hero { color: #F6F5F1; }
html[data-theme="light"] #hero .hero-tagline { color: #FFFFFF; }
html[data-theme="light"] #hero .t-caption { color: rgba(246,245,241,0.62); }



/* Número fantasma do processo no tema claro */
html[data-theme="light"] .process-num { -webkit-text-stroke-color: rgba(140,109,40,0.42); }
html[data-theme="light"] .process-card:hover .process-num { -webkit-text-stroke-color: rgba(140,109,40,0.78); }

/* ══════════════════════════════════════════════════════════
   CAMPO AMBIENTE — partículas sutis reativas ao mouse
══════════════════════════════════════════════════════════ */

#ambient-field {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   QUADRANTE DE NÚMEROS — interativo no hover
══════════════════════════════════════════════════════════ */

.stat { position: relative; transition: background 0.35s ease; }
.stat::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.stat:hover { background: rgba(197,160,89,0.06); }
.stat:hover::after { width: 100%; }
.stat-num { transition: color 0.35s ease, text-shadow 0.35s ease; }
.stat:hover .stat-num { color: var(--gold); text-shadow: 0 0 26px rgba(197,160,89,0.32); }

/* ══════════════════════════════════════════════════════════
   REVEAL EM ESCALA — tudo abaixo do portfólio cresce suave
══════════════════════════════════════════════════════════ */

#process .reveal, #services .reveal, #about .reveal, #contact .reveal {
  transform: scale(0.92);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.34, 1.12, 0.66, 1);
}
#process .reveal.visible, #services .reveal.visible,
#about .reveal.visible, #contact .reveal.visible {
  transform: scale(1);
}
