/* ============================================
   FONTS
   ============================================ */
@font-face {
  font-family: 'Herokid';
  src: url('fonts/Fontspring-DEMO-herokid-regularexpanded.otf') format('opentype');
  font-weight: normal;
}
@font-face {
  font-family: 'Now';
  src: url('fonts/Now-Light.otf') format('opentype');
  font-weight: 300;
}
@font-face {
  font-family: 'Now';
  src: url('fonts/Now-Regular.otf') format('opentype');
  font-weight: 400;
}
@font-face {
  font-family: 'Now';
  src: url('fonts/Now-Medium.otf') format('opentype');
  font-weight: 500;
}

/* ============================================
   TOKENS
   ============================================ */
:root {
  color-scheme: light dark;

  --navy:   #254467;
  --copper: #A96D3E;
  --dark:   #1C2D40;
  --sand:   #C79872;
  --cream:  #F5F0EB;
  --white:  #ffffff;
  --text:   #141414;
  --text-muted: #444444;

  /* Tokens de superfície que mudam em dark */
  --surface:        #ffffff;   /* fundo branco de cards */
  --surface-soft:   #F5F0EB;   /* fundo cream de seções alternadas */
  --surface-dark:   #1C2D40;   /* fundo escuro de seções dark */
  --border-soft:    rgba(0,0,0,0.08);
  --navbar-bg:      rgba(255,255,255,0.97);
  --shadow-soft:    0 1px 0 rgba(0,0,0,0.08);

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Now', sans-serif;

  --max-w: 1240px;
  --pad:   clamp(24px, 5vw, 80px);
  --radius: 2px;

  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   DARK MODE — quando o sistema/navegador está em dark
   ============================================ */
@media (prefers-color-scheme: dark) {
  :root {
    --text:        #e8e8e8;
    --text-muted:  #a8a8a8;
    --white:       #16191f;   /* cards / inputs / "branco" */
    --cream:       #1a1d23;   /* fundo cream de seções */
    --surface:        #16191f;
    --surface-soft:   #1a1d23;
    --surface-dark:   #0d0f13; /* fundo dark mais profundo */
    --border-soft:    rgba(255,255,255,0.10);
    --navbar-bg:      rgba(13,15,19,0.92);
    --shadow-soft:    0 1px 0 rgba(255,255,255,0.06);
    /* Acentos copper/sand/navy mantidos — destacam em dark */
  }

  body { background: #0d0f13; }

  /* Inputs / selects / textarea: bg dark + text light */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    background: #1f232a !important;
    color: #e8e8e8 !important;
    border-color: rgba(255,255,255,0.15) !important;
  }
  input::placeholder,
  textarea::placeholder { color: #707580 !important; }
  select option { background: #1f232a; color: #e8e8e8; }

  /* Navbar opaco em dark fica escuro com sombra sutil */
  #navbar.scrolled {
    background: rgba(13,15,19,0.92) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.08) !important;
  }
  #navbar.scrolled .nav-links li a { color: #c8c8c8 !important; }
  #navbar.scrolled .nav-links li a:hover { color: #fff !important; }
  #navbar.scrolled .nav-toggle span { background: #e8e8e8 !important; }
  #navbar.scrolled .nav-cta {
    border-color: var(--sand) !important;
    color: var(--sand) !important;
  }
  #navbar.scrolled .nav-cta:hover {
    background: var(--sand) !important;
    color: #0d0f13 !important;
  }

  /* Logos: a versão "dark" (preta) é invisível em dark mode — esconde, mantém negativa */
  #navbar.scrolled .logo-light { display: block !important; opacity: 1 !important; filter: none !important; }
  #navbar.scrolled .logo-dark  { display: none !important; }

  /* Clientes (logos pretos) — inverter pra ficarem visíveis */
  .clientes .cliente-item img { filter: invert(0.92) brightness(1.1); }

  /* Botão primary continua com bg navy mas com sand como hover */
  .btn-primary:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.4); }

  /* Headings — força clarear em dark mode (sobrescreve navy/dark hardcoded) */
  h1, h2, h3, h4, h5, h6 { color: var(--text) !important; }
  .equipe-quote,
  .equipe-card p,
  .equipe-intro,
  .servico-card p,
  .processo-step p,
  .pm-item p,
  .case-body p,
  .seg-text > p,
  .contato-info ul li,
  .contato-info ul li span,
  .form-group label,
  .footer-copy { color: var(--text-muted) !important; }

  /* Acentos: numéros e step-nums em copper (legível em dark) */
  .numero-item strong,
  .cred-num strong,
  .step-num,
  .pm-item .pm-num { color: var(--copper) !important; }

  /* Tag chips: bg dark com texto light */
  .seg-bairros span,
  .seg-tipos span { color: #fff !important; }

  /* Botões primários: navy bg + texto light (mantém legível) */
  .btn-primary { background: var(--copper) !important; border-color: var(--copper) !important; color: #fff !important; }
  .btn-primary:hover { background: var(--sand) !important; border-color: var(--sand) !important; }

  /* Badge sobre o quadrado azul no Sobre */
  .sobre-badge { background: var(--navy); }
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 21px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

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

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

ul { list-style: none; }

/* ============================================
   UTILITIES
   ============================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}
.section-tag.light { color: var(--sand); }

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-muted); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: normal;
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

p {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  width: 100%;
  text-align: center;
}
.btn-primary:hover {
  background: var(--dark);
  border-color: var(--dark);
  box-shadow: 0 10px 24px rgba(15,31,53,0.25);
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0 var(--pad);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 48px; width: auto; max-width: 200px; object-fit: contain; transition: opacity 0.3s, filter 0.3s; }
.nav-logo .logo-light {
  display: block;
  opacity: 1;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.35));
}
.nav-logo .logo-dark  { display: none; opacity: 0; }
#navbar.scrolled .logo-light { display: none; opacity: 0; }
#navbar.scrolled .logo-dark  { display: block; opacity: 1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links li a {
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
  position: relative;
}
.nav-links li a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links li a:not(.nav-cta):hover::after { width: 100%; }
.nav-links li a:hover { color: var(--white); }
#navbar.scrolled .nav-links li a { color: var(--text-muted); }
#navbar.scrolled .nav-links li a:hover { color: var(--navy); }

.nav-cta {
  border: 1px solid rgba(255,255,255,0.5) !important;
  padding: 10px 22px !important;
  color: var(--white) !important;
  border-radius: var(--radius);
}
.nav-cta:hover {
  background: var(--white) !important;
  color: var(--navy) !important;
  border-color: var(--white) !important;
}
#navbar.scrolled .nav-cta {
  border-color: var(--navy) !important;
  color: var(--navy) !important;
}
#navbar.scrolled .nav-cta:hover {
  background: var(--navy) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}
#navbar.scrolled .nav-toggle span { background: var(--dark); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(60px, 8vh, 100px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 100%;     /* bottom — foca no sofá + ilha + chão */
  transform: scale(1.25) translateY(8%);
  transform-origin: center bottom;
  animation: heroZoom 12s ease-out forwards;
}

/* Mobile: crop ainda mais agressivo (a foto é paisagem 1227x800; em mobile vertical o teto domina visualmente) */
@media (max-width: 768px) {
  .hero-bg img {
    object-position: 50% 100%;
    transform: scale(2.1) translateY(18%);
    transform-origin: center bottom;
    animation: none;
  }
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(28, 45, 64, 0.55) 0%, transparent 30%),
    linear-gradient(to top, rgba(28, 45, 64, 0.85) 0%, rgba(28, 45, 64, 0.4) 50%, rgba(28, 45, 64, 0.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-label {
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 20px;
  font-weight: 400;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  max-width: 640px;
}
.hero-content h1 em {
  font-style: normal;
  color: #f0c896;
  font-weight: 500;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6), 0 0 1px rgba(0,0,0,0.8);
}
.hero-sub {
  color: rgba(255,255,255,0.92);
  max-width: 460px;
  margin-bottom: 40px;
  font-size: 1.15rem;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  right: var(--pad);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.hero-scroll span::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--sand);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  to { top: 200%; }
}

/* ============================================
   SOBRE
   ============================================ */
.sobre {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--cream);
}
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
}
.sobre-text h2 {
  margin-bottom: 24px;
  color: var(--dark);
}
.sobre-text p {
  margin-bottom: 16px;
}
.sobre-numeros {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(37, 68, 103, 0.15);
}
.numero-item strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.numero-item span {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sobre-imagem {
  position: relative;
  aspect-ratio: 3/4;
}
.sobre-imagem img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 70%;
}
.sobre-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: 88px;
  height: 88px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sobre-badge img {
  width: 100%; height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ============================================
   EQUIPE
   ============================================ */
.equipe {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--white);
}
.equipe-header {
  max-width: 880px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
}
.equipe-header h2 {
  color: var(--dark);
  margin-bottom: 20px;
}
.equipe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: stretch;
}
.equipe-imagem {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
.equipe-imagem {
  isolation: isolate;
}
.equipe-imagem img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(1.05) contrast(1.02) saturate(1.08);
  transition: filter var(--transition);
}
.equipe-imagem::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
  z-index: 1;
}
.equipe-imagem:hover img { filter: brightness(1.08) contrast(1.04) saturate(1.12); }

.equipe-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.equipe-intro {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.75;
}
.equipe-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.equipe-card {
  padding: 24px;
  border-left: 2px solid var(--copper);
  background: var(--cream);
}
.equipe-spec {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 8px;
}
.equipe-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: normal;
}
.equipe-card p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.equipe-quote {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--copper);
  font-style: italic;
  padding-top: 24px;
  border-top: 1px solid rgba(37,68,103,0.1);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .equipe-grid { grid-template-columns: 1fr; gap: 32px; }
  .equipe-imagem { aspect-ratio: 1/1; }
  .equipe-imagem img { object-position: 60% 12%; transform: scale(1.15); transform-origin: 60% 20%; }
  .equipe-cards { gap: 0; margin-bottom: 24px; }
  .equipe-card {
    background: none;
    border-left: none;
    border-top: 1px solid rgba(37,68,103,0.12);
    padding: 24px 0 8px;
  }
  .equipe-card:first-child { border-top: none; padding-top: 8px; }
  .equipe-spec { font-size: 10px; letter-spacing: 0.2em; }
  .equipe-card h4 { font-size: 1.1rem; }
}

/* ============================================
   SERVIÇOS
   ============================================ */
.servicos {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--dark);
}
.servicos .section-tag { color: var(--sand); }
.servicos h2 { color: var(--white); }
.servicos .section-header p { color: rgba(255,255,255,0.80); }
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  width: calc(100vw - 48px);
  max-width: 1800px;
  margin-left: 50%;
  transform: translateX(-50%);
}
.servico-card {
  padding: 56px 40px;
  background: var(--dark);
  transition: background var(--transition);
}
.servico-card:hover {
  background: var(--navy);
}
.servico-icon {
  width: 40px;
  height: 40px;
  color: var(--copper);
  margin-bottom: 28px;
}
.servico-card h3 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.15rem;
}
.servico-card p {
  color: rgba(255,255,255,0.80);
  font-size: 1.15rem;
  line-height: 1.7;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
  padding: clamp(80px, 10vw, 140px) 0;
}
.portfolio .section-tag { color: var(--copper); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 480px;
  gap: 0;
  margin-top: 0;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.portfolio-item.large {
  grid-column: span 2;
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-item:hover img {
  transform: scale(1.06);
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,45,64,0.9) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 36px;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-tag {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 8px;
}
.portfolio-info h3 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.portfolio-info p {
  color: rgba(255,255,255,0.95);
  font-size: 1.15rem;
}

/* ============================================
   CLIENTES
   ============================================ */
.clientes {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--cream);
}
.clientes-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 6vw, 80px);
  flex-wrap: wrap;
}
.cliente-item {
  width: 120px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter var(--transition), opacity var(--transition);
}
.cliente-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}
.cliente-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================
   PROCESSO
   ============================================ */
.processo {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--navy);
}
.processo .section-tag { color: var(--sand); }
.processo h2 { color: var(--white); }
.processo-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 64px;
  width: calc(100vw - 48px);
  max-width: 1800px;
  margin-left: 50%;
  transform: translateX(-50%);
}
.processo-step {
  padding: 56px 40px;
  background: var(--navy);
  transition: background var(--transition);
}
.processo-step:hover {
  background: #1d3856;
}
.processo-line {
  display: none;
}
.processo-hint {
  display: none;
}
.step-num {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 3rem;
  color: rgba(255,255,255,0.1);
  margin-bottom: 16px;
  line-height: 1;
}
.processo-step h3 {
  color: var(--white);
  margin-bottom: 12px;
}
.processo-step p {
  color: rgba(255,255,255,0.80);
  font-size: 1.15rem;
}

/* ============================================
   CONTATO
   ============================================ */
.contato {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--cream);
}
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}
.contato-info h2 {
  color: var(--dark);
  margin-bottom: 20px;
}
.contato-info > p {
  margin-bottom: 32px;
}
.contato-lista {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid rgba(37,68,103,0.12);
}
.contato-bloco h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: normal;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.contato-bloco ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contato-bloco li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
.contato-bloco li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--copper);
  margin-top: 2px;
}
.contato-social {
  display: flex;
  gap: 16px;
}
.contato-social a {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(37,68,103,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: var(--transition);
}
.contato-social a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.contato-social a svg { width: 18px; height: 18px; }

/* FORM */
.contato-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group.full { grid-column: span 2; }
.form-group label {
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 400;
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid rgba(37,68,103,0.2);
  background: var(--white);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--copper);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  grid-column: span 2;
  text-align: center;
  color: var(--copper);
  font-size: 1.15rem;
  padding: 12px;
  border: 1px solid var(--copper);
}
.form-success.show { display: block; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.footer-copy {
  font-size: 14px;
  color: rgba(255,255,255,0.70);
}
.footer-nav {
  display: flex;
  gap: 32px;
}
.footer-nav a {
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--sand); }

/* ============================================
   PORTFOLIO CTA
   ============================================ */
.portfolio-cta {
  margin-top: clamp(48px, 6vw, 80px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.portfolio-cta p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  color: var(--dark);
  line-height: 1.4;
  max-width: 640px;
}
.btn-portfolio-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.btn-portfolio-cta svg {
  width: 20px;
  height: 20px;
}
.btn-portfolio-cta:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15,31,53,0.2);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}
.servico-card:nth-child(2) { transition-delay: 0.1s; }
.servico-card:nth-child(3) { transition-delay: 0.2s; }
.servico-card:nth-child(4) { transition-delay: 0.3s; }
.portfolio-item:nth-child(2) { transition-delay: 0.1s; }
.portfolio-item:nth-child(3) { transition-delay: 0.15s; }
.portfolio-item:nth-child(4) { transition-delay: 0.2s; }
.portfolio-item:nth-child(5) { transition-delay: 0.25s; }
.processo-step:nth-child(3) { transition-delay: 0.1s; }
.processo-step:nth-child(5) { transition-delay: 0.2s; }
.processo-step:nth-child(7) { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .portfolio-item.large { grid-column: span 1; }
}

@media (max-width: 768px) {
  html { font-size: 16px; }
  h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  h2 { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  h3 { font-size: 1.05rem; }
  .hero-sub { font-size: 1rem; }
  .section-header p, .equipe-intro, .sobre-text p, .contato-info > p { font-size: 1rem; }
  .servico-card p, .processo-step p, .equipe-card p, .servico-modal p { font-size: 0.95rem; }
  .contato-bloco li { font-size: 1rem; }

  /* Section paddings — tighter on mobile */
  .sobre, .equipe, .servicos, .portfolio, .clientes, .processo, .contato {
    padding: 60px 0;
  }
  .section-header { margin-bottom: 32px; }
  .sobre-text p { margin-bottom: 14px; }
  .equipe-header { margin-bottom: 32px; }

  /* Portfolio CTA — tighter gap from grid */
  .portfolio-cta { margin-top: 24px; gap: 16px; }
  .portfolio-cta p { font-size: 1.1rem; }

  /* Clientes — bigger logos on mobile */
  .clientes-grid { gap: 32px 28px; }
  .cliente-item { width: 140px; height: 90px; opacity: 0.7; }

  /* Contact form — compact */
  .contato-info > p { margin-bottom: 20px; }
  .contato-form { gap: 14px; }
  .form-group input,
  .form-group select,
  .form-group textarea { padding: 10px 14px; font-size: 0.95rem; }
  .form-group label { font-size: 12px; }
  .contato-lista { margin-top: 32px; padding-top: 24px; gap: 24px; }
  .btn { padding: 14px 28px; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    font-size: 1.2rem;
    color: var(--white) !important;
  }
  .nav-cta {
    border-color: var(--copper) !important;
    color: var(--copper) !important;
  }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-imagem { aspect-ratio: 4/3; order: -1; }
  .sobre-numeros { flex-wrap: wrap; gap: 24px; }

  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100vw - 24px);
  }
  .servico-card {
    padding: 28px 16px 24px;
    text-align: center;
    cursor: pointer;
    position: relative;
  }
  .servico-card .servico-icon { margin: 0 auto 14px; width: 32px; height: 32px; }
  .servico-card h3 { font-size: 0.95rem; margin-bottom: 0; line-height: 1.35; }
  .servico-card p { display: none; }
  .servico-card::after {
    content: '+';
    display: inline-block;
    margin-top: 12px;
    width: 28px;
    height: 28px;
    line-height: 26px;
    border: 1px solid var(--copper);
    border-radius: 50%;
    color: var(--copper);
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
  }
  .servico-card:active::after { background: var(--copper); color: var(--white); }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-rows: auto;
  }
  .portfolio-item { height: 280px; }
  .portfolio-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(28,45,64,0.95) 0%, rgba(28,45,64,0.4) 70%, transparent 100%);
  }
  .portfolio-info h3 { font-size: 1rem; }
  .portfolio-info p { font-size: 0.9rem; display: none; }
  .portfolio-tag { font-size: 11px; }

  .processo-steps {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 24px 8px;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    scrollbar-width: none;
  }
  .processo-steps::-webkit-scrollbar { display: none; }
  .processo-step {
    flex: 0 0 78%;
    scroll-snap-align: center;
    padding: 32px 24px;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,0.08);
  }
  .processo-hint {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  .contato-grid { grid-template-columns: 1fr; }
  .contato-form { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .contato-lista { grid-template-columns: 1fr; gap: 32px; }

  .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
  .footer-nav { flex-wrap: nowrap; justify-content: center; gap: 16px; }
  .footer-nav a { font-size: 11px; }
}

/* === PROJETO LIGHTBOX === */
.projeto-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 53, 0.94);
  backdrop-filter: blur(6px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.projeto-modal.open {
  display: flex;
  opacity: 1;
}
.projeto-modal-content {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.projeto-modal.open .projeto-modal-content {
  transform: scale(1);
}
.projeto-modal-img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.projeto-modal-logo {
  position: absolute;
  width: 110px;
  height: 110px;
  opacity: 0.75;
  pointer-events: none;
  filter: brightness(0) invert(1) drop-shadow(0 4px 16px rgba(0,0,0,0.8));
}
.projeto-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px 16px;
  z-index: 2;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.projeto-modal-close:hover { opacity: 1; }
@media (max-width: 768px) {
  .projeto-modal-logo { width: 64px; height: 64px; }
}

/* === SERVICO MODAL (mobile) === */
.servico-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 53, 0.85);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.servico-modal.open {
  display: flex;
  opacity: 1;
}
.servico-modal-content {
  background: var(--dark);
  color: var(--white);
  padding: 40px 28px 32px;
  max-width: 420px;
  width: 100%;
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.servico-modal.open .servico-modal-content {
  transform: translateY(0);
}
.servico-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px 12px;
  opacity: 0.7;
}
.servico-modal-close:hover { opacity: 1; }
.servico-modal-icon {
  width: 40px;
  height: 40px;
  color: var(--copper);
  margin-bottom: 20px;
}
.servico-modal-icon svg { width: 100%; height: 100%; }
.servico-modal h3 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 1.3rem;
}
.servico-modal p {
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  font-size: 1rem;
}

/* === WHATSAPP FLOATING BUTTON === */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5), 0 3px 8px rgba(0, 0, 0, 0.2);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
}
@media (max-width: 640px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 18px;
    right: 18px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ===== HERO CTAs + PROOF ===== */
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 8px;
}
.btn-ghost {
  display: inline-block;
  padding: 14px 32px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  transition: all 0.3s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.hero-proof {
  margin-top: 28px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}

/* Reforço de legibilidade pra <em> em headlines sobre fotos (residencial / comercial / processo) */
.res-hero h1 em,
.com-hero h1 em,
.processo-hero h1 em {
  font-weight: 500 !important;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6), 0 0 1px rgba(0,0,0,0.8);
}
.res-hero .proof,
.com-hero .proof {
  color: #f0c896 !important;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}

/* ===== FORM DISCLAIMER ===== */
.form-disclaimer {
  grid-column: 1 / -1;
  margin-top: 12px;
  font-size: 13px; color: var(--muted, #6b6b6b);
  text-align: center;
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 2px 8px rgba(0,0,0,0.15);
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37,211,102,0.5), 0 4px 12px rgba(0,0,0,0.2);
}
.wa-float::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 768px) {
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* ===== DEPOIMENTOS ===== */
.depoimentos { padding: 100px 0; background: var(--cream, #F5F0EB); }
.depoimentos .section-header { text-align: center; margin-bottom: 56px; }
.depoimentos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; max-width: 1200px; margin: 0 auto;
}
.depoimento-card {
  background: #fff; padding: 36px 32px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  border-top: 3px solid var(--copper, #A96D3E);
}
.depoimento-stars {
  color: var(--copper, #A96D3E); font-size: 16px; letter-spacing: 4px;
}
.depoimento-card blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; line-height: 1.55; font-style: italic;
  color: var(--dark, #1C2D40); flex: 1; margin: 0;
}
.depoimento-autor {
  display: flex; align-items: center; gap: 14px;
  padding-top: 18px; border-top: 1px solid rgba(0,0,0,0.08);
}
.depoimento-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--dark, #1C2D40); color: var(--sand, #C79872);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; letter-spacing: 0.05em;
  flex-shrink: 0;
}
.depoimento-autor strong {
  display: block; font-size: 14px; font-weight: 500;
  color: var(--dark, #1C2D40); margin-bottom: 2px;
}
.depoimento-autor span {
  font-size: 12px; color: var(--muted, #6b6b6b);
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .depoimentos-grid { grid-template-columns: 1fr; gap: 20px; padding: 0 24px; }
  .depoimento-card { padding: 28px 24px; }
}
