@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
  --carbono: #1A1A1A;
  --inox: #5a5b5e; /* Escurecido para atender WCAG AA (4.5:1+) em fundos claros */
  --couro: #B07D4B; 
  --areia: #F4F4F2;
  --couro-dark: #8B5E34;
  --couro-light: #D4A373;
  --text-light: #F4F4F2;
  --text-muted: #4a4a4a; /* Escurecido para acessibilidade superior */
  
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;
  
  --transition: all 0.3s ease;
}

/* Acessibilidade: Foco visível */
:focus-visible {
  outline: 3px solid var(--couro);
  outline-offset: 4px;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--carbono);
  background-color: var(--areia);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--areia);
  scroll-behavior: auto !important; /* Essencial para sincronia com Lenis */
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--carbono);
  margin-bottom: var(--spacing-md);
}

.h1-display {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.h2-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.h3-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
}

.caption {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.accent-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--couro);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Layout Geral */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

section {
  padding: var(--spacing-2xl) 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  background-color: var(--areia);
  margin: 0; /* Garantir zero margem entre blocos */
}

.main-content-wrapper {
  position: relative;
  z-index: 2;
  background-color: var(--areia);
  margin-top: 100vh; /* Inicia exatamente onde a Hero termina */
  box-shadow: 0 -20px 40px rgba(0,0,0,0.1); /* Sombra sutil na subida */
}

.sobre, .projetos, .footer {
  background-color: var(--carbono);
}

.metodologia, .servicos, .cta-section {
  background-color: var(--areia);
}

/* Header & Nav - Liquid Glass Effect */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transform: translateZ(0);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
}

@keyframes liquidMove {
  0% { transform: translate(-5%, -5%) rotate(0deg) scale(1); }
  50% { transform: translate(5%, 5%) rotate(2deg) scale(1.1); }
  100% { transform: translate(-5%, 5%) rotate(-2deg) scale(1); }
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.header-bg::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, transparent 40%),
              radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 30%);
  opacity: 0.6;
  pointer-events: none;
  will-change: transform;
  animation: liquidMove 20s infinite alternate ease-in-out;
}

.header.scrolled {
  padding: 2px 0;
  background-color: rgba(255, 255, 255, 0.95); /* Fallback para navegadores sem backdrop-filter */
  background: rgba(255, 255, 255, 0.95); 
  border-bottom-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.header.scrolled .logo-mark,
.header.scrolled .logo-text span:first-child,
.header.scrolled .nav-links a {
  color: var(--carbono);
  text-shadow: none; /* Remover sombra ao rolar sobre fundo claro */
}

.header.scrolled .logo-text span:last-child {
  color: var(--text-muted);
}

.header.scrolled .menu-toggle span {
  background-color: var(--carbono);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #FFF; /* Branco por padrão sobre a Hero escura */
  letter-spacing: -1.5px;
  transition: color 0.3s ease;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text span:first-child {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #FFF;
  letter-spacing: 2px;
  line-height: 1;
  transition: color 0.3s ease;
}

.logo-text span:last-child {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.9); /* Aumentado de 0.7 para 0.9 */
  letter-spacing: 3px;
  transition: color 0.3s ease;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
  align-items: center;
}

.nav-social {
  margin-left: var(--spacing-sm);
  display: flex;
  align-items: center;
}

.nav-social a {
  color: #FFF;
  opacity: 0.7;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.nav-social a:hover {
  opacity: 1;
  color: var(--couro);
  transform: translateY(-2px);
}

.nav-links a {
  text-decoration: none;
  color: #FFF;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3); /* Sombra sutil para legibilidade */
}

.nav-links a:hover {
  color: var(--couro-light);
}

.btn-primary {
  padding: 16px 32px;
  background: var(--couro);
  color: #FFF;
  border: none;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 20px rgba(181, 145, 114, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background: var(--couro-dark, #8a6b52);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(181, 145, 114, 0.4);
}

.btn-outline {
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--carbono);
  border-color: #FFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #FFF; /* Branco por padrão sobre a Hero */
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  z-index: 1;
  background-color: var(--carbono);
  background-image: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('../img/hero/Gemini_Generated_Image_7dmzdq7dmzdq7dmz.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-content {
  max-width: 900px; 
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateZ(0);
  padding: var(--spacing-xl);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero .accent-text {
  display: block;
  margin-bottom: var(--spacing-md);
  color: var(--couro-light);
  font-weight: 700; /* Mais negrito */
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero h1 {
    color: #FFF;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.hero p {
  font-size: 1.125rem;
  max-width: 600px;
  margin-bottom: var(--spacing-xl);
  color: rgba(255, 255, 255, 0.8);
}

/* Texto Dinâmico (Efeito Digitanto) */
.dynamic-text {
  color: var(--couro-light);
  border-right: 3px solid var(--couro-light);
  padding-right: 4px;
  animation: cursor-blink 0.8s infinite;
  display: inline-block;
  min-width: 0; /* Removido para o cursor acompanhar as letras */
}

@keyframes cursor-blink {
  0%, 100% { border-color: var(--couro-light); }
  50% { border-color: transparent; }
}

.hero-btns {
  display: flex;
  gap: var(--spacing-md);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition);
}

.scroll-indicator:hover {
  color: var(--couro);
}

.scroll-indicator span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Sobre Section */
.sobre {
  background-color: var(--carbono);
  color: var(--areia);
}

.sobre h2, .sobre h3 {
  color: var(--areia);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: stretch; /* Garante que imagem e texto tenham a mesma altura */
}

.sobre-image {
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  display: flex; /* Ajuda a imagem interna a preencher o espaço */
}

.sobre-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Recorte inteligente para manter a simetria com o texto */
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: transform 0.5s ease;
}

.sobre-image:hover img {
  transform: scale(1.02);
}

.sobre-text p {
  color: #E0E0E0; /* Branqueado para melhor contraste em fundo escuro */
  margin-bottom: var(--spacing-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.stat-item {
  border-top: 2px solid var(--couro);
  padding-top: var(--spacing-sm);
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--couro);
  line-height: 1;
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  color: #A8A9AD;
}

/* Serviços Section */
.servicos {
  background-color: var(--areia);
}

.section-header {
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.card-servico {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--spacing-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.card-servico::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.card-servico:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--couro);
}

.card-servico:hover::after {
  left: 100%;
}

.card-servico .accent-text {
  margin-bottom: var(--spacing-sm);
  display: block;
}

/* Projetos Section */
.projetos {
  background-color: var(--carbono);
  color: var(--areia);
}

.projetos .section-header h2 {
  color: var(--areia);
}

.projetos .section-header p {
  color: #CCCCCC; /* Aumentado contraste para acessibilidade */
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-md);
}

.projeto-card {
  position: relative;
  aspect-ratio: 4/5;
  background-color: #2A2A2A;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--spacing-md);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  cursor: pointer;
  will-change: transform, opacity;
}

.projeto-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.projeto-card:hover .projeto-bg-img {
  transform: scale(1.1);
}

.projeto-card:hover {
  transform: scale(1.03);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.projeto-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.95) 0%, rgba(26,26,26,0) 60%);
  z-index: 1;
}

.projeto-info {
  position: relative;
  z-index: 2;
}

.projeto-info h3 {
  color: var(--areia);
  margin-bottom: 4px;
  font-size: 1.25rem;
}

/* CTA Footer Section */
.cta-section {
  background-color: var(--areia); /* Mantendo consistente com a nova regra */
  text-align: center;
  padding: var(--spacing-2xl) 0;
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: var(--carbono);
}

.cta-section p {
  color: rgba(26,26,26,0.8);
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
}

/* Footer */
.footer {
  background-color: var(--carbono);
  color: var(--areia);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-brand .logo-mark,
.footer-brand .logo-text span:first-child {
  color: var(--areia) !important;
}

.footer-brand p {
  margin-top: var(--spacing-md);
  color: rgba(255, 255, 255, 0.8); /* Aumentado contraste */
  font-size: 0.9rem;
  max-width: 300px;
}

.footer h4 {
  color: var(--areia);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-md);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: #A8A9AD;
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-md);
  border-top: 0.5px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #BBBBBB;
}

/* Social Floating Actions */
.social-floats {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.whatsapp-float, .instagram-float {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float {
  background-color: #25d366;
  color: #FFF;
}

.instagram-float {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFF;
  width: 50px; /* Um pouco menor para manter hierarquia */
  height: 50px;
  align-self: flex-end;
}

.whatsapp-float svg, .instagram-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.instagram-float svg {
  width: 24px;
  height: 24px;
}

.whatsapp-float:hover, .instagram-float:hover {
  transform: scale(1.1) rotate(5deg);
}

.whatsapp-float:hover {
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.instagram-float:hover {
  box-shadow: 0 15px 30px rgba(220, 39, 67, 0.4);
}

/* Modal / Lightbox */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26,26,26,0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transform: translateZ(0);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #FFF; /* Branco sólido para legibilidade máxima no conteúdo */
  padding: 0; /* Removido padding para o carrossel ocupar a largura toda */
  border-radius: 20px;
  max-width: 900px;
  width: 95%;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.modal-header {
    padding: var(--spacing-lg) var(--spacing-lg) 0;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--carbono);
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(5px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.close-modal:hover {
  color: var(--couro);
  background: #FFF;
}

.modal-body {
  padding: var(--spacing-lg);
}

.modal-body h3 {
  margin-bottom: 5px;
  color: var(--carbono);
  font-size: 1.75rem;
}

.modal-body .caption {
  display: block;
  margin-bottom: var(--spacing-md);
  color: var(--couro);
  font-weight: 700;
}

.modal-body p {
    color: #444;
    line-height: 1.6;
    font-size: 1rem;
}

/* Carrossel */
.carousel-container {
  position: relative;
  width: 100%;
  max-height: 70vh;
  aspect-ratio: 16/9;
  background-color: #000;
  overflow: hidden;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    animation: fade 0.5s ease-in-out;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #FFF;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}

.carousel-btn:hover {
    background: var(--couro);
}

.prev { left: 0; border-radius: 0 5px 5px 0; }
.next { right: 0; border-radius: 5px 0 0 5px; }

/* Indicador de fotos no card */
.photo-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: #FFF;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

/* Metodologia Section */
.metodologia {
  background-color: var(--areia);
}

.metodologia-steps {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.step-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.step-item:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--couro);
}

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--couro);
  opacity: 1; /* Removida opacidade para total visibilidade */
  line-height: 1;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(176, 125, 75, 0.1); /* Fundo sutil para destacar */
  border-radius: 12px;
  height: 80px;
  width: 80px;
}

.step-item:hover .step-number {
  background: var(--couro);
  color: var(--areia);
  transform: scale(1.1);
}

.step-content h3 {
  margin-bottom: 5px;
  font-size: 1.5rem;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 600px;
}

@media (max-width: 768px) {
  .step-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }
  
  .step-number {
    font-size: 2rem;
  }
}

/* Utilities */
.text-couro { color: var(--couro); }
.text-inox { color: var(--inox); }

/* Responsive */
/* Performance Optimization: Layer Promotion */
section:not(.hero), 
.card-servico, 
.step-item {
  will-change: transform, opacity;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

@media (max-width: 992px) {
  .sobre-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .sobre-image {
    height: auto;
    aspect-ratio: 4/3; /* Proporção mais agradável para mobile */
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--areia);
    flex-direction: column;
    padding: var(--spacing-md) var(--spacing-lg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-top: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
  }

  .nav-links a {
    color: var(--carbono);
    text-shadow: none;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-btns {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .hero h1 {
    white-space: normal; /* Permitir quebra no mobile */
  }

  .dynamic-text {
    min-width: auto;
    display: inline; /* No mobile, deixar fluir naturalmente */
    border-right: none;
  }
}

/* Base para Revelação GSAP */
.reveal-on-scroll {
  opacity: 0;
  will-change: transform, opacity;
}

/* Lenis & GSAP Smooth Scroll Support */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }

/* Ajustes Hero para Animação de Scroll */
.hero-content { will-change: transform, opacity; }
